]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
A couple more tests.
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
d14a1e28
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
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
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};
d14a1e28
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
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
d14a1e28 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
0085ce49
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
0085ce49
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
0085ce49
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
0085ce49 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 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 */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 147#else
32fe5131 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*/
32fe5131 159
093d3ff1 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
32fe5131 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
0085ce49
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
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;
0085ce49 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>|...
32fe5131 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 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
32fe5131 401 return equiv;
093d3ff1
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 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. */
0085ce49 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
32fe5131
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;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
32fe5131
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) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
32fe5131 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;
32fe5131 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 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}
d14a1e28 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}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
0085ce49
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
d14a1e28 714
0085ce49
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
0085ce49
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/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d14a1e28 803
0085ce49
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}
d14a1e28 846
0085ce49
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
d14a1e28 936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d14a1e28 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 {
0085ce49
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;
d14a1e28 965
994141e6 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
994141e6 972
15afbcd0 973
0085ce49
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 *
0085ce49
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 *
0085ce49 984 * ----------------------------------------------------------------------------- */
15afbcd0 985
093d3ff1 986/* Common SWIG API */
994141e6 987
d1a49b78
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
0085ce49
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
994141e6 1000
0085ce49
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 1004
0085ce49
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d14a1e28 1008
0085ce49
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
4d5c3d91 1012
0085ce49
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
4d5c3d91 1017
0085ce49 1018/* Runtime API */
15afbcd0 1019
0085ce49
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
0085ce49
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
15afbcd0 1030
0085ce49 1031/* Runtime API implementation */
093d3ff1 1032
0085ce49 1033/* Error manipulation */
093d3ff1 1034
0085ce49
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
15afbcd0
RD
1041}
1042
0085ce49
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1 1048}
15afbcd0 1049
0085ce49 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
0085ce49 1052/* Set a constant value */
093d3ff1 1053
0085ce49
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
15afbcd0
RD
1058}
1059
0085ce49 1060/* Append a value to the result obj */
15afbcd0 1061
0085ce49
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
c32bde28 1088 } else {
0085ce49
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
0085ce49
RD
1101 return result;
1102#endif
994141e6 1103}
093d3ff1 1104
0085ce49 1105/* Unpack the argument tuple */
093d3ff1 1106
0085ce49
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
0085ce49 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
0085ce49
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
0085ce49
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
0085ce49
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
15afbcd0 1672#endif
093d3ff1 1673#if PY_VERSION_HEX >= 0x02030000
0085ce49 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
0085ce49 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
0085ce49 1679 };
32fe5131 1680 pyswigobject_type = tmp;
0085ce49 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
0085ce49 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1689{
0085ce49
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
0085ce49 1697 return (PyObject *)sobj;
093d3ff1
RD
1698}
1699
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
0085ce49 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
0085ce49 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
0085ce49 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
0085ce49 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
0085ce49 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1733 }
1734}
1735
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
0085ce49 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
0085ce49 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
0085ce49
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1754}
1755
0085ce49 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1757
1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
0085ce49
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
0085ce49 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
0085ce49 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
0085ce49 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
0085ce49 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
093d3ff1
RD
1848}
1849
1850SWIGRUNTIME PyObject *
0085ce49 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
0085ce49
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
0085ce49
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
093d3ff1 1865 }
0085ce49 1866 return (PyObject *) sobj;
093d3ff1
RD
1867}
1868
0085ce49 1869SWIGRUNTIME swig_type_info *
093d3ff1
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
0085ce49
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1
RD
1880}
1881
093d3ff1 1882/* -----------------------------------------------------------------------------
0085ce49 1883 * pointers/data manipulation
093d3ff1
RD
1884 * ----------------------------------------------------------------------------- */
1885
0085ce49
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
093d3ff1 1891
0085ce49
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
093d3ff1 1898
0085ce49 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1900
0085ce49
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
0085ce49
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
0085ce49
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
0085ce49
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
1949
0085ce49
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
0085ce49 1962 return 0;
093d3ff1
RD
1963}
1964
0085ce49
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
0085ce49
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
0085ce49
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
0085ce49
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
2044
0085ce49
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
0085ce49
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
0085ce49
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
d1a49b78 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
0085ce49
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
2071
0085ce49 2072/* Convert a packed value value */
093d3ff1 2073
093d3ff1 2074SWIGRUNTIME int
0085ce49
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
0085ce49
RD
2085 return SWIG_OK;
2086}
093d3ff1 2087
0085ce49
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
093d3ff1 2091
0085ce49
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
093d3ff1 2096
0085ce49
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
0085ce49
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
0085ce49
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
0085ce49
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
0085ce49
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
0085ce49
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1
RD
2158}
2159
0085ce49
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
0085ce49
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
093d3ff1 2180
0085ce49
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
0085ce49 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
0085ce49 2194 return SWIG_Py_Void();
093d3ff1 2195 }
0085ce49
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
0085ce49 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
0085ce49
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
0085ce49 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
0085ce49
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
0085ce49 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
0085ce49 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
0085ce49 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
0085ce49 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
0085ce49 2281 return SWIG_OK;
093d3ff1 2282}
32fe5131 2283#endif
093d3ff1 2284
0085ce49
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
0085ce49 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
093d3ff1 2314
0085ce49
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
0085ce49
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
32fe5131
RD
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_long swig_types[4]
2471#define SWIGTYPE_p_unsigned_char swig_types[5]
2472#define SWIGTYPE_p_unsigned_int swig_types[6]
2473#define SWIGTYPE_p_unsigned_long swig_types[7]
2474#define SWIGTYPE_p_void swig_types[8]
2475#define SWIGTYPE_p_wxANIHandler swig_types[9]
2476#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478#define SWIGTYPE_p_wxArrayInt swig_types[12]
2479#define SWIGTYPE_p_wxArrayString swig_types[13]
2480#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481#define SWIGTYPE_p_wxBitmap swig_types[15]
2482#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486#define SWIGTYPE_p_wxButton swig_types[20]
2487#define SWIGTYPE_p_wxCURHandler swig_types[21]
2488#define SWIGTYPE_p_wxCheckBox swig_types[22]
2489#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491#define SWIGTYPE_p_wxChoice swig_types[25]
2492#define SWIGTYPE_p_wxChoicebook swig_types[26]
2493#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2494#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495#define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496#define SWIGTYPE_p_wxColour swig_types[30]
b850e7f3
RD
2497#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498#define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499#define SWIGTYPE_p_wxComboBox swig_types[33]
2500#define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501#define SWIGTYPE_p_wxContextHelp swig_types[35]
2502#define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503#define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504#define SWIGTYPE_p_wxControl swig_types[38]
2505#define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506#define SWIGTYPE_p_wxCursor swig_types[40]
2507#define SWIGTYPE_p_wxDC swig_types[41]
2508#define SWIGTYPE_p_wxDateEvent swig_types[42]
2509#define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510#define SWIGTYPE_p_wxDateTime swig_types[44]
2511#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514#define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515#define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516#define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517#define SWIGTYPE_p_wxEvent swig_types[51]
2518#define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519#define SWIGTYPE_p_wxFSFile swig_types[53]
2520#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521#define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522#define SWIGTYPE_p_wxFileSystem swig_types[56]
2523#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524#define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525#define SWIGTYPE_p_wxFont swig_types[59]
2526#define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527#define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528#define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529#define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530#define SWIGTYPE_p_wxGauge swig_types[64]
2531#define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532#define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533#define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534#define SWIGTYPE_p_wxGridSizer swig_types[68]
2535#define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536#define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538#define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539#define SWIGTYPE_p_wxICOHandler swig_types[73]
2540#define SWIGTYPE_p_wxIcon swig_types[74]
2541#define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542#define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543#define SWIGTYPE_p_wxImage swig_types[77]
2544#define SWIGTYPE_p_wxImageHandler swig_types[78]
2545#define SWIGTYPE_p_wxImageList swig_types[79]
2546#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547#define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548#define SWIGTYPE_p_wxItemContainer swig_types[82]
2549#define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550#define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551#define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552#define SWIGTYPE_p_wxListBox swig_types[86]
2553#define SWIGTYPE_p_wxListEvent swig_types[87]
2554#define SWIGTYPE_p_wxListItem swig_types[88]
2555#define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556#define SWIGTYPE_p_wxListView swig_types[90]
2557#define SWIGTYPE_p_wxListbook swig_types[91]
2558#define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559#define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560#define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561#define SWIGTYPE_p_wxMenu swig_types[95]
2562#define SWIGTYPE_p_wxMenuBar swig_types[96]
2563#define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564#define SWIGTYPE_p_wxMenuItem swig_types[98]
2565#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
34e0a3bb
RD
2566#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567#define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568#define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570#define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571#define SWIGTYPE_p_wxNotebook swig_types[105]
2572#define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573#define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574#define SWIGTYPE_p_wxObject swig_types[108]
2575#define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576#define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577#define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578#define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580#define SWIGTYPE_p_wxPaperSize swig_types[114]
2581#define SWIGTYPE_p_wxPickerBase swig_types[115]
2582#define SWIGTYPE_p_wxPoint swig_types[116]
2583#define SWIGTYPE_p_wxPyApp swig_types[117]
2584#define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585#define SWIGTYPE_p_wxPyControl swig_types[119]
2586#define SWIGTYPE_p_wxPyEvent swig_types[120]
2587#define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588#define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589#define SWIGTYPE_p_wxPySizer swig_types[123]
2590#define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591#define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592#define SWIGTYPE_p_wxPyValidator swig_types[126]
2593#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594#define SWIGTYPE_p_wxRadioBox swig_types[128]
2595#define SWIGTYPE_p_wxRadioButton swig_types[129]
2596#define SWIGTYPE_p_wxRect swig_types[130]
2597#define SWIGTYPE_p_wxScrollBar swig_types[131]
2598#define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599#define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600#define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601#define SWIGTYPE_p_wxShowEvent swig_types[135]
2602#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603#define SWIGTYPE_p_wxSize swig_types[137]
2604#define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605#define SWIGTYPE_p_wxSizer swig_types[139]
2606#define SWIGTYPE_p_wxSizerItem swig_types[140]
2607#define SWIGTYPE_p_wxSlider swig_types[141]
2608#define SWIGTYPE_p_wxSpinButton swig_types[142]
2609#define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610#define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611#define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612#define SWIGTYPE_p_wxStaticBox swig_types[146]
2613#define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614#define SWIGTYPE_p_wxStaticLine swig_types[148]
2615#define SWIGTYPE_p_wxStaticText swig_types[149]
2616#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617#define SWIGTYPE_p_wxString swig_types[151]
2618#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
580080c5
RD
2619#define SWIGTYPE_p_wxTGAHandler swig_types[153]
2620#define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621#define SWIGTYPE_p_wxTextAttr swig_types[155]
2622#define SWIGTYPE_p_wxTextCtrl swig_types[156]
2623#define SWIGTYPE_p_wxTextUrlEvent swig_types[157]
2624#define SWIGTYPE_p_wxToggleButton swig_types[158]
2625#define SWIGTYPE_p_wxToolBar swig_types[159]
2626#define SWIGTYPE_p_wxToolBarBase swig_types[160]
2627#define SWIGTYPE_p_wxToolBarToolBase swig_types[161]
2628#define SWIGTYPE_p_wxToolbook swig_types[162]
2629#define SWIGTYPE_p_wxToolbookEvent swig_types[163]
2630#define SWIGTYPE_p_wxTreeEvent swig_types[164]
2631#define SWIGTYPE_p_wxTreeItemId swig_types[165]
2632#define SWIGTYPE_p_wxTreebook swig_types[166]
2633#define SWIGTYPE_p_wxTreebookEvent swig_types[167]
2634#define SWIGTYPE_p_wxUpdateUIEvent swig_types[168]
2635#define SWIGTYPE_p_wxValidator swig_types[169]
2636#define SWIGTYPE_p_wxVisualAttributes swig_types[170]
2637#define SWIGTYPE_p_wxWindow swig_types[171]
2638#define SWIGTYPE_p_wxWindowBase swig_types[172]
2639#define SWIGTYPE_p_wxWindowCreateEvent swig_types[173]
2640#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[174]
2641#define SWIGTYPE_p_wxXPMHandler swig_types[175]
2642static swig_type_info *swig_types[177];
2643static swig_module_info swig_module = {swig_types, 176, 0, 0, 0, 0};
32fe5131
RD
2644#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2645#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2646
2647/* -------- TYPES TABLE (END) -------- */
2648
0085ce49
RD
2649#if (PY_VERSION_HEX <= 0x02000000)
2650# if !defined(SWIG_PYTHON_CLASSIC)
2651# error "This python version requires to use swig with the '-classic' option"
2652# endif
2653#endif
2654#if (PY_VERSION_HEX <= 0x02020000)
2655# error "This python version requires to use swig with the '-nomodern' option"
2656#endif
2657#if (PY_VERSION_HEX <= 0x02020000)
2658# error "This python version requires to use swig with the '-nomodernargs' option"
2659#endif
2660#ifndef METH_O
2661# error "This python version requires to use swig with the '-nofastunpack' option"
2662#endif
093d3ff1
RD
2663
2664/*-----------------------------------------------
2665 @(target):= _controls_.so
2666 ------------------------------------------------*/
2667#define SWIG_init init_controls_
2668
2669#define SWIG_name "_controls_"
2670
0085ce49
RD
2671#define SWIGVERSION 0x010329
2672
2673
2674#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2675#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2676
2677
2678#include <stdexcept>
2679
2680
2681namespace swig {
2682 class PyObject_ptr {
2683 protected:
2684 PyObject *_obj;
2685
2686 public:
2687 PyObject_ptr() :_obj(0)
2688 {
2689 }
2690
2691 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2692 {
2693 Py_XINCREF(_obj);
2694 }
2695
2696 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2697 {
2698 if (initial_ref) Py_XINCREF(_obj);
2699 }
2700
2701 PyObject_ptr & operator=(const PyObject_ptr& item)
2702 {
2703 Py_XINCREF(item._obj);
2704 Py_XDECREF(_obj);
2705 _obj = item._obj;
2706 return *this;
2707 }
2708
2709 ~PyObject_ptr()
2710 {
2711 Py_XDECREF(_obj);
2712 }
2713
2714 operator PyObject *() const
2715 {
2716 return _obj;
2717 }
2718
2719 PyObject *operator->() const
2720 {
2721 return _obj;
2722 }
2723 };
2724}
2725
2726
2727namespace swig {
2728 struct PyObject_var : PyObject_ptr {
2729 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2730
2731 PyObject_var & operator = (PyObject* obj)
2732 {
2733 Py_XDECREF(_obj);
2734 _obj = obj;
2735 return *this;
2736 }
2737 };
2738}
2739
2740
093d3ff1
RD
2741#include "wx/wxPython/wxPython.h"
2742#include "wx/wxPython/pyclasses.h"
2743
2744 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2745 static const wxString wxPyEmptyString(wxEmptyString);
2746 static const wxString wxPyControlNameStr(wxControlNameStr);
2747
2748 const wxArrayString wxPyEmptyStringArray;
2749
2750 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2751
0085ce49 2752 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2753
2754
0085ce49
RD
2755SWIGINTERNINLINE PyObject *
2756SWIG_From_int (int value)
2757{
2758 return SWIG_From_long (value);
2759}
093d3ff1
RD
2760
2761
0085ce49
RD
2762#include <limits.h>
2763#ifndef LLONG_MIN
2764# define LLONG_MIN LONG_LONG_MIN
2765#endif
2766#ifndef LLONG_MAX
2767# define LLONG_MAX LONG_LONG_MAX
2768#endif
2769#ifndef ULLONG_MAX
2770# define ULLONG_MAX ULONG_LONG_MAX
2771#endif
093d3ff1
RD
2772
2773
2774SWIGINTERN int
0085ce49 2775SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2776{
2777 if (PyNumber_Check(obj)) {
2778 if (val) *val = PyInt_AsLong(obj);
0085ce49 2779 return SWIG_OK;
093d3ff1 2780 }
0085ce49 2781 return SWIG_TypeError;
093d3ff1
RD
2782}
2783
2784
093d3ff1 2785SWIGINTERN int
0085ce49
RD
2786SWIG_AsVal_int (PyObject * obj, int *val)
2787{
093d3ff1 2788 long v;
0085ce49
RD
2789 int res = SWIG_AsVal_long (obj, &v);
2790 if (SWIG_IsOK(res)) {
2791 if ((v < INT_MIN || v > INT_MAX)) {
2792 return SWIG_OverflowError;
093d3ff1 2793 } else {
0085ce49 2794 if (val) *val = static_cast< int >(v);
093d3ff1 2795 }
0085ce49
RD
2796 }
2797 return res;
994141e6
RD
2798}
2799
c32bde28 2800 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0 2801
093d3ff1 2802SWIGINTERN int
0085ce49 2803SWIG_AsVal_bool (PyObject *obj, bool *val)
15afbcd0 2804{
c32bde28
RD
2805 if (obj == Py_True) {
2806 if (val) *val = true;
0085ce49
RD
2807 return SWIG_OK;
2808 } else if (obj == Py_False) {
c32bde28 2809 if (val) *val = false;
0085ce49 2810 return SWIG_OK;
093d3ff1 2811 } else {
0085ce49
RD
2812 long v = 0;
2813 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2814 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2815 return res;
c32bde28 2816 }
15afbcd0
RD
2817}
2818
b2dc1044
RD
2819 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2820 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2821 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2822 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2823 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2824 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
2825
2826#include <wx/checklst.h>
d14a1e28 2827
b2dc1044 2828 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
0085ce49 2829SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2830 if (clientData)
2831 {
d14a1e28
RD
2832 wxPyClientData* data = new wxPyClientData(clientData);
2833 self->Insert(item, pos, data);
e9d6f3a4
RD
2834 }
2835 else
d14a1e28
RD
2836 self->Insert(item, pos);
2837 }
50f151d7
RD
2838
2839SWIGINTERN int
2840SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2841{
2842 long v = 0;
2843 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2844 return SWIG_TypeError;
2845 }
2846 else if (val)
2847 *val = (unsigned long)v;
2848 return SWIG_OK;
2849}
2850
2851
2852SWIGINTERN int
2853SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2854{
2855 unsigned long v;
2856 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2857 if (SWIG_IsOK(res)) {
2858 if ((v > UINT_MAX)) {
2859 return SWIG_OverflowError;
2860 } else {
2861 if (val) *val = static_cast< unsigned int >(v);
2862 }
2863 }
2864 return res;
2865}
2866
0085ce49 2867SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2868 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2869 wxArrayInt lst;
2870 self->GetSelections(lst);
2871 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2872 for (size_t i=0; i<lst.GetCount(); i++)
2873 {
7e08d4ef
RD
2874 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2875 }
e9d6f3a4 2876 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2877 return tup;
2878 }
0085ce49 2879SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
2880 #ifdef __WXMSW__
2881 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2882 self->GetItem(item)->SetTextColour(c);
2883 #endif
2884 }
0085ce49 2885SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
2886 #ifdef __WXMSW__
2887 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2888 self->GetItem(item)->SetBackgroundColour(c);
2889 #endif
2890 }
0085ce49 2891SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
c3eb6258
RD
2892 #ifdef __WXMSW__
2893 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2894 self->GetItem(item)->SetFont(f);
2895 #endif
2896 }
b2dc1044 2897 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
0085ce49 2898SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d14a1e28
RD
2899 self->AppendText(text);
2900 }
0085ce49 2901SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d14a1e28
RD
2902 return self->GetValue().Mid(from, to - from);
2903 }
b2dc1044
RD
2904 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2905 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 2906 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
2907 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2908 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
75219dcb
RD
2909
2910SWIGINTERNINLINE PyObject*
2911SWIG_From_unsigned_SS_long (unsigned long value)
2912{
2913 return (value > LONG_MAX) ?
2914 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2915}
2916
2917
2918SWIGINTERNINLINE PyObject *
2919SWIG_From_size_t (size_t value)
2920{
2921 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2922}
2923
50f151d7
RD
2924
2925SWIGINTERNINLINE PyObject *
2926SWIG_From_unsigned_SS_int (unsigned int value)
2927{
2928 return SWIG_From_unsigned_SS_long (value);
2929}
2930
d14a1e28
RD
2931
2932#include <wx/slider.h>
2933
d14a1e28 2934
b2dc1044 2935 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 2936 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 2937
15afbcd0
RD
2938#if !wxUSE_TOGGLEBTN
2939// implement dummy items for platforms that don't have this class
d14a1e28
RD
2940
2941#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942
2943class wxToggleButton : public wxControl
2944{
2945public:
2946 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2947 const wxPoint&, const wxSize&, long,
2948 const wxValidator&, const wxString&)
39f61e25 2949 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
2950
2951 wxToggleButton()
39f61e25 2952 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
2953};
2954#endif
2955
51b83b37 2956 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
994141e6 2957
7e08d4ef 2958SWIGINTERNINLINE int
0085ce49 2959SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2960{
7e08d4ef 2961 unsigned long v;
0085ce49
RD
2962 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2963 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2964 return res;
7e08d4ef 2965}
7e08d4ef 2966
b2dc1044 2967 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
0085ce49 2968SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d14a1e28
RD
2969 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2970 if (udata) {
2971 Py_INCREF(udata->m_obj);
2972 return udata->m_obj;
2973 } else {
2974 Py_INCREF(Py_None);
2975 return Py_None;
2976 }
2977 }
0085ce49 2978SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d14a1e28
RD
2979 self->SetClientData(new wxPyUserData(clientData));
2980 }
0085ce49 2981SWIGINTERN 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){
d14a1e28
RD
2982 wxPyUserData* udata = NULL;
2983 if (clientData && clientData != Py_None)
2984 udata = new wxPyUserData(clientData);
2985 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2986 shortHelp, longHelp, udata);
2987 }
0085ce49 2988SWIGINTERN 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){
d14a1e28
RD
2989 wxPyUserData* udata = NULL;
2990 if (clientData && clientData != Py_None)
2991 udata = new wxPyUserData(clientData);
2992 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2993 shortHelp, longHelp, udata);
2994 }
0085ce49 2995SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d14a1e28
RD
2996 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2997 if (udata) {
2998 Py_INCREF(udata->m_obj);
2999 return udata->m_obj;
3000 } else {
3001 Py_INCREF(Py_None);
3002 return Py_None;
3003 }
3004 }
0085ce49 3005SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d14a1e28
RD
3006 self->SetToolClientData(id, new wxPyUserData(clientData));
3007 }
3008
3009#include <wx/listctrl.h>
3010
7557b9b5 3011 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
0085ce49 3012SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d14a1e28
RD
3013 // Python aware sorting function for wxPyListCtrl
3014 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3015 int retval = 0;
3016 PyObject* func = (PyObject*)funcPtr;
5a446332 3017 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3018
3019 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3020 PyObject* result = PyEval_CallObject(func, args);
3021 Py_DECREF(args);
3022 if (result) {
3023 retval = PyInt_AsLong(result);
3024 Py_DECREF(result);
3025 }
3026
4f89f6a3 3027 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3028 return retval;
3029 }
3030
3031 // C++ Version of a Python aware class
3032class wxPyListCtrl : public wxListCtrl {
32fe5131 3033 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d14a1e28
RD
3034public:
3035 wxPyListCtrl() : wxListCtrl() {}
3036 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3037 const wxPoint& pos,
3038 const wxSize& size,
3039 long style,
3040 const wxValidator& validator,
3041 const wxString& name) :
3042 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3043
3044 bool Create(wxWindow* parent, wxWindowID id,
3045 const wxPoint& pos,
3046 const wxSize& size,
3047 long style,
3048 const wxValidator& validator,
3049 const wxString& name) {
3050 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3051 }
3052
3053 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d14a1e28
RD
3054 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3055
84f85550
RD
3056 // use the virtual version to avoid a confusing assert in the base class
3057 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3058 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3059
d14a1e28
RD
3060 PYPRIVATE;
3061};
3062
3063IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3064
3065IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 3066IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3067IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
3068IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3069
d14a1e28 3070
0085ce49 3071SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d14a1e28
RD
3072 wxListItem item;
3073 item.SetMask( wxLIST_MASK_STATE |
3074 wxLIST_MASK_TEXT |
3075 wxLIST_MASK_IMAGE |
3076 wxLIST_MASK_DATA |
3077 wxLIST_SET_ITEM |
3078 wxLIST_MASK_WIDTH |
3079 wxLIST_MASK_FORMAT
3080 );
3081 if (self->GetColumn(col, item))
3082 return new wxListItem(item);
3083 else
3084 return NULL;
3085 }
0085ce49 3086SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d14a1e28
RD
3087 wxListItem* info = new wxListItem;
3088 info->m_itemId = itemId;
3089 info->m_col = col;
3090 info->m_mask = 0xFFFF;
3091 self->GetItem(*info);
3092 return info;
3093 }
0085ce49 3094SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d14a1e28
RD
3095 wxPoint pos;
3096 self->GetItemPosition(item, pos);
3097 return pos;
3098 }
0085ce49 3099SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d14a1e28
RD
3100 wxRect rect;
3101 self->GetItemRect(item, rect, code);
3102 return rect;
3103 }
0085ce49 3104SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d14a1e28 3105 if (!PyCallable_Check(func))
ae8162c8 3106 return false;
d14a1e28
RD
3107 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3108 }
0085ce49 3109SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d14a1e28
RD
3110
3111
3112
3113 return (wxWindow*)self->m_mainWin;
3114
3115 }
3116
3117#include <wx/treectrl.h>
3118#include "wx/wxPython/pytree.h"
d14a1e28 3119
33b885b9 3120 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
0085ce49
RD
3121SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3122SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3123SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
b02396e8
RD
3124
3125 static wxTreeItemId wxNullTreeItemId;
3126
d14a1e28
RD
3127 // C++ version of Python aware wxTreeCtrl
3128class wxPyTreeCtrl : public wxTreeCtrl {
32fe5131 3129 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d14a1e28
RD
3130public:
3131 wxPyTreeCtrl() : wxTreeCtrl() {}
3132 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3133 const wxPoint& pos,
3134 const wxSize& size,
3135 long style,
3136 const wxValidator& validator,
3137 const wxString& name) :
3138 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3139
3140 bool Create(wxWindow *parent, wxWindowID id,
3141 const wxPoint& pos,
3142 const wxSize& size,
3143 long style,
3144 const wxValidator& validator,
3145 const wxString& name) {
3146 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3147 }
3148
3149
3150 int OnCompareItems(const wxTreeItemId& item1,
3151 const wxTreeItemId& item2) {
3152 int rval = 0;
3153 bool found;
5a446332 3154 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3155 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3156 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3157 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d14a1e28
RD
3158 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3159 Py_DECREF(o1);
3160 Py_DECREF(o2);
3161 }
4f89f6a3 3162 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3163 if (! found)
3164 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3165 return rval;
3166 }
3167 PYPRIVATE;
3168};
3169
3170IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3171
3172
0085ce49 3173SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
3174 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3175 if (data == NULL) {
3176 data = new wxPyTreeItemData();
3177 data->SetId(item); // set the id
3178 self->SetItemData(item, data);
3179 }
3180 return data;
3181 }
0085ce49 3182SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
3183 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3184 if (data == NULL) {
3185 data = new wxPyTreeItemData();
3186 data->SetId(item); // set the id
3187 self->SetItemData(item, data);
3188 }
3189 return data->GetData();
3190 }
0085ce49 3191SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d14a1e28
RD
3192 data->SetId(item); // set the id
3193 self->SetItemData(item, data);
3194 }
0085ce49 3195SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d14a1e28
RD
3196 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3197 if (data == NULL) {
3198 data = new wxPyTreeItemData(obj);
3199 data->SetId(item); // set the id
3200 self->SetItemData(item, data);
3201 } else
3202 data->SetData(obj);
3203 }
0085ce49 3204SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3205 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3206 PyObject* rval = PyList_New(0);
3207 wxArrayTreeItemIds array;
3208 size_t num, x;
3209 num = self->GetSelections(array);
3210 for (x=0; x < num; x++) {
3211 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3212 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d14a1e28 3213 PyList_Append(rval, item);
1a10c483 3214 Py_DECREF(item);
d14a1e28 3215 }
4f89f6a3 3216 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3217 return rval;
3218 }
0085ce49 3219SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
3220 void* cookie = 0;
3221 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3222 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3223 PyObject* tup = PyTuple_New(2);
ae8162c8 3224 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 3225 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3226 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3227 return tup;
3228 }
0085ce49 3229SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
58203fa6 3230 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3231 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3232 PyObject* tup = PyTuple_New(2);
ae8162c8 3233 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 3234 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3235 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3236 return tup;
3237 }
0085ce49 3238SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d14a1e28
RD
3239 wxRect rect;
3240 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3241 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3242 wxRect* r = new wxRect(rect);
ae8162c8 3243 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 3244 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3245 return val;
3246 }
3247 else
3248 RETURN_NONE();
3249 }
b2dc1044 3250 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3251
32fe5131 3252SWIGINTERNINLINE PyObject*
0085ce49 3253 SWIG_From_bool (bool value)
c32bde28 3254{
0085ce49 3255 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3256}
3257
d14a1e28
RD
3258 // C++ version of Python aware wxControl
3259class wxPyControl : public wxControl
3260{
3261 DECLARE_DYNAMIC_CLASS(wxPyControl)
3262public:
3263 wxPyControl() : wxControl() {}
3264 wxPyControl(wxWindow* parent, const wxWindowID id,
3265 const wxPoint& pos = wxDefaultPosition,
3266 const wxSize& size = wxDefaultSize,
3267 long style = 0,
3268 const wxValidator& validator=wxDefaultValidator,
3269 const wxString& name = wxPyControlNameStr)
3270 : wxControl(parent, id, pos, size, style, validator, name) {}
3271
3272
976dbff5
RD
3273 bool DoEraseBackground(wxDC* dc) {
3274#ifdef __WXMSW__
3275 return wxWindow::DoEraseBackground(dc->GetHDC());
3276#else
3277 dc->SetBackground(wxBrush(GetBackgroundColour()));
3278 dc->Clear();
3279 return true;
3280#endif
3281 }
3282
d14a1e28
RD
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3287
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3291
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3294
3295 DEC_PYCALLBACK__(InitDialog);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3298 DEC_PYCALLBACK_BOOL_(Validate);
3299
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3303
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3306
db3e571a 3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3309
51b83b37
RD
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3311
8d38bd1d
RD
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3313
d14a1e28
RD
3314 PYPRIVATE;
3315};
3316
3317IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3318
3319IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3320IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3321IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3322IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3323
3324IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3325IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3326IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3327
3328IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3329IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3330
3331IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3332IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3333IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3334IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3335
3336IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3337IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3338IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3339
3340IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3341IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3342
db3e571a 3343IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
db3e571a 3344IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28 3345
51b83b37 3346IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3347
3348IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3349
d14a1e28
RD
3350
3351
0085ce49 3352SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
3353
3354#include <wx/generic/dragimgg.h>
3355
53aa7709 3356 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
0085ce49 3357SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3358 wxDateTime rv;
3359 self->GetRange(&rv, NULL);
3360 return rv;
3361 }
0085ce49 3362SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3363 wxDateTime rv;
3364 self->GetRange(NULL, &rv);
3365 return rv;
3366 }
704eda0c 3367 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3368 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3369 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3370 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3371 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3372 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3373 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3374 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
d14a1e28
RD
3375#ifdef __cplusplus
3376extern "C" {
3377#endif
0085ce49
RD
3378SWIGINTERN int ButtonNameStr_set(PyObject *) {
3379 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3380 return 1;
b2dc1044
RD
3381}
3382
3383
0085ce49
RD
3384SWIGINTERN PyObject *ButtonNameStr_get(void) {
3385 PyObject *pyobj = 0;
3386
3387 {
b2dc1044 3388#if wxUSE_UNICODE
0085ce49 3389 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
b2dc1044 3390#else
0085ce49 3391 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
b2dc1044 3392#endif
0085ce49
RD
3393 }
3394 return pyobj;
3395}
3396
3397
3398SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj = 0;
3400 wxWindow *arg1 = (wxWindow *) 0 ;
3401 int arg2 = (int) -1 ;
3402 wxString const &arg3_defvalue = wxPyEmptyString ;
3403 wxString *arg3 = (wxString *) &arg3_defvalue ;
3404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3406 wxSize const &arg5_defvalue = wxDefaultSize ;
3407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3408 long arg6 = (long) 0 ;
3409 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3410 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3411 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3412 wxString *arg8 = (wxString *) &arg8_defvalue ;
3413 wxButton *result = 0 ;
3414 void *argp1 = 0 ;
3415 int res1 = 0 ;
3416 int val2 ;
3417 int ecode2 = 0 ;
3418 bool temp3 = false ;
3419 wxPoint temp4 ;
3420 wxSize temp5 ;
3421 long val6 ;
3422 int ecode6 = 0 ;
3423 void *argp7 = 0 ;
3424 int res7 = 0 ;
3425 bool temp8 = false ;
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 PyObject * obj3 = 0 ;
3430 PyObject * obj4 = 0 ;
3431 PyObject * obj5 = 0 ;
3432 PyObject * obj6 = 0 ;
3433 PyObject * obj7 = 0 ;
3434 char * kwnames[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3436 };
3437
3438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3440 if (!SWIG_IsOK(res1)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 }
3443 arg1 = reinterpret_cast< wxWindow * >(argp1);
3444 if (obj1) {
3445 ecode2 = SWIG_AsVal_int(obj1, &val2);
3446 if (!SWIG_IsOK(ecode2)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 }
3449 arg2 = static_cast< int >(val2);
3450 }
3451 if (obj2) {
d14a1e28 3452 {
0085ce49
RD
3453 arg3 = wxString_in_helper(obj2);
3454 if (arg3 == NULL) SWIG_fail;
3455 temp3 = true;
d14a1e28 3456 }
0085ce49
RD
3457 }
3458 if (obj3) {
d14a1e28 3459 {
0085ce49
RD
3460 arg4 = &temp4;
3461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3462 }
0085ce49
RD
3463 }
3464 if (obj4) {
d14a1e28 3465 {
0085ce49
RD
3466 arg5 = &temp5;
3467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3468 }
0085ce49
RD
3469 }
3470 if (obj5) {
3471 ecode6 = SWIG_AsVal_long(obj5, &val6);
3472 if (!SWIG_IsOK(ecode6)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 }
3475 arg6 = static_cast< long >(val6);
3476 }
3477 if (obj6) {
3478 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3479 if (!SWIG_IsOK(res7)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 3481 }
0085ce49
RD
3482 if (!argp7) {
3483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 3484 }
0085ce49
RD
3485 arg7 = reinterpret_cast< wxValidator * >(argp7);
3486 }
3487 if (obj7) {
d14a1e28 3488 {
0085ce49
RD
3489 arg8 = wxString_in_helper(obj7);
3490 if (arg8 == NULL) SWIG_fail;
3491 temp8 = true;
d14a1e28 3492 }
0085ce49
RD
3493 }
3494 {
3495 if (!wxPyCheckForApp()) SWIG_fail;
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3502 {
3503 if (temp3)
3504 delete arg3;
3505 }
3506 {
3507 if (temp8)
3508 delete arg8;
3509 }
3510 return resultobj;
3511fail:
3512 {
3513 if (temp3)
3514 delete arg3;
3515 }
3516 {
3517 if (temp8)
3518 delete arg8;
3519 }
3520 return NULL;
d14a1e28
RD
3521}
3522
3523
0085ce49
RD
3524SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3525 PyObject *resultobj = 0;
3526 wxButton *result = 0 ;
3527
3528 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3529 {
3530 if (!wxPyCheckForApp()) SWIG_fail;
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (wxButton *)new wxButton();
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3537 return resultobj;
3538fail:
3539 return NULL;
3540}
3541
3542
3543SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj = 0;
3545 wxButton *arg1 = (wxButton *) 0 ;
3546 wxWindow *arg2 = (wxWindow *) 0 ;
3547 int arg3 = (int) -1 ;
3548 wxString const &arg4_defvalue = wxPyEmptyString ;
3549 wxString *arg4 = (wxString *) &arg4_defvalue ;
3550 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3551 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3552 wxSize const &arg6_defvalue = wxDefaultSize ;
3553 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3554 long arg7 = (long) 0 ;
3555 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3556 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3557 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3558 wxString *arg9 = (wxString *) &arg9_defvalue ;
3559 bool result;
3560 void *argp1 = 0 ;
3561 int res1 = 0 ;
3562 void *argp2 = 0 ;
3563 int res2 = 0 ;
3564 int val3 ;
3565 int ecode3 = 0 ;
3566 bool temp4 = false ;
3567 wxPoint temp5 ;
3568 wxSize temp6 ;
3569 long val7 ;
3570 int ecode7 = 0 ;
3571 void *argp8 = 0 ;
3572 int res8 = 0 ;
3573 bool temp9 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj5 = 0 ;
3580 PyObject * obj6 = 0 ;
3581 PyObject * obj7 = 0 ;
3582 PyObject * obj8 = 0 ;
3583 char * kwnames[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 };
3586
3587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3589 if (!SWIG_IsOK(res1)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 }
3592 arg1 = reinterpret_cast< wxButton * >(argp1);
3593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3594 if (!SWIG_IsOK(res2)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 }
3597 arg2 = reinterpret_cast< wxWindow * >(argp2);
3598 if (obj2) {
3599 ecode3 = SWIG_AsVal_int(obj2, &val3);
3600 if (!SWIG_IsOK(ecode3)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 }
3603 arg3 = static_cast< int >(val3);
3604 }
3605 if (obj3) {
d14a1e28 3606 {
0085ce49
RD
3607 arg4 = wxString_in_helper(obj3);
3608 if (arg4 == NULL) SWIG_fail;
3609 temp4 = true;
d14a1e28 3610 }
0085ce49
RD
3611 }
3612 if (obj4) {
4f89f6a3 3613 {
0085ce49
RD
3614 arg5 = &temp5;
3615 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 3616 }
0085ce49
RD
3617 }
3618 if (obj5) {
d14a1e28 3619 {
0085ce49
RD
3620 arg6 = &temp6;
3621 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 3622 }
0085ce49
RD
3623 }
3624 if (obj6) {
3625 ecode7 = SWIG_AsVal_long(obj6, &val7);
3626 if (!SWIG_IsOK(ecode7)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 }
3629 arg7 = static_cast< long >(val7);
3630 }
3631 if (obj7) {
3632 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3633 if (!SWIG_IsOK(res8)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 3635 }
0085ce49
RD
3636 if (!argp8) {
3637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 3638 }
0085ce49
RD
3639 arg8 = reinterpret_cast< wxValidator * >(argp8);
3640 }
3641 if (obj8) {
d14a1e28 3642 {
0085ce49
RD
3643 arg9 = wxString_in_helper(obj8);
3644 if (arg9 == NULL) SWIG_fail;
3645 temp9 = true;
d14a1e28 3646 }
0085ce49
RD
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp9)
3663 delete arg9;
3664 }
3665 return resultobj;
3666fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return NULL;
d14a1e28
RD
3676}
3677
3678
0085ce49
RD
3679SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3680 PyObject *resultobj = 0;
3681 wxButton *arg1 = (wxButton *) 0 ;
3682 void *argp1 = 0 ;
3683 int res1 = 0 ;
3684 PyObject *swig_obj[1] ;
3685
3686 if (!args) SWIG_fail;
3687 swig_obj[0] = args;
3688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 }
3692 arg1 = reinterpret_cast< wxButton * >(argp1);
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->SetDefault();
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 resultobj = SWIG_Py_Void();
3700 return resultobj;
3701fail:
3702 return NULL;
d14a1e28
RD
3703}
3704
3705
0085ce49
RD
3706SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3707 PyObject *resultobj = 0;
3708 wxSize result;
3709
3710 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3718 return resultobj;
3719fail:
3720 return NULL;
3721}
3722
3723
3724SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj = 0;
3726 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3727 SwigValueWrapper<wxVisualAttributes > result;
3728 int val1 ;
3729 int ecode1 = 0 ;
3730 PyObject * obj0 = 0 ;
3731 char * kwnames[] = {
3732 (char *) "variant", NULL
3733 };
3734
3735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3736 if (obj0) {
3737 ecode1 = SWIG_AsVal_int(obj0, &val1);
3738 if (!SWIG_IsOK(ecode1)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 }
3741 arg1 = static_cast< wxWindowVariant >(val1);
3742 }
3743 {
3744 if (!wxPyCheckForApp()) SWIG_fail;
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = wxButton::GetClassDefaultAttributes(arg1);
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3751 return resultobj;
3752fail:
3753 return NULL;
3754}
3755
3756
3757SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3758 PyObject *obj;
3759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3761 return SWIG_Py_Void();
3762}
3763
3764SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765 return SWIG_Python_InitShadowInstance(args);
3766}
3767
3768SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj = 0;
3770 wxWindow *arg1 = (wxWindow *) 0 ;
3771 int arg2 = (int) -1 ;
3772 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3773 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3776 wxSize const &arg5_defvalue = wxDefaultSize ;
3777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3778 long arg6 = (long) wxBU_AUTODRAW ;
3779 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3780 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3781 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3782 wxString *arg8 = (wxString *) &arg8_defvalue ;
3783 wxBitmapButton *result = 0 ;
3784 void *argp1 = 0 ;
3785 int res1 = 0 ;
3786 int val2 ;
3787 int ecode2 = 0 ;
3788 void *argp3 = 0 ;
3789 int res3 = 0 ;
3790 wxPoint temp4 ;
3791 wxSize temp5 ;
3792 long val6 ;
3793 int ecode6 = 0 ;
3794 void *argp7 = 0 ;
3795 int res7 = 0 ;
3796 bool temp8 = false ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 PyObject * obj2 = 0 ;
3800 PyObject * obj3 = 0 ;
3801 PyObject * obj4 = 0 ;
3802 PyObject * obj5 = 0 ;
3803 PyObject * obj6 = 0 ;
3804 PyObject * obj7 = 0 ;
3805 char * kwnames[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3807 };
3808
3809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3811 if (!SWIG_IsOK(res1)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 }
3814 arg1 = reinterpret_cast< wxWindow * >(argp1);
3815 if (obj1) {
3816 ecode2 = SWIG_AsVal_int(obj1, &val2);
3817 if (!SWIG_IsOK(ecode2)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 }
3820 arg2 = static_cast< int >(val2);
3821 }
3822 if (obj2) {
3823 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3824 if (!SWIG_IsOK(res3)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 }
3827 if (!argp3) {
3828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 }
3830 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3831 }
3832 if (obj3) {
d14a1e28 3833 {
0085ce49
RD
3834 arg4 = &temp4;
3835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3836 }
0085ce49
RD
3837 }
3838 if (obj4) {
d14a1e28 3839 {
0085ce49
RD
3840 arg5 = &temp5;
3841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3842 }
0085ce49
RD
3843 }
3844 if (obj5) {
3845 ecode6 = SWIG_AsVal_long(obj5, &val6);
3846 if (!SWIG_IsOK(ecode6)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 }
3849 arg6 = static_cast< long >(val6);
3850 }
3851 if (obj6) {
3852 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3853 if (!SWIG_IsOK(res7)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
22bfe96c 3855 }
0085ce49
RD
3856 if (!argp7) {
3857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
22bfe96c 3858 }
0085ce49
RD
3859 arg7 = reinterpret_cast< wxValidator * >(argp7);
3860 }
3861 if (obj7) {
22bfe96c 3862 {
0085ce49
RD
3863 arg8 = wxString_in_helper(obj7);
3864 if (arg8 == NULL) SWIG_fail;
3865 temp8 = true;
22bfe96c 3866 }
0085ce49
RD
3867 }
3868 {
3869 if (!wxPyCheckForApp()) SWIG_fail;
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3876 {
3877 if (temp8)
3878 delete arg8;
3879 }
3880 return resultobj;
3881fail:
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return NULL;
22bfe96c
RD
3887}
3888
3889
0085ce49
RD
3890SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3891 PyObject *resultobj = 0;
3892 wxBitmapButton *result = 0 ;
3893
3894 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3895 {
3896 if (!wxPyCheckForApp()) SWIG_fail;
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (wxBitmapButton *)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3903 return resultobj;
3904fail:
3905 return NULL;
3906}
3907
3908
3909SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj = 0;
3911 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3912 wxWindow *arg2 = (wxWindow *) 0 ;
3913 int arg3 = (int) -1 ;
3914 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3915 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3916 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3917 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3918 wxSize const &arg6_defvalue = wxDefaultSize ;
3919 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3920 long arg7 = (long) wxBU_AUTODRAW ;
3921 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3922 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3923 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3924 wxString *arg9 = (wxString *) &arg9_defvalue ;
3925 bool result;
3926 void *argp1 = 0 ;
3927 int res1 = 0 ;
3928 void *argp2 = 0 ;
3929 int res2 = 0 ;
3930 int val3 ;
3931 int ecode3 = 0 ;
3932 void *argp4 = 0 ;
3933 int res4 = 0 ;
3934 wxPoint temp5 ;
3935 wxSize temp6 ;
3936 long val7 ;
3937 int ecode7 = 0 ;
3938 void *argp8 = 0 ;
3939 int res8 = 0 ;
3940 bool temp9 = false ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943 PyObject * obj2 = 0 ;
3944 PyObject * obj3 = 0 ;
3945 PyObject * obj4 = 0 ;
3946 PyObject * obj5 = 0 ;
3947 PyObject * obj6 = 0 ;
3948 PyObject * obj7 = 0 ;
3949 PyObject * obj8 = 0 ;
3950 char * kwnames[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3952 };
3953
3954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3956 if (!SWIG_IsOK(res1)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 }
3959 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3961 if (!SWIG_IsOK(res2)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 }
3964 arg2 = reinterpret_cast< wxWindow * >(argp2);
3965 if (obj2) {
3966 ecode3 = SWIG_AsVal_int(obj2, &val3);
3967 if (!SWIG_IsOK(ecode3)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 }
3970 arg3 = static_cast< int >(val3);
3971 }
3972 if (obj3) {
3973 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3974 if (!SWIG_IsOK(res4)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d14a1e28 3976 }
0085ce49
RD
3977 if (!argp4) {
3978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d14a1e28 3979 }
0085ce49
RD
3980 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3981 }
3982 if (obj4) {
d14a1e28 3983 {
0085ce49
RD
3984 arg5 = &temp5;
3985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3986 }
0085ce49
RD
3987 }
3988 if (obj5) {
d14a1e28 3989 {
0085ce49
RD
3990 arg6 = &temp6;
3991 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3992 }
3993 }
3994 if (obj6) {
3995 ecode7 = SWIG_AsVal_long(obj6, &val7);
3996 if (!SWIG_IsOK(ecode7)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 }
3999 arg7 = static_cast< long >(val7);
4000 }
4001 if (obj7) {
4002 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4003 if (!SWIG_IsOK(res8)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 }
4006 if (!argp8) {
4007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 4008 }
0085ce49
RD
4009 arg8 = reinterpret_cast< wxValidator * >(argp8);
4010 }
4011 if (obj8) {
d14a1e28 4012 {
0085ce49
RD
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
4015 temp9 = true;
d14a1e28 4016 }
0085ce49
RD
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp9)
4029 delete arg9;
4030 }
4031 return resultobj;
4032fail:
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return NULL;
d14a1e28
RD
4038}
4039
4040
0085ce49
RD
4041SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4042 PyObject *resultobj = 0;
4043 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4044 wxBitmap result;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 PyObject *swig_obj[1] ;
4048
4049 if (!args) SWIG_fail;
4050 swig_obj[0] = args;
4051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4052 if (!SWIG_IsOK(res1)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 }
4055 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (arg1)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4063 return resultobj;
4064fail:
4065 return NULL;
d14a1e28
RD
4066}
4067
4068
0085ce49
RD
4069SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4070 PyObject *resultobj = 0;
4071 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4072 wxBitmap result;
4073 void *argp1 = 0 ;
4074 int res1 = 0 ;
4075 PyObject *swig_obj[1] ;
4076
4077 if (!args) SWIG_fail;
4078 swig_obj[0] = args;
4079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4080 if (!SWIG_IsOK(res1)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 }
4083 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (arg1)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4091 return resultobj;
4092fail:
4093 return NULL;
d14a1e28
RD
4094}
4095
4096
0085ce49
RD
4097SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4098 PyObject *resultobj = 0;
4099 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4100 wxBitmap result;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 PyObject *swig_obj[1] ;
4104
4105 if (!args) SWIG_fail;
4106 swig_obj[0] = args;
4107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4108 if (!SWIG_IsOK(res1)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 }
4111 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (arg1)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4119 return resultobj;
4120fail:
4121 return NULL;
d14a1e28
RD
4122}
4123
4124
0085ce49
RD
4125SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4128 wxBitmap result;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 PyObject *swig_obj[1] ;
4132
4133 if (!args) SWIG_fail;
4134 swig_obj[0] = args;
4135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 }
4139 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (arg1)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148fail:
4149 return NULL;
d14a1e28
RD
4150}
4151
4152
0085ce49
RD
4153SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4154 PyObject *resultobj = 0;
4155 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4156 wxBitmap result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 PyObject *swig_obj[1] ;
4160
4161 if (!args) SWIG_fail;
4162 swig_obj[0] = args;
4163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4164 if (!SWIG_IsOK(res1)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 }
4167 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (arg1)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4175 return resultobj;
4176fail:
4177 return NULL;
4178}
4179
4180
4181SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj = 0;
4183 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4184 wxBitmap *arg2 = 0 ;
4185 void *argp1 = 0 ;
4186 int res1 = 0 ;
4187 void *argp2 = 0 ;
4188 int res2 = 0 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char * kwnames[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4193 };
4194
4195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4197 if (!SWIG_IsOK(res1)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 }
4200 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4202 if (!SWIG_IsOK(res2)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 }
4205 if (!argp2) {
4206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 }
4208 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 resultobj = SWIG_Py_Void();
4216 return resultobj;
4217fail:
4218 return NULL;
4219}
4220
4221
4222SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj = 0;
4224 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4225 wxBitmap *arg2 = 0 ;
4226 void *argp1 = 0 ;
4227 int res1 = 0 ;
4228 void *argp2 = 0 ;
4229 int res2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char * kwnames[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4234 };
4235
4236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4238 if (!SWIG_IsOK(res1)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 }
4241 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4243 if (!SWIG_IsOK(res2)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 }
4246 if (!argp2) {
4247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 }
4249 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 resultobj = SWIG_Py_Void();
4257 return resultobj;
4258fail:
4259 return NULL;
4260}
4261
4262
4263SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4266 wxBitmap *arg2 = 0 ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 void *argp2 = 0 ;
4270 int res2 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 char * kwnames[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4275 };
4276
4277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4279 if (!SWIG_IsOK(res1)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 }
4282 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4283 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4284 if (!SWIG_IsOK(res2)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 }
4287 if (!argp2) {
4288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 }
4290 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = SWIG_Py_Void();
4298 return resultobj;
4299fail:
4300 return NULL;
4301}
4302
4303
4304SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj = 0;
4306 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4307 wxBitmap *arg2 = 0 ;
4308 void *argp1 = 0 ;
4309 int res1 = 0 ;
4310 void *argp2 = 0 ;
4311 int res2 = 0 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 char * kwnames[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4316 };
4317
4318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4320 if (!SWIG_IsOK(res1)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 }
4323 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4324 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4325 if (!SWIG_IsOK(res2)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 }
4328 if (!argp2) {
4329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 }
4331 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340fail:
4341 return NULL;
4342}
4343
4344
4345SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4348 wxBitmap *arg2 = 0 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 void *argp2 = 0 ;
4352 int res2 = 0 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char * kwnames[] = {
4356 (char *) "self",(char *) "hover", NULL
4357 };
4358
4359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4361 if (!SWIG_IsOK(res1)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 }
4364 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4365 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4366 if (!SWIG_IsOK(res2)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 }
4369 if (!argp2) {
4370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 }
4372 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_Py_Void();
4380 return resultobj;
4381fail:
4382 return NULL;
4383}
4384
4385
4386SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 int val3 ;
4396 int ecode3 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 }
4409 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4410 ecode2 = SWIG_AsVal_int(obj1, &val2);
4411 if (!SWIG_IsOK(ecode2)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 }
4414 arg2 = static_cast< int >(val2);
4415 ecode3 = SWIG_AsVal_int(obj2, &val3);
4416 if (!SWIG_IsOK(ecode3)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 }
4419 arg3 = static_cast< int >(val3);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetMargins(arg2,arg3);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428fail:
4429 return NULL;
d14a1e28
RD
4430}
4431
4432
0085ce49
RD
4433SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4434 PyObject *resultobj = 0;
4435 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4436 int result;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 PyObject *swig_obj[1] ;
4440
4441 if (!args) SWIG_fail;
4442 swig_obj[0] = args;
4443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4444 if (!SWIG_IsOK(res1)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 }
4447 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = SWIG_From_int(static_cast< int >(result));
4455 return resultobj;
4456fail:
4457 return NULL;
d14a1e28
RD
4458}
4459
4460
0085ce49
RD
4461SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4462 PyObject *resultobj = 0;
4463 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4464 int result;
4465 void *argp1 = 0 ;
4466 int res1 = 0 ;
4467 PyObject *swig_obj[1] ;
4468
4469 if (!args) SWIG_fail;
4470 swig_obj[0] = args;
4471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4472 if (!SWIG_IsOK(res1)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 }
4475 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = SWIG_From_int(static_cast< int >(result));
4483 return resultobj;
4484fail:
4485 return NULL;
b1fcee84
RD
4486}
4487
4488
0085ce49
RD
4489SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4490 PyObject *obj;
4491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4493 return SWIG_Py_Void();
d14a1e28
RD
4494}
4495
0085ce49
RD
4496SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4497 return SWIG_Python_InitShadowInstance(args);
4498}
d14a1e28 4499
0085ce49
RD
4500SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4501 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4502 return 1;
d14a1e28
RD
4503}
4504
4505
0085ce49
RD
4506SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4507 PyObject *pyobj = 0;
4508
4509 {
4510#if wxUSE_UNICODE
4511 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4512#else
4513 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4514#endif
4515 }
4516 return pyobj;
4517}
4518
4519
4520SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj = 0;
4522 wxWindow *arg1 = (wxWindow *) 0 ;
4523 int arg2 = (int) -1 ;
4524 wxString const &arg3_defvalue = wxPyEmptyString ;
4525 wxString *arg3 = (wxString *) &arg3_defvalue ;
4526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4528 wxSize const &arg5_defvalue = wxDefaultSize ;
4529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4530 long arg6 = (long) 0 ;
4531 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4532 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4533 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4534 wxString *arg8 = (wxString *) &arg8_defvalue ;
4535 wxCheckBox *result = 0 ;
4536 void *argp1 = 0 ;
4537 int res1 = 0 ;
4538 int val2 ;
4539 int ecode2 = 0 ;
4540 bool temp3 = false ;
4541 wxPoint temp4 ;
4542 wxSize temp5 ;
4543 long val6 ;
4544 int ecode6 = 0 ;
4545 void *argp7 = 0 ;
4546 int res7 = 0 ;
4547 bool temp8 = false ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 PyObject * obj2 = 0 ;
4551 PyObject * obj3 = 0 ;
4552 PyObject * obj4 = 0 ;
4553 PyObject * obj5 = 0 ;
4554 PyObject * obj6 = 0 ;
4555 PyObject * obj7 = 0 ;
4556 char * kwnames[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4558 };
4559
4560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4562 if (!SWIG_IsOK(res1)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 }
4565 arg1 = reinterpret_cast< wxWindow * >(argp1);
4566 if (obj1) {
4567 ecode2 = SWIG_AsVal_int(obj1, &val2);
4568 if (!SWIG_IsOK(ecode2)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 }
4571 arg2 = static_cast< int >(val2);
4572 }
4573 if (obj2) {
d14a1e28 4574 {
0085ce49
RD
4575 arg3 = wxString_in_helper(obj2);
4576 if (arg3 == NULL) SWIG_fail;
4577 temp3 = true;
d14a1e28 4578 }
0085ce49
RD
4579 }
4580 if (obj3) {
4581 {
4582 arg4 = &temp4;
4583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 4584 }
0085ce49
RD
4585 }
4586 if (obj4) {
d14a1e28 4587 {
0085ce49
RD
4588 arg5 = &temp5;
4589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4590 }
0085ce49
RD
4591 }
4592 if (obj5) {
4593 ecode6 = SWIG_AsVal_long(obj5, &val6);
4594 if (!SWIG_IsOK(ecode6)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 }
4597 arg6 = static_cast< long >(val6);
4598 }
4599 if (obj6) {
4600 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4601 if (!SWIG_IsOK(res7)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4603 }
0085ce49
RD
4604 if (!argp7) {
4605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 }
4607 arg7 = reinterpret_cast< wxValidator * >(argp7);
4608 }
4609 if (obj7) {
b1fcee84 4610 {
0085ce49
RD
4611 arg8 = wxString_in_helper(obj7);
4612 if (arg8 == NULL) SWIG_fail;
4613 temp8 = true;
b1fcee84 4614 }
0085ce49
RD
4615 }
4616 {
4617 if (!wxPyCheckForApp()) SWIG_fail;
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4624 {
4625 if (temp3)
4626 delete arg3;
4627 }
4628 {
4629 if (temp8)
4630 delete arg8;
4631 }
4632 return resultobj;
4633fail:
4634 {
4635 if (temp3)
4636 delete arg3;
4637 }
4638 {
4639 if (temp8)
4640 delete arg8;
4641 }
4642 return NULL;
b1fcee84
RD
4643}
4644
4645
0085ce49
RD
4646SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4647 PyObject *resultobj = 0;
4648 wxCheckBox *result = 0 ;
4649
4650 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4651 {
4652 if (!wxPyCheckForApp()) SWIG_fail;
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (wxCheckBox *)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4659 return resultobj;
4660fail:
4661 return NULL;
4662}
4663
4664
4665SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4668 wxWindow *arg2 = (wxWindow *) 0 ;
4669 int arg3 = (int) -1 ;
4670 wxString const &arg4_defvalue = wxPyEmptyString ;
4671 wxString *arg4 = (wxString *) &arg4_defvalue ;
4672 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4673 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4674 wxSize const &arg6_defvalue = wxDefaultSize ;
4675 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4676 long arg7 = (long) 0 ;
4677 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4678 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4679 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4680 wxString *arg9 = (wxString *) &arg9_defvalue ;
4681 bool result;
4682 void *argp1 = 0 ;
4683 int res1 = 0 ;
4684 void *argp2 = 0 ;
4685 int res2 = 0 ;
4686 int val3 ;
4687 int ecode3 = 0 ;
4688 bool temp4 = false ;
4689 wxPoint temp5 ;
4690 wxSize temp6 ;
4691 long val7 ;
4692 int ecode7 = 0 ;
4693 void *argp8 = 0 ;
4694 int res8 = 0 ;
4695 bool temp9 = false ;
4696 PyObject * obj0 = 0 ;
4697 PyObject * obj1 = 0 ;
4698 PyObject * obj2 = 0 ;
4699 PyObject * obj3 = 0 ;
4700 PyObject * obj4 = 0 ;
4701 PyObject * obj5 = 0 ;
4702 PyObject * obj6 = 0 ;
4703 PyObject * obj7 = 0 ;
4704 PyObject * obj8 = 0 ;
4705 char * kwnames[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4707 };
4708
4709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4711 if (!SWIG_IsOK(res1)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 }
4714 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4716 if (!SWIG_IsOK(res2)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 }
4719 arg2 = reinterpret_cast< wxWindow * >(argp2);
4720 if (obj2) {
4721 ecode3 = SWIG_AsVal_int(obj2, &val3);
4722 if (!SWIG_IsOK(ecode3)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 }
4725 arg3 = static_cast< int >(val3);
4726 }
4727 if (obj3) {
093d3ff1 4728 {
0085ce49
RD
4729 arg4 = wxString_in_helper(obj3);
4730 if (arg4 == NULL) SWIG_fail;
4731 temp4 = true;
093d3ff1 4732 }
0085ce49
RD
4733 }
4734 if (obj4) {
093d3ff1 4735 {
0085ce49
RD
4736 arg5 = &temp5;
4737 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4738 }
0085ce49
RD
4739 }
4740 if (obj5) {
d14a1e28 4741 {
0085ce49
RD
4742 arg6 = &temp6;
4743 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 4744 }
0085ce49
RD
4745 }
4746 if (obj6) {
4747 ecode7 = SWIG_AsVal_long(obj6, &val7);
4748 if (!SWIG_IsOK(ecode7)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 }
4751 arg7 = static_cast< long >(val7);
4752 }
4753 if (obj7) {
4754 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4755 if (!SWIG_IsOK(res8)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 4757 }
0085ce49
RD
4758 if (!argp8) {
4759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 }
4761 arg8 = reinterpret_cast< wxValidator * >(argp8);
4762 }
4763 if (obj8) {
093d3ff1 4764 {
0085ce49
RD
4765 arg9 = wxString_in_helper(obj8);
4766 if (arg9 == NULL) SWIG_fail;
4767 temp9 = true;
093d3ff1 4768 }
0085ce49
RD
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4778 }
4779 {
4780 if (temp4)
4781 delete arg4;
4782 }
4783 {
4784 if (temp9)
4785 delete arg9;
4786 }
4787 return resultobj;
4788fail:
4789 {
4790 if (temp4)
4791 delete arg4;
4792 }
4793 {
4794 if (temp9)
4795 delete arg9;
4796 }
4797 return NULL;
d14a1e28
RD
4798}
4799
4800
0085ce49
RD
4801SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4802 PyObject *resultobj = 0;
4803 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4804 bool result;
4805 void *argp1 = 0 ;
4806 int res1 = 0 ;
4807 PyObject *swig_obj[1] ;
4808
4809 if (!args) SWIG_fail;
4810 swig_obj[0] = args;
4811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4812 if (!SWIG_IsOK(res1)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 }
4815 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)(arg1)->GetValue();
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4824 }
4825 return resultobj;
4826fail:
4827 return NULL;
d14a1e28
RD
4828}
4829
4830
0085ce49
RD
4831SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4832 PyObject *resultobj = 0;
4833 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4834 bool result;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 PyObject *swig_obj[1] ;
4838
4839 if (!args) SWIG_fail;
4840 swig_obj[0] = args;
4841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4842 if (!SWIG_IsOK(res1)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 }
4845 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (bool)(arg1)->IsChecked();
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856fail:
4857 return NULL;
4858}
4859
4860
4861SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj = 0;
4863 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4864 bool arg2 ;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 bool val2 ;
4868 int ecode2 = 0 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 char * kwnames[] = {
4872 (char *) "self",(char *) "state", NULL
4873 };
4874
4875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4877 if (!SWIG_IsOK(res1)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 }
4880 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4882 if (!SWIG_IsOK(ecode2)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 }
4885 arg2 = static_cast< bool >(val2);
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetValue(arg2);
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 resultobj = SWIG_Py_Void();
4893 return resultobj;
4894fail:
4895 return NULL;
d14a1e28 4896}
0085ce49
RD
4897
4898
4899SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4900 PyObject *resultobj = 0;
4901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4902 wxCheckBoxState result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 PyObject *swig_obj[1] ;
4906
4907 if (!args) SWIG_fail;
4908 swig_obj[0] = args;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 resultobj = SWIG_From_int(static_cast< int >(result));
4921 return resultobj;
4922fail:
4923 return NULL;
4924}
4925
4926
4927SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj = 0;
4929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4930 wxCheckBoxState arg2 ;
4931 void *argp1 = 0 ;
4932 int res1 = 0 ;
4933 int val2 ;
4934 int ecode2 = 0 ;
4935 PyObject * obj0 = 0 ;
4936 PyObject * obj1 = 0 ;
4937 char * kwnames[] = {
4938 (char *) "self",(char *) "state", NULL
4939 };
4940
4941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 }
4946 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4947 ecode2 = SWIG_AsVal_int(obj1, &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 }
4951 arg2 = static_cast< wxCheckBoxState >(val2);
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->Set3StateValue(arg2);
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 resultobj = SWIG_Py_Void();
4959 return resultobj;
4960fail:
4961 return NULL;
b2dc1044
RD
4962}
4963
4964
0085ce49
RD
4965SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4966 PyObject *resultobj = 0;
4967 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4968 bool result;
4969 void *argp1 = 0 ;
4970 int res1 = 0 ;
4971 PyObject *swig_obj[1] ;
4972
4973 if (!args) SWIG_fail;
4974 swig_obj[0] = args;
4975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4976 if (!SWIG_IsOK(res1)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 }
4979 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 {
4987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4988 }
4989 return resultobj;
4990fail:
4991 return NULL;
d14a1e28
RD
4992}
4993
4994
0085ce49
RD
4995SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4998 bool result;
4999 void *argp1 = 0 ;
5000 int res1 = 0 ;
5001 PyObject *swig_obj[1] ;
5002
5003 if (!args) SWIG_fail;
5004 swig_obj[0] = args;
5005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5006 if (!SWIG_IsOK(res1)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 }
5009 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 {
5017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5018 }
5019 return resultobj;
5020fail:
5021 return NULL;
d14a1e28
RD
5022}
5023
5024
0085ce49
RD
5025SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj = 0;
5027 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5028 SwigValueWrapper<wxVisualAttributes > result;
5029 int val1 ;
5030 int ecode1 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "variant", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5037 if (obj0) {
5038 ecode1 = SWIG_AsVal_int(obj0, &val1);
5039 if (!SWIG_IsOK(ecode1)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 }
5042 arg1 = static_cast< wxWindowVariant >(val1);
5043 }
5044 {
5045 if (!wxPyCheckForApp()) SWIG_fail;
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5052 return resultobj;
5053fail:
5054 return NULL;
d14a1e28
RD
5055}
5056
5057
0085ce49
RD
5058SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5059 PyObject *obj;
5060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5062 return SWIG_Py_Void();
d14a1e28
RD
5063}
5064
0085ce49
RD
5065SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5066 return SWIG_Python_InitShadowInstance(args);
5067}
d14a1e28 5068
0085ce49
RD
5069SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5070 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5071 return 1;
d14a1e28
RD
5072}
5073
5074
0085ce49
RD
5075SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5076 PyObject *pyobj = 0;
5077
5078 {
5079#if wxUSE_UNICODE
5080 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5081#else
5082 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5083#endif
5084 }
5085 return pyobj;
5086}
5087
5088
5089SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj = 0;
5091 wxWindow *arg1 = (wxWindow *) 0 ;
5092 int arg2 = (int) -1 ;
5093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5095 wxSize const &arg4_defvalue = wxDefaultSize ;
5096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5097 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5098 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5099 long arg6 = (long) 0 ;
5100 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5101 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5102 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5103 wxString *arg8 = (wxString *) &arg8_defvalue ;
5104 wxChoice *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 int val2 ;
5108 int ecode2 = 0 ;
5109 wxPoint temp3 ;
5110 wxSize temp4 ;
5111 bool temp5 = false ;
5112 long val6 ;
5113 int ecode6 = 0 ;
5114 void *argp7 = 0 ;
5115 int res7 = 0 ;
5116 bool temp8 = false ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 PyObject * obj2 = 0 ;
5120 PyObject * obj3 = 0 ;
5121 PyObject * obj4 = 0 ;
5122 PyObject * obj5 = 0 ;
5123 PyObject * obj6 = 0 ;
5124 PyObject * obj7 = 0 ;
5125 char * kwnames[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5127 };
5128
5129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5131 if (!SWIG_IsOK(res1)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 }
5134 arg1 = reinterpret_cast< wxWindow * >(argp1);
5135 if (obj1) {
5136 ecode2 = SWIG_AsVal_int(obj1, &val2);
5137 if (!SWIG_IsOK(ecode2)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 }
5140 arg2 = static_cast< int >(val2);
5141 }
5142 if (obj2) {
093d3ff1 5143 {
0085ce49
RD
5144 arg3 = &temp3;
5145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5146 }
0085ce49
RD
5147 }
5148 if (obj3) {
d14a1e28 5149 {
0085ce49
RD
5150 arg4 = &temp4;
5151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5152 }
0085ce49
RD
5153 }
5154 if (obj4) {
d14a1e28 5155 {
0085ce49
RD
5156 if (! PySequence_Check(obj4)) {
5157 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5158 SWIG_fail;
5159 }
5160 arg5 = new wxArrayString;
5161 temp5 = true;
5162 int i, len=PySequence_Length(obj4);
5163 for (i=0; i<len; i++) {
5164 PyObject* item = PySequence_GetItem(obj4, i);
5165 wxString* s = wxString_in_helper(item);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 arg5->Add(*s);
5168 delete s;
5169 Py_DECREF(item);
5170 }
d14a1e28 5171 }
0085ce49
RD
5172 }
5173 if (obj5) {
5174 ecode6 = SWIG_AsVal_long(obj5, &val6);
5175 if (!SWIG_IsOK(ecode6)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 }
5178 arg6 = static_cast< long >(val6);
5179 }
5180 if (obj6) {
5181 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5182 if (!SWIG_IsOK(res7)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5184 }
0085ce49
RD
5185 if (!argp7) {
5186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 }
5188 arg7 = reinterpret_cast< wxValidator * >(argp7);
5189 }
5190 if (obj7) {
d14a1e28 5191 {
0085ce49
RD
5192 arg8 = wxString_in_helper(obj7);
5193 if (arg8 == NULL) SWIG_fail;
5194 temp8 = true;
d14a1e28 5195 }
0085ce49
RD
5196 }
5197 {
5198 if (!wxPyCheckForApp()) SWIG_fail;
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5205 {
5206 if (temp5) delete arg5;
5207 }
5208 {
5209 if (temp8)
5210 delete arg8;
5211 }
5212 return resultobj;
5213fail:
5214 {
5215 if (temp5) delete arg5;
5216 }
5217 {
5218 if (temp8)
5219 delete arg8;
5220 }
5221 return NULL;
d14a1e28
RD
5222}
5223
5224
0085ce49
RD
5225SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5226 PyObject *resultobj = 0;
5227 wxChoice *result = 0 ;
5228
5229 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5230 {
5231 if (!wxPyCheckForApp()) SWIG_fail;
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (wxChoice *)new wxChoice();
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5238 return resultobj;
5239fail:
5240 return NULL;
5241}
5242
5243
5244SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxChoice *arg1 = (wxChoice *) 0 ;
5247 wxWindow *arg2 = (wxWindow *) 0 ;
5248 int arg3 = (int) -1 ;
5249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5251 wxSize const &arg5_defvalue = wxDefaultSize ;
5252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5253 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5254 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5255 long arg7 = (long) 0 ;
5256 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5257 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5258 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5259 wxString *arg9 = (wxString *) &arg9_defvalue ;
5260 bool result;
5261 void *argp1 = 0 ;
5262 int res1 = 0 ;
5263 void *argp2 = 0 ;
5264 int res2 = 0 ;
5265 int val3 ;
5266 int ecode3 = 0 ;
5267 wxPoint temp4 ;
5268 wxSize temp5 ;
5269 bool temp6 = false ;
5270 long val7 ;
5271 int ecode7 = 0 ;
5272 void *argp8 = 0 ;
5273 int res8 = 0 ;
5274 bool temp9 = false ;
5275 PyObject * obj0 = 0 ;
5276 PyObject * obj1 = 0 ;
5277 PyObject * obj2 = 0 ;
5278 PyObject * obj3 = 0 ;
5279 PyObject * obj4 = 0 ;
5280 PyObject * obj5 = 0 ;
5281 PyObject * obj6 = 0 ;
5282 PyObject * obj7 = 0 ;
5283 PyObject * obj8 = 0 ;
5284 char * kwnames[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5286 };
5287
5288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5290 if (!SWIG_IsOK(res1)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 }
5293 arg1 = reinterpret_cast< wxChoice * >(argp1);
5294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5295 if (!SWIG_IsOK(res2)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 }
5298 arg2 = reinterpret_cast< wxWindow * >(argp2);
5299 if (obj2) {
5300 ecode3 = SWIG_AsVal_int(obj2, &val3);
5301 if (!SWIG_IsOK(ecode3)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 }
5304 arg3 = static_cast< int >(val3);
5305 }
5306 if (obj3) {
d14a1e28 5307 {
0085ce49
RD
5308 arg4 = &temp4;
5309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5310 }
0085ce49
RD
5311 }
5312 if (obj4) {
4f89f6a3 5313 {
0085ce49
RD
5314 arg5 = &temp5;
5315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 5316 }
0085ce49
RD
5317 }
5318 if (obj5) {
d14a1e28 5319 {
0085ce49
RD
5320 if (! PySequence_Check(obj5)) {
5321 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5322 SWIG_fail;
5323 }
5324 arg6 = new wxArrayString;
5325 temp6 = true;
5326 int i, len=PySequence_Length(obj5);
5327 for (i=0; i<len; i++) {
5328 PyObject* item = PySequence_GetItem(obj5, i);
5329 wxString* s = wxString_in_helper(item);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 arg6->Add(*s);
5332 delete s;
5333 Py_DECREF(item);
5334 }
5335 }
5336 }
5337 if (obj6) {
5338 ecode7 = SWIG_AsVal_long(obj6, &val7);
5339 if (!SWIG_IsOK(ecode7)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 }
5342 arg7 = static_cast< long >(val7);
5343 }
5344 if (obj7) {
5345 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5346 if (!SWIG_IsOK(res8)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 5348 }
0085ce49
RD
5349 if (!argp8) {
5350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 }
5352 arg8 = reinterpret_cast< wxValidator * >(argp8);
5353 }
5354 if (obj8) {
4f89f6a3 5355 {
0085ce49
RD
5356 arg9 = wxString_in_helper(obj8);
5357 if (arg9 == NULL) SWIG_fail;
5358 temp9 = true;
4f89f6a3 5359 }
0085ce49
RD
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5369 }
5370 {
5371 if (temp6) delete arg6;
5372 }
5373 {
5374 if (temp9)
5375 delete arg9;
5376 }
5377 return resultobj;
5378fail:
5379 {
5380 if (temp6) delete arg6;
5381 }
5382 {
5383 if (temp9)
5384 delete arg9;
5385 }
5386 return NULL;
d14a1e28
RD
5387}
5388
5389
0085ce49
RD
5390SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxChoice *arg1 = (wxChoice *) 0 ;
5393 int result;
5394 void *argp1 = 0 ;
5395 int res1 = 0 ;
5396 PyObject *swig_obj[1] ;
5397
5398 if (!args) SWIG_fail;
5399 swig_obj[0] = args;
5400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 }
5404 arg1 = reinterpret_cast< wxChoice * >(argp1);
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_From_int(static_cast< int >(result));
5412 return resultobj;
5413fail:
5414 return NULL;
5415}
5416
5417
5418SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj = 0;
5420 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5421 SwigValueWrapper<wxVisualAttributes > result;
5422 int val1 ;
5423 int ecode1 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 char * kwnames[] = {
5426 (char *) "variant", NULL
5427 };
5428
5429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5430 if (obj0) {
5431 ecode1 = SWIG_AsVal_int(obj0, &val1);
5432 if (!SWIG_IsOK(ecode1)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 }
5435 arg1 = static_cast< wxWindowVariant >(val1);
5436 }
5437 {
5438 if (!wxPyCheckForApp()) SWIG_fail;
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = wxChoice::GetClassDefaultAttributes(arg1);
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5445 return resultobj;
5446fail:
5447 return NULL;
22bfe96c
RD
5448}
5449
5450
0085ce49
RD
5451SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5452 PyObject *obj;
5453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5455 return SWIG_Py_Void();
d14a1e28 5456}
0085ce49
RD
5457
5458SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5459 return SWIG_Python_InitShadowInstance(args);
5460}
5461
5462SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5463 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5464 return 1;
b2dc1044
RD
5465}
5466
5467
0085ce49
RD
5468SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5469 PyObject *pyobj = 0;
5470
5471 {
b2dc1044 5472#if wxUSE_UNICODE
0085ce49 5473 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
b2dc1044 5474#else
0085ce49 5475 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
b2dc1044 5476#endif
0085ce49
RD
5477 }
5478 return pyobj;
5479}
5480
5481
5482SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj = 0;
5484 wxWindow *arg1 = (wxWindow *) 0 ;
5485 int arg2 = (int) -1 ;
5486 wxString const &arg3_defvalue = wxPyEmptyString ;
5487 wxString *arg3 = (wxString *) &arg3_defvalue ;
5488 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5489 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5490 wxSize const &arg5_defvalue = wxDefaultSize ;
5491 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5492 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5493 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5494 long arg7 = (long) 0 ;
5495 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5496 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5497 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5498 wxString *arg9 = (wxString *) &arg9_defvalue ;
5499 wxComboBox *result = 0 ;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 int val2 ;
5503 int ecode2 = 0 ;
5504 bool temp3 = false ;
5505 wxPoint temp4 ;
5506 wxSize temp5 ;
5507 bool temp6 = false ;
5508 long val7 ;
5509 int ecode7 = 0 ;
5510 void *argp8 = 0 ;
5511 int res8 = 0 ;
5512 bool temp9 = false ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 PyObject * obj2 = 0 ;
5516 PyObject * obj3 = 0 ;
5517 PyObject * obj4 = 0 ;
5518 PyObject * obj5 = 0 ;
5519 PyObject * obj6 = 0 ;
5520 PyObject * obj7 = 0 ;
5521 PyObject * obj8 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 }
5531 arg1 = reinterpret_cast< wxWindow * >(argp1);
5532 if (obj1) {
5533 ecode2 = SWIG_AsVal_int(obj1, &val2);
5534 if (!SWIG_IsOK(ecode2)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 }
5537 arg2 = static_cast< int >(val2);
5538 }
5539 if (obj2) {
d14a1e28 5540 {
0085ce49
RD
5541 arg3 = wxString_in_helper(obj2);
5542 if (arg3 == NULL) SWIG_fail;
5543 temp3 = true;
d14a1e28 5544 }
0085ce49
RD
5545 }
5546 if (obj3) {
d14a1e28 5547 {
0085ce49
RD
5548 arg4 = &temp4;
5549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5550 }
0085ce49
RD
5551 }
5552 if (obj4) {
d14a1e28 5553 {
0085ce49
RD
5554 arg5 = &temp5;
5555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 5556 }
0085ce49
RD
5557 }
5558 if (obj5) {
d14a1e28 5559 {
0085ce49
RD
5560 if (! PySequence_Check(obj5)) {
5561 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5562 SWIG_fail;
5563 }
5564 arg6 = new wxArrayString;
5565 temp6 = true;
5566 int i, len=PySequence_Length(obj5);
5567 for (i=0; i<len; i++) {
5568 PyObject* item = PySequence_GetItem(obj5, i);
5569 wxString* s = wxString_in_helper(item);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 arg6->Add(*s);
5572 delete s;
5573 Py_DECREF(item);
5574 }
d14a1e28 5575 }
0085ce49
RD
5576 }
5577 if (obj6) {
5578 ecode7 = SWIG_AsVal_long(obj6, &val7);
5579 if (!SWIG_IsOK(ecode7)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 }
5582 arg7 = static_cast< long >(val7);
5583 }
5584 if (obj7) {
5585 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5586 if (!SWIG_IsOK(res8)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 }
5589 if (!argp8) {
5590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 }
5592 arg8 = reinterpret_cast< wxValidator * >(argp8);
5593 }
5594 if (obj8) {
d14a1e28 5595 {
0085ce49
RD
5596 arg9 = wxString_in_helper(obj8);
5597 if (arg9 == NULL) SWIG_fail;
5598 temp9 = true;
d14a1e28 5599 }
0085ce49
RD
5600 }
5601 {
5602 if (!wxPyCheckForApp()) SWIG_fail;
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 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);
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5609 {
5610 if (temp3)
5611 delete arg3;
5612 }
5613 {
5614 if (temp6) delete arg6;
5615 }
5616 {
5617 if (temp9)
5618 delete arg9;
5619 }
5620 return resultobj;
5621fail:
5622 {
5623 if (temp3)
5624 delete arg3;
5625 }
5626 {
5627 if (temp6) delete arg6;
5628 }
5629 {
5630 if (temp9)
5631 delete arg9;
5632 }
5633 return NULL;
d14a1e28
RD
5634}
5635
5636
0085ce49
RD
5637SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5638 PyObject *resultobj = 0;
5639 wxComboBox *result = 0 ;
5640
5641 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5642 {
5643 if (!wxPyCheckForApp()) SWIG_fail;
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxComboBox *)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5650 return resultobj;
5651fail:
5652 return NULL;
5653}
5654
5655
5656SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj = 0;
5658 wxComboBox *arg1 = (wxComboBox *) 0 ;
5659 wxWindow *arg2 = (wxWindow *) 0 ;
5660 int arg3 = (int) -1 ;
5661 wxString const &arg4_defvalue = wxPyEmptyString ;
5662 wxString *arg4 = (wxString *) &arg4_defvalue ;
5663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5665 wxSize const &arg6_defvalue = wxDefaultSize ;
5666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5667 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5668 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5669 long arg8 = (long) 0 ;
5670 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5671 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5672 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5673 wxString *arg10 = (wxString *) &arg10_defvalue ;
5674 bool result;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 void *argp2 = 0 ;
5678 int res2 = 0 ;
5679 int val3 ;
5680 int ecode3 = 0 ;
5681 bool temp4 = false ;
5682 wxPoint temp5 ;
5683 wxSize temp6 ;
5684 bool temp7 = false ;
5685 long val8 ;
5686 int ecode8 = 0 ;
5687 void *argp9 = 0 ;
5688 int res9 = 0 ;
5689 bool temp10 = false ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 PyObject * obj2 = 0 ;
5693 PyObject * obj3 = 0 ;
5694 PyObject * obj4 = 0 ;
5695 PyObject * obj5 = 0 ;
5696 PyObject * obj6 = 0 ;
5697 PyObject * obj7 = 0 ;
5698 PyObject * obj8 = 0 ;
5699 PyObject * obj9 = 0 ;
5700 char * kwnames[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5702 };
5703
5704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5706 if (!SWIG_IsOK(res1)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 }
5709 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5711 if (!SWIG_IsOK(res2)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 }
5714 arg2 = reinterpret_cast< wxWindow * >(argp2);
5715 if (obj2) {
5716 ecode3 = SWIG_AsVal_int(obj2, &val3);
5717 if (!SWIG_IsOK(ecode3)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 }
5720 arg3 = static_cast< int >(val3);
5721 }
5722 if (obj3) {
4f89f6a3 5723 {
0085ce49
RD
5724 arg4 = wxString_in_helper(obj3);
5725 if (arg4 == NULL) SWIG_fail;
5726 temp4 = true;
4f89f6a3 5727 }
0085ce49
RD
5728 }
5729 if (obj4) {
d14a1e28 5730 {
0085ce49
RD
5731 arg5 = &temp5;
5732 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 5733 }
0085ce49
RD
5734 }
5735 if (obj5) {
d14a1e28 5736 {
0085ce49
RD
5737 arg6 = &temp6;
5738 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 5739 }
0085ce49
RD
5740 }
5741 if (obj6) {
d14a1e28 5742 {
0085ce49
RD
5743 if (! PySequence_Check(obj6)) {
5744 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5745 SWIG_fail;
5746 }
5747 arg7 = new wxArrayString;
5748 temp7 = true;
5749 int i, len=PySequence_Length(obj6);
5750 for (i=0; i<len; i++) {
5751 PyObject* item = PySequence_GetItem(obj6, i);
5752 wxString* s = wxString_in_helper(item);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 arg7->Add(*s);
5755 delete s;
5756 Py_DECREF(item);
5757 }
d14a1e28 5758 }
0085ce49
RD
5759 }
5760 if (obj7) {
5761 ecode8 = SWIG_AsVal_long(obj7, &val8);
5762 if (!SWIG_IsOK(ecode8)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 }
5765 arg8 = static_cast< long >(val8);
5766 }
5767 if (obj8) {
5768 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5769 if (!SWIG_IsOK(res9)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 5771 }
0085ce49
RD
5772 if (!argp9) {
5773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 5774 }
0085ce49
RD
5775 arg9 = reinterpret_cast< wxValidator * >(argp9);
5776 }
5777 if (obj9) {
d14a1e28 5778 {
0085ce49
RD
5779 arg10 = wxString_in_helper(obj9);
5780 if (arg10 == NULL) SWIG_fail;
5781 temp10 = true;
d14a1e28 5782 }
0085ce49
RD
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 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);
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 {
5791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5792 }
5793 {
5794 if (temp4)
5795 delete arg4;
5796 }
5797 {
5798 if (temp7) delete arg7;
5799 }
5800 {
5801 if (temp10)
5802 delete arg10;
5803 }
5804 return resultobj;
5805fail:
5806 {
5807 if (temp4)
5808 delete arg4;
5809 }
5810 {
5811 if (temp7) delete arg7;
5812 }
5813 {
5814 if (temp10)
5815 delete arg10;
5816 }
5817 return NULL;
d14a1e28
RD
5818}
5819
5820
0085ce49
RD
5821SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5822 PyObject *resultobj = 0;
5823 wxComboBox *arg1 = (wxComboBox *) 0 ;
5824 wxString result;
5825 void *argp1 = 0 ;
5826 int res1 = 0 ;
5827 PyObject *swig_obj[1] ;
5828
5829 if (!args) SWIG_fail;
5830 swig_obj[0] = args;
5831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5832 if (!SWIG_IsOK(res1)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 }
5835 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = ((wxComboBox const *)arg1)->GetValue();
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
d14a1e28 5843#if wxUSE_UNICODE
0085ce49 5844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 5845#else
0085ce49 5846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 5847#endif
0085ce49
RD
5848 }
5849 return resultobj;
5850fail:
5851 return NULL;
5852}
5853
5854
5855SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj = 0;
5857 wxComboBox *arg1 = (wxComboBox *) 0 ;
5858 wxString *arg2 = 0 ;
5859 void *argp1 = 0 ;
5860 int res1 = 0 ;
5861 bool temp2 = false ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 char * kwnames[] = {
5865 (char *) "self",(char *) "value", NULL
5866 };
5867
5868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5870 if (!SWIG_IsOK(res1)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 }
5873 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5874 {
5875 arg2 = wxString_in_helper(obj1);
5876 if (arg2 == NULL) SWIG_fail;
5877 temp2 = true;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetValue((wxString const &)*arg2);
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = SWIG_Py_Void();
5886 {
5887 if (temp2)
5888 delete arg2;
5889 }
5890 return resultobj;
5891fail:
5892 {
5893 if (temp2)
5894 delete arg2;
5895 }
5896 return NULL;
d14a1e28
RD
5897}
5898
5899
0085ce49
RD
5900SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5901 PyObject *resultobj = 0;
5902 wxComboBox *arg1 = (wxComboBox *) 0 ;
5903 void *argp1 = 0 ;
5904 int res1 = 0 ;
5905 PyObject *swig_obj[1] ;
5906
5907 if (!args) SWIG_fail;
5908 swig_obj[0] = args;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 }
5913 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->Copy();
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922fail:
5923 return NULL;
d14a1e28
RD
5924}
5925
5926
0085ce49
RD
5927SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxComboBox *arg1 = (wxComboBox *) 0 ;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 PyObject *swig_obj[1] ;
5933
5934 if (!args) SWIG_fail;
5935 swig_obj[0] = args;
5936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 }
5940 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->Cut();
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949fail:
5950 return NULL;
d14a1e28
RD
5951}
5952
5953
0085ce49
RD
5954SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5955 PyObject *resultobj = 0;
5956 wxComboBox *arg1 = (wxComboBox *) 0 ;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 PyObject *swig_obj[1] ;
5960
5961 if (!args) SWIG_fail;
5962 swig_obj[0] = args;
5963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5964 if (!SWIG_IsOK(res1)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 }
5967 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 (arg1)->Paste();
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976fail:
5977 return NULL;
5978}
5979
5980
5981SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxComboBox *arg1 = (wxComboBox *) 0 ;
5984 long arg2 ;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 long val2 ;
5988 int ecode2 = 0 ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "self",(char *) "pos", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 }
6000 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6001 ecode2 = SWIG_AsVal_long(obj1, &val2);
6002 if (!SWIG_IsOK(ecode2)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 }
6005 arg2 = static_cast< long >(val2);
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->SetInsertionPoint(arg2);
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = SWIG_Py_Void();
6013 return resultobj;
6014fail:
6015 return NULL;
d14a1e28
RD
6016}
6017
6018
0085ce49
RD
6019SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6020 PyObject *resultobj = 0;
6021 wxComboBox *arg1 = (wxComboBox *) 0 ;
6022 long result;
6023 void *argp1 = 0 ;
6024 int res1 = 0 ;
6025 PyObject *swig_obj[1] ;
6026
6027 if (!args) SWIG_fail;
6028 swig_obj[0] = args;
6029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6030 if (!SWIG_IsOK(res1)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 }
6033 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = SWIG_From_long(static_cast< long >(result));
6041 return resultobj;
6042fail:
6043 return NULL;
d14a1e28
RD
6044}
6045
6046
0085ce49
RD
6047SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6048 PyObject *resultobj = 0;
6049 wxComboBox *arg1 = (wxComboBox *) 0 ;
6050 long result;
6051 void *argp1 = 0 ;
6052 int res1 = 0 ;
6053 PyObject *swig_obj[1] ;
6054
6055 if (!args) SWIG_fail;
6056 swig_obj[0] = args;
6057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6058 if (!SWIG_IsOK(res1)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 }
6061 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 resultobj = SWIG_From_long(static_cast< long >(result));
6069 return resultobj;
6070fail:
6071 return NULL;
6072}
6073
6074
6075SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj = 0;
6077 wxComboBox *arg1 = (wxComboBox *) 0 ;
6078 long arg2 ;
6079 long arg3 ;
6080 wxString *arg4 = 0 ;
6081 void *argp1 = 0 ;
6082 int res1 = 0 ;
6083 long val2 ;
6084 int ecode2 = 0 ;
6085 long val3 ;
6086 int ecode3 = 0 ;
6087 bool temp4 = false ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 char * kwnames[] = {
2131d850 6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
0085ce49
RD
6094 };
6095
6096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6098 if (!SWIG_IsOK(res1)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 }
6101 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6102 ecode2 = SWIG_AsVal_long(obj1, &val2);
6103 if (!SWIG_IsOK(ecode2)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 }
6106 arg2 = static_cast< long >(val2);
6107 ecode3 = SWIG_AsVal_long(obj2, &val3);
6108 if (!SWIG_IsOK(ecode3)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 }
6111 arg3 = static_cast< long >(val3);
6112 {
6113 arg4 = wxString_in_helper(obj3);
6114 if (arg4 == NULL) SWIG_fail;
6115 temp4 = true;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_Py_Void();
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 return resultobj;
6129fail:
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 return NULL;
6135}
6136
6137
6138SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj = 0;
6140 wxComboBox *arg1 = (wxComboBox *) 0 ;
6141 long arg2 ;
6142 long arg3 ;
6143 void *argp1 = 0 ;
6144 int res1 = 0 ;
6145 long val2 ;
6146 int ecode2 = 0 ;
6147 long val3 ;
6148 int ecode3 = 0 ;
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 char * kwnames[] = {
2131d850 6153 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
6154 };
6155
6156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6158 if (!SWIG_IsOK(res1)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 }
6161 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6162 ecode2 = SWIG_AsVal_long(obj1, &val2);
6163 if (!SWIG_IsOK(ecode2)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 }
6166 arg2 = static_cast< long >(val2);
6167 ecode3 = SWIG_AsVal_long(obj2, &val3);
6168 if (!SWIG_IsOK(ecode3)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 }
6171 arg3 = static_cast< long >(val3);
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetSelection(arg2,arg3);
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_Py_Void();
6179 return resultobj;
6180fail:
6181 return NULL;
6182}
6183
6184
6185SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6186 PyObject *resultobj = 0;
6187 wxComboBox *arg1 = (wxComboBox *) 0 ;
6188 long *arg2 = (long *) 0 ;
6189 long *arg3 = (long *) 0 ;
6190 void *argp1 = 0 ;
6191 int res1 = 0 ;
6192 long temp2 ;
6193 int res2 = SWIG_TMPOBJ ;
6194 long temp3 ;
6195 int res3 = SWIG_TMPOBJ ;
6196 PyObject *swig_obj[1] ;
6197
6198 arg2 = &temp2;
6199 arg3 = &temp3;
6200 if (!args) SWIG_fail;
6201 swig_obj[0] = args;
6202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6203 if (!SWIG_IsOK(res1)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 }
6206 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 (arg1)->GetSelection(arg2,arg3);
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2)) {
6215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6216 } else {
6217 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6219 }
6220 if (SWIG_IsTmpObj(res3)) {
6221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6222 } else {
6223 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6225 }
6226 return resultobj;
6227fail:
6228 return NULL;
d14a1e28
RD
6229}
6230
6231
0085ce49
RD
6232SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxComboBox *arg1 = (wxComboBox *) 0 ;
6235 int result;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6245 }
6246 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_From_int(static_cast< int >(result));
6254 return resultobj;
6255fail:
6256 return NULL;
6257}
6258
6259
6260SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxComboBox *arg1 = (wxComboBox *) 0 ;
6263 wxString *arg2 = 0 ;
6264 bool result;
6265 void *argp1 = 0 ;
6266 int res1 = 0 ;
6267 bool temp2 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "string", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6278 }
6279 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6280 {
6281 arg2 = wxString_in_helper(obj1);
6282 if (arg2 == NULL) SWIG_fail;
6283 temp2 = true;
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6293 }
6294 {
6295 if (temp2)
6296 delete arg2;
6297 }
6298 return resultobj;
6299fail:
6300 {
6301 if (temp2)
6302 delete arg2;
6303 }
6304 return NULL;
6305}
6306
6307
50f151d7
RD
6308SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj = 0;
6310 wxComboBox *arg1 = (wxComboBox *) 0 ;
6311 int arg2 ;
6312 wxString *arg3 = 0 ;
6313 void *argp1 = 0 ;
6314 int res1 = 0 ;
6315 int val2 ;
6316 int ecode2 = 0 ;
6317 bool temp3 = false ;
6318 PyObject * obj0 = 0 ;
6319 PyObject * obj1 = 0 ;
6320 PyObject * obj2 = 0 ;
6321 char * kwnames[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6323 };
6324
6325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6327 if (!SWIG_IsOK(res1)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 }
6330 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6331 ecode2 = SWIG_AsVal_int(obj1, &val2);
6332 if (!SWIG_IsOK(ecode2)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6334 }
6335 arg2 = static_cast< int >(val2);
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
6339 temp3 = true;
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetString(arg2,(wxString const &)*arg3);
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_Py_Void();
6348 {
6349 if (temp3)
6350 delete arg3;
6351 }
6352 return resultobj;
6353fail:
6354 {
6355 if (temp3)
6356 delete arg3;
6357 }
6358 return NULL;
6359}
6360
6361
0085ce49
RD
6362SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj = 0;
6364 wxComboBox *arg1 = (wxComboBox *) 0 ;
6365 bool arg2 ;
6366 void *argp1 = 0 ;
6367 int res1 = 0 ;
6368 bool val2 ;
6369 int ecode2 = 0 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 char * kwnames[] = {
6373 (char *) "self",(char *) "editable", NULL
6374 };
6375
6376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6378 if (!SWIG_IsOK(res1)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 }
6381 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6383 if (!SWIG_IsOK(ecode2)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 }
6386 arg2 = static_cast< bool >(val2);
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->SetEditable(arg2);
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_Py_Void();
6394 return resultobj;
6395fail:
6396 return NULL;
d14a1e28
RD
6397}
6398
6399
0085ce49
RD
6400SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6401 PyObject *resultobj = 0;
6402 wxComboBox *arg1 = (wxComboBox *) 0 ;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 PyObject *swig_obj[1] ;
6406
6407 if (!args) SWIG_fail;
6408 swig_obj[0] = args;
6409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 }
6413 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422fail:
6423 return NULL;
6424}
6425
6426
6427SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj = 0;
6429 wxComboBox *arg1 = (wxComboBox *) 0 ;
6430 long arg2 ;
6431 long arg3 ;
6432 void *argp1 = 0 ;
6433 int res1 = 0 ;
6434 long val2 ;
6435 int ecode2 = 0 ;
6436 long val3 ;
6437 int ecode3 = 0 ;
6438 PyObject * obj0 = 0 ;
6439 PyObject * obj1 = 0 ;
6440 PyObject * obj2 = 0 ;
6441 char * kwnames[] = {
2131d850 6442 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
6443 };
6444
6445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6447 if (!SWIG_IsOK(res1)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 }
6450 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6451 ecode2 = SWIG_AsVal_long(obj1, &val2);
6452 if (!SWIG_IsOK(ecode2)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 }
6455 arg2 = static_cast< long >(val2);
6456 ecode3 = SWIG_AsVal_long(obj2, &val3);
6457 if (!SWIG_IsOK(ecode3)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 }
6460 arg3 = static_cast< long >(val3);
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 (arg1)->Remove(arg2,arg3);
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = SWIG_Py_Void();
6468 return resultobj;
6469fail:
6470 return NULL;
d14a1e28
RD
6471}
6472
6473
0085ce49
RD
6474SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6475 PyObject *resultobj = 0;
6476 wxComboBox *arg1 = (wxComboBox *) 0 ;
6477 bool result;
6478 void *argp1 = 0 ;
6479 int res1 = 0 ;
6480 PyObject *swig_obj[1] ;
6481
6482 if (!args) SWIG_fail;
6483 swig_obj[0] = args;
6484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6485 if (!SWIG_IsOK(res1)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 }
6488 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 {
6496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6497 }
6498 return resultobj;
6499fail:
6500 return NULL;
d14a1e28
RD
6501}
6502
6503
0085ce49
RD
6504SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6505 PyObject *resultobj = 0;
6506 wxComboBox *arg1 = (wxComboBox *) 0 ;
6507 void *argp1 = 0 ;
6508 int res1 = 0 ;
6509 PyObject *swig_obj[1] ;
6510
6511 if (!args) SWIG_fail;
6512 swig_obj[0] = args;
6513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6514 if (!SWIG_IsOK(res1)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 }
6517 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->Undo();
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = SWIG_Py_Void();
6525 return resultobj;
6526fail:
6527 return NULL;
fd3f2efe
RD
6528}
6529
6530
0085ce49
RD
6531SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6532 PyObject *resultobj = 0;
6533 wxComboBox *arg1 = (wxComboBox *) 0 ;
6534 void *argp1 = 0 ;
6535 int res1 = 0 ;
6536 PyObject *swig_obj[1] ;
6537
6538 if (!args) SWIG_fail;
6539 swig_obj[0] = args;
6540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6541 if (!SWIG_IsOK(res1)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 }
6544 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->Redo();
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = SWIG_Py_Void();
6552 return resultobj;
6553fail:
6554 return NULL;
d14a1e28
RD
6555}
6556
6557
0085ce49
RD
6558SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6559 PyObject *resultobj = 0;
6560 wxComboBox *arg1 = (wxComboBox *) 0 ;
6561 void *argp1 = 0 ;
6562 int res1 = 0 ;
6563 PyObject *swig_obj[1] ;
6564
6565 if (!args) SWIG_fail;
6566 swig_obj[0] = args;
6567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6568 if (!SWIG_IsOK(res1)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 }
6571 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SelectAll();
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_Py_Void();
6579 return resultobj;
6580fail:
6581 return NULL;
b9d6a5f3
RD
6582}
6583
6584
0085ce49
RD
6585SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6586 PyObject *resultobj = 0;
6587 wxComboBox *arg1 = (wxComboBox *) 0 ;
6588 bool result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 PyObject *swig_obj[1] ;
6592
6593 if (!args) SWIG_fail;
6594 swig_obj[0] = args;
6595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 }
6599 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 {
6607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6608 }
6609 return resultobj;
6610fail:
6611 return NULL;
943e8dfd
RD
6612}
6613
6614
0085ce49
RD
6615SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6616 PyObject *resultobj = 0;
6617 wxComboBox *arg1 = (wxComboBox *) 0 ;
6618 bool result;
6619 void *argp1 = 0 ;
6620 int res1 = 0 ;
6621 PyObject *swig_obj[1] ;
6622
6623 if (!args) SWIG_fail;
6624 swig_obj[0] = args;
6625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6626 if (!SWIG_IsOK(res1)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 }
6629 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)((wxComboBox const *)arg1)->CanCut();
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 return resultobj;
6640fail:
6641 return NULL;
121b9a67
RD
6642}
6643
6644
0085ce49
RD
6645SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6646 PyObject *resultobj = 0;
6647 wxComboBox *arg1 = (wxComboBox *) 0 ;
6648 bool result;
6649 void *argp1 = 0 ;
6650 int res1 = 0 ;
6651 PyObject *swig_obj[1] ;
6652
6653 if (!args) SWIG_fail;
6654 swig_obj[0] = args;
6655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 }
6659 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 {
6667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6668 }
6669 return resultobj;
6670fail:
6671 return NULL;
121b9a67
RD
6672}
6673
6674
0085ce49
RD
6675SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6676 PyObject *resultobj = 0;
6677 wxComboBox *arg1 = (wxComboBox *) 0 ;
6678 bool result;
6679 void *argp1 = 0 ;
6680 int res1 = 0 ;
6681 PyObject *swig_obj[1] ;
6682
6683 if (!args) SWIG_fail;
6684 swig_obj[0] = args;
6685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 }
6689 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 {
6697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6698 }
6699 return resultobj;
6700fail:
6701 return NULL;
d14a1e28
RD
6702}
6703
6704
0085ce49
RD
6705SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *resultobj = 0;
6707 wxComboBox *arg1 = (wxComboBox *) 0 ;
6708 bool result;
6709 void *argp1 = 0 ;
6710 int res1 = 0 ;
6711 PyObject *swig_obj[1] ;
6712
6713 if (!args) SWIG_fail;
6714 swig_obj[0] = args;
6715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6716 if (!SWIG_IsOK(res1)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 }
6719 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6728 }
6729 return resultobj;
6730fail:
6731 return NULL;
d14a1e28
RD
6732}
6733
6734
0085ce49
RD
6735SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = 0;
6737 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6738 SwigValueWrapper<wxVisualAttributes > result;
6739 int val1 ;
6740 int ecode1 = 0 ;
6741 PyObject * obj0 = 0 ;
6742 char * kwnames[] = {
6743 (char *) "variant", NULL
6744 };
6745
6746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6747 if (obj0) {
6748 ecode1 = SWIG_AsVal_int(obj0, &val1);
6749 if (!SWIG_IsOK(ecode1)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 }
6752 arg1 = static_cast< wxWindowVariant >(val1);
6753 }
6754 {
6755 if (!wxPyCheckForApp()) SWIG_fail;
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = wxComboBox::GetClassDefaultAttributes(arg1);
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6762 return resultobj;
6763fail:
6764 return NULL;
d14a1e28
RD
6765}
6766
6767
0085ce49
RD
6768SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6769 PyObject *obj;
6770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6772 return SWIG_Py_Void();
5cbf236d
RD
6773}
6774
0085ce49
RD
6775SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6776 return SWIG_Python_InitShadowInstance(args);
6777}
5cbf236d 6778
0085ce49
RD
6779SWIGINTERN int GaugeNameStr_set(PyObject *) {
6780 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6781 return 1;
5cbf236d
RD
6782}
6783
6784
0085ce49
RD
6785SWIGINTERN PyObject *GaugeNameStr_get(void) {
6786 PyObject *pyobj = 0;
6787
6788 {
6789#if wxUSE_UNICODE
6790 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6791#else
6792 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6793#endif
6794 }
6795 return pyobj;
6796}
6797
6798
6799SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj = 0;
6801 wxWindow *arg1 = (wxWindow *) 0 ;
6802 int arg2 = (int) -1 ;
6803 int arg3 = (int) 100 ;
6804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6806 wxSize const &arg5_defvalue = wxDefaultSize ;
6807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6808 long arg6 = (long) wxGA_HORIZONTAL ;
6809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6811 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6812 wxString *arg8 = (wxString *) &arg8_defvalue ;
6813 wxGauge *result = 0 ;
6814 void *argp1 = 0 ;
6815 int res1 = 0 ;
6816 int val2 ;
6817 int ecode2 = 0 ;
6818 int val3 ;
6819 int ecode3 = 0 ;
6820 wxPoint temp4 ;
6821 wxSize temp5 ;
6822 long val6 ;
6823 int ecode6 = 0 ;
6824 void *argp7 = 0 ;
6825 int res7 = 0 ;
6826 bool temp8 = false ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 PyObject * obj2 = 0 ;
6830 PyObject * obj3 = 0 ;
6831 PyObject * obj4 = 0 ;
6832 PyObject * obj5 = 0 ;
6833 PyObject * obj6 = 0 ;
6834 PyObject * obj7 = 0 ;
6835 char * kwnames[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6837 };
6838
6839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6841 if (!SWIG_IsOK(res1)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 }
6844 arg1 = reinterpret_cast< wxWindow * >(argp1);
6845 if (obj1) {
6846 ecode2 = SWIG_AsVal_int(obj1, &val2);
6847 if (!SWIG_IsOK(ecode2)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 }
6850 arg2 = static_cast< int >(val2);
6851 }
6852 if (obj2) {
6853 ecode3 = SWIG_AsVal_int(obj2, &val3);
6854 if (!SWIG_IsOK(ecode3)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 }
6857 arg3 = static_cast< int >(val3);
6858 }
6859 if (obj3) {
5cbf236d 6860 {
0085ce49
RD
6861 arg4 = &temp4;
6862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5cbf236d 6863 }
0085ce49
RD
6864 }
6865 if (obj4) {
5cbf236d 6866 {
0085ce49
RD
6867 arg5 = &temp5;
6868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6869 }
0085ce49
RD
6870 }
6871 if (obj5) {
6872 ecode6 = SWIG_AsVal_long(obj5, &val6);
6873 if (!SWIG_IsOK(ecode6)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 }
6876 arg6 = static_cast< long >(val6);
6877 }
6878 if (obj6) {
6879 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6880 if (!SWIG_IsOK(res7)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 }
6883 if (!argp7) {
6884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
5cbf236d 6885 }
0085ce49
RD
6886 arg7 = reinterpret_cast< wxValidator * >(argp7);
6887 }
6888 if (obj7) {
5cbf236d 6889 {
0085ce49
RD
6890 arg8 = wxString_in_helper(obj7);
6891 if (arg8 == NULL) SWIG_fail;
6892 temp8 = true;
5cbf236d 6893 }
0085ce49
RD
6894 }
6895 {
6896 if (!wxPyCheckForApp()) SWIG_fail;
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6903 {
6904 if (temp8)
6905 delete arg8;
6906 }
6907 return resultobj;
6908fail:
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return NULL;
5cbf236d
RD
6914}
6915
6916
0085ce49
RD
6917SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6918 PyObject *resultobj = 0;
6919 wxGauge *result = 0 ;
6920
6921 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6922 {
6923 if (!wxPyCheckForApp()) SWIG_fail;
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (wxGauge *)new wxGauge();
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6930 return resultobj;
6931fail:
6932 return NULL;
6933}
6934
6935
6936SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj = 0;
6938 wxGauge *arg1 = (wxGauge *) 0 ;
6939 wxWindow *arg2 = (wxWindow *) 0 ;
6940 int arg3 = (int) -1 ;
6941 int arg4 = (int) 100 ;
6942 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6943 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6944 wxSize const &arg6_defvalue = wxDefaultSize ;
6945 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6946 long arg7 = (long) wxGA_HORIZONTAL ;
6947 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6948 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6949 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6950 wxString *arg9 = (wxString *) &arg9_defvalue ;
6951 bool result;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 void *argp2 = 0 ;
6955 int res2 = 0 ;
6956 int val3 ;
6957 int ecode3 = 0 ;
6958 int val4 ;
6959 int ecode4 = 0 ;
6960 wxPoint temp5 ;
6961 wxSize temp6 ;
6962 long val7 ;
6963 int ecode7 = 0 ;
6964 void *argp8 = 0 ;
6965 int res8 = 0 ;
6966 bool temp9 = false ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 PyObject * obj2 = 0 ;
6970 PyObject * obj3 = 0 ;
6971 PyObject * obj4 = 0 ;
6972 PyObject * obj5 = 0 ;
6973 PyObject * obj6 = 0 ;
6974 PyObject * obj7 = 0 ;
6975 PyObject * obj8 = 0 ;
6976 char * kwnames[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6978 };
6979
6980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6982 if (!SWIG_IsOK(res1)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 }
6985 arg1 = reinterpret_cast< wxGauge * >(argp1);
6986 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6987 if (!SWIG_IsOK(res2)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 }
6990 arg2 = reinterpret_cast< wxWindow * >(argp2);
6991 if (obj2) {
6992 ecode3 = SWIG_AsVal_int(obj2, &val3);
6993 if (!SWIG_IsOK(ecode3)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 }
6996 arg3 = static_cast< int >(val3);
6997 }
6998 if (obj3) {
6999 ecode4 = SWIG_AsVal_int(obj3, &val4);
7000 if (!SWIG_IsOK(ecode4)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 }
7003 arg4 = static_cast< int >(val4);
7004 }
7005 if (obj4) {
5cbf236d 7006 {
0085ce49
RD
7007 arg5 = &temp5;
7008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 7009 }
0085ce49
RD
7010 }
7011 if (obj5) {
5cbf236d 7012 {
0085ce49
RD
7013 arg6 = &temp6;
7014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5cbf236d 7015 }
0085ce49
RD
7016 }
7017 if (obj6) {
7018 ecode7 = SWIG_AsVal_long(obj6, &val7);
7019 if (!SWIG_IsOK(ecode7)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 }
7022 arg7 = static_cast< long >(val7);
7023 }
7024 if (obj7) {
7025 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7026 if (!SWIG_IsOK(res8)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5cbf236d 7028 }
0085ce49
RD
7029 if (!argp8) {
7030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 }
7032 arg8 = reinterpret_cast< wxValidator * >(argp8);
7033 }
7034 if (obj8) {
5cbf236d 7035 {
0085ce49
RD
7036 arg9 = wxString_in_helper(obj8);
7037 if (arg9 == NULL) SWIG_fail;
7038 temp9 = true;
5cbf236d 7039 }
0085ce49
RD
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp9)
7052 delete arg9;
7053 }
7054 return resultobj;
7055fail:
7056 {
7057 if (temp9)
7058 delete arg9;
7059 }
7060 return NULL;
7061}
7062
7063
7064SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj = 0;
7066 wxGauge *arg1 = (wxGauge *) 0 ;
7067 int arg2 ;
7068 void *argp1 = 0 ;
7069 int res1 = 0 ;
7070 int val2 ;
7071 int ecode2 = 0 ;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
7074 char * kwnames[] = {
7075 (char *) "self",(char *) "range", NULL
7076 };
7077
7078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7080 if (!SWIG_IsOK(res1)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 }
7083 arg1 = reinterpret_cast< wxGauge * >(argp1);
7084 ecode2 = SWIG_AsVal_int(obj1, &val2);
7085 if (!SWIG_IsOK(ecode2)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 }
7088 arg2 = static_cast< int >(val2);
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->SetRange(arg2);
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_Py_Void();
7096 return resultobj;
7097fail:
7098 return NULL;
5cbf236d
RD
7099}
7100
7101
0085ce49
RD
7102SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7103 PyObject *resultobj = 0;
7104 wxGauge *arg1 = (wxGauge *) 0 ;
7105 int result;
7106 void *argp1 = 0 ;
7107 int res1 = 0 ;
7108 PyObject *swig_obj[1] ;
7109
7110 if (!args) SWIG_fail;
7111 swig_obj[0] = args;
7112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 }
7116 arg1 = reinterpret_cast< wxGauge * >(argp1);
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (int)((wxGauge const *)arg1)->GetRange();
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_From_int(static_cast< int >(result));
7124 return resultobj;
7125fail:
7126 return NULL;
7127}
7128
7129
7130SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj = 0;
7132 wxGauge *arg1 = (wxGauge *) 0 ;
7133 int arg2 ;
7134 void *argp1 = 0 ;
7135 int res1 = 0 ;
7136 int val2 ;
7137 int ecode2 = 0 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char * kwnames[] = {
7141 (char *) "self",(char *) "pos", NULL
7142 };
7143
7144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 }
7149 arg1 = reinterpret_cast< wxGauge * >(argp1);
7150 ecode2 = SWIG_AsVal_int(obj1, &val2);
7151 if (!SWIG_IsOK(ecode2)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 }
7154 arg2 = static_cast< int >(val2);
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SetValue(arg2);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 return resultobj;
7163fail:
7164 return NULL;
5cbf236d
RD
7165}
7166
7167
0085ce49
RD
7168SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7169 PyObject *resultobj = 0;
7170 wxGauge *arg1 = (wxGauge *) 0 ;
7171 int result;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 PyObject *swig_obj[1] ;
7175
7176 if (!args) SWIG_fail;
7177 swig_obj[0] = args;
7178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7179 if (!SWIG_IsOK(res1)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 }
7182 arg1 = reinterpret_cast< wxGauge * >(argp1);
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (int)((wxGauge const *)arg1)->GetValue();
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 resultobj = SWIG_From_int(static_cast< int >(result));
7190 return resultobj;
7191fail:
7192 return NULL;
5cbf236d
RD
7193}
7194
7195
ae5bc7f3
RD
7196SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxGauge *arg1 = (wxGauge *) 0 ;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7208 }
7209 arg1 = reinterpret_cast< wxGauge * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->Pulse();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_Py_Void();
7217 return resultobj;
7218fail:
7219 return NULL;
7220}
7221
7222
0085ce49
RD
7223SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7224 PyObject *resultobj = 0;
7225 wxGauge *arg1 = (wxGauge *) 0 ;
7226 bool result;
7227 void *argp1 = 0 ;
7228 int res1 = 0 ;
7229 PyObject *swig_obj[1] ;
7230
7231 if (!args) SWIG_fail;
7232 swig_obj[0] = args;
7233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7234 if (!SWIG_IsOK(res1)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7236 }
7237 arg1 = reinterpret_cast< wxGauge * >(argp1);
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)((wxGauge const *)arg1)->IsVertical();
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7246 }
7247 return resultobj;
7248fail:
7249 return NULL;
7250}
7251
7252
7253SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxGauge *arg1 = (wxGauge *) 0 ;
7256 int arg2 ;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 int val2 ;
7260 int ecode2 = 0 ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char * kwnames[] = {
7264 (char *) "self",(char *) "w", NULL
7265 };
7266
7267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7269 if (!SWIG_IsOK(res1)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7271 }
7272 arg1 = reinterpret_cast< wxGauge * >(argp1);
7273 ecode2 = SWIG_AsVal_int(obj1, &val2);
7274 if (!SWIG_IsOK(ecode2)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7276 }
7277 arg2 = static_cast< int >(val2);
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 (arg1)->SetShadowWidth(arg2);
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_Py_Void();
7285 return resultobj;
7286fail:
7287 return NULL;
22bfe96c
RD
7288}
7289
7290
0085ce49
RD
7291SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7292 PyObject *resultobj = 0;
7293 wxGauge *arg1 = (wxGauge *) 0 ;
7294 int result;
7295 void *argp1 = 0 ;
7296 int res1 = 0 ;
7297 PyObject *swig_obj[1] ;
7298
7299 if (!args) SWIG_fail;
7300 swig_obj[0] = args;
7301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7302 if (!SWIG_IsOK(res1)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7304 }
7305 arg1 = reinterpret_cast< wxGauge * >(argp1);
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 resultobj = SWIG_From_int(static_cast< int >(result));
7313 return resultobj;
7314fail:
7315 return NULL;
7316}
7317
7318
7319SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxGauge *arg1 = (wxGauge *) 0 ;
7322 int arg2 ;
7323 void *argp1 = 0 ;
7324 int res1 = 0 ;
7325 int val2 ;
7326 int ecode2 = 0 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char * kwnames[] = {
7330 (char *) "self",(char *) "w", NULL
7331 };
7332
7333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7337 }
7338 arg1 = reinterpret_cast< wxGauge * >(argp1);
7339 ecode2 = SWIG_AsVal_int(obj1, &val2);
7340 if (!SWIG_IsOK(ecode2)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7342 }
7343 arg2 = static_cast< int >(val2);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetBezelFace(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_Py_Void();
7351 return resultobj;
7352fail:
7353 return NULL;
d14a1e28 7354}
0085ce49
RD
7355
7356
7357SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7358 PyObject *resultobj = 0;
7359 wxGauge *arg1 = (wxGauge *) 0 ;
7360 int result;
7361 void *argp1 = 0 ;
7362 int res1 = 0 ;
7363 PyObject *swig_obj[1] ;
7364
7365 if (!args) SWIG_fail;
7366 swig_obj[0] = args;
7367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7368 if (!SWIG_IsOK(res1)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7370 }
7371 arg1 = reinterpret_cast< wxGauge * >(argp1);
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 resultobj = SWIG_From_int(static_cast< int >(result));
7379 return resultobj;
7380fail:
7381 return NULL;
7382}
7383
7384
7385SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7388 SwigValueWrapper<wxVisualAttributes > result;
7389 int val1 ;
7390 int ecode1 = 0 ;
7391 PyObject * obj0 = 0 ;
7392 char * kwnames[] = {
7393 (char *) "variant", NULL
7394 };
7395
7396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7397 if (obj0) {
7398 ecode1 = SWIG_AsVal_int(obj0, &val1);
7399 if (!SWIG_IsOK(ecode1)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7401 }
7402 arg1 = static_cast< wxWindowVariant >(val1);
7403 }
7404 {
7405 if (!wxPyCheckForApp()) SWIG_fail;
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = wxGauge::GetClassDefaultAttributes(arg1);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7412 return resultobj;
7413fail:
7414 return NULL;
b2dc1044
RD
7415}
7416
7417
0085ce49
RD
7418SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7419 PyObject *obj;
7420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7422 return SWIG_Py_Void();
7423}
7424
7425SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7426 return SWIG_Python_InitShadowInstance(args);
7427}
7428
7429SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7430 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7431 return 1;
7432}
7433
7434
7435SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7436 PyObject *pyobj = 0;
7437
7438 {
b2dc1044 7439#if wxUSE_UNICODE
0085ce49 7440 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
b2dc1044 7441#else
0085ce49 7442 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
b2dc1044 7443#endif
0085ce49
RD
7444 }
7445 return pyobj;
d14a1e28
RD
7446}
7447
7448
0085ce49
RD
7449SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7450 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7451 return 1;
d14a1e28
RD
7452}
7453
7454
0085ce49
RD
7455SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7456 PyObject *pyobj = 0;
7457
7458 {
7459#if wxUSE_UNICODE
7460 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7461#else
7462 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7463#endif
7464 }
7465 return pyobj;
7466}
7467
7468
7469SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7470 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7471 return 1;
7472}
7473
7474
7475SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7476 PyObject *pyobj = 0;
7477
7478 {
7479#if wxUSE_UNICODE
7480 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7481#else
7482 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7483#endif
7484 }
7485 return pyobj;
7486}
7487
7488
7489SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj = 0;
7491 wxWindow *arg1 = (wxWindow *) 0 ;
7492 int arg2 = (int) -1 ;
7493 wxString const &arg3_defvalue = wxPyEmptyString ;
7494 wxString *arg3 = (wxString *) &arg3_defvalue ;
7495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7497 wxSize const &arg5_defvalue = wxDefaultSize ;
7498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7499 long arg6 = (long) 0 ;
7500 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7501 wxString *arg7 = (wxString *) &arg7_defvalue ;
7502 wxStaticBox *result = 0 ;
7503 void *argp1 = 0 ;
7504 int res1 = 0 ;
7505 int val2 ;
7506 int ecode2 = 0 ;
7507 bool temp3 = false ;
7508 wxPoint temp4 ;
7509 wxSize temp5 ;
7510 long val6 ;
7511 int ecode6 = 0 ;
7512 bool temp7 = false ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 PyObject * obj2 = 0 ;
7516 PyObject * obj3 = 0 ;
7517 PyObject * obj4 = 0 ;
7518 PyObject * obj5 = 0 ;
7519 PyObject * obj6 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7528 }
7529 arg1 = reinterpret_cast< wxWindow * >(argp1);
7530 if (obj1) {
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 }
7537 if (obj2) {
d14a1e28 7538 {
0085ce49
RD
7539 arg3 = wxString_in_helper(obj2);
7540 if (arg3 == NULL) SWIG_fail;
7541 temp3 = true;
d14a1e28 7542 }
0085ce49
RD
7543 }
7544 if (obj3) {
4f89f6a3 7545 {
0085ce49
RD
7546 arg4 = &temp4;
7547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 7548 }
0085ce49
RD
7549 }
7550 if (obj4) {
d14a1e28 7551 {
0085ce49
RD
7552 arg5 = &temp5;
7553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7554 }
0085ce49
RD
7555 }
7556 if (obj5) {
7557 ecode6 = SWIG_AsVal_long(obj5, &val6);
7558 if (!SWIG_IsOK(ecode6)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7560 }
7561 arg6 = static_cast< long >(val6);
7562 }
7563 if (obj6) {
d14a1e28 7564 {
0085ce49
RD
7565 arg7 = wxString_in_helper(obj6);
7566 if (arg7 == NULL) SWIG_fail;
7567 temp7 = true;
d14a1e28 7568 }
0085ce49
RD
7569 }
7570 {
7571 if (!wxPyCheckForApp()) SWIG_fail;
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7578 {
7579 if (temp3)
7580 delete arg3;
7581 }
7582 {
7583 if (temp7)
7584 delete arg7;
7585 }
7586 return resultobj;
7587fail:
7588 {
7589 if (temp3)
7590 delete arg3;
7591 }
7592 {
7593 if (temp7)
7594 delete arg7;
7595 }
7596 return NULL;
d14a1e28
RD
7597}
7598
7599
0085ce49
RD
7600SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7601 PyObject *resultobj = 0;
7602 wxStaticBox *result = 0 ;
7603
7604 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7605 {
7606 if (!wxPyCheckForApp()) SWIG_fail;
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxStaticBox *)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7613 return resultobj;
7614fail:
7615 return NULL;
7616}
7617
7618
7619SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj = 0;
7621 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7622 wxWindow *arg2 = (wxWindow *) 0 ;
7623 int arg3 = (int) -1 ;
7624 wxString const &arg4_defvalue = wxPyEmptyString ;
7625 wxString *arg4 = (wxString *) &arg4_defvalue ;
7626 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7627 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7628 wxSize const &arg6_defvalue = wxDefaultSize ;
7629 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7630 long arg7 = (long) 0 ;
7631 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7632 wxString *arg8 = (wxString *) &arg8_defvalue ;
7633 bool result;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 void *argp2 = 0 ;
7637 int res2 = 0 ;
7638 int val3 ;
7639 int ecode3 = 0 ;
7640 bool temp4 = false ;
7641 wxPoint temp5 ;
7642 wxSize temp6 ;
7643 long val7 ;
7644 int ecode7 = 0 ;
7645 bool temp8 = false ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 PyObject * obj4 = 0 ;
7651 PyObject * obj5 = 0 ;
7652 PyObject * obj6 = 0 ;
7653 PyObject * obj7 = 0 ;
7654 char * kwnames[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7656 };
7657
7658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7660 if (!SWIG_IsOK(res1)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7662 }
7663 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7665 if (!SWIG_IsOK(res2)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7667 }
7668 arg2 = reinterpret_cast< wxWindow * >(argp2);
7669 if (obj2) {
7670 ecode3 = SWIG_AsVal_int(obj2, &val3);
7671 if (!SWIG_IsOK(ecode3)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7673 }
7674 arg3 = static_cast< int >(val3);
7675 }
7676 if (obj3) {
093d3ff1 7677 {
0085ce49
RD
7678 arg4 = wxString_in_helper(obj3);
7679 if (arg4 == NULL) SWIG_fail;
7680 temp4 = true;
093d3ff1 7681 }
0085ce49
RD
7682 }
7683 if (obj4) {
d14a1e28 7684 {
0085ce49
RD
7685 arg5 = &temp5;
7686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7687 }
0085ce49
RD
7688 }
7689 if (obj5) {
d14a1e28 7690 {
0085ce49
RD
7691 arg6 = &temp6;
7692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 7693 }
0085ce49
RD
7694 }
7695 if (obj6) {
7696 ecode7 = SWIG_AsVal_long(obj6, &val7);
7697 if (!SWIG_IsOK(ecode7)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7699 }
7700 arg7 = static_cast< long >(val7);
7701 }
7702 if (obj7) {
093d3ff1 7703 {
0085ce49
RD
7704 arg8 = wxString_in_helper(obj7);
7705 if (arg8 == NULL) SWIG_fail;
7706 temp8 = true;
093d3ff1 7707 }
0085ce49
RD
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
7716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7717 }
7718 {
7719 if (temp4)
7720 delete arg4;
7721 }
7722 {
7723 if (temp8)
7724 delete arg8;
7725 }
7726 return resultobj;
7727fail:
7728 {
7729 if (temp4)
7730 delete arg4;
7731 }
7732 {
7733 if (temp8)
7734 delete arg8;
7735 }
7736 return NULL;
7737}
d14a1e28 7738
0085ce49
RD
7739
7740SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj = 0;
7742 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7743 SwigValueWrapper<wxVisualAttributes > result;
7744 int val1 ;
7745 int ecode1 = 0 ;
7746 PyObject * obj0 = 0 ;
7747 char * kwnames[] = {
7748 (char *) "variant", NULL
7749 };
7750
7751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7752 if (obj0) {
7753 ecode1 = SWIG_AsVal_int(obj0, &val1);
7754 if (!SWIG_IsOK(ecode1)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7756 }
7757 arg1 = static_cast< wxWindowVariant >(val1);
7758 }
7759 {
7760 if (!wxPyCheckForApp()) SWIG_fail;
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7767 return resultobj;
7768fail:
7769 return NULL;
7770}
7771
7772
7773SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7774 PyObject *obj;
7775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7777 return SWIG_Py_Void();
7778}
7779
7780SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7781 return SWIG_Python_InitShadowInstance(args);
7782}
7783
7784SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj = 0;
7786 wxWindow *arg1 = (wxWindow *) 0 ;
7787 int arg2 = (int) -1 ;
7788 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7789 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7790 wxSize const &arg4_defvalue = wxDefaultSize ;
7791 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7792 long arg5 = (long) wxLI_HORIZONTAL ;
7793 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7794 wxString *arg6 = (wxString *) &arg6_defvalue ;
7795 wxStaticLine *result = 0 ;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 int val2 ;
7799 int ecode2 = 0 ;
7800 wxPoint temp3 ;
7801 wxSize temp4 ;
7802 long val5 ;
7803 int ecode5 = 0 ;
7804 bool temp6 = false ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 PyObject * obj2 = 0 ;
7808 PyObject * obj3 = 0 ;
7809 PyObject * obj4 = 0 ;
7810 PyObject * obj5 = 0 ;
7811 char * kwnames[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7813 };
7814
7815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7817 if (!SWIG_IsOK(res1)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7819 }
7820 arg1 = reinterpret_cast< wxWindow * >(argp1);
7821 if (obj1) {
7822 ecode2 = SWIG_AsVal_int(obj1, &val2);
7823 if (!SWIG_IsOK(ecode2)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7825 }
7826 arg2 = static_cast< int >(val2);
7827 }
7828 if (obj2) {
093d3ff1 7829 {
0085ce49
RD
7830 arg3 = &temp3;
7831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7832 }
0085ce49
RD
7833 }
7834 if (obj3) {
d14a1e28 7835 {
0085ce49
RD
7836 arg4 = &temp4;
7837 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7838 }
0085ce49
RD
7839 }
7840 if (obj4) {
7841 ecode5 = SWIG_AsVal_long(obj4, &val5);
7842 if (!SWIG_IsOK(ecode5)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7844 }
7845 arg5 = static_cast< long >(val5);
7846 }
7847 if (obj5) {
7848 {
7849 arg6 = wxString_in_helper(obj5);
7850 if (arg6 == NULL) SWIG_fail;
7851 temp6 = true;
7852 }
7853 }
7854 {
7855 if (!wxPyCheckForApp()) SWIG_fail;
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7862 {
7863 if (temp6)
7864 delete arg6;
7865 }
7866 return resultobj;
7867fail:
7868 {
7869 if (temp6)
7870 delete arg6;
7871 }
7872 return NULL;
d14a1e28
RD
7873}
7874
7875
0085ce49
RD
7876SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7877 PyObject *resultobj = 0;
7878 wxStaticLine *result = 0 ;
7879
7880 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7881 {
7882 if (!wxPyCheckForApp()) SWIG_fail;
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxStaticLine *)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7889 return resultobj;
7890fail:
7891 return NULL;
7892}
7893
7894
7895SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj = 0;
7897 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7898 wxWindow *arg2 = (wxWindow *) 0 ;
7899 int arg3 = (int) -1 ;
7900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7902 wxSize const &arg5_defvalue = wxDefaultSize ;
7903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7904 long arg6 = (long) wxLI_HORIZONTAL ;
7905 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7906 wxString *arg7 = (wxString *) &arg7_defvalue ;
7907 bool result;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 void *argp2 = 0 ;
7911 int res2 = 0 ;
7912 int val3 ;
7913 int ecode3 = 0 ;
7914 wxPoint temp4 ;
7915 wxSize temp5 ;
7916 long val6 ;
7917 int ecode6 = 0 ;
7918 bool temp7 = false ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 PyObject * obj2 = 0 ;
7922 PyObject * obj3 = 0 ;
7923 PyObject * obj4 = 0 ;
7924 PyObject * obj5 = 0 ;
7925 PyObject * obj6 = 0 ;
7926 char * kwnames[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7928 };
7929
7930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7932 if (!SWIG_IsOK(res1)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7934 }
7935 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7937 if (!SWIG_IsOK(res2)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7939 }
7940 arg2 = reinterpret_cast< wxWindow * >(argp2);
7941 if (obj2) {
7942 ecode3 = SWIG_AsVal_int(obj2, &val3);
7943 if (!SWIG_IsOK(ecode3)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7945 }
7946 arg3 = static_cast< int >(val3);
7947 }
7948 if (obj3) {
d14a1e28 7949 {
0085ce49
RD
7950 arg4 = &temp4;
7951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7952 }
0085ce49
RD
7953 }
7954 if (obj4) {
093d3ff1 7955 {
0085ce49
RD
7956 arg5 = &temp5;
7957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7958 }
0085ce49
RD
7959 }
7960 if (obj5) {
7961 ecode6 = SWIG_AsVal_long(obj5, &val6);
7962 if (!SWIG_IsOK(ecode6)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7964 }
7965 arg6 = static_cast< long >(val6);
7966 }
7967 if (obj6) {
7968 {
7969 arg7 = wxString_in_helper(obj6);
7970 if (arg7 == NULL) SWIG_fail;
7971 temp7 = true;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 {
7981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7982 }
7983 {
7984 if (temp7)
7985 delete arg7;
7986 }
7987 return resultobj;
7988fail:
7989 {
7990 if (temp7)
7991 delete arg7;
7992 }
7993 return NULL;
d14a1e28
RD
7994}
7995
7996
0085ce49
RD
7997SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7998 PyObject *resultobj = 0;
7999 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8000 bool result;
8001 void *argp1 = 0 ;
8002 int res1 = 0 ;
8003 PyObject *swig_obj[1] ;
8004
8005 if (!args) SWIG_fail;
8006 swig_obj[0] = args;
8007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8010 }
8011 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 {
8019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8020 }
8021 return resultobj;
8022fail:
8023 return NULL;
8024}
8025
8026
8027SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8028 PyObject *resultobj = 0;
8029 int result;
8030
8031 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_From_int(static_cast< int >(result));
8039 return resultobj;
8040fail:
8041 return NULL;
8042}
8043
8044
8045SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj = 0;
8047 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8048 SwigValueWrapper<wxVisualAttributes > result;
8049 int val1 ;
8050 int ecode1 = 0 ;
8051 PyObject * obj0 = 0 ;
8052 char * kwnames[] = {
8053 (char *) "variant", NULL
8054 };
8055
8056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8057 if (obj0) {
8058 ecode1 = SWIG_AsVal_int(obj0, &val1);
8059 if (!SWIG_IsOK(ecode1)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8061 }
8062 arg1 = static_cast< wxWindowVariant >(val1);
8063 }
8064 {
8065 if (!wxPyCheckForApp()) SWIG_fail;
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8072 return resultobj;
8073fail:
8074 return NULL;
8075}
8076
8077
8078SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 PyObject *obj;
8080 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8082 return SWIG_Py_Void();
8083}
8084
8085SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8086 return SWIG_Python_InitShadowInstance(args);
8087}
8088
8089SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj = 0;
8091 wxWindow *arg1 = (wxWindow *) 0 ;
8092 int arg2 = (int) -1 ;
8093 wxString const &arg3_defvalue = wxPyEmptyString ;
8094 wxString *arg3 = (wxString *) &arg3_defvalue ;
8095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8097 wxSize const &arg5_defvalue = wxDefaultSize ;
8098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8099 long arg6 = (long) 0 ;
8100 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8101 wxString *arg7 = (wxString *) &arg7_defvalue ;
8102 wxStaticText *result = 0 ;
8103 void *argp1 = 0 ;
8104 int res1 = 0 ;
8105 int val2 ;
8106 int ecode2 = 0 ;
8107 bool temp3 = false ;
8108 wxPoint temp4 ;
8109 wxSize temp5 ;
8110 long val6 ;
8111 int ecode6 = 0 ;
8112 bool temp7 = false ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 PyObject * obj2 = 0 ;
8116 PyObject * obj3 = 0 ;
8117 PyObject * obj4 = 0 ;
8118 PyObject * obj5 = 0 ;
8119 PyObject * obj6 = 0 ;
8120 char * kwnames[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8122 };
8123
8124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8126 if (!SWIG_IsOK(res1)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8128 }
8129 arg1 = reinterpret_cast< wxWindow * >(argp1);
8130 if (obj1) {
8131 ecode2 = SWIG_AsVal_int(obj1, &val2);
8132 if (!SWIG_IsOK(ecode2)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8134 }
8135 arg2 = static_cast< int >(val2);
8136 }
8137 if (obj2) {
d14a1e28 8138 {
0085ce49
RD
8139 arg3 = wxString_in_helper(obj2);
8140 if (arg3 == NULL) SWIG_fail;
8141 temp3 = true;
d14a1e28 8142 }
0085ce49
RD
8143 }
8144 if (obj3) {
4f89f6a3 8145 {
0085ce49
RD
8146 arg4 = &temp4;
8147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 8148 }
0085ce49
RD
8149 }
8150 if (obj4) {
093d3ff1 8151 {
0085ce49
RD
8152 arg5 = &temp5;
8153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8154 }
0085ce49
RD
8155 }
8156 if (obj5) {
8157 ecode6 = SWIG_AsVal_long(obj5, &val6);
8158 if (!SWIG_IsOK(ecode6)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8160 }
8161 arg6 = static_cast< long >(val6);
8162 }
8163 if (obj6) {
d14a1e28 8164 {
0085ce49
RD
8165 arg7 = wxString_in_helper(obj6);
8166 if (arg7 == NULL) SWIG_fail;
8167 temp7 = true;
d14a1e28 8168 }
0085ce49
RD
8169 }
8170 {
8171 if (!wxPyCheckForApp()) SWIG_fail;
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8178 {
8179 if (temp3)
8180 delete arg3;
8181 }
8182 {
8183 if (temp7)
8184 delete arg7;
8185 }
8186 return resultobj;
8187fail:
8188 {
8189 if (temp3)
8190 delete arg3;
8191 }
8192 {
8193 if (temp7)
8194 delete arg7;
8195 }
8196 return NULL;
d14a1e28
RD
8197}
8198
8199
0085ce49
RD
8200SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8201 PyObject *resultobj = 0;
8202 wxStaticText *result = 0 ;
8203
8204 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8205 {
8206 if (!wxPyCheckForApp()) SWIG_fail;
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxStaticText *)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8213 return resultobj;
8214fail:
8215 return NULL;
8216}
8217
8218
8219SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = 0;
8221 wxStaticText *arg1 = (wxStaticText *) 0 ;
8222 wxWindow *arg2 = (wxWindow *) 0 ;
8223 int arg3 = (int) -1 ;
8224 wxString const &arg4_defvalue = wxPyEmptyString ;
8225 wxString *arg4 = (wxString *) &arg4_defvalue ;
8226 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8227 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8228 wxSize const &arg6_defvalue = wxDefaultSize ;
8229 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8230 long arg7 = (long) 0 ;
8231 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8232 wxString *arg8 = (wxString *) &arg8_defvalue ;
8233 bool result;
8234 void *argp1 = 0 ;
8235 int res1 = 0 ;
8236 void *argp2 = 0 ;
8237 int res2 = 0 ;
8238 int val3 ;
8239 int ecode3 = 0 ;
8240 bool temp4 = false ;
8241 wxPoint temp5 ;
8242 wxSize temp6 ;
8243 long val7 ;
8244 int ecode7 = 0 ;
8245 bool temp8 = false ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 PyObject * obj2 = 0 ;
8249 PyObject * obj3 = 0 ;
8250 PyObject * obj4 = 0 ;
8251 PyObject * obj5 = 0 ;
8252 PyObject * obj6 = 0 ;
8253 PyObject * obj7 = 0 ;
8254 char * kwnames[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8256 };
8257
8258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8260 if (!SWIG_IsOK(res1)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8262 }
8263 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8265 if (!SWIG_IsOK(res2)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8267 }
8268 arg2 = reinterpret_cast< wxWindow * >(argp2);
8269 if (obj2) {
8270 ecode3 = SWIG_AsVal_int(obj2, &val3);
8271 if (!SWIG_IsOK(ecode3)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8273 }
8274 arg3 = static_cast< int >(val3);
8275 }
8276 if (obj3) {
d14a1e28 8277 {
0085ce49
RD
8278 arg4 = wxString_in_helper(obj3);
8279 if (arg4 == NULL) SWIG_fail;
8280 temp4 = true;
8281 }
8282 }
8283 if (obj4) {
8284 {
8285 arg5 = &temp5;
8286 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8287 }
0085ce49
RD
8288 }
8289 if (obj5) {
093d3ff1 8290 {
0085ce49
RD
8291 arg6 = &temp6;
8292 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8293 }
0085ce49
RD
8294 }
8295 if (obj6) {
8296 ecode7 = SWIG_AsVal_long(obj6, &val7);
8297 if (!SWIG_IsOK(ecode7)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8299 }
8300 arg7 = static_cast< long >(val7);
8301 }
8302 if (obj7) {
093d3ff1 8303 {
0085ce49
RD
8304 arg8 = wxString_in_helper(obj7);
8305 if (arg8 == NULL) SWIG_fail;
8306 temp8 = true;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 {
8316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8317 }
8318 {
8319 if (temp4)
8320 delete arg4;
8321 }
8322 {
8323 if (temp8)
8324 delete arg8;
8325 }
8326 return resultobj;
8327fail:
8328 {
8329 if (temp4)
8330 delete arg4;
8331 }
8332 {
8333 if (temp8)
8334 delete arg8;
8335 }
8336 return NULL;
8337}
8338
8339
8340SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj = 0;
8342 wxStaticText *arg1 = (wxStaticText *) 0 ;
8343 int arg2 ;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 int val2 ;
8347 int ecode2 = 0 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char * kwnames[] = {
8351 (char *) "self",(char *) "width", NULL
8352 };
8353
8354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8358 }
8359 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8360 ecode2 = SWIG_AsVal_int(obj1, &val2);
8361 if (!SWIG_IsOK(ecode2)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8363 }
8364 arg2 = static_cast< int >(val2);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->Wrap(arg2);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_Py_Void();
8372 return resultobj;
8373fail:
8374 return NULL;
8375}
8376
8377
8378SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj = 0;
8380 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8381 SwigValueWrapper<wxVisualAttributes > result;
8382 int val1 ;
8383 int ecode1 = 0 ;
8384 PyObject * obj0 = 0 ;
8385 char * kwnames[] = {
8386 (char *) "variant", NULL
8387 };
8388
8389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8390 if (obj0) {
8391 ecode1 = SWIG_AsVal_int(obj0, &val1);
8392 if (!SWIG_IsOK(ecode1)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8394 }
8395 arg1 = static_cast< wxWindowVariant >(val1);
8396 }
8397 {
8398 if (!wxPyCheckForApp()) SWIG_fail;
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = wxStaticText::GetClassDefaultAttributes(arg1);
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8405 return resultobj;
8406fail:
8407 return NULL;
8408}
8409
8410
8411SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8412 PyObject *obj;
8413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8415 return SWIG_Py_Void();
8416}
8417
8418SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 return SWIG_Python_InitShadowInstance(args);
8420}
8421
8422SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxWindow *arg1 = (wxWindow *) 0 ;
8425 int arg2 = (int) -1 ;
8426 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8427 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8430 wxSize const &arg5_defvalue = wxDefaultSize ;
8431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8432 long arg6 = (long) 0 ;
8433 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8434 wxString *arg7 = (wxString *) &arg7_defvalue ;
8435 wxStaticBitmap *result = 0 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 void *argp3 = 0 ;
8441 int res3 = 0 ;
8442 wxPoint temp4 ;
8443 wxSize temp5 ;
8444 long val6 ;
8445 int ecode6 = 0 ;
8446 bool temp7 = false ;
8447 PyObject * obj0 = 0 ;
8448 PyObject * obj1 = 0 ;
8449 PyObject * obj2 = 0 ;
8450 PyObject * obj3 = 0 ;
8451 PyObject * obj4 = 0 ;
8452 PyObject * obj5 = 0 ;
8453 PyObject * obj6 = 0 ;
8454 char * kwnames[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8456 };
8457
8458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8460 if (!SWIG_IsOK(res1)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8462 }
8463 arg1 = reinterpret_cast< wxWindow * >(argp1);
8464 if (obj1) {
8465 ecode2 = SWIG_AsVal_int(obj1, &val2);
8466 if (!SWIG_IsOK(ecode2)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8468 }
8469 arg2 = static_cast< int >(val2);
8470 }
8471 if (obj2) {
8472 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8473 if (!SWIG_IsOK(res3)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8475 }
8476 if (!argp3) {
8477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8478 }
0085ce49
RD
8479 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8480 }
8481 if (obj3) {
d14a1e28 8482 {
0085ce49
RD
8483 arg4 = &temp4;
8484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8485 }
0085ce49
RD
8486 }
8487 if (obj4) {
d14a1e28 8488 {
0085ce49
RD
8489 arg5 = &temp5;
8490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8491 }
0085ce49
RD
8492 }
8493 if (obj5) {
8494 ecode6 = SWIG_AsVal_long(obj5, &val6);
8495 if (!SWIG_IsOK(ecode6)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8497 }
8498 arg6 = static_cast< long >(val6);
8499 }
8500 if (obj6) {
093d3ff1 8501 {
0085ce49
RD
8502 arg7 = wxString_in_helper(obj6);
8503 if (arg7 == NULL) SWIG_fail;
8504 temp7 = true;
093d3ff1 8505 }
0085ce49
RD
8506 }
8507 {
8508 if (!wxPyCheckForApp()) SWIG_fail;
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8515 {
8516 if (temp7)
8517 delete arg7;
8518 }
8519 return resultobj;
8520fail:
8521 {
8522 if (temp7)
8523 delete arg7;
8524 }
8525 return NULL;
d14a1e28
RD
8526}
8527
8528
0085ce49
RD
8529SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530 PyObject *resultobj = 0;
8531 wxStaticBitmap *result = 0 ;
8532
8533 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8534 {
8535 if (!wxPyCheckForApp()) SWIG_fail;
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (wxStaticBitmap *)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8542 return resultobj;
8543fail:
8544 return NULL;
8545}
8546
8547
8548SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj = 0;
8550 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8551 wxWindow *arg2 = (wxWindow *) 0 ;
8552 int arg3 = (int) -1 ;
8553 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8554 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8555 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8556 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8557 wxSize const &arg6_defvalue = wxDefaultSize ;
8558 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8559 long arg7 = (long) 0 ;
8560 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8561 wxString *arg8 = (wxString *) &arg8_defvalue ;
8562 bool result;
8563 void *argp1 = 0 ;
8564 int res1 = 0 ;
8565 void *argp2 = 0 ;
8566 int res2 = 0 ;
8567 int val3 ;
8568 int ecode3 = 0 ;
8569 void *argp4 = 0 ;
8570 int res4 = 0 ;
8571 wxPoint temp5 ;
8572 wxSize temp6 ;
8573 long val7 ;
8574 int ecode7 = 0 ;
8575 bool temp8 = false ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 PyObject * obj2 = 0 ;
8579 PyObject * obj3 = 0 ;
8580 PyObject * obj4 = 0 ;
8581 PyObject * obj5 = 0 ;
8582 PyObject * obj6 = 0 ;
8583 PyObject * obj7 = 0 ;
8584 char * kwnames[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8586 };
8587
8588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8590 if (!SWIG_IsOK(res1)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8592 }
8593 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8595 if (!SWIG_IsOK(res2)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8597 }
8598 arg2 = reinterpret_cast< wxWindow * >(argp2);
8599 if (obj2) {
8600 ecode3 = SWIG_AsVal_int(obj2, &val3);
8601 if (!SWIG_IsOK(ecode3)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8603 }
8604 arg3 = static_cast< int >(val3);
8605 }
8606 if (obj3) {
8607 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8608 if (!SWIG_IsOK(res4)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8610 }
8611 if (!argp4) {
8612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22bfe96c 8613 }
0085ce49
RD
8614 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8615 }
8616 if (obj4) {
22bfe96c 8617 {
0085ce49
RD
8618 arg5 = &temp5;
8619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 8620 }
0085ce49
RD
8621 }
8622 if (obj5) {
22bfe96c 8623 {
0085ce49
RD
8624 arg6 = &temp6;
8625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22bfe96c 8626 }
0085ce49
RD
8627 }
8628 if (obj6) {
8629 ecode7 = SWIG_AsVal_long(obj6, &val7);
8630 if (!SWIG_IsOK(ecode7)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8632 }
8633 arg7 = static_cast< long >(val7);
8634 }
8635 if (obj7) {
b2dc1044 8636 {
0085ce49
RD
8637 arg8 = wxString_in_helper(obj7);
8638 if (arg8 == NULL) SWIG_fail;
8639 temp8 = true;
b2dc1044 8640 }
0085ce49
RD
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8650 }
8651 {
8652 if (temp8)
8653 delete arg8;
8654 }
8655 return resultobj;
8656fail:
8657 {
8658 if (temp8)
8659 delete arg8;
8660 }
8661 return NULL;
b2dc1044
RD
8662}
8663
8664
0085ce49
RD
8665SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8666 PyObject *resultobj = 0;
8667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8668 wxBitmap result;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 PyObject *swig_obj[1] ;
8672
8673 if (!args) SWIG_fail;
8674 swig_obj[0] = args;
8675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8676 if (!SWIG_IsOK(res1)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8678 }
8679 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (arg1)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8687 return resultobj;
8688fail:
8689 return NULL;
8690}
8691
8692
8693SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj = 0;
8695 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8696 wxBitmap *arg2 = 0 ;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 void *argp2 = 0 ;
8700 int res2 = 0 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char * kwnames[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8705 };
8706
8707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8709 if (!SWIG_IsOK(res1)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8711 }
8712 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8714 if (!SWIG_IsOK(res2)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8716 }
8717 if (!argp2) {
8718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8719 }
8720 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_Py_Void();
8728 return resultobj;
8729fail:
8730 return NULL;
8731}
8732
8733
8734SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8737 wxIcon *arg2 = 0 ;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 void *argp2 = 0 ;
8741 int res2 = 0 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char * kwnames[] = {
8745 (char *) "self",(char *) "icon", NULL
8746 };
8747
8748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8750 if (!SWIG_IsOK(res1)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8752 }
8753 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8754 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8755 if (!SWIG_IsOK(res2)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8757 }
8758 if (!argp2) {
8759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8760 }
8761 arg2 = reinterpret_cast< wxIcon * >(argp2);
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 (arg1)->SetIcon((wxIcon const &)*arg2);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_Py_Void();
8769 return resultobj;
8770fail:
8771 return NULL;
8772}
8773
8774
8775SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj = 0;
8777 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8778 SwigValueWrapper<wxVisualAttributes > result;
8779 int val1 ;
8780 int ecode1 = 0 ;
8781 PyObject * obj0 = 0 ;
8782 char * kwnames[] = {
8783 (char *) "variant", NULL
8784 };
8785
8786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8787 if (obj0) {
8788 ecode1 = SWIG_AsVal_int(obj0, &val1);
8789 if (!SWIG_IsOK(ecode1)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8791 }
8792 arg1 = static_cast< wxWindowVariant >(val1);
8793 }
8794 {
8795 if (!wxPyCheckForApp()) SWIG_fail;
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8802 return resultobj;
8803fail:
8804 return NULL;
b2dc1044
RD
8805}
8806
8807
0085ce49
RD
8808SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8809 PyObject *obj;
8810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8812 return SWIG_Py_Void();
b2dc1044
RD
8813}
8814
0085ce49
RD
8815SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8816 return SWIG_Python_InitShadowInstance(args);
8817}
b2dc1044 8818
0085ce49
RD
8819SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8820 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8821 return 1;
b2dc1044
RD
8822}
8823
8824
0085ce49
RD
8825SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8826 PyObject *pyobj = 0;
8827
8828 {
b2dc1044 8829#if wxUSE_UNICODE
0085ce49 8830 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
b2dc1044 8831#else
0085ce49 8832 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
b2dc1044 8833#endif
0085ce49
RD
8834 }
8835 return pyobj;
8836}
8837
8838
8839SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj = 0;
8841 wxWindow *arg1 = (wxWindow *) 0 ;
8842 int arg2 = (int) -1 ;
8843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8845 wxSize const &arg4_defvalue = wxDefaultSize ;
8846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8847 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8848 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8849 long arg6 = (long) 0 ;
8850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8852 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8853 wxString *arg8 = (wxString *) &arg8_defvalue ;
8854 wxListBox *result = 0 ;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 int val2 ;
8858 int ecode2 = 0 ;
8859 wxPoint temp3 ;
8860 wxSize temp4 ;
8861 bool temp5 = false ;
8862 long val6 ;
8863 int ecode6 = 0 ;
8864 void *argp7 = 0 ;
8865 int res7 = 0 ;
8866 bool temp8 = false ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 PyObject * obj3 = 0 ;
8871 PyObject * obj4 = 0 ;
8872 PyObject * obj5 = 0 ;
8873 PyObject * obj6 = 0 ;
8874 PyObject * obj7 = 0 ;
8875 char * kwnames[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8877 };
8878
8879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8881 if (!SWIG_IsOK(res1)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8883 }
8884 arg1 = reinterpret_cast< wxWindow * >(argp1);
8885 if (obj1) {
8886 ecode2 = SWIG_AsVal_int(obj1, &val2);
8887 if (!SWIG_IsOK(ecode2)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8889 }
8890 arg2 = static_cast< int >(val2);
8891 }
8892 if (obj2) {
d14a1e28 8893 {
0085ce49
RD
8894 arg3 = &temp3;
8895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 8896 }
0085ce49
RD
8897 }
8898 if (obj3) {
d14a1e28 8899 {
0085ce49
RD
8900 arg4 = &temp4;
8901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8902 }
0085ce49
RD
8903 }
8904 if (obj4) {
d14a1e28 8905 {
0085ce49
RD
8906 if (! PySequence_Check(obj4)) {
8907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8908 SWIG_fail;
8909 }
8910 arg5 = new wxArrayString;
8911 temp5 = true;
8912 int i, len=PySequence_Length(obj4);
8913 for (i=0; i<len; i++) {
8914 PyObject* item = PySequence_GetItem(obj4, i);
8915 wxString* s = wxString_in_helper(item);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 arg5->Add(*s);
8918 delete s;
8919 Py_DECREF(item);
8920 }
d14a1e28 8921 }
0085ce49
RD
8922 }
8923 if (obj5) {
8924 ecode6 = SWIG_AsVal_long(obj5, &val6);
8925 if (!SWIG_IsOK(ecode6)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8927 }
8928 arg6 = static_cast< long >(val6);
8929 }
8930 if (obj6) {
8931 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8932 if (!SWIG_IsOK(res7)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 8934 }
0085ce49
RD
8935 if (!argp7) {
8936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 8937 }
0085ce49
RD
8938 arg7 = reinterpret_cast< wxValidator * >(argp7);
8939 }
8940 if (obj7) {
d14a1e28 8941 {
0085ce49
RD
8942 arg8 = wxString_in_helper(obj7);
8943 if (arg8 == NULL) SWIG_fail;
8944 temp8 = true;
d14a1e28 8945 }
0085ce49
RD
8946 }
8947 {
8948 if (!wxPyCheckForApp()) SWIG_fail;
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8955 {
8956 if (temp5) delete arg5;
8957 }
8958 {
8959 if (temp8)
8960 delete arg8;
8961 }
8962 return resultobj;
8963fail:
8964 {
8965 if (temp5) delete arg5;
8966 }
8967 {
8968 if (temp8)
8969 delete arg8;
8970 }
8971 return NULL;
d14a1e28
RD
8972}
8973
8974
0085ce49
RD
8975SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8976 PyObject *resultobj = 0;
8977 wxListBox *result = 0 ;
8978
8979 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8980 {
8981 if (!wxPyCheckForApp()) SWIG_fail;
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (wxListBox *)new wxListBox();
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8988 return resultobj;
8989fail:
8990 return NULL;
8991}
8992
8993
8994SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxListBox *arg1 = (wxListBox *) 0 ;
8997 wxWindow *arg2 = (wxWindow *) 0 ;
8998 int arg3 = (int) -1 ;
8999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9001 wxSize const &arg5_defvalue = wxDefaultSize ;
9002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9003 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9004 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9005 long arg7 = (long) 0 ;
9006 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9007 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9008 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9009 wxString *arg9 = (wxString *) &arg9_defvalue ;
9010 bool result;
9011 void *argp1 = 0 ;
9012 int res1 = 0 ;
9013 void *argp2 = 0 ;
9014 int res2 = 0 ;
9015 int val3 ;
9016 int ecode3 = 0 ;
9017 wxPoint temp4 ;
9018 wxSize temp5 ;
9019 bool temp6 = false ;
9020 long val7 ;
9021 int ecode7 = 0 ;
9022 void *argp8 = 0 ;
9023 int res8 = 0 ;
9024 bool temp9 = false ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 PyObject * obj2 = 0 ;
9028 PyObject * obj3 = 0 ;
9029 PyObject * obj4 = 0 ;
9030 PyObject * obj5 = 0 ;
9031 PyObject * obj6 = 0 ;
9032 PyObject * obj7 = 0 ;
9033 PyObject * obj8 = 0 ;
9034 char * kwnames[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9036 };
9037
9038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9040 if (!SWIG_IsOK(res1)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9042 }
9043 arg1 = reinterpret_cast< wxListBox * >(argp1);
9044 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9045 if (!SWIG_IsOK(res2)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9047 }
9048 arg2 = reinterpret_cast< wxWindow * >(argp2);
9049 if (obj2) {
9050 ecode3 = SWIG_AsVal_int(obj2, &val3);
9051 if (!SWIG_IsOK(ecode3)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9053 }
9054 arg3 = static_cast< int >(val3);
9055 }
9056 if (obj3) {
d14a1e28 9057 {
0085ce49
RD
9058 arg4 = &temp4;
9059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9060 }
0085ce49
RD
9061 }
9062 if (obj4) {
d14a1e28 9063 {
0085ce49
RD
9064 arg5 = &temp5;
9065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9066 }
0085ce49
RD
9067 }
9068 if (obj5) {
d14a1e28 9069 {
0085ce49
RD
9070 if (! PySequence_Check(obj5)) {
9071 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9072 SWIG_fail;
9073 }
9074 arg6 = new wxArrayString;
9075 temp6 = true;
9076 int i, len=PySequence_Length(obj5);
9077 for (i=0; i<len; i++) {
9078 PyObject* item = PySequence_GetItem(obj5, i);
9079 wxString* s = wxString_in_helper(item);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 arg6->Add(*s);
9082 delete s;
9083 Py_DECREF(item);
9084 }
d14a1e28 9085 }
0085ce49
RD
9086 }
9087 if (obj6) {
9088 ecode7 = SWIG_AsVal_long(obj6, &val7);
9089 if (!SWIG_IsOK(ecode7)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9091 }
9092 arg7 = static_cast< long >(val7);
9093 }
9094 if (obj7) {
9095 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9096 if (!SWIG_IsOK(res8)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 9098 }
0085ce49
RD
9099 if (!argp8) {
9100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
22bfe96c 9101 }
0085ce49
RD
9102 arg8 = reinterpret_cast< wxValidator * >(argp8);
9103 }
9104 if (obj8) {
22bfe96c 9105 {
0085ce49
RD
9106 arg9 = wxString_in_helper(obj8);
9107 if (arg9 == NULL) SWIG_fail;
9108 temp9 = true;
22bfe96c 9109 }
0085ce49
RD
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 {
9121 if (temp6) delete arg6;
9122 }
9123 {
9124 if (temp9)
9125 delete arg9;
9126 }
9127 return resultobj;
9128fail:
9129 {
9130 if (temp6) delete arg6;
9131 }
9132 {
9133 if (temp9)
9134 delete arg9;
9135 }
9136 return NULL;
9137}
9138
9139
9140SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxListBox *arg1 = (wxListBox *) 0 ;
9143 wxString *arg2 = 0 ;
9144 int arg3 ;
9145 PyObject *arg4 = (PyObject *) NULL ;
9146 void *argp1 = 0 ;
9147 int res1 = 0 ;
9148 bool temp2 = false ;
9149 int val3 ;
9150 int ecode3 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 PyObject * obj3 = 0 ;
9155 char * kwnames[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9157 };
9158
9159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9161 if (!SWIG_IsOK(res1)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9163 }
9164 arg1 = reinterpret_cast< wxListBox * >(argp1);
9165 {
9166 arg2 = wxString_in_helper(obj1);
9167 if (arg2 == NULL) SWIG_fail;
9168 temp2 = true;
9169 }
9170 ecode3 = SWIG_AsVal_int(obj2, &val3);
9171 if (!SWIG_IsOK(ecode3)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9173 }
9174 arg3 = static_cast< int >(val3);
9175 if (obj3) {
9176 arg4 = obj3;
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_Py_Void();
9185 {
9186 if (temp2)
9187 delete arg2;
9188 }
9189 return resultobj;
9190fail:
9191 {
9192 if (temp2)
9193 delete arg2;
9194 }
9195 return NULL;
9196}
9197
9198
9199SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = 0;
9201 wxListBox *arg1 = (wxListBox *) 0 ;
9202 wxArrayString *arg2 = 0 ;
50f151d7 9203 unsigned int arg3 ;
0085ce49
RD
9204 void *argp1 = 0 ;
9205 int res1 = 0 ;
9206 bool temp2 = false ;
50f151d7 9207 unsigned int val3 ;
0085ce49
RD
9208 int ecode3 = 0 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char * kwnames[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9214 };
9215
9216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9218 if (!SWIG_IsOK(res1)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9220 }
9221 arg1 = reinterpret_cast< wxListBox * >(argp1);
9222 {
9223 if (! PySequence_Check(obj1)) {
9224 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9225 SWIG_fail;
9226 }
9227 arg2 = new wxArrayString;
9228 temp2 = true;
9229 int i, len=PySequence_Length(obj1);
9230 for (i=0; i<len; i++) {
9231 PyObject* item = PySequence_GetItem(obj1, i);
9232 wxString* s = wxString_in_helper(item);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 arg2->Add(*s);
9235 delete s;
9236 Py_DECREF(item);
22bfe96c 9237 }
0085ce49 9238 }
50f151d7 9239 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
0085ce49 9240 if (!SWIG_IsOK(ecode3)) {
50f151d7 9241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
0085ce49 9242 }
50f151d7 9243 arg3 = static_cast< unsigned int >(val3);
0085ce49
RD
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 resultobj = SWIG_Py_Void();
9251 {
9252 if (temp2) delete arg2;
9253 }
9254 return resultobj;
9255fail:
9256 {
9257 if (temp2) delete arg2;
9258 }
9259 return NULL;
22bfe96c
RD
9260}
9261
9262
0085ce49
RD
9263SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxListBox *arg1 = (wxListBox *) 0 ;
9266 wxArrayString *arg2 = 0 ;
9267 void *argp1 = 0 ;
9268 int res1 = 0 ;
9269 bool temp2 = false ;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 char * kwnames[] = {
9273 (char *) "self",(char *) "items", NULL
9274 };
9275
9276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9278 if (!SWIG_IsOK(res1)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9280 }
9281 arg1 = reinterpret_cast< wxListBox * >(argp1);
9282 {
9283 if (! PySequence_Check(obj1)) {
9284 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9285 SWIG_fail;
9286 }
9287 arg2 = new wxArrayString;
9288 temp2 = true;
9289 int i, len=PySequence_Length(obj1);
9290 for (i=0; i<len; i++) {
9291 PyObject* item = PySequence_GetItem(obj1, i);
9292 wxString* s = wxString_in_helper(item);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 arg2->Add(*s);
9295 delete s;
9296 Py_DECREF(item);
d14a1e28 9297 }
0085ce49
RD
9298 }
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Set((wxArrayString const &)*arg2);
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_Py_Void();
9306 {
9307 if (temp2) delete arg2;
9308 }
9309 return resultobj;
9310fail:
9311 {
9312 if (temp2) delete arg2;
9313 }
9314 return NULL;
9315}
9316
9317
9318SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj = 0;
9320 wxListBox *arg1 = (wxListBox *) 0 ;
9321 int arg2 ;
9322 bool result;
9323 void *argp1 = 0 ;
9324 int res1 = 0 ;
9325 int val2 ;
9326 int ecode2 = 0 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 char * kwnames[] = {
9330 (char *) "self",(char *) "n", NULL
9331 };
9332
9333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9335 if (!SWIG_IsOK(res1)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9337 }
9338 arg1 = reinterpret_cast< wxListBox * >(argp1);
9339 ecode2 = SWIG_AsVal_int(obj1, &val2);
9340 if (!SWIG_IsOK(ecode2)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9342 }
9343 arg2 = static_cast< int >(val2);
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
9353 return resultobj;
9354fail:
9355 return NULL;
9356}
9357
9358
9359SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj = 0;
9361 wxListBox *arg1 = (wxListBox *) 0 ;
9362 int arg2 ;
9363 bool arg3 = (bool) true ;
9364 void *argp1 = 0 ;
9365 int res1 = 0 ;
9366 int val2 ;
9367 int ecode2 = 0 ;
9368 bool val3 ;
9369 int ecode3 = 0 ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 PyObject * obj2 = 0 ;
9373 char * kwnames[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9375 };
9376
9377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9379 if (!SWIG_IsOK(res1)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9381 }
9382 arg1 = reinterpret_cast< wxListBox * >(argp1);
9383 ecode2 = SWIG_AsVal_int(obj1, &val2);
9384 if (!SWIG_IsOK(ecode2)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9386 }
9387 arg2 = static_cast< int >(val2);
9388 if (obj2) {
9389 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9390 if (!SWIG_IsOK(ecode3)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9392 }
9393 arg3 = static_cast< bool >(val3);
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 (arg1)->SetSelection(arg2,arg3);
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 resultobj = SWIG_Py_Void();
9402 return resultobj;
9403fail:
9404 return NULL;
9405}
9406
9407
9408SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj = 0;
9410 wxListBox *arg1 = (wxListBox *) 0 ;
9411 int arg2 ;
9412 void *argp1 = 0 ;
9413 int res1 = 0 ;
9414 int val2 ;
9415 int ecode2 = 0 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418 char * kwnames[] = {
9419 (char *) "self",(char *) "n", NULL
9420 };
9421
9422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9424 if (!SWIG_IsOK(res1)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9426 }
9427 arg1 = reinterpret_cast< wxListBox * >(argp1);
9428 ecode2 = SWIG_AsVal_int(obj1, &val2);
9429 if (!SWIG_IsOK(ecode2)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9431 }
9432 arg2 = static_cast< int >(val2);
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Select(arg2);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_Py_Void();
9440 return resultobj;
9441fail:
9442 return NULL;
9443}
9444
9445
9446SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj = 0;
9448 wxListBox *arg1 = (wxListBox *) 0 ;
9449 int arg2 ;
9450 void *argp1 = 0 ;
9451 int res1 = 0 ;
9452 int val2 ;
9453 int ecode2 = 0 ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 char * kwnames[] = {
9457 (char *) "self",(char *) "n", NULL
9458 };
9459
9460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9462 if (!SWIG_IsOK(res1)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9464 }
9465 arg1 = reinterpret_cast< wxListBox * >(argp1);
9466 ecode2 = SWIG_AsVal_int(obj1, &val2);
9467 if (!SWIG_IsOK(ecode2)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9469 }
9470 arg2 = static_cast< int >(val2);
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 (arg1)->Deselect(arg2);
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_Py_Void();
9478 return resultobj;
9479fail:
9480 return NULL;
9481}
9482
9483
9484SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj = 0;
9486 wxListBox *arg1 = (wxListBox *) 0 ;
9487 int arg2 = (int) -1 ;
9488 void *argp1 = 0 ;
9489 int res1 = 0 ;
9490 int val2 ;
9491 int ecode2 = 0 ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 char * kwnames[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9496 };
9497
9498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9500 if (!SWIG_IsOK(res1)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9502 }
9503 arg1 = reinterpret_cast< wxListBox * >(argp1);
9504 if (obj1) {
9505 ecode2 = SWIG_AsVal_int(obj1, &val2);
9506 if (!SWIG_IsOK(ecode2)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9508 }
9509 arg2 = static_cast< int >(val2);
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 (arg1)->DeselectAll(arg2);
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_Py_Void();
9518 return resultobj;
9519fail:
9520 return NULL;
9521}
9522
9523
9524SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj = 0;
9526 wxListBox *arg1 = (wxListBox *) 0 ;
9527 wxString *arg2 = 0 ;
9528 bool arg3 = (bool) true ;
9529 bool result;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 bool temp2 = false ;
9533 bool val3 ;
9534 int ecode3 = 0 ;
9535 PyObject * obj0 = 0 ;
9536 PyObject * obj1 = 0 ;
9537 PyObject * obj2 = 0 ;
9538 char * kwnames[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9540 };
9541
9542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 }
9547 arg1 = reinterpret_cast< wxListBox * >(argp1);
9548 {
9549 arg2 = wxString_in_helper(obj1);
9550 if (arg2 == NULL) SWIG_fail;
9551 temp2 = true;
9552 }
9553 if (obj2) {
9554 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9555 if (!SWIG_IsOK(ecode3)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9557 }
9558 arg3 = static_cast< bool >(val3);
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
9569 {
9570 if (temp2)
9571 delete arg2;
9572 }
9573 return resultobj;
9574fail:
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return NULL;
d14a1e28
RD
9580}
9581
9582
0085ce49
RD
9583SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9584 PyObject *resultobj = 0;
9585 wxListBox *arg1 = (wxListBox *) 0 ;
9586 PyObject *result = 0 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 PyObject *swig_obj[1] ;
9590
9591 if (!args) SWIG_fail;
9592 swig_obj[0] = args;
9593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9596 }
9597 arg1 = reinterpret_cast< wxListBox * >(argp1);
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (PyObject *)wxListBox_GetSelections(arg1);
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = result;
9605 return resultobj;
9606fail:
9607 return NULL;
9608}
9609
9610
9611SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj = 0;
9613 wxListBox *arg1 = (wxListBox *) 0 ;
9614 int arg2 ;
9615 void *argp1 = 0 ;
9616 int res1 = 0 ;
9617 int val2 ;
9618 int ecode2 = 0 ;
9619 PyObject * obj0 = 0 ;
9620 PyObject * obj1 = 0 ;
9621 char * kwnames[] = {
9622 (char *) "self",(char *) "n", NULL
9623 };
9624
9625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9627 if (!SWIG_IsOK(res1)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9629 }
9630 arg1 = reinterpret_cast< wxListBox * >(argp1);
9631 ecode2 = SWIG_AsVal_int(obj1, &val2);
9632 if (!SWIG_IsOK(ecode2)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9634 }
9635 arg2 = static_cast< int >(val2);
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->SetFirstItem(arg2);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_Py_Void();
9643 return resultobj;
9644fail:
9645 return NULL;
9646}
9647
9648
9649SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj = 0;
9651 wxListBox *arg1 = (wxListBox *) 0 ;
9652 wxString *arg2 = 0 ;
9653 void *argp1 = 0 ;
9654 int res1 = 0 ;
9655 bool temp2 = false ;
9656 PyObject * obj0 = 0 ;
9657 PyObject * obj1 = 0 ;
9658 char * kwnames[] = {
9659 (char *) "self",(char *) "s", NULL
9660 };
9661
9662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 }
9667 arg1 = reinterpret_cast< wxListBox * >(argp1);
9668 {
9669 arg2 = wxString_in_helper(obj1);
9670 if (arg2 == NULL) SWIG_fail;
9671 temp2 = true;
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 (arg1)->SetFirstItem((wxString const &)*arg2);
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = SWIG_Py_Void();
9680 {
9681 if (temp2)
9682 delete arg2;
9683 }
9684 return resultobj;
9685fail:
9686 {
9687 if (temp2)
9688 delete arg2;
9689 }
9690 return NULL;
9691}
9692
9693
9694SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxListBox *arg1 = (wxListBox *) 0 ;
9697 int arg2 ;
9698 void *argp1 = 0 ;
9699 int res1 = 0 ;
9700 int val2 ;
9701 int ecode2 = 0 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char * kwnames[] = {
9705 (char *) "self",(char *) "n", NULL
9706 };
9707
9708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9712 }
9713 arg1 = reinterpret_cast< wxListBox * >(argp1);
9714 ecode2 = SWIG_AsVal_int(obj1, &val2);
9715 if (!SWIG_IsOK(ecode2)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9717 }
9718 arg2 = static_cast< int >(val2);
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->EnsureVisible(arg2);
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_Py_Void();
9726 return resultobj;
9727fail:
9728 return NULL;
9729}
9730
9731
9732SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxListBox *arg1 = (wxListBox *) 0 ;
9735 wxString *arg2 = 0 ;
9736 void *argp1 = 0 ;
9737 int res1 = 0 ;
9738 bool temp2 = false ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char * kwnames[] = {
9742 (char *) "self",(char *) "s", NULL
9743 };
9744
9745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9749 }
9750 arg1 = reinterpret_cast< wxListBox * >(argp1);
9751 {
9752 arg2 = wxString_in_helper(obj1);
9753 if (arg2 == NULL) SWIG_fail;
9754 temp2 = true;
9755 }
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 resultobj = SWIG_Py_Void();
9763 {
9764 if (temp2)
9765 delete arg2;
9766 }
9767 return resultobj;
9768fail:
9769 {
9770 if (temp2)
9771 delete arg2;
9772 }
9773 return NULL;
d14a1e28
RD
9774}
9775
9776
0085ce49
RD
9777SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9778 PyObject *resultobj = 0;
9779 wxListBox *arg1 = (wxListBox *) 0 ;
9780 bool result;
9781 void *argp1 = 0 ;
9782 int res1 = 0 ;
9783 PyObject *swig_obj[1] ;
9784
9785 if (!args) SWIG_fail;
9786 swig_obj[0] = args;
9787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9790 }
9791 arg1 = reinterpret_cast< wxListBox * >(argp1);
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)((wxListBox const *)arg1)->IsSorted();
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 {
9799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9800 }
9801 return resultobj;
9802fail:
9803 return NULL;
9804}
9805
9806
9807SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj = 0;
9809 wxListBox *arg1 = (wxListBox *) 0 ;
9810 wxPoint *arg2 = 0 ;
9811 int result;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 wxPoint temp2 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char * kwnames[] = {
9818 (char *) "self",(char *) "pt", NULL
9819 };
9820
9821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9823 if (!SWIG_IsOK(res1)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9825 }
9826 arg1 = reinterpret_cast< wxListBox * >(argp1);
9827 {
9828 arg2 = &temp2;
9829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_From_int(static_cast< int >(result));
9838 return resultobj;
9839fail:
9840 return NULL;
9841}
9842
9843
9844SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj = 0;
9846 wxListBox *arg1 = (wxListBox *) 0 ;
9847 int arg2 ;
9848 wxColour *arg3 = 0 ;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 int val2 ;
9852 int ecode2 = 0 ;
9853 wxColour temp3 ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 PyObject * obj2 = 0 ;
9857 char * kwnames[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9859 };
9860
9861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9863 if (!SWIG_IsOK(res1)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9865 }
9866 arg1 = reinterpret_cast< wxListBox * >(argp1);
9867 ecode2 = SWIG_AsVal_int(obj1, &val2);
9868 if (!SWIG_IsOK(ecode2)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9870 }
9871 arg2 = static_cast< int >(val2);
9872 {
9873 arg3 = &temp3;
9874 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_Py_Void();
9883 return resultobj;
9884fail:
9885 return NULL;
9886}
9887
9888
9889SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = 0;
9891 wxListBox *arg1 = (wxListBox *) 0 ;
9892 int arg2 ;
9893 wxColour *arg3 = 0 ;
9894 void *argp1 = 0 ;
9895 int res1 = 0 ;
9896 int val2 ;
9897 int ecode2 = 0 ;
9898 wxColour temp3 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 char * kwnames[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9904 };
9905
9906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9908 if (!SWIG_IsOK(res1)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 }
9911 arg1 = reinterpret_cast< wxListBox * >(argp1);
9912 ecode2 = SWIG_AsVal_int(obj1, &val2);
9913 if (!SWIG_IsOK(ecode2)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9915 }
9916 arg2 = static_cast< int >(val2);
9917 {
9918 arg3 = &temp3;
9919 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour 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_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxListBox *arg1 = (wxListBox *) 0 ;
9937 int arg2 ;
9938 wxFont *arg3 = 0 ;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 int val2 ;
9942 int ecode2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
9948 char * kwnames[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9950 };
9951
9952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9954 if (!SWIG_IsOK(res1)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9956 }
9957 arg1 = reinterpret_cast< wxListBox * >(argp1);
9958 ecode2 = SWIG_AsVal_int(obj1, &val2);
9959 if (!SWIG_IsOK(ecode2)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9961 }
9962 arg2 = static_cast< int >(val2);
9963 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9964 if (!SWIG_IsOK(res3)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9966 }
9967 if (!argp3) {
9968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9969 }
9970 arg3 = reinterpret_cast< wxFont * >(argp3);
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_Py_Void();
9978 return resultobj;
9979fail:
9980 return NULL;
9981}
9982
9983
9984SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj = 0;
9986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9987 SwigValueWrapper<wxVisualAttributes > result;
9988 int val1 ;
9989 int ecode1 = 0 ;
9990 PyObject * obj0 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "variant", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9996 if (obj0) {
9997 ecode1 = SWIG_AsVal_int(obj0, &val1);
9998 if (!SWIG_IsOK(ecode1)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10000 }
10001 arg1 = static_cast< wxWindowVariant >(val1);
10002 }
10003 {
10004 if (!wxPyCheckForApp()) SWIG_fail;
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = wxListBox::GetClassDefaultAttributes(arg1);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10011 return resultobj;
10012fail:
10013 return NULL;
10014}
10015
10016
10017SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *obj;
10019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10021 return SWIG_Py_Void();
10022}
10023
10024SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10025 return SWIG_Python_InitShadowInstance(args);
10026}
10027
10028SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj = 0;
10030 wxWindow *arg1 = (wxWindow *) 0 ;
10031 int arg2 = (int) -1 ;
10032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10034 wxSize const &arg4_defvalue = wxDefaultSize ;
10035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10036 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10037 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10038 long arg6 = (long) 0 ;
10039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10041 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10042 wxString *arg8 = (wxString *) &arg8_defvalue ;
10043 wxCheckListBox *result = 0 ;
10044 void *argp1 = 0 ;
10045 int res1 = 0 ;
10046 int val2 ;
10047 int ecode2 = 0 ;
10048 wxPoint temp3 ;
10049 wxSize temp4 ;
10050 bool temp5 = false ;
10051 long val6 ;
10052 int ecode6 = 0 ;
10053 void *argp7 = 0 ;
10054 int res7 = 0 ;
10055 bool temp8 = false ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 PyObject * obj2 = 0 ;
10059 PyObject * obj3 = 0 ;
10060 PyObject * obj4 = 0 ;
10061 PyObject * obj5 = 0 ;
10062 PyObject * obj6 = 0 ;
10063 PyObject * obj7 = 0 ;
10064 char * kwnames[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10066 };
10067
10068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10070 if (!SWIG_IsOK(res1)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10072 }
10073 arg1 = reinterpret_cast< wxWindow * >(argp1);
10074 if (obj1) {
10075 ecode2 = SWIG_AsVal_int(obj1, &val2);
10076 if (!SWIG_IsOK(ecode2)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10078 }
10079 arg2 = static_cast< int >(val2);
10080 }
10081 if (obj2) {
d14a1e28 10082 {
0085ce49
RD
10083 arg3 = &temp3;
10084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 10085 }
0085ce49
RD
10086 }
10087 if (obj3) {
d14a1e28 10088 {
0085ce49
RD
10089 arg4 = &temp4;
10090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10091 }
0085ce49
RD
10092 }
10093 if (obj4) {
d14a1e28 10094 {
0085ce49
RD
10095 if (! PySequence_Check(obj4)) {
10096 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10097 SWIG_fail;
10098 }
10099 arg5 = new wxArrayString;
10100 temp5 = true;
10101 int i, len=PySequence_Length(obj4);
10102 for (i=0; i<len; i++) {
10103 PyObject* item = PySequence_GetItem(obj4, i);
10104 wxString* s = wxString_in_helper(item);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 arg5->Add(*s);
10107 delete s;
10108 Py_DECREF(item);
10109 }
d14a1e28 10110 }
0085ce49
RD
10111 }
10112 if (obj5) {
10113 ecode6 = SWIG_AsVal_long(obj5, &val6);
10114 if (!SWIG_IsOK(ecode6)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10116 }
10117 arg6 = static_cast< long >(val6);
10118 }
10119 if (obj6) {
10120 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10121 if (!SWIG_IsOK(res7)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 10123 }
0085ce49
RD
10124 if (!argp7) {
10125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 10126 }
0085ce49
RD
10127 arg7 = reinterpret_cast< wxValidator * >(argp7);
10128 }
10129 if (obj7) {
093d3ff1 10130 {
0085ce49
RD
10131 arg8 = wxString_in_helper(obj7);
10132 if (arg8 == NULL) SWIG_fail;
10133 temp8 = true;
093d3ff1 10134 }
0085ce49
RD
10135 }
10136 {
10137 if (!wxPyCheckForApp()) SWIG_fail;
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10144 {
10145 if (temp5) delete arg5;
10146 }
10147 {
10148 if (temp8)
10149 delete arg8;
10150 }
10151 return resultobj;
10152fail:
10153 {
10154 if (temp5) delete arg5;
10155 }
10156 {
10157 if (temp8)
10158 delete arg8;
10159 }
10160 return NULL;
d14a1e28
RD
10161}
10162
10163
0085ce49
RD
10164SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10165 PyObject *resultobj = 0;
10166 wxCheckListBox *result = 0 ;
10167
10168 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10169 {
10170 if (!wxPyCheckForApp()) SWIG_fail;
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (wxCheckListBox *)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10177 return resultobj;
10178fail:
10179 return NULL;
10180}
10181
10182
10183SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj = 0;
10185 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10186 wxWindow *arg2 = (wxWindow *) 0 ;
10187 int arg3 = (int) -1 ;
10188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10190 wxSize const &arg5_defvalue = wxDefaultSize ;
10191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10192 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10193 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10194 long arg7 = (long) 0 ;
10195 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10196 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10197 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10198 wxString *arg9 = (wxString *) &arg9_defvalue ;
10199 bool result;
10200 void *argp1 = 0 ;
10201 int res1 = 0 ;
10202 void *argp2 = 0 ;
10203 int res2 = 0 ;
10204 int val3 ;
10205 int ecode3 = 0 ;
10206 wxPoint temp4 ;
10207 wxSize temp5 ;
10208 bool temp6 = false ;
10209 long val7 ;
10210 int ecode7 = 0 ;
10211 void *argp8 = 0 ;
10212 int res8 = 0 ;
10213 bool temp9 = false ;
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 PyObject * obj2 = 0 ;
10217 PyObject * obj3 = 0 ;
10218 PyObject * obj4 = 0 ;
10219 PyObject * obj5 = 0 ;
10220 PyObject * obj6 = 0 ;
10221 PyObject * obj7 = 0 ;
10222 PyObject * obj8 = 0 ;
10223 char * kwnames[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10225 };
10226
10227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10229 if (!SWIG_IsOK(res1)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10231 }
10232 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10234 if (!SWIG_IsOK(res2)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10236 }
10237 arg2 = reinterpret_cast< wxWindow * >(argp2);
10238 if (obj2) {
10239 ecode3 = SWIG_AsVal_int(obj2, &val3);
10240 if (!SWIG_IsOK(ecode3)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10242 }
10243 arg3 = static_cast< int >(val3);
10244 }
10245 if (obj3) {
22bfe96c 10246 {
0085ce49
RD
10247 arg4 = &temp4;
10248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10249 }
0085ce49
RD
10250 }
10251 if (obj4) {
d14a1e28 10252 {
0085ce49
RD
10253 arg5 = &temp5;
10254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 10255 }
0085ce49
RD
10256 }
10257 if (obj5) {
d14a1e28 10258 {
0085ce49
RD
10259 if (! PySequence_Check(obj5)) {
10260 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10261 SWIG_fail;
10262 }
10263 arg6 = new wxArrayString;
10264 temp6 = true;
10265 int i, len=PySequence_Length(obj5);
10266 for (i=0; i<len; i++) {
10267 PyObject* item = PySequence_GetItem(obj5, i);
10268 wxString* s = wxString_in_helper(item);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 arg6->Add(*s);
10271 delete s;
10272 Py_DECREF(item);
10273 }
d14a1e28 10274 }
0085ce49
RD
10275 }
10276 if (obj6) {
10277 ecode7 = SWIG_AsVal_long(obj6, &val7);
10278 if (!SWIG_IsOK(ecode7)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10280 }
10281 arg7 = static_cast< long >(val7);
10282 }
10283 if (obj7) {
10284 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10285 if (!SWIG_IsOK(res8)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 10287 }
0085ce49
RD
10288 if (!argp8) {
10289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 10290 }
0085ce49
RD
10291 arg8 = reinterpret_cast< wxValidator * >(argp8);
10292 }
10293 if (obj8) {
d14a1e28 10294 {
0085ce49
RD
10295 arg9 = wxString_in_helper(obj8);
10296 if (arg9 == NULL) SWIG_fail;
10297 temp9 = true;
d14a1e28 10298 }
0085ce49
RD
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10308 }
10309 {
10310 if (temp6) delete arg6;
10311 }
10312 {
10313 if (temp9)
10314 delete arg9;
10315 }
10316 return resultobj;
10317fail:
10318 {
10319 if (temp6) delete arg6;
10320 }
10321 {
10322 if (temp9)
10323 delete arg9;
10324 }
10325 return NULL;
10326}
10327
10328
10329SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj = 0;
10331 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10332 unsigned int arg2 ;
0085ce49
RD
10333 bool result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
50f151d7 10336 unsigned int val2 ;
0085ce49
RD
10337 int ecode2 = 0 ;
10338 PyObject * obj0 = 0 ;
10339 PyObject * obj1 = 0 ;
10340 char * kwnames[] = {
10341 (char *) "self",(char *) "index", NULL
10342 };
10343
10344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10346 if (!SWIG_IsOK(res1)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10348 }
10349 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10350 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 10351 if (!SWIG_IsOK(ecode2)) {
50f151d7 10352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 10353 }
50f151d7 10354 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)(arg1)->IsChecked(arg2);
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10363 }
10364 return resultobj;
10365fail:
10366 return NULL;
10367}
10368
10369
10370SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10373 unsigned int arg2 ;
0085ce49
RD
10374 int arg3 = (int) true ;
10375 void *argp1 = 0 ;
10376 int res1 = 0 ;
50f151d7 10377 unsigned int val2 ;
0085ce49
RD
10378 int ecode2 = 0 ;
10379 int val3 ;
10380 int ecode3 = 0 ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 PyObject * obj2 = 0 ;
10384 char * kwnames[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10386 };
10387
10388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10390 if (!SWIG_IsOK(res1)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10392 }
10393 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10394 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 10395 if (!SWIG_IsOK(ecode2)) {
50f151d7 10396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 10397 }
50f151d7 10398 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
10399 if (obj2) {
10400 ecode3 = SWIG_AsVal_int(obj2, &val3);
10401 if (!SWIG_IsOK(ecode3)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10403 }
10404 arg3 = static_cast< int >(val3);
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->Check(arg2,arg3);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_Py_Void();
10413 return resultobj;
10414fail:
10415 return NULL;
d14a1e28
RD
10416}
10417
10418
0085ce49
RD
10419SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10420 PyObject *resultobj = 0;
10421 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10422 int result;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 PyObject *swig_obj[1] ;
10426
10427 if (!args) SWIG_fail;
10428 swig_obj[0] = args;
10429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10430 if (!SWIG_IsOK(res1)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10432 }
10433 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (int)(arg1)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 resultobj = SWIG_From_int(static_cast< int >(result));
10441 return resultobj;
10442fail:
10443 return NULL;
d14a1e28
RD
10444}
10445
10446
0085ce49
RD
10447SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10448 PyObject *obj;
10449 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10451 return SWIG_Py_Void();
d14a1e28
RD
10452}
10453
0085ce49
RD
10454SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10455 return SWIG_Python_InitShadowInstance(args);
943e8dfd
RD
10456}
10457
0085ce49
RD
10458SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10459 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10460 return 1;
22bfe96c
RD
10461}
10462
10463
0085ce49
RD
10464SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10465 PyObject *pyobj = 0;
10466
10467 {
10468#if wxUSE_UNICODE
10469 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10470#else
10471 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10472#endif
10473 }
10474 return pyobj;
10475}
10476
10477
10478SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj = 0;
10480 wxColour const &arg1_defvalue = wxNullColour ;
10481 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10482 wxColour const &arg2_defvalue = wxNullColour ;
10483 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10484 wxFont const &arg3_defvalue = wxNullFont ;
10485 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10486 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10487 wxTextAttr *result = 0 ;
10488 wxColour temp1 ;
10489 wxColour temp2 ;
10490 void *argp3 = 0 ;
10491 int res3 = 0 ;
10492 int val4 ;
10493 int ecode4 = 0 ;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 PyObject * obj3 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10503 if (obj0) {
d14a1e28 10504 {
0085ce49
RD
10505 arg1 = &temp1;
10506 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d14a1e28 10507 }
0085ce49
RD
10508 }
10509 if (obj1) {
d14a1e28 10510 {
0085ce49
RD
10511 arg2 = &temp2;
10512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 10513 }
0085ce49
RD
10514 }
10515 if (obj2) {
10516 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10517 if (!SWIG_IsOK(res3)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 10519 }
0085ce49
RD
10520 if (!argp3) {
10521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10522 }
10523 arg3 = reinterpret_cast< wxFont * >(argp3);
10524 }
10525 if (obj3) {
10526 ecode4 = SWIG_AsVal_int(obj3, &val4);
10527 if (!SWIG_IsOK(ecode4)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10529 }
10530 arg4 = static_cast< wxTextAttrAlignment >(val4);
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10539 return resultobj;
10540fail:
10541 return NULL;
d14a1e28
RD
10542}
10543
10544
0085ce49
RD
10545SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 }
10558 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 delete arg1;
d14a1e28 10562
0085ce49
RD
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568fail:
10569 return NULL;
d14a1e28
RD
10570}
10571
10572
0085ce49
RD
10573SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10574 PyObject *resultobj = 0;
10575 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10576 void *argp1 = 0 ;
10577 int res1 = 0 ;
10578 PyObject *swig_obj[1] ;
10579
10580 if (!args) SWIG_fail;
10581 swig_obj[0] = args;
10582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10583 if (!SWIG_IsOK(res1)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10585 }
10586 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->Init();
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = SWIG_Py_Void();
10594 return resultobj;
10595fail:
10596 return NULL;
10597}
10598
10599
01f6b6d3
RD
10600SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxTextAttr *arg1 = 0 ;
10603 wxTextAttr *arg2 = 0 ;
10604 wxTextAttr result;
10605 void *argp1 = 0 ;
10606 int res1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "base",(char *) "overlay", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10616 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10617 if (!SWIG_IsOK(res1)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10619 }
10620 if (!argp1) {
10621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10622 }
10623 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10627 }
10628 if (!argp2) {
10629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10630 }
10631 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10639 return resultobj;
10640fail:
10641 return NULL;
10642}
10643
10644
0085ce49
RD
10645SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj = 0;
10647 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10648 wxColour *arg2 = 0 ;
10649 void *argp1 = 0 ;
10650 int res1 = 0 ;
10651 wxColour temp2 ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char * kwnames[] = {
10655 (char *) "self",(char *) "colText", NULL
10656 };
10657
10658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10660 if (!SWIG_IsOK(res1)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10662 }
10663 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10664 {
10665 arg2 = &temp2;
10666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetTextColour((wxColour const &)*arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676fail:
10677 return NULL;
10678}
10679
10680
10681SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj = 0;
10683 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10684 wxColour *arg2 = 0 ;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 wxColour temp2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char * kwnames[] = {
10691 (char *) "self",(char *) "colBack", NULL
10692 };
10693
10694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10696 if (!SWIG_IsOK(res1)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10698 }
10699 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10700 {
10701 arg2 = &temp2;
10702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10703 }
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 resultobj = SWIG_Py_Void();
10711 return resultobj;
10712fail:
10713 return NULL;
10714}
10715
10716
10717SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj = 0;
10719 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10720 wxFont *arg2 = 0 ;
10721 long arg3 = (long) wxTEXT_ATTR_FONT ;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 void *argp2 = 0 ;
10725 int res2 = 0 ;
10726 long val3 ;
10727 int ecode3 = 0 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 PyObject * obj2 = 0 ;
10731 char * kwnames[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10733 };
10734
10735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10739 }
10740 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10742 if (!SWIG_IsOK(res2)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10744 }
10745 if (!argp2) {
10746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10747 }
10748 arg2 = reinterpret_cast< wxFont * >(argp2);
10749 if (obj2) {
10750 ecode3 = SWIG_AsVal_long(obj2, &val3);
10751 if (!SWIG_IsOK(ecode3)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10753 }
10754 arg3 = static_cast< long >(val3);
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 resultobj = SWIG_Py_Void();
10763 return resultobj;
10764fail:
10765 return NULL;
10766}
10767
10768
10769SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj = 0;
10771 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10772 wxTextAttrAlignment arg2 ;
10773 void *argp1 = 0 ;
10774 int res1 = 0 ;
10775 int val2 ;
10776 int ecode2 = 0 ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 char * kwnames[] = {
10780 (char *) "self",(char *) "alignment", NULL
10781 };
10782
10783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10785 if (!SWIG_IsOK(res1)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10787 }
10788 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10789 ecode2 = SWIG_AsVal_int(obj1, &val2);
10790 if (!SWIG_IsOK(ecode2)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10792 }
10793 arg2 = static_cast< wxTextAttrAlignment >(val2);
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetAlignment(arg2);
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_Py_Void();
10801 return resultobj;
10802fail:
10803 return NULL;
10804}
10805
10806
10807SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj = 0;
10809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10810 wxArrayInt *arg2 = 0 ;
10811 void *argp1 = 0 ;
10812 int res1 = 0 ;
10813 bool temp2 = false ;
10814 PyObject * obj0 = 0 ;
10815 PyObject * obj1 = 0 ;
10816 char * kwnames[] = {
10817 (char *) "self",(char *) "tabs", NULL
10818 };
10819
10820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10822 if (!SWIG_IsOK(res1)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10824 }
10825 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10826 {
10827 if (! PySequence_Check(obj1)) {
10828 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10829 SWIG_fail;
10830 }
10831 arg2 = new wxArrayInt;
10832 temp2 = true;
10833 int i, len=PySequence_Length(obj1);
10834 for (i=0; i<len; i++) {
10835 PyObject* item = PySequence_GetItem(obj1, i);
10836 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
10837 if (!number) {
10838 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10839 SWIG_fail;
10840 }
0085ce49
RD
10841 arg2->Add(PyInt_AS_LONG(number));
10842 Py_DECREF(item);
10843 Py_DECREF(number);
d14a1e28 10844 }
0085ce49
RD
10845 }
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 resultobj = SWIG_Py_Void();
10853 {
10854 if (temp2) delete arg2;
10855 }
10856 return resultobj;
10857fail:
10858 {
10859 if (temp2) delete arg2;
10860 }
10861 return NULL;
10862}
10863
10864
10865SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj = 0;
10867 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10868 int arg2 ;
10869 int arg3 = (int) 0 ;
10870 void *argp1 = 0 ;
10871 int res1 = 0 ;
10872 int val2 ;
10873 int ecode2 = 0 ;
10874 int val3 ;
10875 int ecode3 = 0 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 char * kwnames[] = {
10880 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10881 };
10882
10883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10885 if (!SWIG_IsOK(res1)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10887 }
10888 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10889 ecode2 = SWIG_AsVal_int(obj1, &val2);
10890 if (!SWIG_IsOK(ecode2)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10892 }
10893 arg2 = static_cast< int >(val2);
10894 if (obj2) {
10895 ecode3 = SWIG_AsVal_int(obj2, &val3);
10896 if (!SWIG_IsOK(ecode3)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10898 }
10899 arg3 = static_cast< int >(val3);
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 (arg1)->SetLeftIndent(arg2,arg3);
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_Py_Void();
10908 return resultobj;
10909fail:
10910 return NULL;
10911}
10912
10913
10914SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj = 0;
10916 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10917 int arg2 ;
10918 void *argp1 = 0 ;
10919 int res1 = 0 ;
10920 int val2 ;
10921 int ecode2 = 0 ;
10922 PyObject * obj0 = 0 ;
10923 PyObject * obj1 = 0 ;
10924 char * kwnames[] = {
10925 (char *) "self",(char *) "indent", NULL
10926 };
10927
10928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10930 if (!SWIG_IsOK(res1)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10932 }
10933 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10934 ecode2 = SWIG_AsVal_int(obj1, &val2);
10935 if (!SWIG_IsOK(ecode2)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10937 }
10938 arg2 = static_cast< int >(val2);
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 (arg1)->SetRightIndent(arg2);
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_Py_Void();
10946 return resultobj;
10947fail:
10948 return NULL;
10949}
10950
10951
10952SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj = 0;
10954 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10955 long arg2 ;
10956 void *argp1 = 0 ;
10957 int res1 = 0 ;
10958 long val2 ;
10959 int ecode2 = 0 ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 char * kwnames[] = {
10963 (char *) "self",(char *) "flags", NULL
10964 };
10965
10966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10968 if (!SWIG_IsOK(res1)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10970 }
10971 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10972 ecode2 = SWIG_AsVal_long(obj1, &val2);
10973 if (!SWIG_IsOK(ecode2)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10975 }
10976 arg2 = static_cast< long >(val2);
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 (arg1)->SetFlags(arg2);
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 resultobj = SWIG_Py_Void();
10984 return resultobj;
10985fail:
10986 return NULL;
d14a1e28
RD
10987}
10988
10989
0085ce49
RD
10990SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10991 PyObject *resultobj = 0;
10992 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10993 bool result;
10994 void *argp1 = 0 ;
10995 int res1 = 0 ;
10996 PyObject *swig_obj[1] ;
10997
10998 if (!args) SWIG_fail;
10999 swig_obj[0] = args;
11000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11001 if (!SWIG_IsOK(res1)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11003 }
11004 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 {
11012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11013 }
11014 return resultobj;
11015fail:
11016 return NULL;
d14a1e28
RD
11017}
11018
11019
0085ce49
RD
11020SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11021 PyObject *resultobj = 0;
11022 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11023 bool result;
11024 void *argp1 = 0 ;
11025 int res1 = 0 ;
11026 PyObject *swig_obj[1] ;
11027
11028 if (!args) SWIG_fail;
11029 swig_obj[0] = args;
11030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11033 }
11034 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 {
11042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11043 }
11044 return resultobj;
11045fail:
11046 return NULL;
d14a1e28
RD
11047}
11048
11049
0085ce49
RD
11050SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11051 PyObject *resultobj = 0;
11052 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11053 bool result;
11054 void *argp1 = 0 ;
11055 int res1 = 0 ;
11056 PyObject *swig_obj[1] ;
11057
11058 if (!args) SWIG_fail;
11059 swig_obj[0] = args;
11060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11061 if (!SWIG_IsOK(res1)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11063 }
11064 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11073 }
11074 return resultobj;
11075fail:
11076 return NULL;
d14a1e28
RD
11077}
11078
11079
0085ce49
RD
11080SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11081 PyObject *resultobj = 0;
11082 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11083 bool result;
11084 void *argp1 = 0 ;
11085 int res1 = 0 ;
11086 PyObject *swig_obj[1] ;
11087
11088 if (!args) SWIG_fail;
11089 swig_obj[0] = args;
11090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11091 if (!SWIG_IsOK(res1)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11093 }
11094 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 {
11102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11103 }
11104 return resultobj;
11105fail:
11106 return NULL;
22bfe96c
RD
11107}
11108
11109
0085ce49
RD
11110SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11111 PyObject *resultobj = 0;
11112 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11113 bool result;
11114 void *argp1 = 0 ;
11115 int res1 = 0 ;
11116 PyObject *swig_obj[1] ;
11117
11118 if (!args) SWIG_fail;
11119 swig_obj[0] = args;
11120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11121 if (!SWIG_IsOK(res1)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11123 }
11124 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 {
11132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11133 }
11134 return resultobj;
11135fail:
11136 return NULL;
b2dc1044
RD
11137}
11138
11139
0085ce49
RD
11140SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11141 PyObject *resultobj = 0;
11142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11143 bool result;
11144 void *argp1 = 0 ;
11145 int res1 = 0 ;
11146 PyObject *swig_obj[1] ;
11147
11148 if (!args) SWIG_fail;
11149 swig_obj[0] = args;
11150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11151 if (!SWIG_IsOK(res1)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11153 }
11154 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165fail:
11166 return NULL;
d14a1e28
RD
11167}
11168
11169
0085ce49
RD
11170SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11171 PyObject *resultobj = 0;
11172 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11173 bool result;
11174 void *argp1 = 0 ;
11175 int res1 = 0 ;
11176 PyObject *swig_obj[1] ;
11177
11178 if (!args) SWIG_fail;
11179 swig_obj[0] = args;
11180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11181 if (!SWIG_IsOK(res1)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11183 }
11184 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 {
11192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11193 }
11194 return resultobj;
11195fail:
11196 return NULL;
11197}
11198
11199
11200SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj = 0;
11202 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11203 long arg2 ;
11204 bool result;
11205 void *argp1 = 0 ;
11206 int res1 = 0 ;
11207 long val2 ;
11208 int ecode2 = 0 ;
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 char * kwnames[] = {
11212 (char *) "self",(char *) "flag", NULL
11213 };
11214
11215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11217 if (!SWIG_IsOK(res1)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11219 }
11220 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11221 ecode2 = SWIG_AsVal_long(obj1, &val2);
11222 if (!SWIG_IsOK(ecode2)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11224 }
11225 arg2 = static_cast< long >(val2);
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 {
11233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11234 }
11235 return resultobj;
11236fail:
11237 return NULL;
d14a1e28
RD
11238}
11239
11240
0085ce49
RD
11241SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11242 PyObject *resultobj = 0;
11243 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11244 wxColour *result = 0 ;
11245 void *argp1 = 0 ;
11246 int res1 = 0 ;
11247 PyObject *swig_obj[1] ;
11248
11249 if (!args) SWIG_fail;
11250 swig_obj[0] = args;
11251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11254 }
11255 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11258 {
0085ce49
RD
11259 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11260 result = (wxColour *) &_result_ref;
d14a1e28 11261 }
0085ce49
RD
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11266 return resultobj;
11267fail:
11268 return NULL;
d14a1e28
RD
11269}
11270
11271
0085ce49
RD
11272SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11273 PyObject *resultobj = 0;
11274 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11275 wxColour *result = 0 ;
11276 void *argp1 = 0 ;
11277 int res1 = 0 ;
11278 PyObject *swig_obj[1] ;
11279
11280 if (!args) SWIG_fail;
11281 swig_obj[0] = args;
11282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11283 if (!SWIG_IsOK(res1)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11285 }
11286 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11289 {
0085ce49
RD
11290 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11291 result = (wxColour *) &_result_ref;
d14a1e28 11292 }
0085ce49
RD
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11297 return resultobj;
11298fail:
11299 return NULL;
d14a1e28
RD
11300}
11301
11302
0085ce49
RD
11303SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11304 PyObject *resultobj = 0;
11305 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11306 wxFont *result = 0 ;
11307 void *argp1 = 0 ;
11308 int res1 = 0 ;
11309 PyObject *swig_obj[1] ;
11310
11311 if (!args) SWIG_fail;
11312 swig_obj[0] = args;
11313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11314 if (!SWIG_IsOK(res1)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11316 }
11317 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11320 {
0085ce49
RD
11321 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11322 result = (wxFont *) &_result_ref;
d14a1e28 11323 }
0085ce49
RD
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 {
11328 wxFont* resultptr = new wxFont(*result);
11329 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11330 }
11331 return resultobj;
11332fail:
11333 return NULL;
d14a1e28
RD
11334}
11335
11336
0085ce49
RD
11337SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11338 PyObject *resultobj = 0;
11339 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11340 wxTextAttrAlignment result;
11341 void *argp1 = 0 ;
11342 int res1 = 0 ;
11343 PyObject *swig_obj[1] ;
11344
11345 if (!args) SWIG_fail;
11346 swig_obj[0] = args;
11347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11348 if (!SWIG_IsOK(res1)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11350 }
11351 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_From_int(static_cast< int >(result));
11359 return resultobj;
11360fail:
11361 return NULL;
d14a1e28
RD
11362}
11363
11364
0085ce49
RD
11365SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11366 PyObject *resultobj = 0;
11367 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11368 wxArrayInt *result = 0 ;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 PyObject *swig_obj[1] ;
11372
11373 if (!args) SWIG_fail;
11374 swig_obj[0] = args;
11375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11376 if (!SWIG_IsOK(res1)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11378 }
11379 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11382 {
0085ce49
RD
11383 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11384 result = (wxArrayInt *) &_result_ref;
d14a1e28 11385 }
0085ce49
RD
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 {
b39fe951 11390 resultobj = wxArrayInt2PyList_helper(*result);
0085ce49
RD
11391 }
11392 return resultobj;
11393fail:
11394 return NULL;
d14a1e28
RD
11395}
11396
11397
0085ce49
RD
11398SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11399 PyObject *resultobj = 0;
11400 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11401 long result;
11402 void *argp1 = 0 ;
11403 int res1 = 0 ;
11404 PyObject *swig_obj[1] ;
11405
11406 if (!args) SWIG_fail;
11407 swig_obj[0] = args;
11408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 }
11412 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_From_long(static_cast< long >(result));
11420 return resultobj;
11421fail:
11422 return NULL;
d14a1e28
RD
11423}
11424
11425
0085ce49
RD
11426SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11427 PyObject *resultobj = 0;
11428 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11429 long result;
11430 void *argp1 = 0 ;
11431 int res1 = 0 ;
11432 PyObject *swig_obj[1] ;
11433
11434 if (!args) SWIG_fail;
11435 swig_obj[0] = args;
11436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 }
11440 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 resultobj = SWIG_From_long(static_cast< long >(result));
11448 return resultobj;
11449fail:
11450 return NULL;
d14a1e28
RD
11451}
11452
11453
0085ce49
RD
11454SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11455 PyObject *resultobj = 0;
11456 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11457 long result;
11458 void *argp1 = 0 ;
11459 int res1 = 0 ;
11460 PyObject *swig_obj[1] ;
11461
11462 if (!args) SWIG_fail;
11463 swig_obj[0] = args;
11464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11465 if (!SWIG_IsOK(res1)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 }
11468 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 resultobj = SWIG_From_long(static_cast< long >(result));
11476 return resultobj;
11477fail:
11478 return NULL;
d14a1e28
RD
11479}
11480
11481
0085ce49
RD
11482SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11483 PyObject *resultobj = 0;
11484 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11485 long result;
11486 void *argp1 = 0 ;
11487 int res1 = 0 ;
11488 PyObject *swig_obj[1] ;
11489
11490 if (!args) SWIG_fail;
11491 swig_obj[0] = args;
11492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11493 if (!SWIG_IsOK(res1)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11495 }
11496 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_From_long(static_cast< long >(result));
11504 return resultobj;
11505fail:
11506 return NULL;
d14a1e28
RD
11507}
11508
11509
0085ce49
RD
11510SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *resultobj = 0;
11512 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11513 bool result;
11514 void *argp1 = 0 ;
11515 int res1 = 0 ;
11516 PyObject *swig_obj[1] ;
11517
11518 if (!args) SWIG_fail;
11519 swig_obj[0] = args;
11520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11521 if (!SWIG_IsOK(res1)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11523 }
11524 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 {
11532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11533 }
11534 return resultobj;
11535fail:
11536 return NULL;
11537}
11538
11539
11540SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj = 0;
11542 wxTextAttr *arg1 = 0 ;
11543 wxTextAttr *arg2 = 0 ;
11544 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11545 wxTextAttr result;
11546 void *argp1 = 0 ;
11547 int res1 = 0 ;
11548 void *argp2 = 0 ;
11549 int res2 = 0 ;
11550 void *argp3 = 0 ;
11551 int res3 = 0 ;
11552 PyObject * obj0 = 0 ;
11553 PyObject * obj1 = 0 ;
11554 PyObject * obj2 = 0 ;
11555 char * kwnames[] = {
11556 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11557 };
11558
11559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11560 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11561 if (!SWIG_IsOK(res1)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11563 }
11564 if (!argp1) {
11565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11566 }
11567 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11568 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11569 if (!SWIG_IsOK(res2)) {
11570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11571 }
11572 if (!argp2) {
11573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11574 }
11575 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11576 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11577 if (!SWIG_IsOK(res3)) {
11578 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11579 }
11580 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11588 return resultobj;
11589fail:
11590 return NULL;
11591}
11592
11593
11594SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11595 PyObject *obj;
11596 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11597 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11598 return SWIG_Py_Void();
11599}
11600
11601SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11602 return SWIG_Python_InitShadowInstance(args);
11603}
11604
11605SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11606 PyObject *resultobj = 0;
11607 wxWindow *arg1 = (wxWindow *) 0 ;
11608 int arg2 = (int) -1 ;
11609 wxString const &arg3_defvalue = wxPyEmptyString ;
11610 wxString *arg3 = (wxString *) &arg3_defvalue ;
11611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11613 wxSize const &arg5_defvalue = wxDefaultSize ;
11614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11615 long arg6 = (long) 0 ;
11616 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11617 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11618 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11619 wxString *arg8 = (wxString *) &arg8_defvalue ;
11620 wxTextCtrl *result = 0 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 int val2 ;
11624 int ecode2 = 0 ;
11625 bool temp3 = false ;
11626 wxPoint temp4 ;
11627 wxSize temp5 ;
11628 long val6 ;
11629 int ecode6 = 0 ;
11630 void *argp7 = 0 ;
11631 int res7 = 0 ;
11632 bool temp8 = false ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 PyObject * obj2 = 0 ;
11636 PyObject * obj3 = 0 ;
11637 PyObject * obj4 = 0 ;
11638 PyObject * obj5 = 0 ;
11639 PyObject * obj6 = 0 ;
11640 PyObject * obj7 = 0 ;
11641 char * kwnames[] = {
11642 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11643 };
11644
11645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11647 if (!SWIG_IsOK(res1)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11649 }
11650 arg1 = reinterpret_cast< wxWindow * >(argp1);
11651 if (obj1) {
11652 ecode2 = SWIG_AsVal_int(obj1, &val2);
11653 if (!SWIG_IsOK(ecode2)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11655 }
11656 arg2 = static_cast< int >(val2);
11657 }
11658 if (obj2) {
4f89f6a3 11659 {
0085ce49
RD
11660 arg3 = wxString_in_helper(obj2);
11661 if (arg3 == NULL) SWIG_fail;
11662 temp3 = true;
4f89f6a3 11663 }
0085ce49
RD
11664 }
11665 if (obj3) {
d14a1e28 11666 {
0085ce49
RD
11667 arg4 = &temp4;
11668 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 11669 }
0085ce49
RD
11670 }
11671 if (obj4) {
d14a1e28 11672 {
0085ce49
RD
11673 arg5 = &temp5;
11674 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11675 }
0085ce49
RD
11676 }
11677 if (obj5) {
11678 ecode6 = SWIG_AsVal_long(obj5, &val6);
11679 if (!SWIG_IsOK(ecode6)) {
11680 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11681 }
11682 arg6 = static_cast< long >(val6);
11683 }
11684 if (obj6) {
11685 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11686 if (!SWIG_IsOK(res7)) {
11687 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 11688 }
0085ce49
RD
11689 if (!argp7) {
11690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11691 }
0085ce49
RD
11692 arg7 = reinterpret_cast< wxValidator * >(argp7);
11693 }
11694 if (obj7) {
d14a1e28 11695 {
0085ce49
RD
11696 arg8 = wxString_in_helper(obj7);
11697 if (arg8 == NULL) SWIG_fail;
11698 temp8 = true;
d14a1e28 11699 }
0085ce49
RD
11700 }
11701 {
11702 if (!wxPyCheckForApp()) SWIG_fail;
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11709 {
11710 if (temp3)
11711 delete arg3;
11712 }
11713 {
11714 if (temp8)
11715 delete arg8;
11716 }
11717 return resultobj;
11718fail:
11719 {
11720 if (temp3)
11721 delete arg3;
11722 }
11723 {
11724 if (temp8)
11725 delete arg8;
11726 }
11727 return NULL;
d14a1e28
RD
11728}
11729
11730
0085ce49
RD
11731SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11732 PyObject *resultobj = 0;
11733 wxTextCtrl *result = 0 ;
11734
11735 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11736 {
11737 if (!wxPyCheckForApp()) SWIG_fail;
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxTextCtrl *)new wxTextCtrl();
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11744 return resultobj;
11745fail:
11746 return NULL;
11747}
11748
11749
11750SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj = 0;
11752 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11753 wxWindow *arg2 = (wxWindow *) 0 ;
11754 int arg3 = (int) -1 ;
11755 wxString const &arg4_defvalue = wxPyEmptyString ;
11756 wxString *arg4 = (wxString *) &arg4_defvalue ;
11757 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11758 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11759 wxSize const &arg6_defvalue = wxDefaultSize ;
11760 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11761 long arg7 = (long) 0 ;
11762 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11763 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11764 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11765 wxString *arg9 = (wxString *) &arg9_defvalue ;
11766 bool result;
11767 void *argp1 = 0 ;
11768 int res1 = 0 ;
11769 void *argp2 = 0 ;
11770 int res2 = 0 ;
11771 int val3 ;
11772 int ecode3 = 0 ;
11773 bool temp4 = false ;
11774 wxPoint temp5 ;
11775 wxSize temp6 ;
11776 long val7 ;
11777 int ecode7 = 0 ;
11778 void *argp8 = 0 ;
11779 int res8 = 0 ;
11780 bool temp9 = false ;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 PyObject * obj2 = 0 ;
11784 PyObject * obj3 = 0 ;
11785 PyObject * obj4 = 0 ;
11786 PyObject * obj5 = 0 ;
11787 PyObject * obj6 = 0 ;
11788 PyObject * obj7 = 0 ;
11789 PyObject * obj8 = 0 ;
11790 char * kwnames[] = {
11791 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11792 };
11793
11794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11798 }
11799 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11801 if (!SWIG_IsOK(res2)) {
11802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11803 }
11804 arg2 = reinterpret_cast< wxWindow * >(argp2);
11805 if (obj2) {
11806 ecode3 = SWIG_AsVal_int(obj2, &val3);
11807 if (!SWIG_IsOK(ecode3)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11809 }
11810 arg3 = static_cast< int >(val3);
11811 }
11812 if (obj3) {
d14a1e28 11813 {
0085ce49
RD
11814 arg4 = wxString_in_helper(obj3);
11815 if (arg4 == NULL) SWIG_fail;
11816 temp4 = true;
d14a1e28 11817 }
0085ce49
RD
11818 }
11819 if (obj4) {
d14a1e28 11820 {
0085ce49
RD
11821 arg5 = &temp5;
11822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11823 }
0085ce49
RD
11824 }
11825 if (obj5) {
d14a1e28 11826 {
0085ce49
RD
11827 arg6 = &temp6;
11828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 11829 }
0085ce49
RD
11830 }
11831 if (obj6) {
11832 ecode7 = SWIG_AsVal_long(obj6, &val7);
11833 if (!SWIG_IsOK(ecode7)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11835 }
11836 arg7 = static_cast< long >(val7);
11837 }
11838 if (obj7) {
11839 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11840 if (!SWIG_IsOK(res8)) {
11841 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 11842 }
0085ce49
RD
11843 if (!argp8) {
11844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11845 }
0085ce49
RD
11846 arg8 = reinterpret_cast< wxValidator * >(argp8);
11847 }
11848 if (obj8) {
d14a1e28 11849 {
0085ce49
RD
11850 arg9 = wxString_in_helper(obj8);
11851 if (arg9 == NULL) SWIG_fail;
11852 temp9 = true;
d14a1e28 11853 }
0085ce49
RD
11854 }
11855 {
11856 PyThreadState* __tstate = wxPyBeginAllowThreads();
11857 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11858 wxPyEndAllowThreads(__tstate);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 {
11862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11863 }
11864 {
11865 if (temp4)
11866 delete arg4;
11867 }
11868 {
11869 if (temp9)
11870 delete arg9;
11871 }
11872 return resultobj;
11873fail:
11874 {
11875 if (temp4)
11876 delete arg4;
11877 }
11878 {
11879 if (temp9)
11880 delete arg9;
11881 }
11882 return NULL;
d14a1e28
RD
11883}
11884
11885
0085ce49
RD
11886SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11887 PyObject *resultobj = 0;
11888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11889 wxString result;
11890 void *argp1 = 0 ;
11891 int res1 = 0 ;
11892 PyObject *swig_obj[1] ;
11893
11894 if (!args) SWIG_fail;
11895 swig_obj[0] = args;
11896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11897 if (!SWIG_IsOK(res1)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11899 }
11900 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 result = ((wxTextCtrl const *)arg1)->GetValue();
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 {
11908#if wxUSE_UNICODE
11909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11910#else
11911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11912#endif
11913 }
11914 return resultobj;
11915fail:
11916 return NULL;
11917}
11918
11919
11920SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj = 0;
11922 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11923 wxString *arg2 = 0 ;
11924 void *argp1 = 0 ;
11925 int res1 = 0 ;
11926 bool temp2 = false ;
11927 PyObject * obj0 = 0 ;
11928 PyObject * obj1 = 0 ;
11929 char * kwnames[] = {
11930 (char *) "self",(char *) "value", NULL
11931 };
11932
11933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11935 if (!SWIG_IsOK(res1)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11937 }
11938 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11939 {
11940 arg2 = wxString_in_helper(obj1);
11941 if (arg2 == NULL) SWIG_fail;
11942 temp2 = true;
11943 }
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 (arg1)->SetValue((wxString const &)*arg2);
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_Py_Void();
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 return resultobj;
11956fail:
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return NULL;
11962}
11963
11964
b39fe951
RD
11965SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11966 PyObject *resultobj = 0;
11967 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11968 bool result;
11969 void *argp1 = 0 ;
11970 int res1 = 0 ;
11971 PyObject *swig_obj[1] ;
11972
11973 if (!args) SWIG_fail;
11974 swig_obj[0] = args;
11975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11976 if (!SWIG_IsOK(res1)) {
11977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11978 }
11979 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11988 }
11989 return resultobj;
11990fail:
11991 return NULL;
11992}
11993
11994
11995SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj = 0;
11997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11998 wxString *arg2 = 0 ;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 bool temp2 = false ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char * kwnames[] = {
12005 (char *) "self",(char *) "value", NULL
12006 };
12007
12008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12012 }
12013 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12014 {
12015 arg2 = wxString_in_helper(obj1);
12016 if (arg2 == NULL) SWIG_fail;
12017 temp2 = true;
12018 }
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->ChangeValue((wxString const &)*arg2);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_Py_Void();
12026 {
12027 if (temp2)
12028 delete arg2;
12029 }
12030 return resultobj;
12031fail:
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 return NULL;
12037}
12038
12039
0085ce49
RD
12040SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj = 0;
12042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12043 long arg2 ;
12044 long arg3 ;
12045 wxString result;
12046 void *argp1 = 0 ;
12047 int res1 = 0 ;
12048 long val2 ;
12049 int ecode2 = 0 ;
12050 long val3 ;
12051 int ecode3 = 0 ;
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 PyObject * obj2 = 0 ;
12055 char * kwnames[] = {
2131d850 12056 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
12057 };
12058
12059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12061 if (!SWIG_IsOK(res1)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12063 }
12064 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12065 ecode2 = SWIG_AsVal_long(obj1, &val2);
12066 if (!SWIG_IsOK(ecode2)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12068 }
12069 arg2 = static_cast< long >(val2);
12070 ecode3 = SWIG_AsVal_long(obj2, &val3);
12071 if (!SWIG_IsOK(ecode3)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12073 }
12074 arg3 = static_cast< long >(val3);
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 {
12082#if wxUSE_UNICODE
12083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12084#else
12085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12086#endif
12087 }
12088 return resultobj;
12089fail:
12090 return NULL;
12091}
12092
12093
12094SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj = 0;
12096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12097 long arg2 ;
12098 int result;
12099 void *argp1 = 0 ;
12100 int res1 = 0 ;
12101 long val2 ;
12102 int ecode2 = 0 ;
12103 PyObject * obj0 = 0 ;
12104 PyObject * obj1 = 0 ;
12105 char * kwnames[] = {
12106 (char *) "self",(char *) "lineNo", NULL
12107 };
12108
12109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12113 }
12114 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12115 ecode2 = SWIG_AsVal_long(obj1, &val2);
12116 if (!SWIG_IsOK(ecode2)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12118 }
12119 arg2 = static_cast< long >(val2);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_From_int(static_cast< int >(result));
12127 return resultobj;
12128fail:
12129 return NULL;
12130}
12131
12132
12133SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj = 0;
12135 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12136 long arg2 ;
12137 wxString result;
12138 void *argp1 = 0 ;
12139 int res1 = 0 ;
12140 long val2 ;
12141 int ecode2 = 0 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 char * kwnames[] = {
12145 (char *) "self",(char *) "lineNo", NULL
12146 };
12147
12148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12150 if (!SWIG_IsOK(res1)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12152 }
12153 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12154 ecode2 = SWIG_AsVal_long(obj1, &val2);
12155 if (!SWIG_IsOK(ecode2)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12157 }
12158 arg2 = static_cast< long >(val2);
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 {
12166#if wxUSE_UNICODE
12167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12168#else
12169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12170#endif
12171 }
12172 return resultobj;
12173fail:
12174 return NULL;
d14a1e28
RD
12175}
12176
12177
0085ce49
RD
12178SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12179 PyObject *resultobj = 0;
12180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12181 int result;
12182 void *argp1 = 0 ;
12183 int res1 = 0 ;
12184 PyObject *swig_obj[1] ;
12185
12186 if (!args) SWIG_fail;
12187 swig_obj[0] = args;
12188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12189 if (!SWIG_IsOK(res1)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12191 }
12192 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = SWIG_From_int(static_cast< int >(result));
12200 return resultobj;
12201fail:
12202 return NULL;
d14a1e28
RD
12203}
12204
12205
0085ce49
RD
12206SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12207 PyObject *resultobj = 0;
12208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12209 bool result;
12210 void *argp1 = 0 ;
12211 int res1 = 0 ;
12212 PyObject *swig_obj[1] ;
12213
12214 if (!args) SWIG_fail;
12215 swig_obj[0] = args;
12216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12217 if (!SWIG_IsOK(res1)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12219 }
12220 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 {
12228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12229 }
12230 return resultobj;
12231fail:
12232 return NULL;
c3eb6258
RD
12233}
12234
12235
0085ce49
RD
12236SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12237 PyObject *resultobj = 0;
12238 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12239 bool result;
12240 void *argp1 = 0 ;
12241 int res1 = 0 ;
12242 PyObject *swig_obj[1] ;
12243
12244 if (!args) SWIG_fail;
12245 swig_obj[0] = args;
12246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12247 if (!SWIG_IsOK(res1)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12249 }
12250 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 {
12258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12259 }
12260 return resultobj;
12261fail:
12262 return NULL;
74a57fcd
RD
12263}
12264
12265
0085ce49
RD
12266SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12267 PyObject *resultobj = 0;
12268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12269 bool result;
12270 void *argp1 = 0 ;
12271 int res1 = 0 ;
12272 PyObject *swig_obj[1] ;
12273
12274 if (!args) SWIG_fail;
12275 swig_obj[0] = args;
12276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12277 if (!SWIG_IsOK(res1)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12279 }
12280 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 {
12288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12289 }
12290 return resultobj;
12291fail:
12292 return NULL;
d14a1e28
RD
12293}
12294
12295
0085ce49
RD
12296SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12297 PyObject *resultobj = 0;
12298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12299 bool result;
12300 void *argp1 = 0 ;
12301 int res1 = 0 ;
12302 PyObject *swig_obj[1] ;
12303
12304 if (!args) SWIG_fail;
12305 swig_obj[0] = args;
12306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12309 }
12310 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 {
12318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12319 }
12320 return resultobj;
12321fail:
12322 return NULL;
12323}
12324
12325
12326SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12327 PyObject *resultobj = 0;
12328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12329 long *arg2 = (long *) 0 ;
12330 long *arg3 = (long *) 0 ;
12331 void *argp1 = 0 ;
12332 int res1 = 0 ;
12333 long temp2 ;
12334 int res2 = SWIG_TMPOBJ ;
12335 long temp3 ;
12336 int res3 = SWIG_TMPOBJ ;
12337 PyObject *swig_obj[1] ;
12338
12339 arg2 = &temp2;
12340 arg3 = &temp3;
12341 if (!args) SWIG_fail;
12342 swig_obj[0] = args;
12343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12344 if (!SWIG_IsOK(res1)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12346 }
12347 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
12354 resultobj = SWIG_Py_Void();
12355 if (SWIG_IsTmpObj(res2)) {
12356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12357 } else {
12358 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12360 }
12361 if (SWIG_IsTmpObj(res3)) {
12362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12363 } else {
12364 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12365 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12366 }
12367 return resultobj;
12368fail:
12369 return NULL;
d14a1e28
RD
12370}
12371
12372
0085ce49
RD
12373SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12374 PyObject *resultobj = 0;
12375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12376 wxString result;
12377 void *argp1 = 0 ;
12378 int res1 = 0 ;
12379 PyObject *swig_obj[1] ;
12380
12381 if (!args) SWIG_fail;
12382 swig_obj[0] = args;
12383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12386 }
12387 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 {
12395#if wxUSE_UNICODE
12396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12397#else
12398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12399#endif
12400 }
12401 return resultobj;
12402fail:
12403 return NULL;
d14a1e28
RD
12404}
12405
12406
0085ce49
RD
12407SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12408 PyObject *resultobj = 0;
12409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12410 void *argp1 = 0 ;
12411 int res1 = 0 ;
12412 PyObject *swig_obj[1] ;
12413
12414 if (!args) SWIG_fail;
12415 swig_obj[0] = args;
12416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12417 if (!SWIG_IsOK(res1)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12419 }
12420 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->Clear();
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_Py_Void();
12428 return resultobj;
12429fail:
12430 return NULL;
12431}
12432
12433
12434SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj = 0;
12436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12437 long arg2 ;
12438 long arg3 ;
12439 wxString *arg4 = 0 ;
12440 void *argp1 = 0 ;
12441 int res1 = 0 ;
12442 long val2 ;
12443 int ecode2 = 0 ;
12444 long val3 ;
12445 int ecode3 = 0 ;
12446 bool temp4 = false ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 PyObject * obj2 = 0 ;
12450 PyObject * obj3 = 0 ;
12451 char * kwnames[] = {
2131d850 12452 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
0085ce49
RD
12453 };
12454
12455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12457 if (!SWIG_IsOK(res1)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12459 }
12460 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12461 ecode2 = SWIG_AsVal_long(obj1, &val2);
12462 if (!SWIG_IsOK(ecode2)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12464 }
12465 arg2 = static_cast< long >(val2);
12466 ecode3 = SWIG_AsVal_long(obj2, &val3);
12467 if (!SWIG_IsOK(ecode3)) {
12468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12469 }
12470 arg3 = static_cast< long >(val3);
12471 {
12472 arg4 = wxString_in_helper(obj3);
12473 if (arg4 == NULL) SWIG_fail;
12474 temp4 = true;
12475 }
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 resultobj = SWIG_Py_Void();
12483 {
12484 if (temp4)
12485 delete arg4;
12486 }
12487 return resultobj;
12488fail:
12489 {
12490 if (temp4)
12491 delete arg4;
12492 }
12493 return NULL;
12494}
12495
12496
12497SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj = 0;
12499 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12500 long arg2 ;
12501 long arg3 ;
12502 void *argp1 = 0 ;
12503 int res1 = 0 ;
12504 long val2 ;
12505 int ecode2 = 0 ;
12506 long val3 ;
12507 int ecode3 = 0 ;
12508 PyObject * obj0 = 0 ;
12509 PyObject * obj1 = 0 ;
12510 PyObject * obj2 = 0 ;
12511 char * kwnames[] = {
2131d850 12512 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
12513 };
12514
12515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12517 if (!SWIG_IsOK(res1)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12519 }
12520 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12521 ecode2 = SWIG_AsVal_long(obj1, &val2);
12522 if (!SWIG_IsOK(ecode2)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12524 }
12525 arg2 = static_cast< long >(val2);
12526 ecode3 = SWIG_AsVal_long(obj2, &val3);
12527 if (!SWIG_IsOK(ecode3)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12529 }
12530 arg3 = static_cast< long >(val3);
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->Remove(arg2,arg3);
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_Py_Void();
12538 return resultobj;
12539fail:
12540 return NULL;
12541}
12542
12543
12544SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj = 0;
12546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12547 wxString *arg2 = 0 ;
f5263701 12548 int arg3 = (int) wxTEXT_TYPE_ANY ;
0085ce49
RD
12549 bool result;
12550 void *argp1 = 0 ;
12551 int res1 = 0 ;
12552 bool temp2 = false ;
f5263701
RD
12553 int val3 ;
12554 int ecode3 = 0 ;
0085ce49
RD
12555 PyObject * obj0 = 0 ;
12556 PyObject * obj1 = 0 ;
f5263701 12557 PyObject * obj2 = 0 ;
0085ce49 12558 char * kwnames[] = {
f5263701 12559 (char *) "self",(char *) "file",(char *) "fileType", NULL
0085ce49
RD
12560 };
12561
f5263701 12562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
12563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12564 if (!SWIG_IsOK(res1)) {
12565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12566 }
12567 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12568 {
12569 arg2 = wxString_in_helper(obj1);
12570 if (arg2 == NULL) SWIG_fail;
12571 temp2 = true;
12572 }
f5263701
RD
12573 if (obj2) {
12574 ecode3 = SWIG_AsVal_int(obj2, &val3);
12575 if (!SWIG_IsOK(ecode3)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12577 }
12578 arg3 = static_cast< int >(val3);
12579 }
0085ce49
RD
12580 {
12581 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12582 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
0085ce49
RD
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 {
12587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12588 }
12589 {
12590 if (temp2)
12591 delete arg2;
12592 }
12593 return resultobj;
12594fail:
12595 {
12596 if (temp2)
12597 delete arg2;
12598 }
12599 return NULL;
12600}
12601
12602
12603SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12604 PyObject *resultobj = 0;
12605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12606 wxString const &arg2_defvalue = wxPyEmptyString ;
12607 wxString *arg2 = (wxString *) &arg2_defvalue ;
f5263701 12608 int arg3 = (int) wxTEXT_TYPE_ANY ;
0085ce49
RD
12609 bool result;
12610 void *argp1 = 0 ;
12611 int res1 = 0 ;
12612 bool temp2 = false ;
f5263701
RD
12613 int val3 ;
12614 int ecode3 = 0 ;
0085ce49
RD
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
f5263701 12617 PyObject * obj2 = 0 ;
0085ce49 12618 char * kwnames[] = {
f5263701 12619 (char *) "self",(char *) "file",(char *) "fileType", NULL
0085ce49
RD
12620 };
12621
f5263701 12622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
12623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12624 if (!SWIG_IsOK(res1)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12626 }
12627 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12628 if (obj1) {
4f89f6a3 12629 {
0085ce49
RD
12630 arg2 = wxString_in_helper(obj1);
12631 if (arg2 == NULL) SWIG_fail;
12632 temp2 = true;
4f89f6a3 12633 }
0085ce49 12634 }
f5263701
RD
12635 if (obj2) {
12636 ecode3 = SWIG_AsVal_int(obj2, &val3);
12637 if (!SWIG_IsOK(ecode3)) {
12638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12639 }
12640 arg3 = static_cast< int >(val3);
12641 }
0085ce49
RD
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12644 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
0085ce49
RD
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 {
12649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12650 }
12651 {
12652 if (temp2)
12653 delete arg2;
12654 }
12655 return resultobj;
12656fail:
12657 {
12658 if (temp2)
12659 delete arg2;
12660 }
12661 return NULL;
d14a1e28
RD
12662}
12663
12664
0085ce49
RD
12665SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12666 PyObject *resultobj = 0;
12667 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12668 void *argp1 = 0 ;
12669 int res1 = 0 ;
12670 PyObject *swig_obj[1] ;
12671
12672 if (!args) SWIG_fail;
12673 swig_obj[0] = args;
12674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12675 if (!SWIG_IsOK(res1)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12677 }
12678 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->MarkDirty();
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_Py_Void();
12686 return resultobj;
12687fail:
12688 return NULL;
d14a1e28
RD
12689}
12690
12691
0085ce49
RD
12692SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12693 PyObject *resultobj = 0;
12694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12695 void *argp1 = 0 ;
12696 int res1 = 0 ;
12697 PyObject *swig_obj[1] ;
12698
12699 if (!args) SWIG_fail;
12700 swig_obj[0] = args;
12701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12702 if (!SWIG_IsOK(res1)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12704 }
12705 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->DiscardEdits();
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 resultobj = SWIG_Py_Void();
12713 return resultobj;
12714fail:
12715 return NULL;
12716}
12717
12718
b02396e8
RD
12719SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj = 0;
12721 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12722 bool arg2 ;
12723 void *argp1 = 0 ;
12724 int res1 = 0 ;
12725 bool val2 ;
12726 int ecode2 = 0 ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 char * kwnames[] = {
12730 (char *) "self",(char *) "modified", NULL
12731 };
12732
12733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12735 if (!SWIG_IsOK(res1)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12737 }
12738 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12739 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12740 if (!SWIG_IsOK(ecode2)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12742 }
12743 arg2 = static_cast< bool >(val2);
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 (arg1)->SetModified(arg2);
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_Py_Void();
12751 return resultobj;
12752fail:
12753 return NULL;
12754}
12755
12756
0085ce49
RD
12757SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj = 0;
12759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12760 unsigned long arg2 ;
12761 void *argp1 = 0 ;
12762 int res1 = 0 ;
12763 unsigned long val2 ;
12764 int ecode2 = 0 ;
12765 PyObject * obj0 = 0 ;
12766 PyObject * obj1 = 0 ;
12767 char * kwnames[] = {
12768 (char *) "self",(char *) "len", NULL
12769 };
12770
12771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12773 if (!SWIG_IsOK(res1)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12775 }
12776 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12777 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12778 if (!SWIG_IsOK(ecode2)) {
12779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12780 }
12781 arg2 = static_cast< unsigned long >(val2);
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 (arg1)->SetMaxLength(arg2);
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = SWIG_Py_Void();
12789 return resultobj;
12790fail:
12791 return NULL;
12792}
12793
12794
12795SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj = 0;
12797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12798 wxString *arg2 = 0 ;
12799 void *argp1 = 0 ;
12800 int res1 = 0 ;
12801 bool temp2 = false ;
12802 PyObject * obj0 = 0 ;
12803 PyObject * obj1 = 0 ;
12804 char * kwnames[] = {
12805 (char *) "self",(char *) "text", NULL
12806 };
12807
12808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12810 if (!SWIG_IsOK(res1)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12812 }
12813 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12814 {
12815 arg2 = wxString_in_helper(obj1);
12816 if (arg2 == NULL) SWIG_fail;
12817 temp2 = true;
12818 }
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 (arg1)->WriteText((wxString const &)*arg2);
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 resultobj = SWIG_Py_Void();
12826 {
12827 if (temp2)
12828 delete arg2;
12829 }
12830 return resultobj;
12831fail:
12832 {
12833 if (temp2)
12834 delete arg2;
12835 }
12836 return NULL;
d14a1e28
RD
12837}
12838
12839
0085ce49
RD
12840SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj = 0;
12842 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12843 wxString *arg2 = 0 ;
12844 void *argp1 = 0 ;
12845 int res1 = 0 ;
12846 bool temp2 = false ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 char * kwnames[] = {
12850 (char *) "self",(char *) "text", NULL
12851 };
12852
12853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12855 if (!SWIG_IsOK(res1)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12857 }
12858 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12859 {
12860 arg2 = wxString_in_helper(obj1);
12861 if (arg2 == NULL) SWIG_fail;
12862 temp2 = true;
12863 }
12864 {
12865 PyThreadState* __tstate = wxPyBeginAllowThreads();
12866 (arg1)->AppendText((wxString const &)*arg2);
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 resultobj = SWIG_Py_Void();
12871 {
12872 if (temp2)
12873 delete arg2;
12874 }
12875 return resultobj;
12876fail:
12877 {
12878 if (temp2)
12879 delete arg2;
12880 }
12881 return NULL;
12882}
12883
12884
12885SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj = 0;
12887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12888 wxKeyEvent *arg2 = 0 ;
12889 bool result;
12890 void *argp1 = 0 ;
12891 int res1 = 0 ;
12892 void *argp2 = 0 ;
12893 int res2 = 0 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 char * kwnames[] = {
12897 (char *) "self",(char *) "event", NULL
12898 };
12899
12900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12902 if (!SWIG_IsOK(res1)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12904 }
12905 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12906 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12907 if (!SWIG_IsOK(res2)) {
12908 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12909 }
12910 if (!argp2) {
12911 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12912 }
12913 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
12920 {
12921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12922 }
12923 return resultobj;
12924fail:
12925 return NULL;
12926}
12927
12928
12929SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj = 0;
12931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12932 long arg2 ;
12933 long arg3 ;
12934 wxTextAttr *arg4 = 0 ;
12935 bool result;
12936 void *argp1 = 0 ;
12937 int res1 = 0 ;
12938 long val2 ;
12939 int ecode2 = 0 ;
12940 long val3 ;
12941 int ecode3 = 0 ;
12942 void *argp4 = 0 ;
12943 int res4 = 0 ;
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
12947 PyObject * obj3 = 0 ;
12948 char * kwnames[] = {
12949 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12950 };
12951
12952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12954 if (!SWIG_IsOK(res1)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12956 }
12957 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12958 ecode2 = SWIG_AsVal_long(obj1, &val2);
12959 if (!SWIG_IsOK(ecode2)) {
12960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12961 }
12962 arg2 = static_cast< long >(val2);
12963 ecode3 = SWIG_AsVal_long(obj2, &val3);
12964 if (!SWIG_IsOK(ecode3)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12966 }
12967 arg3 = static_cast< long >(val3);
12968 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12969 if (!SWIG_IsOK(res4)) {
12970 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12971 }
12972 if (!argp4) {
12973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12974 }
12975 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12984 }
12985 return resultobj;
12986fail:
12987 return NULL;
12988}
12989
12990
12991SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj = 0;
12993 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12994 long arg2 ;
12995 wxTextAttr *arg3 = 0 ;
12996 bool result;
12997 void *argp1 = 0 ;
12998 int res1 = 0 ;
12999 long val2 ;
13000 int ecode2 = 0 ;
13001 void *argp3 = 0 ;
13002 int res3 = 0 ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 PyObject * obj2 = 0 ;
13006 char * kwnames[] = {
13007 (char *) "self",(char *) "position",(char *) "style", NULL
13008 };
13009
13010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13012 if (!SWIG_IsOK(res1)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13014 }
13015 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13016 ecode2 = SWIG_AsVal_long(obj1, &val2);
13017 if (!SWIG_IsOK(ecode2)) {
13018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13019 }
13020 arg2 = static_cast< long >(val2);
13021 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13022 if (!SWIG_IsOK(res3)) {
13023 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13024 }
13025 if (!argp3) {
13026 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13027 }
13028 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13029 {
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13037 }
13038 return resultobj;
13039fail:
13040 return NULL;
13041}
13042
13043
13044SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj = 0;
13046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13047 wxTextAttr *arg2 = 0 ;
13048 bool result;
13049 void *argp1 = 0 ;
13050 int res1 = 0 ;
13051 void *argp2 = 0 ;
13052 int res2 = 0 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char * kwnames[] = {
13056 (char *) "self",(char *) "style", NULL
13057 };
13058
13059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13061 if (!SWIG_IsOK(res1)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13063 }
13064 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13065 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13066 if (!SWIG_IsOK(res2)) {
13067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13068 }
13069 if (!argp2) {
13070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13071 }
13072 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 {
13080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13081 }
13082 return resultobj;
13083fail:
13084 return NULL;
d14a1e28
RD
13085}
13086
13087
0085ce49
RD
13088SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13089 PyObject *resultobj = 0;
13090 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13091 wxTextAttr *result = 0 ;
13092 void *argp1 = 0 ;
13093 int res1 = 0 ;
13094 PyObject *swig_obj[1] ;
13095
13096 if (!args) SWIG_fail;
13097 swig_obj[0] = args;
13098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13099 if (!SWIG_IsOK(res1)) {
13100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13101 }
13102 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13105 {
0085ce49
RD
13106 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13107 result = (wxTextAttr *) &_result_ref;
093d3ff1 13108 }
0085ce49
RD
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13113 return resultobj;
13114fail:
13115 return NULL;
13116}
13117
13118
13119SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj = 0;
13121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13122 long arg2 ;
13123 long arg3 ;
13124 long result;
13125 void *argp1 = 0 ;
13126 int res1 = 0 ;
13127 long val2 ;
13128 int ecode2 = 0 ;
13129 long val3 ;
13130 int ecode3 = 0 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 PyObject * obj2 = 0 ;
13134 char * kwnames[] = {
13135 (char *) "self",(char *) "x",(char *) "y", NULL
13136 };
13137
13138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13140 if (!SWIG_IsOK(res1)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13142 }
13143 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13144 ecode2 = SWIG_AsVal_long(obj1, &val2);
13145 if (!SWIG_IsOK(ecode2)) {
13146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13147 }
13148 arg2 = static_cast< long >(val2);
13149 ecode3 = SWIG_AsVal_long(obj2, &val3);
13150 if (!SWIG_IsOK(ecode3)) {
13151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13152 }
13153 arg3 = static_cast< long >(val3);
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_From_long(static_cast< long >(result));
13161 return resultobj;
13162fail:
13163 return NULL;
13164}
13165
13166
13167SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj = 0;
13169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13170 long arg2 ;
13171 long *arg3 = (long *) 0 ;
13172 long *arg4 = (long *) 0 ;
13173 void *argp1 = 0 ;
13174 int res1 = 0 ;
13175 long val2 ;
13176 int ecode2 = 0 ;
13177 long temp3 ;
13178 int res3 = SWIG_TMPOBJ ;
13179 long temp4 ;
13180 int res4 = SWIG_TMPOBJ ;
13181 PyObject * obj0 = 0 ;
13182 PyObject * obj1 = 0 ;
13183 char * kwnames[] = {
13184 (char *) "self",(char *) "pos", NULL
13185 };
13186
13187 arg3 = &temp3;
13188 arg4 = &temp4;
13189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13191 if (!SWIG_IsOK(res1)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13193 }
13194 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13195 ecode2 = SWIG_AsVal_long(obj1, &val2);
13196 if (!SWIG_IsOK(ecode2)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13198 }
13199 arg2 = static_cast< long >(val2);
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 resultobj = SWIG_Py_Void();
13207 if (SWIG_IsTmpObj(res3)) {
13208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13209 } else {
13210 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13212 }
13213 if (SWIG_IsTmpObj(res4)) {
13214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13215 } else {
13216 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13218 }
13219 return resultobj;
13220fail:
13221 return NULL;
13222}
13223
13224
13225SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj = 0;
13227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13228 long arg2 ;
13229 void *argp1 = 0 ;
13230 int res1 = 0 ;
13231 long val2 ;
13232 int ecode2 = 0 ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 char * kwnames[] = {
13236 (char *) "self",(char *) "pos", NULL
13237 };
13238
13239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13241 if (!SWIG_IsOK(res1)) {
13242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13243 }
13244 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13245 ecode2 = SWIG_AsVal_long(obj1, &val2);
13246 if (!SWIG_IsOK(ecode2)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13248 }
13249 arg2 = static_cast< long >(val2);
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 (arg1)->ShowPosition(arg2);
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 resultobj = SWIG_Py_Void();
13257 return resultobj;
13258fail:
13259 return NULL;
13260}
13261
13262
13263SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj = 0;
13265 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13266 wxPoint *arg2 = 0 ;
13267 long *arg3 = (long *) 0 ;
13268 long *arg4 = (long *) 0 ;
13269 wxTextCtrlHitTestResult result;
13270 void *argp1 = 0 ;
13271 int res1 = 0 ;
13272 wxPoint temp2 ;
13273 long temp3 ;
13274 int res3 = SWIG_TMPOBJ ;
13275 long temp4 ;
13276 int res4 = SWIG_TMPOBJ ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char * kwnames[] = {
13280 (char *) "self",(char *) "pt", NULL
13281 };
13282
13283 arg3 = &temp3;
13284 arg4 = &temp4;
13285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13287 if (!SWIG_IsOK(res1)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13289 }
13290 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13291 {
13292 arg2 = &temp2;
13293 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13294 }
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = SWIG_From_int(static_cast< int >(result));
13302 if (SWIG_IsTmpObj(res3)) {
13303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13304 } else {
13305 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13307 }
13308 if (SWIG_IsTmpObj(res4)) {
13309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13310 } else {
13311 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13313 }
13314 return resultobj;
13315fail:
13316 return NULL;
13317}
13318
13319
13320SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj = 0;
13322 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13323 wxPoint *arg2 = 0 ;
13324 long *arg3 = (long *) 0 ;
13325 wxTextCtrlHitTestResult result;
13326 void *argp1 = 0 ;
13327 int res1 = 0 ;
13328 wxPoint temp2 ;
13329 long temp3 ;
13330 int res3 = SWIG_TMPOBJ ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char * kwnames[] = {
13334 (char *) "self",(char *) "pt", NULL
13335 };
13336
13337 arg3 = &temp3;
13338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13340 if (!SWIG_IsOK(res1)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13342 }
13343 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13344 {
13345 arg2 = &temp2;
13346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13347 }
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 resultobj = SWIG_From_int(static_cast< int >(result));
13355 if (SWIG_IsTmpObj(res3)) {
13356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13357 } else {
13358 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13360 }
13361 return resultobj;
13362fail:
13363 return NULL;
d14a1e28
RD
13364}
13365
13366
0085ce49
RD
13367SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13368 PyObject *resultobj = 0;
13369 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13370 void *argp1 = 0 ;
13371 int res1 = 0 ;
13372 PyObject *swig_obj[1] ;
13373
13374 if (!args) SWIG_fail;
13375 swig_obj[0] = args;
13376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13377 if (!SWIG_IsOK(res1)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13379 }
13380 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->Copy();
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 resultobj = SWIG_Py_Void();
13388 return resultobj;
13389fail:
13390 return NULL;
d14a1e28 13391}
0085ce49
RD
13392
13393
13394SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13395 PyObject *resultobj = 0;
13396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13397 void *argp1 = 0 ;
13398 int res1 = 0 ;
13399 PyObject *swig_obj[1] ;
13400
13401 if (!args) SWIG_fail;
13402 swig_obj[0] = args;
13403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13404 if (!SWIG_IsOK(res1)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13406 }
13407 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->Cut();
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 resultobj = SWIG_Py_Void();
13415 return resultobj;
13416fail:
13417 return NULL;
b2dc1044
RD
13418}
13419
13420
0085ce49
RD
13421SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422 PyObject *resultobj = 0;
13423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13424 void *argp1 = 0 ;
13425 int res1 = 0 ;
13426 PyObject *swig_obj[1] ;
13427
13428 if (!args) SWIG_fail;
13429 swig_obj[0] = args;
13430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13431 if (!SWIG_IsOK(res1)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13433 }
13434 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 (arg1)->Paste();
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_Py_Void();
13442 return resultobj;
13443fail:
13444 return NULL;
d14a1e28
RD
13445}
13446
13447
0085ce49
RD
13448SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13449 PyObject *resultobj = 0;
13450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13451 bool result;
13452 void *argp1 = 0 ;
13453 int res1 = 0 ;
13454 PyObject *swig_obj[1] ;
13455
13456 if (!args) SWIG_fail;
13457 swig_obj[0] = args;
13458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13459 if (!SWIG_IsOK(res1)) {
13460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13461 }
13462 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 {
13470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13471 }
13472 return resultobj;
13473fail:
13474 return NULL;
d14a1e28
RD
13475}
13476
13477
0085ce49
RD
13478SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13479 PyObject *resultobj = 0;
13480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13481 bool result;
13482 void *argp1 = 0 ;
13483 int res1 = 0 ;
13484 PyObject *swig_obj[1] ;
13485
13486 if (!args) SWIG_fail;
13487 swig_obj[0] = args;
13488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13489 if (!SWIG_IsOK(res1)) {
13490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13491 }
13492 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 {
13500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13501 }
13502 return resultobj;
13503fail:
13504 return NULL;
994141e6
RD
13505}
13506
13507
0085ce49
RD
13508SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13509 PyObject *resultobj = 0;
13510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13511 bool result;
13512 void *argp1 = 0 ;
13513 int res1 = 0 ;
13514 PyObject *swig_obj[1] ;
13515
13516 if (!args) SWIG_fail;
13517 swig_obj[0] = args;
13518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13519 if (!SWIG_IsOK(res1)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13521 }
13522 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 {
13530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13531 }
13532 return resultobj;
13533fail:
13534 return NULL;
d14a1e28
RD
13535}
13536
13537
0085ce49
RD
13538SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13539 PyObject *resultobj = 0;
13540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13541 void *argp1 = 0 ;
13542 int res1 = 0 ;
13543 PyObject *swig_obj[1] ;
13544
13545 if (!args) SWIG_fail;
13546 swig_obj[0] = args;
13547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13548 if (!SWIG_IsOK(res1)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13550 }
13551 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->Undo();
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = SWIG_Py_Void();
13559 return resultobj;
13560fail:
13561 return NULL;
d14a1e28
RD
13562}
13563
13564
0085ce49
RD
13565SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 PyObject *resultobj = 0;
13567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13568 void *argp1 = 0 ;
13569 int res1 = 0 ;
13570 PyObject *swig_obj[1] ;
13571
13572 if (!args) SWIG_fail;
13573 swig_obj[0] = args;
13574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13575 if (!SWIG_IsOK(res1)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13577 }
13578 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->Redo();
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 resultobj = SWIG_Py_Void();
13586 return resultobj;
13587fail:
13588 return NULL;
d14a1e28
RD
13589}
13590
13591
0085ce49
RD
13592SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13593 PyObject *resultobj = 0;
13594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13595 bool result;
13596 void *argp1 = 0 ;
13597 int res1 = 0 ;
13598 PyObject *swig_obj[1] ;
13599
13600 if (!args) SWIG_fail;
13601 swig_obj[0] = args;
13602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13603 if (!SWIG_IsOK(res1)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13605 }
13606 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
13616 return resultobj;
13617fail:
13618 return NULL;
d14a1e28
RD
13619}
13620
13621
0085ce49
RD
13622SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13623 PyObject *resultobj = 0;
13624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13625 bool result;
13626 void *argp1 = 0 ;
13627 int res1 = 0 ;
13628 PyObject *swig_obj[1] ;
13629
13630 if (!args) SWIG_fail;
13631 swig_obj[0] = args;
13632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13633 if (!SWIG_IsOK(res1)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13635 }
13636 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 {
13644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13645 }
13646 return resultobj;
13647fail:
13648 return NULL;
13649}
13650
13651
13652SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj = 0;
13654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13655 long arg2 ;
13656 void *argp1 = 0 ;
13657 int res1 = 0 ;
13658 long val2 ;
13659 int ecode2 = 0 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 char * kwnames[] = {
13663 (char *) "self",(char *) "pos", NULL
13664 };
13665
13666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13668 if (!SWIG_IsOK(res1)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13670 }
13671 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13672 ecode2 = SWIG_AsVal_long(obj1, &val2);
13673 if (!SWIG_IsOK(ecode2)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13675 }
13676 arg2 = static_cast< long >(val2);
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 (arg1)->SetInsertionPoint(arg2);
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 resultobj = SWIG_Py_Void();
13684 return resultobj;
13685fail:
13686 return NULL;
d14a1e28
RD
13687}
13688
13689
0085ce49
RD
13690SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13691 PyObject *resultobj = 0;
13692 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13693 void *argp1 = 0 ;
13694 int res1 = 0 ;
13695 PyObject *swig_obj[1] ;
13696
13697 if (!args) SWIG_fail;
13698 swig_obj[0] = args;
13699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13700 if (!SWIG_IsOK(res1)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13702 }
13703 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 (arg1)->SetInsertionPointEnd();
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 resultobj = SWIG_Py_Void();
13711 return resultobj;
13712fail:
13713 return NULL;
d14a1e28
RD
13714}
13715
13716
0085ce49
RD
13717SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13718 PyObject *resultobj = 0;
13719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13720 long result;
13721 void *argp1 = 0 ;
13722 int res1 = 0 ;
13723 PyObject *swig_obj[1] ;
13724
13725 if (!args) SWIG_fail;
13726 swig_obj[0] = args;
13727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13728 if (!SWIG_IsOK(res1)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13730 }
13731 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 resultobj = SWIG_From_long(static_cast< long >(result));
13739 return resultobj;
13740fail:
13741 return NULL;
d14a1e28
RD
13742}
13743
13744
0085ce49
RD
13745SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13746 PyObject *resultobj = 0;
13747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13748 long 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_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13758 }
13759 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 resultobj = SWIG_From_long(static_cast< long >(result));
13767 return resultobj;
13768fail:
13769 return NULL;
13770}
13771
13772
13773SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13774 PyObject *resultobj = 0;
13775 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13776 long arg2 ;
13777 long arg3 ;
13778 void *argp1 = 0 ;
13779 int res1 = 0 ;
13780 long val2 ;
13781 int ecode2 = 0 ;
13782 long val3 ;
13783 int ecode3 = 0 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 PyObject * obj2 = 0 ;
13787 char * kwnames[] = {
2131d850 13788 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
13789 };
13790
13791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13793 if (!SWIG_IsOK(res1)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13795 }
13796 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13797 ecode2 = SWIG_AsVal_long(obj1, &val2);
13798 if (!SWIG_IsOK(ecode2)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13800 }
13801 arg2 = static_cast< long >(val2);
13802 ecode3 = SWIG_AsVal_long(obj2, &val3);
13803 if (!SWIG_IsOK(ecode3)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13805 }
13806 arg3 = static_cast< long >(val3);
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SetSelection(arg2,arg3);
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 resultobj = SWIG_Py_Void();
13814 return resultobj;
13815fail:
13816 return NULL;
d14a1e28
RD
13817}
13818
13819
0085ce49
RD
13820SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13821 PyObject *resultobj = 0;
13822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13823 void *argp1 = 0 ;
13824 int res1 = 0 ;
13825 PyObject *swig_obj[1] ;
13826
13827 if (!args) SWIG_fail;
13828 swig_obj[0] = args;
13829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13830 if (!SWIG_IsOK(res1)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13832 }
13833 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 (arg1)->SelectAll();
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 resultobj = SWIG_Py_Void();
13841 return resultobj;
13842fail:
13843 return NULL;
13844}
13845
13846
13847SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj = 0;
13849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13850 bool arg2 ;
13851 void *argp1 = 0 ;
13852 int res1 = 0 ;
13853 bool val2 ;
13854 int ecode2 = 0 ;
13855 PyObject * obj0 = 0 ;
13856 PyObject * obj1 = 0 ;
13857 char * kwnames[] = {
13858 (char *) "self",(char *) "editable", NULL
13859 };
13860
13861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13863 if (!SWIG_IsOK(res1)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13865 }
13866 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13867 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13868 if (!SWIG_IsOK(ecode2)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13870 }
13871 arg2 = static_cast< bool >(val2);
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 (arg1)->SetEditable(arg2);
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = SWIG_Py_Void();
13879 return resultobj;
13880fail:
13881 return NULL;
13882}
13883
13884
b39fe951
RD
13885SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13886 PyObject *resultobj = 0;
13887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13888 void *argp1 = 0 ;
13889 int res1 = 0 ;
13890 PyObject *swig_obj[1] ;
13891
13892 if (!args) SWIG_fail;
13893 swig_obj[0] = args;
13894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13895 if (!SWIG_IsOK(res1)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13897 }
13898 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 (arg1)->SendTextUpdatedEvent();
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 resultobj = SWIG_Py_Void();
13906 return resultobj;
13907fail:
13908 return NULL;
13909}
13910
13911
0085ce49
RD
13912SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj = 0;
13914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13915 wxString *arg2 = 0 ;
13916 void *argp1 = 0 ;
13917 int res1 = 0 ;
13918 bool temp2 = false ;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char * kwnames[] = {
13922 (char *) "self",(char *) "text", NULL
13923 };
13924
13925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13927 if (!SWIG_IsOK(res1)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13929 }
13930 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13931 {
13932 arg2 = wxString_in_helper(obj1);
13933 if (arg2 == NULL) SWIG_fail;
13934 temp2 = true;
13935 }
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13939 wxPyEndAllowThreads(__tstate);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 resultobj = SWIG_Py_Void();
13943 {
13944 if (temp2)
13945 delete arg2;
13946 }
13947 return resultobj;
13948fail:
13949 {
13950 if (temp2)
13951 delete arg2;
13952 }
13953 return NULL;
13954}
13955
13956
13957SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj = 0;
13959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13960 long arg2 ;
13961 long arg3 ;
13962 wxString result;
13963 void *argp1 = 0 ;
13964 int res1 = 0 ;
13965 long val2 ;
13966 int ecode2 = 0 ;
13967 long val3 ;
13968 int ecode3 = 0 ;
13969 PyObject * obj0 = 0 ;
13970 PyObject * obj1 = 0 ;
13971 PyObject * obj2 = 0 ;
13972 char * kwnames[] = {
2131d850 13973 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
13974 };
13975
13976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13978 if (!SWIG_IsOK(res1)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13980 }
13981 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13982 ecode2 = SWIG_AsVal_long(obj1, &val2);
13983 if (!SWIG_IsOK(ecode2)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13985 }
13986 arg2 = static_cast< long >(val2);
13987 ecode3 = SWIG_AsVal_long(obj2, &val3);
13988 if (!SWIG_IsOK(ecode3)) {
13989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13990 }
13991 arg3 = static_cast< long >(val3);
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999#if wxUSE_UNICODE
14000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14001#else
14002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14003#endif
14004 }
14005 return resultobj;
14006fail:
14007 return NULL;
d14a1e28
RD
14008}
14009
14010
0085ce49
RD
14011SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj = 0;
14013 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14014 SwigValueWrapper<wxVisualAttributes > result;
14015 int val1 ;
14016 int ecode1 = 0 ;
14017 PyObject * obj0 = 0 ;
14018 char * kwnames[] = {
14019 (char *) "variant", NULL
14020 };
14021
14022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14023 if (obj0) {
14024 ecode1 = SWIG_AsVal_int(obj0, &val1);
14025 if (!SWIG_IsOK(ecode1)) {
14026 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14027 }
14028 arg1 = static_cast< wxWindowVariant >(val1);
14029 }
14030 {
14031 if (!wxPyCheckForApp()) SWIG_fail;
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14038 return resultobj;
14039fail:
14040 return NULL;
14041}
14042
14043
14044SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14045 PyObject *obj;
14046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14047 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14048 return SWIG_Py_Void();
14049}
14050
14051SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14052 return SWIG_Python_InitShadowInstance(args);
14053}
14054
14055SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj = 0;
14057 int arg1 ;
14058 wxMouseEvent *arg2 = 0 ;
14059 long arg3 ;
14060 long arg4 ;
14061 wxTextUrlEvent *result = 0 ;
14062 int val1 ;
14063 int ecode1 = 0 ;
14064 void *argp2 = 0 ;
14065 int res2 = 0 ;
14066 long val3 ;
14067 int ecode3 = 0 ;
14068 long val4 ;
14069 int ecode4 = 0 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 PyObject * obj2 = 0 ;
14073 PyObject * obj3 = 0 ;
14074 char * kwnames[] = {
14075 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14076 };
14077
14078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14079 ecode1 = SWIG_AsVal_int(obj0, &val1);
14080 if (!SWIG_IsOK(ecode1)) {
14081 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14082 }
14083 arg1 = static_cast< int >(val1);
14084 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14085 if (!SWIG_IsOK(res2)) {
14086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14087 }
14088 if (!argp2) {
14089 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14090 }
14091 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14092 ecode3 = SWIG_AsVal_long(obj2, &val3);
14093 if (!SWIG_IsOK(ecode3)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14095 }
14096 arg3 = static_cast< long >(val3);
14097 ecode4 = SWIG_AsVal_long(obj3, &val4);
14098 if (!SWIG_IsOK(ecode4)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14100 }
14101 arg4 = static_cast< long >(val4);
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14109 return resultobj;
14110fail:
14111 return NULL;
d14a1e28
RD
14112}
14113
14114
0085ce49
RD
14115SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14116 PyObject *resultobj = 0;
14117 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14118 wxMouseEvent *result = 0 ;
14119 void *argp1 = 0 ;
14120 int res1 = 0 ;
14121 PyObject *swig_obj[1] ;
14122
14123 if (!args) SWIG_fail;
14124 swig_obj[0] = args;
14125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14126 if (!SWIG_IsOK(res1)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14128 }
14129 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 14132 {
0085ce49
RD
14133 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14134 result = (wxMouseEvent *) &_result_ref;
4f89f6a3 14135 }
0085ce49
RD
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14140 return resultobj;
14141fail:
14142 return NULL;
d14a1e28
RD
14143}
14144
14145
0085ce49
RD
14146SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14147 PyObject *resultobj = 0;
14148 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14149 long result;
14150 void *argp1 = 0 ;
14151 int res1 = 0 ;
14152 PyObject *swig_obj[1] ;
14153
14154 if (!args) SWIG_fail;
14155 swig_obj[0] = args;
14156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14157 if (!SWIG_IsOK(res1)) {
14158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14159 }
14160 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = SWIG_From_long(static_cast< long >(result));
14168 return resultobj;
14169fail:
14170 return NULL;
d14a1e28
RD
14171}
14172
14173
0085ce49
RD
14174SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14175 PyObject *resultobj = 0;
14176 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14177 long result;
14178 void *argp1 = 0 ;
14179 int res1 = 0 ;
14180 PyObject *swig_obj[1] ;
14181
14182 if (!args) SWIG_fail;
14183 swig_obj[0] = args;
14184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14185 if (!SWIG_IsOK(res1)) {
14186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14187 }
14188 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = SWIG_From_long(static_cast< long >(result));
14196 return resultobj;
14197fail:
14198 return NULL;
d14a1e28
RD
14199}
14200
14201
0085ce49
RD
14202SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14203 PyObject *obj;
14204 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14205 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14206 return SWIG_Py_Void();
d14a1e28
RD
14207}
14208
0085ce49
RD
14209SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14210 return SWIG_Python_InitShadowInstance(args);
14211}
d14a1e28 14212
0085ce49
RD
14213SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14214 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14215 return 1;
14216}
14217
14218
14219SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14220 PyObject *pyobj = 0;
14221
14222 {
14223#if wxUSE_UNICODE
14224 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14225#else
14226 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14227#endif
14228 }
14229 return pyobj;
14230}
14231
14232
14233SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj = 0;
14235 wxWindow *arg1 = (wxWindow *) 0 ;
14236 int arg2 = (int) -1 ;
14237 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14238 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14239 wxSize const &arg4_defvalue = wxDefaultSize ;
14240 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14241 long arg5 = (long) wxSB_HORIZONTAL ;
14242 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14243 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14244 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14245 wxString *arg7 = (wxString *) &arg7_defvalue ;
14246 wxScrollBar *result = 0 ;
14247 void *argp1 = 0 ;
14248 int res1 = 0 ;
14249 int val2 ;
14250 int ecode2 = 0 ;
14251 wxPoint temp3 ;
14252 wxSize temp4 ;
14253 long val5 ;
14254 int ecode5 = 0 ;
14255 void *argp6 = 0 ;
14256 int res6 = 0 ;
14257 bool temp7 = false ;
14258 PyObject * obj0 = 0 ;
14259 PyObject * obj1 = 0 ;
14260 PyObject * obj2 = 0 ;
14261 PyObject * obj3 = 0 ;
14262 PyObject * obj4 = 0 ;
14263 PyObject * obj5 = 0 ;
14264 PyObject * obj6 = 0 ;
14265 char * kwnames[] = {
14266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14267 };
14268
14269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14271 if (!SWIG_IsOK(res1)) {
14272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14273 }
14274 arg1 = reinterpret_cast< wxWindow * >(argp1);
14275 if (obj1) {
14276 ecode2 = SWIG_AsVal_int(obj1, &val2);
14277 if (!SWIG_IsOK(ecode2)) {
14278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14279 }
14280 arg2 = static_cast< int >(val2);
14281 }
14282 if (obj2) {
d14a1e28 14283 {
0085ce49
RD
14284 arg3 = &temp3;
14285 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14286 }
0085ce49
RD
14287 }
14288 if (obj3) {
4f89f6a3 14289 {
0085ce49
RD
14290 arg4 = &temp4;
14291 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 14292 }
0085ce49
RD
14293 }
14294 if (obj4) {
14295 ecode5 = SWIG_AsVal_long(obj4, &val5);
14296 if (!SWIG_IsOK(ecode5)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14298 }
14299 arg5 = static_cast< long >(val5);
14300 }
14301 if (obj5) {
14302 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14303 if (!SWIG_IsOK(res6)) {
14304 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14305 }
14306 if (!argp6) {
14307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14308 }
14309 arg6 = reinterpret_cast< wxValidator * >(argp6);
14310 }
14311 if (obj6) {
14312 {
14313 arg7 = wxString_in_helper(obj6);
14314 if (arg7 == NULL) SWIG_fail;
14315 temp7 = true;
14316 }
14317 }
14318 {
14319 if (!wxPyCheckForApp()) SWIG_fail;
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14326 {
14327 if (temp7)
14328 delete arg7;
14329 }
14330 return resultobj;
14331fail:
14332 {
14333 if (temp7)
14334 delete arg7;
14335 }
14336 return NULL;
d14a1e28
RD
14337}
14338
14339
0085ce49
RD
14340SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14341 PyObject *resultobj = 0;
14342 wxScrollBar *result = 0 ;
14343
14344 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14345 {
14346 if (!wxPyCheckForApp()) SWIG_fail;
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (wxScrollBar *)new wxScrollBar();
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14353 return resultobj;
14354fail:
14355 return NULL;
14356}
14357
14358
14359SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj = 0;
14361 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14362 wxWindow *arg2 = (wxWindow *) 0 ;
14363 int arg3 = (int) -1 ;
14364 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14365 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14366 wxSize const &arg5_defvalue = wxDefaultSize ;
14367 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14368 long arg6 = (long) wxSB_HORIZONTAL ;
14369 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14370 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14371 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14372 wxString *arg8 = (wxString *) &arg8_defvalue ;
14373 bool result;
14374 void *argp1 = 0 ;
14375 int res1 = 0 ;
14376 void *argp2 = 0 ;
14377 int res2 = 0 ;
14378 int val3 ;
14379 int ecode3 = 0 ;
14380 wxPoint temp4 ;
14381 wxSize temp5 ;
14382 long val6 ;
14383 int ecode6 = 0 ;
14384 void *argp7 = 0 ;
14385 int res7 = 0 ;
14386 bool temp8 = false ;
14387 PyObject * obj0 = 0 ;
14388 PyObject * obj1 = 0 ;
14389 PyObject * obj2 = 0 ;
14390 PyObject * obj3 = 0 ;
14391 PyObject * obj4 = 0 ;
14392 PyObject * obj5 = 0 ;
14393 PyObject * obj6 = 0 ;
14394 PyObject * obj7 = 0 ;
14395 char * kwnames[] = {
14396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14397 };
14398
14399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14401 if (!SWIG_IsOK(res1)) {
14402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14403 }
14404 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14406 if (!SWIG_IsOK(res2)) {
14407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14408 }
14409 arg2 = reinterpret_cast< wxWindow * >(argp2);
14410 if (obj2) {
14411 ecode3 = SWIG_AsVal_int(obj2, &val3);
14412 if (!SWIG_IsOK(ecode3)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14414 }
14415 arg3 = static_cast< int >(val3);
14416 }
14417 if (obj3) {
093d3ff1 14418 {
0085ce49
RD
14419 arg4 = &temp4;
14420 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14421 }
0085ce49
RD
14422 }
14423 if (obj4) {
d14a1e28 14424 {
0085ce49
RD
14425 arg5 = &temp5;
14426 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14427 }
14428 }
14429 if (obj5) {
14430 ecode6 = SWIG_AsVal_long(obj5, &val6);
14431 if (!SWIG_IsOK(ecode6)) {
14432 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14433 }
14434 arg6 = static_cast< long >(val6);
14435 }
14436 if (obj6) {
14437 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14438 if (!SWIG_IsOK(res7)) {
14439 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 14440 }
0085ce49
RD
14441 if (!argp7) {
14442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14443 }
14444 arg7 = reinterpret_cast< wxValidator * >(argp7);
14445 }
14446 if (obj7) {
4f89f6a3 14447 {
0085ce49
RD
14448 arg8 = wxString_in_helper(obj7);
14449 if (arg8 == NULL) SWIG_fail;
14450 temp8 = true;
4f89f6a3 14451 }
0085ce49
RD
14452 }
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14461 }
14462 {
14463 if (temp8)
14464 delete arg8;
14465 }
14466 return resultobj;
14467fail:
14468 {
14469 if (temp8)
14470 delete arg8;
14471 }
14472 return NULL;
d14a1e28
RD
14473}
14474
14475
0085ce49
RD
14476SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14477 PyObject *resultobj = 0;
14478 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14479 int result;
14480 void *argp1 = 0 ;
14481 int res1 = 0 ;
14482 PyObject *swig_obj[1] ;
14483
14484 if (!args) SWIG_fail;
14485 swig_obj[0] = args;
14486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14487 if (!SWIG_IsOK(res1)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14489 }
14490 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 resultobj = SWIG_From_int(static_cast< int >(result));
14498 return resultobj;
14499fail:
14500 return NULL;
d14a1e28
RD
14501}
14502
14503
0085ce49
RD
14504SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14505 PyObject *resultobj = 0;
14506 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14507 int result;
14508 void *argp1 = 0 ;
14509 int res1 = 0 ;
14510 PyObject *swig_obj[1] ;
14511
14512 if (!args) SWIG_fail;
14513 swig_obj[0] = args;
14514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14515 if (!SWIG_IsOK(res1)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14517 }
14518 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 resultobj = SWIG_From_int(static_cast< int >(result));
14526 return resultobj;
14527fail:
14528 return NULL;
d14a1e28
RD
14529}
14530
14531
0085ce49
RD
14532SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14533 PyObject *resultobj = 0;
14534 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14535 int result;
14536 void *argp1 = 0 ;
14537 int res1 = 0 ;
14538 PyObject *swig_obj[1] ;
14539
14540 if (!args) SWIG_fail;
14541 swig_obj[0] = args;
14542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14543 if (!SWIG_IsOK(res1)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14545 }
14546 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 resultobj = SWIG_From_int(static_cast< int >(result));
14554 return resultobj;
14555fail:
14556 return NULL;
d14a1e28
RD
14557}
14558
14559
0085ce49
RD
14560SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14561 PyObject *resultobj = 0;
14562 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14563 int result;
14564 void *argp1 = 0 ;
14565 int res1 = 0 ;
14566 PyObject *swig_obj[1] ;
14567
14568 if (!args) SWIG_fail;
14569 swig_obj[0] = args;
14570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14571 if (!SWIG_IsOK(res1)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14573 }
14574 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (int)((wxScrollBar const *)arg1)->GetRange();
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = SWIG_From_int(static_cast< int >(result));
14582 return resultobj;
14583fail:
14584 return NULL;
d14a1e28
RD
14585}
14586
14587
0085ce49
RD
14588SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14589 PyObject *resultobj = 0;
14590 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14591 bool result;
14592 void *argp1 = 0 ;
14593 int res1 = 0 ;
14594 PyObject *swig_obj[1] ;
14595
14596 if (!args) SWIG_fail;
14597 swig_obj[0] = args;
14598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14599 if (!SWIG_IsOK(res1)) {
14600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14601 }
14602 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 {
14610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14611 }
14612 return resultobj;
14613fail:
14614 return NULL;
14615}
14616
14617
14618SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj = 0;
14620 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14621 int arg2 ;
14622 void *argp1 = 0 ;
14623 int res1 = 0 ;
14624 int val2 ;
14625 int ecode2 = 0 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 char * kwnames[] = {
14629 (char *) "self",(char *) "viewStart", NULL
14630 };
14631
14632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14634 if (!SWIG_IsOK(res1)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14636 }
14637 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14638 ecode2 = SWIG_AsVal_int(obj1, &val2);
14639 if (!SWIG_IsOK(ecode2)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14641 }
14642 arg2 = static_cast< int >(val2);
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 (arg1)->SetThumbPosition(arg2);
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 resultobj = SWIG_Py_Void();
14650 return resultobj;
14651fail:
14652 return NULL;
14653}
14654
14655
14656SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj = 0;
14658 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14659 SwigValueWrapper<wxVisualAttributes > result;
14660 int val1 ;
14661 int ecode1 = 0 ;
14662 PyObject * obj0 = 0 ;
14663 char * kwnames[] = {
14664 (char *) "variant", NULL
14665 };
14666
14667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14668 if (obj0) {
14669 ecode1 = SWIG_AsVal_int(obj0, &val1);
14670 if (!SWIG_IsOK(ecode1)) {
14671 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14672 }
14673 arg1 = static_cast< wxWindowVariant >(val1);
14674 }
14675 {
14676 if (!wxPyCheckForApp()) SWIG_fail;
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14683 return resultobj;
14684fail:
14685 return NULL;
d14a1e28
RD
14686}
14687
14688
0085ce49
RD
14689SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14690 PyObject *obj;
14691 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14692 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14693 return SWIG_Py_Void();
d14a1e28
RD
14694}
14695
0085ce49
RD
14696SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14697 return SWIG_Python_InitShadowInstance(args);
14698}
d14a1e28 14699
0085ce49
RD
14700SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14701 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14702 return 1;
d14a1e28
RD
14703}
14704
14705
0085ce49
RD
14706SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14707 PyObject *pyobj = 0;
14708
14709 {
14710#if wxUSE_UNICODE
14711 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14712#else
14713 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14714#endif
14715 }
14716 return pyobj;
d14a1e28
RD
14717}
14718
14719
0085ce49
RD
14720SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14721 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14722 return 1;
d14a1e28
RD
14723}
14724
14725
0085ce49
RD
14726SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14727 PyObject *pyobj = 0;
14728
14729 {
14730#if wxUSE_UNICODE
14731 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14732#else
14733 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14734#endif
14735 }
14736 return pyobj;
14737}
14738
14739
14740SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj = 0;
14742 wxWindow *arg1 = (wxWindow *) 0 ;
14743 int arg2 = (int) -1 ;
14744 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14745 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14746 wxSize const &arg4_defvalue = wxDefaultSize ;
14747 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14748 long arg5 = (long) wxSP_HORIZONTAL ;
14749 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14750 wxString *arg6 = (wxString *) &arg6_defvalue ;
14751 wxSpinButton *result = 0 ;
14752 void *argp1 = 0 ;
14753 int res1 = 0 ;
14754 int val2 ;
14755 int ecode2 = 0 ;
14756 wxPoint temp3 ;
14757 wxSize temp4 ;
14758 long val5 ;
14759 int ecode5 = 0 ;
14760 bool temp6 = false ;
14761 PyObject * obj0 = 0 ;
14762 PyObject * obj1 = 0 ;
14763 PyObject * obj2 = 0 ;
14764 PyObject * obj3 = 0 ;
14765 PyObject * obj4 = 0 ;
14766 PyObject * obj5 = 0 ;
14767 char * kwnames[] = {
14768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14769 };
14770
14771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14773 if (!SWIG_IsOK(res1)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14775 }
14776 arg1 = reinterpret_cast< wxWindow * >(argp1);
14777 if (obj1) {
14778 ecode2 = SWIG_AsVal_int(obj1, &val2);
14779 if (!SWIG_IsOK(ecode2)) {
14780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14781 }
14782 arg2 = static_cast< int >(val2);
14783 }
14784 if (obj2) {
093d3ff1 14785 {
0085ce49
RD
14786 arg3 = &temp3;
14787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14788 }
0085ce49
RD
14789 }
14790 if (obj3) {
d14a1e28 14791 {
0085ce49
RD
14792 arg4 = &temp4;
14793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14794 }
0085ce49
RD
14795 }
14796 if (obj4) {
14797 ecode5 = SWIG_AsVal_long(obj4, &val5);
14798 if (!SWIG_IsOK(ecode5)) {
14799 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14800 }
14801 arg5 = static_cast< long >(val5);
14802 }
14803 if (obj5) {
d14a1e28 14804 {
0085ce49
RD
14805 arg6 = wxString_in_helper(obj5);
14806 if (arg6 == NULL) SWIG_fail;
14807 temp6 = true;
d14a1e28 14808 }
0085ce49
RD
14809 }
14810 {
14811 if (!wxPyCheckForApp()) SWIG_fail;
14812 PyThreadState* __tstate = wxPyBeginAllowThreads();
14813 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14818 {
14819 if (temp6)
14820 delete arg6;
14821 }
14822 return resultobj;
14823fail:
14824 {
14825 if (temp6)
14826 delete arg6;
14827 }
14828 return NULL;
d14a1e28
RD
14829}
14830
14831
0085ce49
RD
14832SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14833 PyObject *resultobj = 0;
14834 wxSpinButton *result = 0 ;
14835
14836 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14837 {
14838 if (!wxPyCheckForApp()) SWIG_fail;
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (wxSpinButton *)new wxSpinButton();
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14845 return resultobj;
14846fail:
14847 return NULL;
14848}
14849
14850
14851SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14852 PyObject *resultobj = 0;
14853 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14854 wxWindow *arg2 = (wxWindow *) 0 ;
14855 int arg3 = (int) -1 ;
14856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14858 wxSize const &arg5_defvalue = wxDefaultSize ;
14859 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14860 long arg6 = (long) wxSP_HORIZONTAL ;
14861 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14862 wxString *arg7 = (wxString *) &arg7_defvalue ;
14863 bool result;
14864 void *argp1 = 0 ;
14865 int res1 = 0 ;
14866 void *argp2 = 0 ;
14867 int res2 = 0 ;
14868 int val3 ;
14869 int ecode3 = 0 ;
14870 wxPoint temp4 ;
14871 wxSize temp5 ;
14872 long val6 ;
14873 int ecode6 = 0 ;
14874 bool temp7 = false ;
14875 PyObject * obj0 = 0 ;
14876 PyObject * obj1 = 0 ;
14877 PyObject * obj2 = 0 ;
14878 PyObject * obj3 = 0 ;
14879 PyObject * obj4 = 0 ;
14880 PyObject * obj5 = 0 ;
14881 PyObject * obj6 = 0 ;
14882 char * kwnames[] = {
14883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14884 };
14885
14886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14888 if (!SWIG_IsOK(res1)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14890 }
14891 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14893 if (!SWIG_IsOK(res2)) {
14894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14895 }
14896 arg2 = reinterpret_cast< wxWindow * >(argp2);
14897 if (obj2) {
14898 ecode3 = SWIG_AsVal_int(obj2, &val3);
14899 if (!SWIG_IsOK(ecode3)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14901 }
14902 arg3 = static_cast< int >(val3);
14903 }
14904 if (obj3) {
d14a1e28 14905 {
0085ce49
RD
14906 arg4 = &temp4;
14907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14908 }
0085ce49
RD
14909 }
14910 if (obj4) {
d14a1e28 14911 {
0085ce49
RD
14912 arg5 = &temp5;
14913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14914 }
0085ce49
RD
14915 }
14916 if (obj5) {
14917 ecode6 = SWIG_AsVal_long(obj5, &val6);
14918 if (!SWIG_IsOK(ecode6)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14920 }
14921 arg6 = static_cast< long >(val6);
14922 }
14923 if (obj6) {
d14a1e28 14924 {
0085ce49
RD
14925 arg7 = wxString_in_helper(obj6);
14926 if (arg7 == NULL) SWIG_fail;
14927 temp7 = true;
d14a1e28 14928 }
0085ce49
RD
14929 }
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 {
14937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14938 }
14939 {
14940 if (temp7)
14941 delete arg7;
14942 }
14943 return resultobj;
14944fail:
14945 {
14946 if (temp7)
14947 delete arg7;
14948 }
14949 return NULL;
d14a1e28
RD
14950}
14951
14952
0085ce49
RD
14953SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14954 PyObject *resultobj = 0;
14955 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14956 int result;
14957 void *argp1 = 0 ;
14958 int res1 = 0 ;
14959 PyObject *swig_obj[1] ;
14960
14961 if (!args) SWIG_fail;
14962 swig_obj[0] = args;
14963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14964 if (!SWIG_IsOK(res1)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14966 }
14967 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 result = (int)((wxSpinButton const *)arg1)->GetValue();
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = SWIG_From_int(static_cast< int >(result));
14975 return resultobj;
14976fail:
14977 return NULL;
d14a1e28
RD
14978}
14979
14980
0085ce49
RD
14981SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14982 PyObject *resultobj = 0;
14983 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14984 int result;
14985 void *argp1 = 0 ;
14986 int res1 = 0 ;
14987 PyObject *swig_obj[1] ;
14988
14989 if (!args) SWIG_fail;
14990 swig_obj[0] = args;
14991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14992 if (!SWIG_IsOK(res1)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14994 }
14995 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (int)((wxSpinButton const *)arg1)->GetMin();
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 resultobj = SWIG_From_int(static_cast< int >(result));
15003 return resultobj;
15004fail:
15005 return NULL;
d14a1e28
RD
15006}
15007
15008
0085ce49
RD
15009SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15010 PyObject *resultobj = 0;
15011 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15012 int result;
15013 void *argp1 = 0 ;
15014 int res1 = 0 ;
15015 PyObject *swig_obj[1] ;
15016
15017 if (!args) SWIG_fail;
15018 swig_obj[0] = args;
15019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15020 if (!SWIG_IsOK(res1)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15022 }
15023 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (int)((wxSpinButton const *)arg1)->GetMax();
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 resultobj = SWIG_From_int(static_cast< int >(result));
15031 return resultobj;
15032fail:
15033 return NULL;
15034}
15035
15036
15037SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj = 0;
15039 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15040 int arg2 ;
15041 void *argp1 = 0 ;
15042 int res1 = 0 ;
15043 int val2 ;
15044 int ecode2 = 0 ;
15045 PyObject * obj0 = 0 ;
15046 PyObject * obj1 = 0 ;
15047 char * kwnames[] = {
15048 (char *) "self",(char *) "val", NULL
15049 };
15050
15051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15053 if (!SWIG_IsOK(res1)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15055 }
15056 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15057 ecode2 = SWIG_AsVal_int(obj1, &val2);
15058 if (!SWIG_IsOK(ecode2)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15060 }
15061 arg2 = static_cast< int >(val2);
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 (arg1)->SetValue(arg2);
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 resultobj = SWIG_Py_Void();
15069 return resultobj;
15070fail:
15071 return NULL;
15072}
15073
15074
15075SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj = 0;
15077 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15078 int arg2 ;
15079 void *argp1 = 0 ;
15080 int res1 = 0 ;
15081 int val2 ;
15082 int ecode2 = 0 ;
15083 PyObject * obj0 = 0 ;
15084 PyObject * obj1 = 0 ;
15085 char * kwnames[] = {
15086 (char *) "self",(char *) "minVal", NULL
15087 };
15088
15089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15091 if (!SWIG_IsOK(res1)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15093 }
15094 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15095 ecode2 = SWIG_AsVal_int(obj1, &val2);
15096 if (!SWIG_IsOK(ecode2)) {
15097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15098 }
15099 arg2 = static_cast< int >(val2);
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->SetMin(arg2);
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 resultobj = SWIG_Py_Void();
15107 return resultobj;
15108fail:
15109 return NULL;
15110}
15111
15112
15113SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj = 0;
15115 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15116 int arg2 ;
15117 void *argp1 = 0 ;
15118 int res1 = 0 ;
15119 int val2 ;
15120 int ecode2 = 0 ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 char * kwnames[] = {
15124 (char *) "self",(char *) "maxVal", NULL
15125 };
15126
15127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15129 if (!SWIG_IsOK(res1)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15131 }
15132 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15133 ecode2 = SWIG_AsVal_int(obj1, &val2);
15134 if (!SWIG_IsOK(ecode2)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15136 }
15137 arg2 = static_cast< int >(val2);
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 (arg1)->SetMax(arg2);
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 resultobj = SWIG_Py_Void();
15145 return resultobj;
15146fail:
15147 return NULL;
15148}
15149
15150
15151SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj = 0;
15153 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15154 int arg2 ;
15155 int arg3 ;
15156 void *argp1 = 0 ;
15157 int res1 = 0 ;
15158 int val2 ;
15159 int ecode2 = 0 ;
15160 int val3 ;
15161 int ecode3 = 0 ;
15162 PyObject * obj0 = 0 ;
15163 PyObject * obj1 = 0 ;
15164 PyObject * obj2 = 0 ;
15165 char * kwnames[] = {
15166 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15167 };
15168
15169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15171 if (!SWIG_IsOK(res1)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15173 }
15174 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15175 ecode2 = SWIG_AsVal_int(obj1, &val2);
15176 if (!SWIG_IsOK(ecode2)) {
15177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15178 }
15179 arg2 = static_cast< int >(val2);
15180 ecode3 = SWIG_AsVal_int(obj2, &val3);
15181 if (!SWIG_IsOK(ecode3)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15183 }
15184 arg3 = static_cast< int >(val3);
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 (arg1)->SetRange(arg2,arg3);
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 resultobj = SWIG_Py_Void();
15192 return resultobj;
15193fail:
15194 return NULL;
d14a1e28
RD
15195}
15196
15197
0085ce49
RD
15198SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15199 PyObject *resultobj = 0;
15200 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15201 bool result;
15202 void *argp1 = 0 ;
15203 int res1 = 0 ;
15204 PyObject *swig_obj[1] ;
15205
15206 if (!args) SWIG_fail;
15207 swig_obj[0] = args;
15208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15209 if (!SWIG_IsOK(res1)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15211 }
15212 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 {
15220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15221 }
15222 return resultobj;
15223fail:
15224 return NULL;
d14a1e28
RD
15225}
15226
15227
0085ce49
RD
15228SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj = 0;
15230 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15231 SwigValueWrapper<wxVisualAttributes > result;
15232 int val1 ;
15233 int ecode1 = 0 ;
15234 PyObject * obj0 = 0 ;
15235 char * kwnames[] = {
15236 (char *) "variant", NULL
15237 };
15238
15239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15240 if (obj0) {
15241 ecode1 = SWIG_AsVal_int(obj0, &val1);
15242 if (!SWIG_IsOK(ecode1)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15244 }
15245 arg1 = static_cast< wxWindowVariant >(val1);
15246 }
15247 {
15248 if (!wxPyCheckForApp()) SWIG_fail;
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15255 return resultobj;
15256fail:
15257 return NULL;
15258}
15259
15260
15261SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15262 PyObject *obj;
15263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15264 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15265 return SWIG_Py_Void();
15266}
15267
15268SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15269 return SWIG_Python_InitShadowInstance(args);
15270}
15271
15272SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj = 0;
15274 wxWindow *arg1 = (wxWindow *) 0 ;
15275 int arg2 = (int) -1 ;
15276 wxString const &arg3_defvalue = wxPyEmptyString ;
15277 wxString *arg3 = (wxString *) &arg3_defvalue ;
15278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15280 wxSize const &arg5_defvalue = wxDefaultSize ;
15281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15282 long arg6 = (long) wxSP_ARROW_KEYS ;
15283 int arg7 = (int) 0 ;
15284 int arg8 = (int) 100 ;
15285 int arg9 = (int) 0 ;
15286 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15287 wxString *arg10 = (wxString *) &arg10_defvalue ;
15288 wxSpinCtrl *result = 0 ;
15289 void *argp1 = 0 ;
15290 int res1 = 0 ;
15291 int val2 ;
15292 int ecode2 = 0 ;
15293 bool temp3 = false ;
15294 wxPoint temp4 ;
15295 wxSize temp5 ;
15296 long val6 ;
15297 int ecode6 = 0 ;
15298 int val7 ;
15299 int ecode7 = 0 ;
15300 int val8 ;
15301 int ecode8 = 0 ;
15302 int val9 ;
15303 int ecode9 = 0 ;
15304 bool temp10 = false ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 PyObject * obj2 = 0 ;
15308 PyObject * obj3 = 0 ;
15309 PyObject * obj4 = 0 ;
15310 PyObject * obj5 = 0 ;
15311 PyObject * obj6 = 0 ;
15312 PyObject * obj7 = 0 ;
15313 PyObject * obj8 = 0 ;
15314 PyObject * obj9 = 0 ;
15315 char * kwnames[] = {
15316 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15317 };
15318
15319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15321 if (!SWIG_IsOK(res1)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15323 }
15324 arg1 = reinterpret_cast< wxWindow * >(argp1);
15325 if (obj1) {
15326 ecode2 = SWIG_AsVal_int(obj1, &val2);
15327 if (!SWIG_IsOK(ecode2)) {
15328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15329 }
15330 arg2 = static_cast< int >(val2);
15331 }
15332 if (obj2) {
093d3ff1 15333 {
0085ce49
RD
15334 arg3 = wxString_in_helper(obj2);
15335 if (arg3 == NULL) SWIG_fail;
15336 temp3 = true;
093d3ff1 15337 }
0085ce49
RD
15338 }
15339 if (obj3) {
093d3ff1 15340 {
0085ce49
RD
15341 arg4 = &temp4;
15342 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15343 }
0085ce49
RD
15344 }
15345 if (obj4) {
d14a1e28 15346 {
0085ce49
RD
15347 arg5 = &temp5;
15348 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15349 }
0085ce49
RD
15350 }
15351 if (obj5) {
15352 ecode6 = SWIG_AsVal_long(obj5, &val6);
15353 if (!SWIG_IsOK(ecode6)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15355 }
15356 arg6 = static_cast< long >(val6);
15357 }
15358 if (obj6) {
15359 ecode7 = SWIG_AsVal_int(obj6, &val7);
15360 if (!SWIG_IsOK(ecode7)) {
15361 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15362 }
15363 arg7 = static_cast< int >(val7);
15364 }
15365 if (obj7) {
15366 ecode8 = SWIG_AsVal_int(obj7, &val8);
15367 if (!SWIG_IsOK(ecode8)) {
15368 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15369 }
15370 arg8 = static_cast< int >(val8);
15371 }
15372 if (obj8) {
15373 ecode9 = SWIG_AsVal_int(obj8, &val9);
15374 if (!SWIG_IsOK(ecode9)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15376 }
15377 arg9 = static_cast< int >(val9);
15378 }
15379 if (obj9) {
d14a1e28 15380 {
0085ce49
RD
15381 arg10 = wxString_in_helper(obj9);
15382 if (arg10 == NULL) SWIG_fail;
15383 temp10 = true;
d14a1e28 15384 }
0085ce49
RD
15385 }
15386 {
15387 if (!wxPyCheckForApp()) SWIG_fail;
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15394 {
15395 if (temp3)
15396 delete arg3;
15397 }
15398 {
15399 if (temp10)
15400 delete arg10;
15401 }
15402 return resultobj;
15403fail:
15404 {
15405 if (temp3)
15406 delete arg3;
15407 }
15408 {
15409 if (temp10)
15410 delete arg10;
15411 }
15412 return NULL;
d14a1e28
RD
15413}
15414
15415
0085ce49
RD
15416SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15417 PyObject *resultobj = 0;
15418 wxSpinCtrl *result = 0 ;
15419
15420 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15421 {
15422 if (!wxPyCheckForApp()) SWIG_fail;
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (wxSpinCtrl *)new wxSpinCtrl();
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15429 return resultobj;
15430fail:
15431 return NULL;
15432}
15433
15434
15435SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15436 PyObject *resultobj = 0;
15437 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15438 wxWindow *arg2 = (wxWindow *) 0 ;
15439 int arg3 = (int) -1 ;
15440 wxString const &arg4_defvalue = wxPyEmptyString ;
15441 wxString *arg4 = (wxString *) &arg4_defvalue ;
15442 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15443 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15444 wxSize const &arg6_defvalue = wxDefaultSize ;
15445 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15446 long arg7 = (long) wxSP_ARROW_KEYS ;
15447 int arg8 = (int) 0 ;
15448 int arg9 = (int) 100 ;
15449 int arg10 = (int) 0 ;
15450 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15451 wxString *arg11 = (wxString *) &arg11_defvalue ;
15452 bool result;
15453 void *argp1 = 0 ;
15454 int res1 = 0 ;
15455 void *argp2 = 0 ;
15456 int res2 = 0 ;
15457 int val3 ;
15458 int ecode3 = 0 ;
15459 bool temp4 = false ;
15460 wxPoint temp5 ;
15461 wxSize temp6 ;
15462 long val7 ;
15463 int ecode7 = 0 ;
15464 int val8 ;
15465 int ecode8 = 0 ;
15466 int val9 ;
15467 int ecode9 = 0 ;
15468 int val10 ;
15469 int ecode10 = 0 ;
15470 bool temp11 = false ;
15471 PyObject * obj0 = 0 ;
15472 PyObject * obj1 = 0 ;
15473 PyObject * obj2 = 0 ;
15474 PyObject * obj3 = 0 ;
15475 PyObject * obj4 = 0 ;
15476 PyObject * obj5 = 0 ;
15477 PyObject * obj6 = 0 ;
15478 PyObject * obj7 = 0 ;
15479 PyObject * obj8 = 0 ;
15480 PyObject * obj9 = 0 ;
15481 PyObject * obj10 = 0 ;
15482 char * kwnames[] = {
15483 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15484 };
15485
15486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15488 if (!SWIG_IsOK(res1)) {
15489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15490 }
15491 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15493 if (!SWIG_IsOK(res2)) {
15494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15495 }
15496 arg2 = reinterpret_cast< wxWindow * >(argp2);
15497 if (obj2) {
15498 ecode3 = SWIG_AsVal_int(obj2, &val3);
15499 if (!SWIG_IsOK(ecode3)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15501 }
15502 arg3 = static_cast< int >(val3);
15503 }
15504 if (obj3) {
093d3ff1 15505 {
0085ce49
RD
15506 arg4 = wxString_in_helper(obj3);
15507 if (arg4 == NULL) SWIG_fail;
15508 temp4 = true;
093d3ff1 15509 }
0085ce49
RD
15510 }
15511 if (obj4) {
d14a1e28 15512 {
0085ce49
RD
15513 arg5 = &temp5;
15514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15515 }
0085ce49
RD
15516 }
15517 if (obj5) {
093d3ff1 15518 {
0085ce49
RD
15519 arg6 = &temp6;
15520 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 15521 }
0085ce49
RD
15522 }
15523 if (obj6) {
15524 ecode7 = SWIG_AsVal_long(obj6, &val7);
15525 if (!SWIG_IsOK(ecode7)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15527 }
15528 arg7 = static_cast< long >(val7);
15529 }
15530 if (obj7) {
15531 ecode8 = SWIG_AsVal_int(obj7, &val8);
15532 if (!SWIG_IsOK(ecode8)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15534 }
15535 arg8 = static_cast< int >(val8);
15536 }
15537 if (obj8) {
15538 ecode9 = SWIG_AsVal_int(obj8, &val9);
15539 if (!SWIG_IsOK(ecode9)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15541 }
15542 arg9 = static_cast< int >(val9);
15543 }
15544 if (obj9) {
15545 ecode10 = SWIG_AsVal_int(obj9, &val10);
15546 if (!SWIG_IsOK(ecode10)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15548 }
15549 arg10 = static_cast< int >(val10);
15550 }
15551 if (obj10) {
d14a1e28 15552 {
0085ce49
RD
15553 arg11 = wxString_in_helper(obj10);
15554 if (arg11 == NULL) SWIG_fail;
15555 temp11 = true;
d14a1e28 15556 }
0085ce49
RD
15557 }
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 {
15565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15566 }
15567 {
15568 if (temp4)
15569 delete arg4;
15570 }
15571 {
15572 if (temp11)
15573 delete arg11;
15574 }
15575 return resultobj;
15576fail:
15577 {
15578 if (temp4)
15579 delete arg4;
15580 }
15581 {
15582 if (temp11)
15583 delete arg11;
15584 }
15585 return NULL;
d14a1e28
RD
15586}
15587
15588
0085ce49
RD
15589SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15590 PyObject *resultobj = 0;
15591 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15592 int result;
15593 void *argp1 = 0 ;
15594 int res1 = 0 ;
15595 PyObject *swig_obj[1] ;
15596
15597 if (!args) SWIG_fail;
15598 swig_obj[0] = args;
15599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15600 if (!SWIG_IsOK(res1)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15602 }
15603 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 resultobj = SWIG_From_int(static_cast< int >(result));
15611 return resultobj;
15612fail:
15613 return NULL;
15614}
15615
15616
15617SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj = 0;
15619 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15620 int arg2 ;
15621 void *argp1 = 0 ;
15622 int res1 = 0 ;
15623 int val2 ;
15624 int ecode2 = 0 ;
15625 PyObject * obj0 = 0 ;
15626 PyObject * obj1 = 0 ;
15627 char * kwnames[] = {
15628 (char *) "self",(char *) "value", NULL
15629 };
15630
15631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15633 if (!SWIG_IsOK(res1)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15635 }
15636 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15637 ecode2 = SWIG_AsVal_int(obj1, &val2);
15638 if (!SWIG_IsOK(ecode2)) {
15639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15640 }
15641 arg2 = static_cast< int >(val2);
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 (arg1)->SetValue(arg2);
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 resultobj = SWIG_Py_Void();
15649 return resultobj;
15650fail:
15651 return NULL;
15652}
15653
15654
15655SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj = 0;
15657 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15658 wxString *arg2 = 0 ;
15659 void *argp1 = 0 ;
15660 int res1 = 0 ;
15661 bool temp2 = false ;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char * kwnames[] = {
15665 (char *) "self",(char *) "text", NULL
15666 };
15667
15668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15670 if (!SWIG_IsOK(res1)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15672 }
15673 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15674 {
15675 arg2 = wxString_in_helper(obj1);
15676 if (arg2 == NULL) SWIG_fail;
15677 temp2 = true;
15678 }
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 (arg1)->SetValue((wxString const &)*arg2);
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 resultobj = SWIG_Py_Void();
15686 {
15687 if (temp2)
15688 delete arg2;
15689 }
15690 return resultobj;
15691fail:
15692 {
15693 if (temp2)
15694 delete arg2;
15695 }
15696 return NULL;
15697}
15698
15699
15700SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15701 PyObject *resultobj = 0;
15702 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15703 int arg2 ;
15704 int arg3 ;
15705 void *argp1 = 0 ;
15706 int res1 = 0 ;
15707 int val2 ;
15708 int ecode2 = 0 ;
15709 int val3 ;
15710 int ecode3 = 0 ;
15711 PyObject * obj0 = 0 ;
15712 PyObject * obj1 = 0 ;
15713 PyObject * obj2 = 0 ;
15714 char * kwnames[] = {
15715 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15716 };
15717
15718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15720 if (!SWIG_IsOK(res1)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15722 }
15723 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15724 ecode2 = SWIG_AsVal_int(obj1, &val2);
15725 if (!SWIG_IsOK(ecode2)) {
15726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15727 }
15728 arg2 = static_cast< int >(val2);
15729 ecode3 = SWIG_AsVal_int(obj2, &val3);
15730 if (!SWIG_IsOK(ecode3)) {
15731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15732 }
15733 arg3 = static_cast< int >(val3);
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 (arg1)->SetRange(arg2,arg3);
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 resultobj = SWIG_Py_Void();
15741 return resultobj;
15742fail:
15743 return NULL;
d14a1e28
RD
15744}
15745
15746
0085ce49
RD
15747SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15748 PyObject *resultobj = 0;
15749 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15750 int result;
15751 void *argp1 = 0 ;
15752 int res1 = 0 ;
15753 PyObject *swig_obj[1] ;
15754
15755 if (!args) SWIG_fail;
15756 swig_obj[0] = args;
15757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15758 if (!SWIG_IsOK(res1)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15760 }
15761 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = SWIG_From_int(static_cast< int >(result));
15769 return resultobj;
15770fail:
15771 return NULL;
d14a1e28
RD
15772}
15773
15774
0085ce49
RD
15775SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15776 PyObject *resultobj = 0;
15777 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15778 int result;
15779 void *argp1 = 0 ;
15780 int res1 = 0 ;
15781 PyObject *swig_obj[1] ;
15782
15783 if (!args) SWIG_fail;
15784 swig_obj[0] = args;
15785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15786 if (!SWIG_IsOK(res1)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15788 }
15789 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = SWIG_From_int(static_cast< int >(result));
15797 return resultobj;
15798fail:
15799 return NULL;
15800}
15801
15802
15803SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj = 0;
15805 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15806 long arg2 ;
15807 long arg3 ;
15808 void *argp1 = 0 ;
15809 int res1 = 0 ;
15810 long val2 ;
15811 int ecode2 = 0 ;
15812 long val3 ;
15813 int ecode3 = 0 ;
15814 PyObject * obj0 = 0 ;
15815 PyObject * obj1 = 0 ;
15816 PyObject * obj2 = 0 ;
15817 char * kwnames[] = {
2131d850 15818 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
15819 };
15820
15821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15823 if (!SWIG_IsOK(res1)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15825 }
15826 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15827 ecode2 = SWIG_AsVal_long(obj1, &val2);
15828 if (!SWIG_IsOK(ecode2)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15830 }
15831 arg2 = static_cast< long >(val2);
15832 ecode3 = SWIG_AsVal_long(obj2, &val3);
15833 if (!SWIG_IsOK(ecode3)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15835 }
15836 arg3 = static_cast< long >(val3);
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->SetSelection(arg2,arg3);
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = SWIG_Py_Void();
15844 return resultobj;
15845fail:
15846 return NULL;
15847}
15848
15849
15850SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj = 0;
15852 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15853 SwigValueWrapper<wxVisualAttributes > result;
15854 int val1 ;
15855 int ecode1 = 0 ;
15856 PyObject * obj0 = 0 ;
15857 char * kwnames[] = {
15858 (char *) "variant", NULL
15859 };
15860
15861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15862 if (obj0) {
15863 ecode1 = SWIG_AsVal_int(obj0, &val1);
15864 if (!SWIG_IsOK(ecode1)) {
15865 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15866 }
15867 arg1 = static_cast< wxWindowVariant >(val1);
15868 }
15869 {
15870 if (!wxPyCheckForApp()) SWIG_fail;
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15877 return resultobj;
15878fail:
15879 return NULL;
d14a1e28
RD
15880}
15881
15882
0085ce49
RD
15883SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15884 PyObject *obj;
15885 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15886 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15887 return SWIG_Py_Void();
d14a1e28
RD
15888}
15889
0085ce49
RD
15890SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15891 return SWIG_Python_InitShadowInstance(args);
15892}
d14a1e28 15893
0085ce49
RD
15894SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj = 0;
15896 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15897 int arg2 = (int) 0 ;
15898 wxSpinEvent *result = 0 ;
15899 int val1 ;
15900 int ecode1 = 0 ;
15901 int val2 ;
15902 int ecode2 = 0 ;
15903 PyObject * obj0 = 0 ;
15904 PyObject * obj1 = 0 ;
15905 char * kwnames[] = {
15906 (char *) "commandType",(char *) "winid", NULL
15907 };
15908
15909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15910 if (obj0) {
15911 ecode1 = SWIG_AsVal_int(obj0, &val1);
15912 if (!SWIG_IsOK(ecode1)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15914 }
15915 arg1 = static_cast< wxEventType >(val1);
15916 }
15917 if (obj1) {
15918 ecode2 = SWIG_AsVal_int(obj1, &val2);
15919 if (!SWIG_IsOK(ecode2)) {
15920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15921 }
15922 arg2 = static_cast< int >(val2);
15923 }
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15931 return resultobj;
15932fail:
15933 return NULL;
d14a1e28
RD
15934}
15935
15936
0085ce49
RD
15937SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15938 PyObject *resultobj = 0;
15939 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15940 int result;
15941 void *argp1 = 0 ;
15942 int res1 = 0 ;
15943 PyObject *swig_obj[1] ;
15944
15945 if (!args) SWIG_fail;
15946 swig_obj[0] = args;
15947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15948 if (!SWIG_IsOK(res1)) {
15949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15950 }
15951 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 resultobj = SWIG_From_int(static_cast< int >(result));
15959 return resultobj;
15960fail:
15961 return NULL;
15962}
15963
15964
15965SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj = 0;
15967 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15968 int arg2 ;
15969 void *argp1 = 0 ;
15970 int res1 = 0 ;
15971 int val2 ;
15972 int ecode2 = 0 ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 char * kwnames[] = {
15976 (char *) "self",(char *) "pos", NULL
15977 };
15978
15979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15981 if (!SWIG_IsOK(res1)) {
15982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15983 }
15984 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15985 ecode2 = SWIG_AsVal_int(obj1, &val2);
15986 if (!SWIG_IsOK(ecode2)) {
15987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15988 }
15989 arg2 = static_cast< int >(val2);
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 (arg1)->SetPosition(arg2);
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 resultobj = SWIG_Py_Void();
15997 return resultobj;
15998fail:
15999 return NULL;
d14a1e28
RD
16000}
16001
16002
0085ce49
RD
16003SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16004 PyObject *obj;
16005 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16006 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16007 return SWIG_Py_Void();
16008}
16009
16010SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16011 return SWIG_Python_InitShadowInstance(args);
16012}
16013
16014SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16015 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16016 return 1;
16017}
16018
16019
16020SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16021 PyObject *pyobj = 0;
16022
16023 {
d14a1e28 16024#if wxUSE_UNICODE
0085ce49 16025 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
d14a1e28 16026#else
0085ce49 16027 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
d14a1e28 16028#endif
0085ce49
RD
16029 }
16030 return pyobj;
d14a1e28
RD
16031}
16032
16033
0085ce49
RD
16034SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16035 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16036 return 1;
d14a1e28
RD
16037}
16038
16039
0085ce49
RD
16040SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16041 PyObject *pyobj = 0;
16042
16043 {
16044#if wxUSE_UNICODE
16045 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16046#else
16047 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16048#endif
16049 }
16050 return pyobj;
16051}
16052
16053
16054SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj = 0;
16056 wxWindow *arg1 = (wxWindow *) 0 ;
16057 int arg2 = (int) -1 ;
16058 wxString const &arg3_defvalue = wxPyEmptyString ;
16059 wxString *arg3 = (wxString *) &arg3_defvalue ;
16060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16062 wxSize const &arg5_defvalue = wxDefaultSize ;
16063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16064 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16065 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16066 int arg7 = (int) 0 ;
16067 long arg8 = (long) wxRA_HORIZONTAL ;
16068 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16069 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16070 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16071 wxString *arg10 = (wxString *) &arg10_defvalue ;
16072 wxRadioBox *result = 0 ;
16073 void *argp1 = 0 ;
16074 int res1 = 0 ;
16075 int val2 ;
16076 int ecode2 = 0 ;
16077 bool temp3 = false ;
16078 wxPoint temp4 ;
16079 wxSize temp5 ;
16080 bool temp6 = false ;
16081 int val7 ;
16082 int ecode7 = 0 ;
16083 long val8 ;
16084 int ecode8 = 0 ;
16085 void *argp9 = 0 ;
16086 int res9 = 0 ;
16087 bool temp10 = false ;
16088 PyObject * obj0 = 0 ;
16089 PyObject * obj1 = 0 ;
16090 PyObject * obj2 = 0 ;
16091 PyObject * obj3 = 0 ;
16092 PyObject * obj4 = 0 ;
16093 PyObject * obj5 = 0 ;
16094 PyObject * obj6 = 0 ;
16095 PyObject * obj7 = 0 ;
16096 PyObject * obj8 = 0 ;
16097 PyObject * obj9 = 0 ;
16098 char * kwnames[] = {
16099 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16100 };
16101
16102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16104 if (!SWIG_IsOK(res1)) {
16105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16106 }
16107 arg1 = reinterpret_cast< wxWindow * >(argp1);
16108 if (obj1) {
16109 ecode2 = SWIG_AsVal_int(obj1, &val2);
16110 if (!SWIG_IsOK(ecode2)) {
16111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16112 }
16113 arg2 = static_cast< int >(val2);
16114 }
16115 if (obj2) {
093d3ff1 16116 {
0085ce49
RD
16117 arg3 = wxString_in_helper(obj2);
16118 if (arg3 == NULL) SWIG_fail;
16119 temp3 = true;
093d3ff1 16120 }
0085ce49
RD
16121 }
16122 if (obj3) {
093d3ff1 16123 {
0085ce49
RD
16124 arg4 = &temp4;
16125 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 16126 }
0085ce49
RD
16127 }
16128 if (obj4) {
d14a1e28 16129 {
0085ce49
RD
16130 arg5 = &temp5;
16131 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16132 }
0085ce49
RD
16133 }
16134 if (obj5) {
d14a1e28 16135 {
0085ce49
RD
16136 if (! PySequence_Check(obj5)) {
16137 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16138 SWIG_fail;
16139 }
16140 arg6 = new wxArrayString;
16141 temp6 = true;
16142 int i, len=PySequence_Length(obj5);
16143 for (i=0; i<len; i++) {
16144 PyObject* item = PySequence_GetItem(obj5, i);
16145 wxString* s = wxString_in_helper(item);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 arg6->Add(*s);
16148 delete s;
16149 Py_DECREF(item);
16150 }
d14a1e28 16151 }
0085ce49
RD
16152 }
16153 if (obj6) {
16154 ecode7 = SWIG_AsVal_int(obj6, &val7);
16155 if (!SWIG_IsOK(ecode7)) {
16156 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16157 }
16158 arg7 = static_cast< int >(val7);
16159 }
16160 if (obj7) {
16161 ecode8 = SWIG_AsVal_long(obj7, &val8);
16162 if (!SWIG_IsOK(ecode8)) {
16163 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16164 }
16165 arg8 = static_cast< long >(val8);
16166 }
16167 if (obj8) {
16168 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16169 if (!SWIG_IsOK(res9)) {
16170 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16171 }
16172 if (!argp9) {
16173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 16174 }
0085ce49
RD
16175 arg9 = reinterpret_cast< wxValidator * >(argp9);
16176 }
16177 if (obj9) {
d14a1e28 16178 {
0085ce49
RD
16179 arg10 = wxString_in_helper(obj9);
16180 if (arg10 == NULL) SWIG_fail;
16181 temp10 = true;
d14a1e28 16182 }
0085ce49
RD
16183 }
16184 {
16185 if (!wxPyCheckForApp()) SWIG_fail;
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 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);
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16192 {
16193 if (temp3)
16194 delete arg3;
16195 }
16196 {
16197 if (temp6) delete arg6;
16198 }
16199 {
16200 if (temp10)
16201 delete arg10;
16202 }
16203 return resultobj;
16204fail:
16205 {
16206 if (temp3)
16207 delete arg3;
16208 }
16209 {
16210 if (temp6) delete arg6;
16211 }
16212 {
16213 if (temp10)
16214 delete arg10;
16215 }
16216 return NULL;
d14a1e28
RD
16217}
16218
16219
0085ce49
RD
16220SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16221 PyObject *resultobj = 0;
16222 wxRadioBox *result = 0 ;
16223
16224 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16225 {
16226 if (!wxPyCheckForApp()) SWIG_fail;
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (wxRadioBox *)new wxRadioBox();
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16233 return resultobj;
16234fail:
16235 return NULL;
16236}
16237
16238
16239SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj = 0;
16241 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16242 wxWindow *arg2 = (wxWindow *) 0 ;
16243 int arg3 = (int) -1 ;
16244 wxString const &arg4_defvalue = wxPyEmptyString ;
16245 wxString *arg4 = (wxString *) &arg4_defvalue ;
16246 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16247 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16248 wxSize const &arg6_defvalue = wxDefaultSize ;
16249 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16250 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16251 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16252 int arg8 = (int) 0 ;
16253 long arg9 = (long) wxRA_HORIZONTAL ;
16254 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16255 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16256 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16257 wxString *arg11 = (wxString *) &arg11_defvalue ;
16258 bool result;
16259 void *argp1 = 0 ;
16260 int res1 = 0 ;
16261 void *argp2 = 0 ;
16262 int res2 = 0 ;
16263 int val3 ;
16264 int ecode3 = 0 ;
16265 bool temp4 = false ;
16266 wxPoint temp5 ;
16267 wxSize temp6 ;
16268 bool temp7 = false ;
16269 int val8 ;
16270 int ecode8 = 0 ;
16271 long val9 ;
16272 int ecode9 = 0 ;
16273 void *argp10 = 0 ;
16274 int res10 = 0 ;
16275 bool temp11 = false ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 PyObject * obj2 = 0 ;
16279 PyObject * obj3 = 0 ;
16280 PyObject * obj4 = 0 ;
16281 PyObject * obj5 = 0 ;
16282 PyObject * obj6 = 0 ;
16283 PyObject * obj7 = 0 ;
16284 PyObject * obj8 = 0 ;
16285 PyObject * obj9 = 0 ;
16286 PyObject * obj10 = 0 ;
16287 char * kwnames[] = {
16288 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16289 };
16290
16291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16293 if (!SWIG_IsOK(res1)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16295 }
16296 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16297 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16298 if (!SWIG_IsOK(res2)) {
16299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16300 }
16301 arg2 = reinterpret_cast< wxWindow * >(argp2);
16302 if (obj2) {
16303 ecode3 = SWIG_AsVal_int(obj2, &val3);
16304 if (!SWIG_IsOK(ecode3)) {
16305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16306 }
16307 arg3 = static_cast< int >(val3);
16308 }
16309 if (obj3) {
093d3ff1 16310 {
0085ce49
RD
16311 arg4 = wxString_in_helper(obj3);
16312 if (arg4 == NULL) SWIG_fail;
16313 temp4 = true;
093d3ff1 16314 }
0085ce49
RD
16315 }
16316 if (obj4) {
d14a1e28 16317 {
0085ce49
RD
16318 arg5 = &temp5;
16319 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16320 }
0085ce49
RD
16321 }
16322 if (obj5) {
d14a1e28 16323 {
0085ce49
RD
16324 arg6 = &temp6;
16325 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 16326 }
0085ce49
RD
16327 }
16328 if (obj6) {
d14a1e28 16329 {
0085ce49
RD
16330 if (! PySequence_Check(obj6)) {
16331 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16332 SWIG_fail;
16333 }
16334 arg7 = new wxArrayString;
16335 temp7 = true;
16336 int i, len=PySequence_Length(obj6);
16337 for (i=0; i<len; i++) {
16338 PyObject* item = PySequence_GetItem(obj6, i);
16339 wxString* s = wxString_in_helper(item);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 arg7->Add(*s);
16342 delete s;
16343 Py_DECREF(item);
16344 }
d14a1e28 16345 }
0085ce49
RD
16346 }
16347 if (obj7) {
16348 ecode8 = SWIG_AsVal_int(obj7, &val8);
16349 if (!SWIG_IsOK(ecode8)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16351 }
16352 arg8 = static_cast< int >(val8);
16353 }
16354 if (obj8) {
16355 ecode9 = SWIG_AsVal_long(obj8, &val9);
16356 if (!SWIG_IsOK(ecode9)) {
16357 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16358 }
16359 arg9 = static_cast< long >(val9);
16360 }
16361 if (obj9) {
16362 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16363 if (!SWIG_IsOK(res10)) {
16364 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
4f89f6a3 16365 }
0085ce49
RD
16366 if (!argp10) {
16367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 16368 }
0085ce49
RD
16369 arg10 = reinterpret_cast< wxValidator * >(argp10);
16370 }
16371 if (obj10) {
d14a1e28 16372 {
0085ce49
RD
16373 arg11 = wxString_in_helper(obj10);
16374 if (arg11 == NULL) SWIG_fail;
16375 temp11 = true;
d14a1e28 16376 }
0085ce49
RD
16377 }
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 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);
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 {
16385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16386 }
16387 {
16388 if (temp4)
16389 delete arg4;
16390 }
16391 {
16392 if (temp7) delete arg7;
16393 }
16394 {
16395 if (temp11)
16396 delete arg11;
16397 }
16398 return resultobj;
16399fail:
16400 {
16401 if (temp4)
16402 delete arg4;
16403 }
16404 {
16405 if (temp7) delete arg7;
16406 }
16407 {
16408 if (temp11)
16409 delete arg11;
16410 }
16411 return NULL;
16412}
16413
16414
16415SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj = 0;
16417 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16418 int arg2 ;
16419 void *argp1 = 0 ;
16420 int res1 = 0 ;
16421 int val2 ;
16422 int ecode2 = 0 ;
16423 PyObject * obj0 = 0 ;
16424 PyObject * obj1 = 0 ;
16425 char * kwnames[] = {
16426 (char *) "self",(char *) "n", NULL
16427 };
16428
16429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16431 if (!SWIG_IsOK(res1)) {
16432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16433 }
16434 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16435 ecode2 = SWIG_AsVal_int(obj1, &val2);
16436 if (!SWIG_IsOK(ecode2)) {
16437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16438 }
16439 arg2 = static_cast< int >(val2);
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 (arg1)->SetSelection(arg2);
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 resultobj = SWIG_Py_Void();
16447 return resultobj;
16448fail:
16449 return NULL;
d14a1e28
RD
16450}
16451
16452
0085ce49
RD
16453SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16454 PyObject *resultobj = 0;
16455 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16456 int result;
16457 void *argp1 = 0 ;
16458 int res1 = 0 ;
16459 PyObject *swig_obj[1] ;
16460
16461 if (!args) SWIG_fail;
16462 swig_obj[0] = args;
16463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16464 if (!SWIG_IsOK(res1)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16466 }
16467 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 resultobj = SWIG_From_int(static_cast< int >(result));
16475 return resultobj;
16476fail:
16477 return NULL;
d14a1e28
RD
16478}
16479
16480
0085ce49
RD
16481SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16482 PyObject *resultobj = 0;
16483 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16484 wxString result;
16485 void *argp1 = 0 ;
16486 int res1 = 0 ;
16487 PyObject *swig_obj[1] ;
16488
16489 if (!args) SWIG_fail;
16490 swig_obj[0] = args;
16491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16492 if (!SWIG_IsOK(res1)) {
16493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16494 }
16495 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 {
16503#if wxUSE_UNICODE
16504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16505#else
16506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16507#endif
16508 }
16509 return resultobj;
16510fail:
16511 return NULL;
16512}
16513
16514
16515SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj = 0;
16517 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16518 wxString *arg2 = 0 ;
16519 bool result;
16520 void *argp1 = 0 ;
16521 int res1 = 0 ;
16522 bool temp2 = false ;
16523 PyObject * obj0 = 0 ;
16524 PyObject * obj1 = 0 ;
16525 char * kwnames[] = {
16526 (char *) "self",(char *) "s", NULL
16527 };
16528
16529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16531 if (!SWIG_IsOK(res1)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16533 }
16534 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16535 {
16536 arg2 = wxString_in_helper(obj1);
16537 if (arg2 == NULL) SWIG_fail;
16538 temp2 = true;
16539 }
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 {
16547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16548 }
16549 {
16550 if (temp2)
16551 delete arg2;
16552 }
16553 return resultobj;
16554fail:
16555 {
16556 if (temp2)
16557 delete arg2;
16558 }
16559 return NULL;
d14a1e28
RD
16560}
16561
16562
0085ce49
RD
16563SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16564 PyObject *resultobj = 0;
16565 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
75219dcb 16566 size_t result;
0085ce49
RD
16567 void *argp1 = 0 ;
16568 int res1 = 0 ;
16569 PyObject *swig_obj[1] ;
16570
16571 if (!args) SWIG_fail;
16572 swig_obj[0] = args;
16573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16574 if (!SWIG_IsOK(res1)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16576 }
16577 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
75219dcb 16580 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
0085ce49
RD
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
75219dcb 16584 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
16585 return resultobj;
16586fail:
16587 return NULL;
16588}
16589
16590
16591SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj = 0;
16593 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16594 wxString *arg2 = 0 ;
16595 int result;
16596 void *argp1 = 0 ;
16597 int res1 = 0 ;
16598 bool temp2 = false ;
16599 PyObject * obj0 = 0 ;
16600 PyObject * obj1 = 0 ;
16601 char * kwnames[] = {
16602 (char *) "self",(char *) "s", NULL
16603 };
16604
16605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16607 if (!SWIG_IsOK(res1)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16609 }
16610 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16611 {
16612 arg2 = wxString_in_helper(obj1);
16613 if (arg2 == NULL) SWIG_fail;
16614 temp2 = true;
16615 }
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 resultobj = SWIG_From_int(static_cast< int >(result));
16623 {
16624 if (temp2)
16625 delete arg2;
16626 }
16627 return resultobj;
16628fail:
16629 {
16630 if (temp2)
16631 delete arg2;
16632 }
16633 return NULL;
16634}
16635
16636
16637SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj = 0;
16639 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16640 int arg2 ;
16641 wxString result;
16642 void *argp1 = 0 ;
16643 int res1 = 0 ;
16644 int val2 ;
16645 int ecode2 = 0 ;
16646 PyObject * obj0 = 0 ;
16647 PyObject * obj1 = 0 ;
16648 char * kwnames[] = {
16649 (char *) "self",(char *) "n", NULL
16650 };
16651
16652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16654 if (!SWIG_IsOK(res1)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16656 }
16657 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16658 ecode2 = SWIG_AsVal_int(obj1, &val2);
16659 if (!SWIG_IsOK(ecode2)) {
16660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16661 }
16662 arg2 = static_cast< int >(val2);
16663 {
16664 PyThreadState* __tstate = wxPyBeginAllowThreads();
16665 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
16670#if wxUSE_UNICODE
16671 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16672#else
16673 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16674#endif
16675 }
16676 return resultobj;
16677fail:
16678 return NULL;
16679}
16680
16681
16682SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj = 0;
16684 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16685 int arg2 ;
16686 wxString *arg3 = 0 ;
16687 void *argp1 = 0 ;
16688 int res1 = 0 ;
16689 int val2 ;
16690 int ecode2 = 0 ;
16691 bool temp3 = false ;
16692 PyObject * obj0 = 0 ;
16693 PyObject * obj1 = 0 ;
16694 PyObject * obj2 = 0 ;
16695 char * kwnames[] = {
16696 (char *) "self",(char *) "n",(char *) "label", NULL
16697 };
16698
16699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16701 if (!SWIG_IsOK(res1)) {
16702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16703 }
16704 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16705 ecode2 = SWIG_AsVal_int(obj1, &val2);
16706 if (!SWIG_IsOK(ecode2)) {
16707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16708 }
16709 arg2 = static_cast< int >(val2);
16710 {
16711 arg3 = wxString_in_helper(obj2);
16712 if (arg3 == NULL) SWIG_fail;
16713 temp3 = true;
16714 }
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->SetString(arg2,(wxString const &)*arg3);
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 resultobj = SWIG_Py_Void();
16722 {
16723 if (temp3)
16724 delete arg3;
16725 }
16726 return resultobj;
16727fail:
16728 {
16729 if (temp3)
16730 delete arg3;
16731 }
16732 return NULL;
16733}
16734
16735
16736SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj = 0;
16738 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16739 unsigned int arg2 ;
0085ce49
RD
16740 bool arg3 = (bool) true ;
16741 void *argp1 = 0 ;
16742 int res1 = 0 ;
50f151d7 16743 unsigned int val2 ;
0085ce49
RD
16744 int ecode2 = 0 ;
16745 bool val3 ;
16746 int ecode3 = 0 ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 PyObject * obj2 = 0 ;
16750 char * kwnames[] = {
16751 (char *) "self",(char *) "n",(char *) "enable", NULL
16752 };
16753
16754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16756 if (!SWIG_IsOK(res1)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16758 }
16759 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16760 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 16761 if (!SWIG_IsOK(ecode2)) {
50f151d7 16762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 16763 }
50f151d7 16764 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
16765 if (obj2) {
16766 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16767 if (!SWIG_IsOK(ecode3)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16769 }
16770 arg3 = static_cast< bool >(val3);
16771 }
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 (arg1)->Enable(arg2,arg3);
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 resultobj = SWIG_Py_Void();
16779 return resultobj;
16780fail:
16781 return NULL;
16782}
16783
16784
16785SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj = 0;
16787 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16788 unsigned int arg2 ;
0085ce49
RD
16789 bool arg3 = (bool) true ;
16790 void *argp1 = 0 ;
16791 int res1 = 0 ;
50f151d7 16792 unsigned int val2 ;
0085ce49
RD
16793 int ecode2 = 0 ;
16794 bool val3 ;
16795 int ecode3 = 0 ;
16796 PyObject * obj0 = 0 ;
16797 PyObject * obj1 = 0 ;
16798 PyObject * obj2 = 0 ;
16799 char * kwnames[] = {
16800 (char *) "self",(char *) "n",(char *) "show", NULL
16801 };
16802
16803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16805 if (!SWIG_IsOK(res1)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16807 }
16808 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16809 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 16810 if (!SWIG_IsOK(ecode2)) {
50f151d7 16811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 16812 }
50f151d7 16813 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
16814 if (obj2) {
16815 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16816 if (!SWIG_IsOK(ecode3)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16818 }
16819 arg3 = static_cast< bool >(val3);
16820 }
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 (arg1)->Show(arg2,arg3);
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = SWIG_Py_Void();
16828 return resultobj;
16829fail:
16830 return NULL;
d14a1e28
RD
16831}
16832
16833
50f151d7
RD
16834SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj = 0;
16836 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16837 unsigned int arg2 ;
16838 bool result;
16839 void *argp1 = 0 ;
16840 int res1 = 0 ;
16841 unsigned int val2 ;
16842 int ecode2 = 0 ;
16843 PyObject * obj0 = 0 ;
16844 PyObject * obj1 = 0 ;
16845 char * kwnames[] = {
16846 (char *) "self",(char *) "n", NULL
16847 };
16848
16849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16851 if (!SWIG_IsOK(res1)) {
16852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16853 }
16854 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16855 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16856 if (!SWIG_IsOK(ecode2)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16858 }
16859 arg2 = static_cast< unsigned int >(val2);
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
16867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16868 }
16869 return resultobj;
16870fail:
16871 return NULL;
16872}
16873
16874
16875SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj = 0;
16877 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16878 unsigned int arg2 ;
16879 bool result;
16880 void *argp1 = 0 ;
16881 int res1 = 0 ;
16882 unsigned int val2 ;
16883 int ecode2 = 0 ;
16884 PyObject * obj0 = 0 ;
16885 PyObject * obj1 = 0 ;
16886 char * kwnames[] = {
16887 (char *) "self",(char *) "n", NULL
16888 };
16889
16890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16892 if (!SWIG_IsOK(res1)) {
16893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16894 }
16895 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16896 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16897 if (!SWIG_IsOK(ecode2)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16899 }
16900 arg2 = static_cast< unsigned int >(val2);
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 {
16908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16909 }
16910 return resultobj;
16911fail:
16912 return NULL;
16913}
16914
16915
0085ce49
RD
16916SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16917 PyObject *resultobj = 0;
16918 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16919 unsigned int result;
0085ce49
RD
16920 void *argp1 = 0 ;
16921 int res1 = 0 ;
16922 PyObject *swig_obj[1] ;
16923
16924 if (!args) SWIG_fail;
16925 swig_obj[0] = args;
16926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16927 if (!SWIG_IsOK(res1)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16929 }
16930 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16931 {
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16933 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
0085ce49
RD
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
50f151d7 16937 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
16938 return resultobj;
16939fail:
16940 return NULL;
d14a1e28
RD
16941}
16942
16943
0085ce49
RD
16944SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16945 PyObject *resultobj = 0;
16946 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16947 unsigned int result;
0085ce49
RD
16948 void *argp1 = 0 ;
16949 int res1 = 0 ;
16950 PyObject *swig_obj[1] ;
16951
16952 if (!args) SWIG_fail;
16953 swig_obj[0] = args;
16954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16957 }
16958 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16961 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
0085ce49
RD
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
50f151d7 16965 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
16966 return resultobj;
16967fail:
16968 return NULL;
16969}
16970
16971
16972SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj = 0;
16974 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16975 int arg2 ;
16976 wxDirection arg3 ;
16977 long arg4 ;
16978 int result;
16979 void *argp1 = 0 ;
16980 int res1 = 0 ;
16981 int val2 ;
16982 int ecode2 = 0 ;
16983 int val3 ;
16984 int ecode3 = 0 ;
16985 long val4 ;
16986 int ecode4 = 0 ;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 PyObject * obj2 = 0 ;
16990 PyObject * obj3 = 0 ;
16991 char * kwnames[] = {
16992 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16993 };
16994
16995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16997 if (!SWIG_IsOK(res1)) {
16998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16999 }
17000 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17001 ecode2 = SWIG_AsVal_int(obj1, &val2);
17002 if (!SWIG_IsOK(ecode2)) {
17003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17004 }
17005 arg2 = static_cast< int >(val2);
17006 ecode3 = SWIG_AsVal_int(obj2, &val3);
17007 if (!SWIG_IsOK(ecode3)) {
17008 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17009 }
17010 arg3 = static_cast< wxDirection >(val3);
17011 ecode4 = SWIG_AsVal_long(obj3, &val4);
17012 if (!SWIG_IsOK(ecode4)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17014 }
17015 arg4 = static_cast< long >(val4);
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 17018 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
0085ce49
RD
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 resultobj = SWIG_From_int(static_cast< int >(result));
17023 return resultobj;
17024fail:
17025 return NULL;
17026}
17027
17028
01f6b6d3
RD
17029SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj = 0;
17031 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17032 unsigned int arg2 ;
17033 wxString *arg3 = 0 ;
17034 void *argp1 = 0 ;
17035 int res1 = 0 ;
17036 unsigned int val2 ;
17037 int ecode2 = 0 ;
17038 bool temp3 = false ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 PyObject * obj2 = 0 ;
17042 char * kwnames[] = {
17043 (char *) "self",(char *) "item",(char *) "text", NULL
17044 };
17045
17046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17048 if (!SWIG_IsOK(res1)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17050 }
17051 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17052 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17053 if (!SWIG_IsOK(ecode2)) {
17054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17055 }
17056 arg2 = static_cast< unsigned int >(val2);
17057 {
17058 arg3 = wxString_in_helper(obj2);
17059 if (arg3 == NULL) SWIG_fail;
17060 temp3 = true;
17061 }
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = SWIG_Py_Void();
17069 {
17070 if (temp3)
17071 delete arg3;
17072 }
17073 return resultobj;
17074fail:
17075 {
17076 if (temp3)
17077 delete arg3;
17078 }
17079 return NULL;
17080}
17081
17082
17083SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj = 0;
17085 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17086 unsigned int arg2 ;
17087 wxToolTip *result = 0 ;
17088 void *argp1 = 0 ;
17089 int res1 = 0 ;
17090 unsigned int val2 ;
17091 int ecode2 = 0 ;
17092 PyObject * obj0 = 0 ;
17093 PyObject * obj1 = 0 ;
17094 char * kwnames[] = {
17095 (char *) "self",(char *) "item", NULL
17096 };
17097
17098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17100 if (!SWIG_IsOK(res1)) {
17101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17102 }
17103 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17104 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17105 if (!SWIG_IsOK(ecode2)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17107 }
17108 arg2 = static_cast< unsigned int >(val2);
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 {
17116 resultobj = wxPyMake_wxObject(result, (bool)0);
17117 }
17118 return resultobj;
17119fail:
17120 return NULL;
17121}
17122
17123
b850e7f3
RD
17124SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj = 0;
17126 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17127 unsigned int arg2 ;
17128 wxString *arg3 = 0 ;
17129 void *argp1 = 0 ;
17130 int res1 = 0 ;
17131 unsigned int val2 ;
17132 int ecode2 = 0 ;
17133 bool temp3 = false ;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 PyObject * obj2 = 0 ;
17137 char * kwnames[] = {
17138 (char *) "self",(char *) "n",(char *) "helpText", NULL
17139 };
17140
17141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17143 if (!SWIG_IsOK(res1)) {
17144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17145 }
17146 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17147 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17148 if (!SWIG_IsOK(ecode2)) {
17149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17150 }
17151 arg2 = static_cast< unsigned int >(val2);
17152 {
17153 arg3 = wxString_in_helper(obj2);
17154 if (arg3 == NULL) SWIG_fail;
17155 temp3 = true;
17156 }
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 resultobj = SWIG_Py_Void();
17164 {
17165 if (temp3)
17166 delete arg3;
17167 }
17168 return resultobj;
17169fail:
17170 {
17171 if (temp3)
17172 delete arg3;
17173 }
17174 return NULL;
17175}
17176
17177
17178SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj = 0;
17180 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17181 unsigned int arg2 ;
17182 wxString result;
17183 void *argp1 = 0 ;
17184 int res1 = 0 ;
17185 unsigned int val2 ;
17186 int ecode2 = 0 ;
17187 PyObject * obj0 = 0 ;
17188 PyObject * obj1 = 0 ;
17189 char * kwnames[] = {
17190 (char *) "self",(char *) "n", NULL
17191 };
17192
17193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17195 if (!SWIG_IsOK(res1)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17197 }
17198 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17199 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17200 if (!SWIG_IsOK(ecode2)) {
17201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17202 }
17203 arg2 = static_cast< unsigned int >(val2);
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 {
17211#if wxUSE_UNICODE
17212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17213#else
17214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17215#endif
17216 }
17217 return resultobj;
17218fail:
17219 return NULL;
17220}
17221
17222
0085ce49
RD
17223SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj = 0;
17225 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17226 SwigValueWrapper<wxVisualAttributes > result;
17227 int val1 ;
17228 int ecode1 = 0 ;
17229 PyObject * obj0 = 0 ;
17230 char * kwnames[] = {
17231 (char *) "variant", NULL
17232 };
17233
17234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17235 if (obj0) {
17236 ecode1 = SWIG_AsVal_int(obj0, &val1);
17237 if (!SWIG_IsOK(ecode1)) {
17238 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17239 }
17240 arg1 = static_cast< wxWindowVariant >(val1);
17241 }
17242 {
17243 if (!wxPyCheckForApp()) SWIG_fail;
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17250 return resultobj;
17251fail:
17252 return NULL;
17253}
17254
17255
17256SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17257 PyObject *obj;
17258 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17259 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17260 return SWIG_Py_Void();
17261}
17262
17263SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17264 return SWIG_Python_InitShadowInstance(args);
17265}
17266
17267SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj = 0;
17269 wxWindow *arg1 = (wxWindow *) 0 ;
17270 int arg2 = (int) -1 ;
17271 wxString const &arg3_defvalue = wxPyEmptyString ;
17272 wxString *arg3 = (wxString *) &arg3_defvalue ;
17273 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17274 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17275 wxSize const &arg5_defvalue = wxDefaultSize ;
17276 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17277 long arg6 = (long) 0 ;
17278 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17279 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17280 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17281 wxString *arg8 = (wxString *) &arg8_defvalue ;
17282 wxRadioButton *result = 0 ;
17283 void *argp1 = 0 ;
17284 int res1 = 0 ;
17285 int val2 ;
17286 int ecode2 = 0 ;
17287 bool temp3 = false ;
17288 wxPoint temp4 ;
17289 wxSize temp5 ;
17290 long val6 ;
17291 int ecode6 = 0 ;
17292 void *argp7 = 0 ;
17293 int res7 = 0 ;
17294 bool temp8 = false ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj1 = 0 ;
17297 PyObject * obj2 = 0 ;
17298 PyObject * obj3 = 0 ;
17299 PyObject * obj4 = 0 ;
17300 PyObject * obj5 = 0 ;
17301 PyObject * obj6 = 0 ;
17302 PyObject * obj7 = 0 ;
17303 char * kwnames[] = {
17304 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17305 };
17306
17307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17309 if (!SWIG_IsOK(res1)) {
17310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17311 }
17312 arg1 = reinterpret_cast< wxWindow * >(argp1);
17313 if (obj1) {
17314 ecode2 = SWIG_AsVal_int(obj1, &val2);
17315 if (!SWIG_IsOK(ecode2)) {
17316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17317 }
17318 arg2 = static_cast< int >(val2);
17319 }
17320 if (obj2) {
d14a1e28 17321 {
0085ce49
RD
17322 arg3 = wxString_in_helper(obj2);
17323 if (arg3 == NULL) SWIG_fail;
17324 temp3 = true;
d14a1e28 17325 }
0085ce49
RD
17326 }
17327 if (obj3) {
d14a1e28 17328 {
0085ce49
RD
17329 arg4 = &temp4;
17330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 17331 }
0085ce49
RD
17332 }
17333 if (obj4) {
d14a1e28 17334 {
0085ce49
RD
17335 arg5 = &temp5;
17336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17337 }
17338 }
17339 if (obj5) {
17340 ecode6 = SWIG_AsVal_long(obj5, &val6);
17341 if (!SWIG_IsOK(ecode6)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17343 }
17344 arg6 = static_cast< long >(val6);
17345 }
17346 if (obj6) {
17347 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17348 if (!SWIG_IsOK(res7)) {
17349 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 17350 }
0085ce49
RD
17351 if (!argp7) {
17352 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17353 }
17354 arg7 = reinterpret_cast< wxValidator * >(argp7);
17355 }
17356 if (obj7) {
d14a1e28 17357 {
0085ce49
RD
17358 arg8 = wxString_in_helper(obj7);
17359 if (arg8 == NULL) SWIG_fail;
17360 temp8 = true;
d14a1e28 17361 }
0085ce49
RD
17362 }
17363 {
17364 if (!wxPyCheckForApp()) SWIG_fail;
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17371 {
17372 if (temp3)
17373 delete arg3;
17374 }
17375 {
17376 if (temp8)
17377 delete arg8;
17378 }
17379 return resultobj;
17380fail:
17381 {
17382 if (temp3)
17383 delete arg3;
17384 }
17385 {
17386 if (temp8)
17387 delete arg8;
17388 }
17389 return NULL;
d14a1e28
RD
17390}
17391
17392
0085ce49
RD
17393SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17394 PyObject *resultobj = 0;
17395 wxRadioButton *result = 0 ;
17396
17397 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17398 {
17399 if (!wxPyCheckForApp()) SWIG_fail;
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 result = (wxRadioButton *)new wxRadioButton();
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17406 return resultobj;
17407fail:
17408 return NULL;
17409}
17410
17411
17412SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj = 0;
17414 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17415 wxWindow *arg2 = (wxWindow *) 0 ;
17416 int arg3 = (int) -1 ;
17417 wxString const &arg4_defvalue = wxPyEmptyString ;
17418 wxString *arg4 = (wxString *) &arg4_defvalue ;
17419 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17420 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17421 wxSize const &arg6_defvalue = wxDefaultSize ;
17422 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17423 long arg7 = (long) 0 ;
17424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17426 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17427 wxString *arg9 = (wxString *) &arg9_defvalue ;
17428 bool result;
17429 void *argp1 = 0 ;
17430 int res1 = 0 ;
17431 void *argp2 = 0 ;
17432 int res2 = 0 ;
17433 int val3 ;
17434 int ecode3 = 0 ;
17435 bool temp4 = false ;
17436 wxPoint temp5 ;
17437 wxSize temp6 ;
17438 long val7 ;
17439 int ecode7 = 0 ;
17440 void *argp8 = 0 ;
17441 int res8 = 0 ;
17442 bool temp9 = false ;
17443 PyObject * obj0 = 0 ;
17444 PyObject * obj1 = 0 ;
17445 PyObject * obj2 = 0 ;
17446 PyObject * obj3 = 0 ;
17447 PyObject * obj4 = 0 ;
17448 PyObject * obj5 = 0 ;
17449 PyObject * obj6 = 0 ;
17450 PyObject * obj7 = 0 ;
17451 PyObject * obj8 = 0 ;
17452 char * kwnames[] = {
17453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17454 };
17455
17456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17458 if (!SWIG_IsOK(res1)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17460 }
17461 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17462 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17463 if (!SWIG_IsOK(res2)) {
17464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17465 }
17466 arg2 = reinterpret_cast< wxWindow * >(argp2);
17467 if (obj2) {
17468 ecode3 = SWIG_AsVal_int(obj2, &val3);
17469 if (!SWIG_IsOK(ecode3)) {
17470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17471 }
17472 arg3 = static_cast< int >(val3);
17473 }
17474 if (obj3) {
d14a1e28 17475 {
0085ce49
RD
17476 arg4 = wxString_in_helper(obj3);
17477 if (arg4 == NULL) SWIG_fail;
17478 temp4 = true;
d14a1e28 17479 }
0085ce49
RD
17480 }
17481 if (obj4) {
d14a1e28 17482 {
0085ce49
RD
17483 arg5 = &temp5;
17484 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 17485 }
0085ce49
RD
17486 }
17487 if (obj5) {
d14a1e28 17488 {
0085ce49
RD
17489 arg6 = &temp6;
17490 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17491 }
17492 }
17493 if (obj6) {
17494 ecode7 = SWIG_AsVal_long(obj6, &val7);
17495 if (!SWIG_IsOK(ecode7)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17497 }
17498 arg7 = static_cast< long >(val7);
17499 }
17500 if (obj7) {
17501 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17502 if (!SWIG_IsOK(res8)) {
17503 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17504 }
17505 if (!argp8) {
17506 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 17507 }
0085ce49
RD
17508 arg8 = reinterpret_cast< wxValidator * >(argp8);
17509 }
17510 if (obj8) {
d14a1e28 17511 {
0085ce49
RD
17512 arg9 = wxString_in_helper(obj8);
17513 if (arg9 == NULL) SWIG_fail;
17514 temp9 = true;
d14a1e28 17515 }
0085ce49
RD
17516 }
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 {
17524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17525 }
17526 {
17527 if (temp4)
17528 delete arg4;
17529 }
17530 {
17531 if (temp9)
17532 delete arg9;
17533 }
17534 return resultobj;
17535fail:
17536 {
17537 if (temp4)
17538 delete arg4;
17539 }
17540 {
17541 if (temp9)
17542 delete arg9;
17543 }
17544 return NULL;
d14a1e28
RD
17545}
17546
17547
0085ce49
RD
17548SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17549 PyObject *resultobj = 0;
17550 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17551 bool result;
17552 void *argp1 = 0 ;
17553 int res1 = 0 ;
17554 PyObject *swig_obj[1] ;
17555
17556 if (!args) SWIG_fail;
17557 swig_obj[0] = args;
17558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17559 if (!SWIG_IsOK(res1)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17561 }
17562 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (bool)(arg1)->GetValue();
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 {
17570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17571 }
17572 return resultobj;
17573fail:
17574 return NULL;
17575}
17576
17577
17578SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj = 0;
17580 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17581 bool arg2 ;
17582 void *argp1 = 0 ;
17583 int res1 = 0 ;
17584 bool val2 ;
17585 int ecode2 = 0 ;
17586 PyObject * obj0 = 0 ;
17587 PyObject * obj1 = 0 ;
17588 char * kwnames[] = {
17589 (char *) "self",(char *) "value", NULL
17590 };
17591
17592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17594 if (!SWIG_IsOK(res1)) {
17595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17596 }
17597 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17599 if (!SWIG_IsOK(ecode2)) {
17600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17601 }
17602 arg2 = static_cast< bool >(val2);
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->SetValue(arg2);
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 resultobj = SWIG_Py_Void();
17610 return resultobj;
17611fail:
17612 return NULL;
17613}
17614
17615
17616SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj = 0;
17618 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17619 SwigValueWrapper<wxVisualAttributes > result;
17620 int val1 ;
17621 int ecode1 = 0 ;
17622 PyObject * obj0 = 0 ;
17623 char * kwnames[] = {
17624 (char *) "variant", NULL
17625 };
17626
17627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17628 if (obj0) {
17629 ecode1 = SWIG_AsVal_int(obj0, &val1);
17630 if (!SWIG_IsOK(ecode1)) {
17631 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17632 }
17633 arg1 = static_cast< wxWindowVariant >(val1);
17634 }
17635 {
17636 if (!wxPyCheckForApp()) SWIG_fail;
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17643 return resultobj;
17644fail:
17645 return NULL;
d14a1e28
RD
17646}
17647
17648
0085ce49
RD
17649SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17650 PyObject *obj;
17651 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17652 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17653 return SWIG_Py_Void();
17654}
17655
17656SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17657 return SWIG_Python_InitShadowInstance(args);
17658}
17659
17660SWIGINTERN int SliderNameStr_set(PyObject *) {
17661 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17662 return 1;
17663}
17664
17665
17666SWIGINTERN PyObject *SliderNameStr_get(void) {
17667 PyObject *pyobj = 0;
17668
17669 {
17670#if wxUSE_UNICODE
17671 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17672#else
17673 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17674#endif
17675 }
17676 return pyobj;
17677}
17678
17679
17680SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj = 0;
17682 wxWindow *arg1 = (wxWindow *) 0 ;
17683 int arg2 = (int) -1 ;
17684 int arg3 = (int) 0 ;
17685 int arg4 = (int) 0 ;
17686 int arg5 = (int) 100 ;
17687 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17688 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17689 wxSize const &arg7_defvalue = wxDefaultSize ;
17690 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17691 long arg8 = (long) wxSL_HORIZONTAL ;
17692 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17693 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17694 wxString const &arg10_defvalue = wxPySliderNameStr ;
17695 wxString *arg10 = (wxString *) &arg10_defvalue ;
17696 wxSlider *result = 0 ;
17697 void *argp1 = 0 ;
17698 int res1 = 0 ;
17699 int val2 ;
17700 int ecode2 = 0 ;
17701 int val3 ;
17702 int ecode3 = 0 ;
17703 int val4 ;
17704 int ecode4 = 0 ;
17705 int val5 ;
17706 int ecode5 = 0 ;
17707 wxPoint temp6 ;
17708 wxSize temp7 ;
17709 long val8 ;
17710 int ecode8 = 0 ;
17711 void *argp9 = 0 ;
17712 int res9 = 0 ;
17713 bool temp10 = false ;
17714 PyObject * obj0 = 0 ;
17715 PyObject * obj1 = 0 ;
17716 PyObject * obj2 = 0 ;
17717 PyObject * obj3 = 0 ;
17718 PyObject * obj4 = 0 ;
17719 PyObject * obj5 = 0 ;
17720 PyObject * obj6 = 0 ;
17721 PyObject * obj7 = 0 ;
17722 PyObject * obj8 = 0 ;
17723 PyObject * obj9 = 0 ;
17724 char * kwnames[] = {
17725 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17726 };
17727
17728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17730 if (!SWIG_IsOK(res1)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17732 }
17733 arg1 = reinterpret_cast< wxWindow * >(argp1);
17734 if (obj1) {
17735 ecode2 = SWIG_AsVal_int(obj1, &val2);
17736 if (!SWIG_IsOK(ecode2)) {
17737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17738 }
17739 arg2 = static_cast< int >(val2);
17740 }
17741 if (obj2) {
17742 ecode3 = SWIG_AsVal_int(obj2, &val3);
17743 if (!SWIG_IsOK(ecode3)) {
17744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17745 }
17746 arg3 = static_cast< int >(val3);
17747 }
17748 if (obj3) {
17749 ecode4 = SWIG_AsVal_int(obj3, &val4);
17750 if (!SWIG_IsOK(ecode4)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17752 }
17753 arg4 = static_cast< int >(val4);
17754 }
17755 if (obj4) {
17756 ecode5 = SWIG_AsVal_int(obj4, &val5);
17757 if (!SWIG_IsOK(ecode5)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17759 }
17760 arg5 = static_cast< int >(val5);
17761 }
17762 if (obj5) {
093d3ff1 17763 {
0085ce49
RD
17764 arg6 = &temp6;
17765 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 17766 }
0085ce49
RD
17767 }
17768 if (obj6) {
093d3ff1 17769 {
0085ce49
RD
17770 arg7 = &temp7;
17771 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17772 }
0085ce49
RD
17773 }
17774 if (obj7) {
17775 ecode8 = SWIG_AsVal_long(obj7, &val8);
17776 if (!SWIG_IsOK(ecode8)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17778 }
17779 arg8 = static_cast< long >(val8);
17780 }
17781 if (obj8) {
17782 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17783 if (!SWIG_IsOK(res9)) {
17784 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 17785 }
0085ce49
RD
17786 if (!argp9) {
17787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 17788 }
0085ce49
RD
17789 arg9 = reinterpret_cast< wxValidator * >(argp9);
17790 }
17791 if (obj9) {
4f89f6a3 17792 {
0085ce49
RD
17793 arg10 = wxString_in_helper(obj9);
17794 if (arg10 == NULL) SWIG_fail;
17795 temp10 = true;
4f89f6a3 17796 }
0085ce49
RD
17797 }
17798 {
17799 if (!wxPyCheckForApp()) SWIG_fail;
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17806 {
17807 if (temp10)
17808 delete arg10;
17809 }
17810 return resultobj;
17811fail:
17812 {
17813 if (temp10)
17814 delete arg10;
17815 }
17816 return NULL;
d14a1e28
RD
17817}
17818
17819
0085ce49
RD
17820SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17821 PyObject *resultobj = 0;
17822 wxSlider *result = 0 ;
17823
17824 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17825 {
17826 if (!wxPyCheckForApp()) SWIG_fail;
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (wxSlider *)new wxSlider();
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17833 return resultobj;
17834fail:
17835 return NULL;
17836}
17837
17838
17839SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj = 0;
17841 wxSlider *arg1 = (wxSlider *) 0 ;
17842 wxWindow *arg2 = (wxWindow *) 0 ;
17843 int arg3 = (int) -1 ;
17844 int arg4 = (int) 0 ;
17845 int arg5 = (int) 0 ;
17846 int arg6 = (int) 100 ;
17847 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17848 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17849 wxSize const &arg8_defvalue = wxDefaultSize ;
17850 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17851 long arg9 = (long) wxSL_HORIZONTAL ;
17852 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17853 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17854 wxString const &arg11_defvalue = wxPySliderNameStr ;
17855 wxString *arg11 = (wxString *) &arg11_defvalue ;
17856 bool result;
17857 void *argp1 = 0 ;
17858 int res1 = 0 ;
17859 void *argp2 = 0 ;
17860 int res2 = 0 ;
17861 int val3 ;
17862 int ecode3 = 0 ;
17863 int val4 ;
17864 int ecode4 = 0 ;
17865 int val5 ;
17866 int ecode5 = 0 ;
17867 int val6 ;
17868 int ecode6 = 0 ;
17869 wxPoint temp7 ;
17870 wxSize temp8 ;
17871 long val9 ;
17872 int ecode9 = 0 ;
17873 void *argp10 = 0 ;
17874 int res10 = 0 ;
17875 bool temp11 = false ;
17876 PyObject * obj0 = 0 ;
17877 PyObject * obj1 = 0 ;
17878 PyObject * obj2 = 0 ;
17879 PyObject * obj3 = 0 ;
17880 PyObject * obj4 = 0 ;
17881 PyObject * obj5 = 0 ;
17882 PyObject * obj6 = 0 ;
17883 PyObject * obj7 = 0 ;
17884 PyObject * obj8 = 0 ;
17885 PyObject * obj9 = 0 ;
17886 PyObject * obj10 = 0 ;
17887 char * kwnames[] = {
17888 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17889 };
17890
17891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17893 if (!SWIG_IsOK(res1)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17895 }
17896 arg1 = reinterpret_cast< wxSlider * >(argp1);
17897 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17898 if (!SWIG_IsOK(res2)) {
17899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17900 }
17901 arg2 = reinterpret_cast< wxWindow * >(argp2);
17902 if (obj2) {
17903 ecode3 = SWIG_AsVal_int(obj2, &val3);
17904 if (!SWIG_IsOK(ecode3)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17906 }
17907 arg3 = static_cast< int >(val3);
17908 }
17909 if (obj3) {
17910 ecode4 = SWIG_AsVal_int(obj3, &val4);
17911 if (!SWIG_IsOK(ecode4)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17913 }
17914 arg4 = static_cast< int >(val4);
17915 }
17916 if (obj4) {
17917 ecode5 = SWIG_AsVal_int(obj4, &val5);
17918 if (!SWIG_IsOK(ecode5)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17920 }
17921 arg5 = static_cast< int >(val5);
17922 }
17923 if (obj5) {
17924 ecode6 = SWIG_AsVal_int(obj5, &val6);
17925 if (!SWIG_IsOK(ecode6)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17927 }
17928 arg6 = static_cast< int >(val6);
17929 }
17930 if (obj6) {
093d3ff1 17931 {
0085ce49
RD
17932 arg7 = &temp7;
17933 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d14a1e28 17934 }
0085ce49
RD
17935 }
17936 if (obj7) {
d14a1e28 17937 {
0085ce49
RD
17938 arg8 = &temp8;
17939 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
d14a1e28 17940 }
0085ce49
RD
17941 }
17942 if (obj8) {
17943 ecode9 = SWIG_AsVal_long(obj8, &val9);
17944 if (!SWIG_IsOK(ecode9)) {
17945 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17946 }
17947 arg9 = static_cast< long >(val9);
17948 }
17949 if (obj9) {
17950 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17951 if (!SWIG_IsOK(res10)) {
17952 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 17953 }
0085ce49
RD
17954 if (!argp10) {
17955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 17956 }
0085ce49
RD
17957 arg10 = reinterpret_cast< wxValidator * >(argp10);
17958 }
17959 if (obj10) {
4f89f6a3 17960 {
0085ce49
RD
17961 arg11 = wxString_in_helper(obj10);
17962 if (arg11 == NULL) SWIG_fail;
17963 temp11 = true;
4f89f6a3 17964 }
0085ce49
RD
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 {
17973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17974 }
17975 {
17976 if (temp11)
17977 delete arg11;
17978 }
17979 return resultobj;
17980fail:
17981 {
17982 if (temp11)
17983 delete arg11;
17984 }
17985 return NULL;
d14a1e28
RD
17986}
17987
17988
0085ce49
RD
17989SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17990 PyObject *resultobj = 0;
17991 wxSlider *arg1 = (wxSlider *) 0 ;
17992 int result;
17993 void *argp1 = 0 ;
17994 int res1 = 0 ;
17995 PyObject *swig_obj[1] ;
17996
17997 if (!args) SWIG_fail;
17998 swig_obj[0] = args;
17999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18000 if (!SWIG_IsOK(res1)) {
18001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18002 }
18003 arg1 = reinterpret_cast< wxSlider * >(argp1);
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 result = (int)((wxSlider const *)arg1)->GetValue();
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = SWIG_From_int(static_cast< int >(result));
18011 return resultobj;
18012fail:
18013 return NULL;
18014}
18015
18016
18017SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj = 0;
18019 wxSlider *arg1 = (wxSlider *) 0 ;
18020 int arg2 ;
18021 void *argp1 = 0 ;
18022 int res1 = 0 ;
18023 int val2 ;
18024 int ecode2 = 0 ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char * kwnames[] = {
18028 (char *) "self",(char *) "value", NULL
18029 };
18030
18031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18033 if (!SWIG_IsOK(res1)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18035 }
18036 arg1 = reinterpret_cast< wxSlider * >(argp1);
18037 ecode2 = SWIG_AsVal_int(obj1, &val2);
18038 if (!SWIG_IsOK(ecode2)) {
18039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18040 }
18041 arg2 = static_cast< int >(val2);
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 (arg1)->SetValue(arg2);
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 resultobj = SWIG_Py_Void();
18049 return resultobj;
18050fail:
18051 return NULL;
18052}
18053
18054
18055SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj = 0;
18057 wxSlider *arg1 = (wxSlider *) 0 ;
18058 int arg2 ;
18059 int arg3 ;
18060 void *argp1 = 0 ;
18061 int res1 = 0 ;
18062 int val2 ;
18063 int ecode2 = 0 ;
18064 int val3 ;
18065 int ecode3 = 0 ;
18066 PyObject * obj0 = 0 ;
18067 PyObject * obj1 = 0 ;
18068 PyObject * obj2 = 0 ;
18069 char * kwnames[] = {
18070 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18071 };
18072
18073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18075 if (!SWIG_IsOK(res1)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18077 }
18078 arg1 = reinterpret_cast< wxSlider * >(argp1);
18079 ecode2 = SWIG_AsVal_int(obj1, &val2);
18080 if (!SWIG_IsOK(ecode2)) {
18081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18082 }
18083 arg2 = static_cast< int >(val2);
18084 ecode3 = SWIG_AsVal_int(obj2, &val3);
18085 if (!SWIG_IsOK(ecode3)) {
18086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18087 }
18088 arg3 = static_cast< int >(val3);
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 (arg1)->SetRange(arg2,arg3);
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 resultobj = SWIG_Py_Void();
18096 return resultobj;
18097fail:
18098 return NULL;
d14a1e28
RD
18099}
18100
18101
0085ce49
RD
18102SWIGINTERN PyObject *_wrap_Slider_GetMin(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_GetMin" "', 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)->GetMin();
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;
d14a1e28
RD
18127}
18128
18129
0085ce49
RD
18130SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18131 PyObject *resultobj = 0;
18132 wxSlider *arg1 = (wxSlider *) 0 ;
18133 int result;
18134 void *argp1 = 0 ;
18135 int res1 = 0 ;
18136 PyObject *swig_obj[1] ;
18137
18138 if (!args) SWIG_fail;
18139 swig_obj[0] = args;
18140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18141 if (!SWIG_IsOK(res1)) {
18142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18143 }
18144 arg1 = reinterpret_cast< wxSlider * >(argp1);
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 result = (int)((wxSlider const *)arg1)->GetMax();
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 resultobj = SWIG_From_int(static_cast< int >(result));
18152 return resultobj;
18153fail:
18154 return NULL;
18155}
18156
18157
18158SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj = 0;
18160 wxSlider *arg1 = (wxSlider *) 0 ;
18161 int arg2 ;
18162 void *argp1 = 0 ;
18163 int res1 = 0 ;
18164 int val2 ;
18165 int ecode2 = 0 ;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 char * kwnames[] = {
18169 (char *) "self",(char *) "minValue", NULL
18170 };
18171
18172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18174 if (!SWIG_IsOK(res1)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18176 }
18177 arg1 = reinterpret_cast< wxSlider * >(argp1);
18178 ecode2 = SWIG_AsVal_int(obj1, &val2);
18179 if (!SWIG_IsOK(ecode2)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18181 }
18182 arg2 = static_cast< int >(val2);
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 (arg1)->SetMin(arg2);
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 resultobj = SWIG_Py_Void();
18190 return resultobj;
18191fail:
18192 return NULL;
18193}
18194
18195
18196SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj = 0;
18198 wxSlider *arg1 = (wxSlider *) 0 ;
18199 int arg2 ;
18200 void *argp1 = 0 ;
18201 int res1 = 0 ;
18202 int val2 ;
18203 int ecode2 = 0 ;
18204 PyObject * obj0 = 0 ;
18205 PyObject * obj1 = 0 ;
18206 char * kwnames[] = {
18207 (char *) "self",(char *) "maxValue", NULL
18208 };
18209
18210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18212 if (!SWIG_IsOK(res1)) {
18213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18214 }
18215 arg1 = reinterpret_cast< wxSlider * >(argp1);
18216 ecode2 = SWIG_AsVal_int(obj1, &val2);
18217 if (!SWIG_IsOK(ecode2)) {
18218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18219 }
18220 arg2 = static_cast< int >(val2);
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 (arg1)->SetMax(arg2);
18224 wxPyEndAllowThreads(__tstate);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 resultobj = SWIG_Py_Void();
18228 return resultobj;
18229fail:
18230 return NULL;
18231}
18232
18233
18234SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18235 PyObject *resultobj = 0;
18236 wxSlider *arg1 = (wxSlider *) 0 ;
18237 int arg2 ;
18238 void *argp1 = 0 ;
18239 int res1 = 0 ;
18240 int val2 ;
18241 int ecode2 = 0 ;
18242 PyObject * obj0 = 0 ;
18243 PyObject * obj1 = 0 ;
18244 char * kwnames[] = {
18245 (char *) "self",(char *) "lineSize", NULL
18246 };
18247
18248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18250 if (!SWIG_IsOK(res1)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18252 }
18253 arg1 = reinterpret_cast< wxSlider * >(argp1);
18254 ecode2 = SWIG_AsVal_int(obj1, &val2);
18255 if (!SWIG_IsOK(ecode2)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18257 }
18258 arg2 = static_cast< int >(val2);
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 (arg1)->SetLineSize(arg2);
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 resultobj = SWIG_Py_Void();
18266 return resultobj;
18267fail:
18268 return NULL;
18269}
18270
18271
18272SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj = 0;
18274 wxSlider *arg1 = (wxSlider *) 0 ;
18275 int arg2 ;
18276 void *argp1 = 0 ;
18277 int res1 = 0 ;
18278 int val2 ;
18279 int ecode2 = 0 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char * kwnames[] = {
18283 (char *) "self",(char *) "pageSize", NULL
18284 };
18285
18286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18288 if (!SWIG_IsOK(res1)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18290 }
18291 arg1 = reinterpret_cast< wxSlider * >(argp1);
18292 ecode2 = SWIG_AsVal_int(obj1, &val2);
18293 if (!SWIG_IsOK(ecode2)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18295 }
18296 arg2 = static_cast< int >(val2);
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetPageSize(arg2);
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 resultobj = SWIG_Py_Void();
18304 return resultobj;
18305fail:
18306 return NULL;
d14a1e28
RD
18307}
18308
18309
0085ce49
RD
18310SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18311 PyObject *resultobj = 0;
18312 wxSlider *arg1 = (wxSlider *) 0 ;
18313 int result;
18314 void *argp1 = 0 ;
18315 int res1 = 0 ;
18316 PyObject *swig_obj[1] ;
18317
18318 if (!args) SWIG_fail;
18319 swig_obj[0] = args;
18320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18321 if (!SWIG_IsOK(res1)) {
18322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18323 }
18324 arg1 = reinterpret_cast< wxSlider * >(argp1);
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 result = (int)((wxSlider const *)arg1)->GetLineSize();
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_From_int(static_cast< int >(result));
18332 return resultobj;
18333fail:
18334 return NULL;
d14a1e28
RD
18335}
18336
18337
0085ce49
RD
18338SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18339 PyObject *resultobj = 0;
18340 wxSlider *arg1 = (wxSlider *) 0 ;
18341 int result;
18342 void *argp1 = 0 ;
18343 int res1 = 0 ;
18344 PyObject *swig_obj[1] ;
18345
18346 if (!args) SWIG_fail;
18347 swig_obj[0] = args;
18348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18349 if (!SWIG_IsOK(res1)) {
18350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18351 }
18352 arg1 = reinterpret_cast< wxSlider * >(argp1);
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (int)((wxSlider const *)arg1)->GetPageSize();
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = SWIG_From_int(static_cast< int >(result));
18360 return resultobj;
18361fail:
18362 return NULL;
18363}
18364
18365
18366SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj = 0;
18368 wxSlider *arg1 = (wxSlider *) 0 ;
18369 int arg2 ;
18370 void *argp1 = 0 ;
18371 int res1 = 0 ;
18372 int val2 ;
18373 int ecode2 = 0 ;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj1 = 0 ;
18376 char * kwnames[] = {
18377 (char *) "self",(char *) "lenPixels", NULL
18378 };
18379
18380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18382 if (!SWIG_IsOK(res1)) {
18383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18384 }
18385 arg1 = reinterpret_cast< wxSlider * >(argp1);
18386 ecode2 = SWIG_AsVal_int(obj1, &val2);
18387 if (!SWIG_IsOK(ecode2)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18389 }
18390 arg2 = static_cast< int >(val2);
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 (arg1)->SetThumbLength(arg2);
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 resultobj = SWIG_Py_Void();
18398 return resultobj;
18399fail:
18400 return NULL;
4d5c3d91
RD
18401}
18402
18403
0085ce49
RD
18404SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18405 PyObject *resultobj = 0;
18406 wxSlider *arg1 = (wxSlider *) 0 ;
18407 int result;
18408 void *argp1 = 0 ;
18409 int res1 = 0 ;
18410 PyObject *swig_obj[1] ;
18411
18412 if (!args) SWIG_fail;
18413 swig_obj[0] = args;
18414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18415 if (!SWIG_IsOK(res1)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18417 }
18418 arg1 = reinterpret_cast< wxSlider * >(argp1);
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 resultobj = SWIG_From_int(static_cast< int >(result));
18426 return resultobj;
18427fail:
18428 return NULL;
18429}
18430
18431
18432SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj = 0;
18434 wxSlider *arg1 = (wxSlider *) 0 ;
18435 int arg2 ;
18436 int arg3 = (int) 1 ;
18437 void *argp1 = 0 ;
18438 int res1 = 0 ;
18439 int val2 ;
18440 int ecode2 = 0 ;
18441 int val3 ;
18442 int ecode3 = 0 ;
18443 PyObject * obj0 = 0 ;
18444 PyObject * obj1 = 0 ;
18445 PyObject * obj2 = 0 ;
18446 char * kwnames[] = {
18447 (char *) "self",(char *) "n",(char *) "pos", NULL
18448 };
18449
18450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18452 if (!SWIG_IsOK(res1)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18454 }
18455 arg1 = reinterpret_cast< wxSlider * >(argp1);
18456 ecode2 = SWIG_AsVal_int(obj1, &val2);
18457 if (!SWIG_IsOK(ecode2)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18459 }
18460 arg2 = static_cast< int >(val2);
18461 if (obj2) {
18462 ecode3 = SWIG_AsVal_int(obj2, &val3);
18463 if (!SWIG_IsOK(ecode3)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18465 }
18466 arg3 = static_cast< int >(val3);
18467 }
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 (arg1)->SetTickFreq(arg2,arg3);
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 resultobj = SWIG_Py_Void();
18475 return resultobj;
18476fail:
18477 return NULL;
4896ac9e
RD
18478}
18479
18480
0085ce49
RD
18481SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18482 PyObject *resultobj = 0;
18483 wxSlider *arg1 = (wxSlider *) 0 ;
18484 int result;
18485 void *argp1 = 0 ;
18486 int res1 = 0 ;
18487 PyObject *swig_obj[1] ;
18488
18489 if (!args) SWIG_fail;
18490 swig_obj[0] = args;
18491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18492 if (!SWIG_IsOK(res1)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18494 }
18495 arg1 = reinterpret_cast< wxSlider * >(argp1);
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 resultobj = SWIG_From_int(static_cast< int >(result));
18503 return resultobj;
18504fail:
18505 return NULL;
d14a1e28
RD
18506}
18507
18508
0085ce49
RD
18509SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18510 PyObject *resultobj = 0;
18511 wxSlider *arg1 = (wxSlider *) 0 ;
18512 void *argp1 = 0 ;
18513 int res1 = 0 ;
18514 PyObject *swig_obj[1] ;
18515
18516 if (!args) SWIG_fail;
18517 swig_obj[0] = args;
18518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18519 if (!SWIG_IsOK(res1)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18521 }
18522 arg1 = reinterpret_cast< wxSlider * >(argp1);
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 (arg1)->ClearTicks();
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 resultobj = SWIG_Py_Void();
18530 return resultobj;
18531fail:
18532 return NULL;
18533}
18534
18535
18536SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj = 0;
18538 wxSlider *arg1 = (wxSlider *) 0 ;
18539 int arg2 ;
18540 void *argp1 = 0 ;
18541 int res1 = 0 ;
18542 int val2 ;
18543 int ecode2 = 0 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char * kwnames[] = {
18547 (char *) "self",(char *) "tickPos", NULL
18548 };
18549
18550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18552 if (!SWIG_IsOK(res1)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18554 }
18555 arg1 = reinterpret_cast< wxSlider * >(argp1);
18556 ecode2 = SWIG_AsVal_int(obj1, &val2);
18557 if (!SWIG_IsOK(ecode2)) {
18558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18559 }
18560 arg2 = static_cast< int >(val2);
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->SetTick(arg2);
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 resultobj = SWIG_Py_Void();
18568 return resultobj;
18569fail:
18570 return NULL;
d14a1e28
RD
18571}
18572
18573
0085ce49
RD
18574SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18575 PyObject *resultobj = 0;
18576 wxSlider *arg1 = (wxSlider *) 0 ;
18577 void *argp1 = 0 ;
18578 int res1 = 0 ;
18579 PyObject *swig_obj[1] ;
18580
18581 if (!args) SWIG_fail;
18582 swig_obj[0] = args;
18583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18584 if (!SWIG_IsOK(res1)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18586 }
18587 arg1 = reinterpret_cast< wxSlider * >(argp1);
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->ClearSel();
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 resultobj = SWIG_Py_Void();
18595 return resultobj;
18596fail:
18597 return NULL;
d14a1e28
RD
18598}
18599
18600
0085ce49
RD
18601SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18602 PyObject *resultobj = 0;
18603 wxSlider *arg1 = (wxSlider *) 0 ;
18604 int result;
18605 void *argp1 = 0 ;
18606 int res1 = 0 ;
18607 PyObject *swig_obj[1] ;
18608
18609 if (!args) SWIG_fail;
18610 swig_obj[0] = args;
18611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18612 if (!SWIG_IsOK(res1)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18614 }
18615 arg1 = reinterpret_cast< wxSlider * >(argp1);
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 resultobj = SWIG_From_int(static_cast< int >(result));
18623 return resultobj;
18624fail:
18625 return NULL;
d14a1e28
RD
18626}
18627
18628
0085ce49
RD
18629SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18630 PyObject *resultobj = 0;
18631 wxSlider *arg1 = (wxSlider *) 0 ;
18632 int result;
18633 void *argp1 = 0 ;
18634 int res1 = 0 ;
18635 PyObject *swig_obj[1] ;
18636
18637 if (!args) SWIG_fail;
18638 swig_obj[0] = args;
18639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18640 if (!SWIG_IsOK(res1)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18642 }
18643 arg1 = reinterpret_cast< wxSlider * >(argp1);
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (int)((wxSlider const *)arg1)->GetSelStart();
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = SWIG_From_int(static_cast< int >(result));
18651 return resultobj;
18652fail:
18653 return NULL;
18654}
18655
18656
18657SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj = 0;
18659 wxSlider *arg1 = (wxSlider *) 0 ;
18660 int arg2 ;
18661 int arg3 ;
18662 void *argp1 = 0 ;
18663 int res1 = 0 ;
18664 int val2 ;
18665 int ecode2 = 0 ;
18666 int val3 ;
18667 int ecode3 = 0 ;
18668 PyObject * obj0 = 0 ;
18669 PyObject * obj1 = 0 ;
18670 PyObject * obj2 = 0 ;
18671 char * kwnames[] = {
18672 (char *) "self",(char *) "min",(char *) "max", NULL
18673 };
18674
18675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18677 if (!SWIG_IsOK(res1)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18679 }
18680 arg1 = reinterpret_cast< wxSlider * >(argp1);
18681 ecode2 = SWIG_AsVal_int(obj1, &val2);
18682 if (!SWIG_IsOK(ecode2)) {
18683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18684 }
18685 arg2 = static_cast< int >(val2);
18686 ecode3 = SWIG_AsVal_int(obj2, &val3);
18687 if (!SWIG_IsOK(ecode3)) {
18688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18689 }
18690 arg3 = static_cast< int >(val3);
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 (arg1)->SetSelection(arg2,arg3);
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
18697 resultobj = SWIG_Py_Void();
18698 return resultobj;
18699fail:
18700 return NULL;
18701}
18702
18703
18704SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18705 PyObject *resultobj = 0;
18706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18707 SwigValueWrapper<wxVisualAttributes > result;
18708 int val1 ;
18709 int ecode1 = 0 ;
18710 PyObject * obj0 = 0 ;
18711 char * kwnames[] = {
18712 (char *) "variant", NULL
18713 };
18714
18715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18716 if (obj0) {
18717 ecode1 = SWIG_AsVal_int(obj0, &val1);
18718 if (!SWIG_IsOK(ecode1)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18720 }
18721 arg1 = static_cast< wxWindowVariant >(val1);
18722 }
18723 {
18724 if (!wxPyCheckForApp()) SWIG_fail;
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = wxSlider::GetClassDefaultAttributes(arg1);
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18731 return resultobj;
18732fail:
18733 return NULL;
d14a1e28
RD
18734}
18735
18736
0085ce49
RD
18737SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18738 PyObject *obj;
18739 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18740 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18741 return SWIG_Py_Void();
d14a1e28
RD
18742}
18743
0085ce49
RD
18744SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18745 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
18746}
18747
0085ce49
RD
18748SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18749 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18750 return 1;
d14a1e28
RD
18751}
18752
18753
0085ce49
RD
18754SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18755 PyObject *pyobj = 0;
18756
18757 {
18758#if wxUSE_UNICODE
18759 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18760#else
18761 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18762#endif
18763 }
18764 return pyobj;
18765}
18766
18767
18768SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj = 0;
18770 wxWindow *arg1 = (wxWindow *) 0 ;
18771 int arg2 = (int) -1 ;
18772 wxString const &arg3_defvalue = wxPyEmptyString ;
18773 wxString *arg3 = (wxString *) &arg3_defvalue ;
18774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18776 wxSize const &arg5_defvalue = wxDefaultSize ;
18777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18778 long arg6 = (long) 0 ;
18779 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18780 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18781 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18782 wxString *arg8 = (wxString *) &arg8_defvalue ;
18783 wxToggleButton *result = 0 ;
18784 void *argp1 = 0 ;
18785 int res1 = 0 ;
18786 int val2 ;
18787 int ecode2 = 0 ;
18788 bool temp3 = false ;
18789 wxPoint temp4 ;
18790 wxSize temp5 ;
18791 long val6 ;
18792 int ecode6 = 0 ;
18793 void *argp7 = 0 ;
18794 int res7 = 0 ;
18795 bool temp8 = false ;
18796 PyObject * obj0 = 0 ;
18797 PyObject * obj1 = 0 ;
18798 PyObject * obj2 = 0 ;
18799 PyObject * obj3 = 0 ;
18800 PyObject * obj4 = 0 ;
18801 PyObject * obj5 = 0 ;
18802 PyObject * obj6 = 0 ;
18803 PyObject * obj7 = 0 ;
18804 char * kwnames[] = {
18805 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18806 };
18807
18808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18810 if (!SWIG_IsOK(res1)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18812 }
18813 arg1 = reinterpret_cast< wxWindow * >(argp1);
18814 if (obj1) {
18815 ecode2 = SWIG_AsVal_int(obj1, &val2);
18816 if (!SWIG_IsOK(ecode2)) {
18817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18818 }
18819 arg2 = static_cast< int >(val2);
18820 }
18821 if (obj2) {
d14a1e28 18822 {
0085ce49
RD
18823 arg3 = wxString_in_helper(obj2);
18824 if (arg3 == NULL) SWIG_fail;
18825 temp3 = true;
d14a1e28 18826 }
0085ce49
RD
18827 }
18828 if (obj3) {
4f89f6a3 18829 {
0085ce49
RD
18830 arg4 = &temp4;
18831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 18832 }
0085ce49
RD
18833 }
18834 if (obj4) {
d14a1e28 18835 {
0085ce49
RD
18836 arg5 = &temp5;
18837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 18838 }
0085ce49
RD
18839 }
18840 if (obj5) {
18841 ecode6 = SWIG_AsVal_long(obj5, &val6);
18842 if (!SWIG_IsOK(ecode6)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18844 }
18845 arg6 = static_cast< long >(val6);
18846 }
18847 if (obj6) {
18848 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18849 if (!SWIG_IsOK(res7)) {
18850 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 18851 }
0085ce49
RD
18852 if (!argp7) {
18853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 18854 }
0085ce49
RD
18855 arg7 = reinterpret_cast< wxValidator * >(argp7);
18856 }
18857 if (obj7) {
d14a1e28 18858 {
0085ce49
RD
18859 arg8 = wxString_in_helper(obj7);
18860 if (arg8 == NULL) SWIG_fail;
18861 temp8 = true;
d14a1e28 18862 }
0085ce49
RD
18863 }
18864 {
18865 if (!wxPyCheckForApp()) SWIG_fail;
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18872 {
18873 if (temp3)
18874 delete arg3;
18875 }
18876 {
18877 if (temp8)
18878 delete arg8;
18879 }
18880 return resultobj;
18881fail:
18882 {
18883 if (temp3)
18884 delete arg3;
18885 }
18886 {
18887 if (temp8)
18888 delete arg8;
18889 }
18890 return NULL;
d14a1e28
RD
18891}
18892
18893
0085ce49
RD
18894SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18895 PyObject *resultobj = 0;
18896 wxToggleButton *result = 0 ;
18897
18898 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18899 {
18900 if (!wxPyCheckForApp()) SWIG_fail;
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 result = (wxToggleButton *)new wxToggleButton();
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18907 return resultobj;
18908fail:
18909 return NULL;
18910}
18911
18912
18913SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj = 0;
18915 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18916 wxWindow *arg2 = (wxWindow *) 0 ;
18917 int arg3 = (int) -1 ;
18918 wxString const &arg4_defvalue = wxPyEmptyString ;
18919 wxString *arg4 = (wxString *) &arg4_defvalue ;
18920 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18921 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18922 wxSize const &arg6_defvalue = wxDefaultSize ;
18923 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18924 long arg7 = (long) 0 ;
18925 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18926 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18927 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18928 wxString *arg9 = (wxString *) &arg9_defvalue ;
18929 bool result;
18930 void *argp1 = 0 ;
18931 int res1 = 0 ;
18932 void *argp2 = 0 ;
18933 int res2 = 0 ;
18934 int val3 ;
18935 int ecode3 = 0 ;
18936 bool temp4 = false ;
18937 wxPoint temp5 ;
18938 wxSize temp6 ;
18939 long val7 ;
18940 int ecode7 = 0 ;
18941 void *argp8 = 0 ;
18942 int res8 = 0 ;
18943 bool temp9 = false ;
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 PyObject * obj2 = 0 ;
18947 PyObject * obj3 = 0 ;
18948 PyObject * obj4 = 0 ;
18949 PyObject * obj5 = 0 ;
18950 PyObject * obj6 = 0 ;
18951 PyObject * obj7 = 0 ;
18952 PyObject * obj8 = 0 ;
18953 char * kwnames[] = {
18954 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18955 };
18956
18957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18959 if (!SWIG_IsOK(res1)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18961 }
18962 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18963 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18964 if (!SWIG_IsOK(res2)) {
18965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18966 }
18967 arg2 = reinterpret_cast< wxWindow * >(argp2);
18968 if (obj2) {
18969 ecode3 = SWIG_AsVal_int(obj2, &val3);
18970 if (!SWIG_IsOK(ecode3)) {
18971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18972 }
18973 arg3 = static_cast< int >(val3);
18974 }
18975 if (obj3) {
d14a1e28 18976 {
0085ce49
RD
18977 arg4 = wxString_in_helper(obj3);
18978 if (arg4 == NULL) SWIG_fail;
18979 temp4 = true;
d14a1e28 18980 }
0085ce49
RD
18981 }
18982 if (obj4) {
d14a1e28 18983 {
0085ce49
RD
18984 arg5 = &temp5;
18985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 18986 }
0085ce49
RD
18987 }
18988 if (obj5) {
093d3ff1 18989 {
0085ce49
RD
18990 arg6 = &temp6;
18991 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18992 }
0085ce49
RD
18993 }
18994 if (obj6) {
18995 ecode7 = SWIG_AsVal_long(obj6, &val7);
18996 if (!SWIG_IsOK(ecode7)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18998 }
18999 arg7 = static_cast< long >(val7);
19000 }
19001 if (obj7) {
19002 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19003 if (!SWIG_IsOK(res8)) {
19004 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19005 }
19006 if (!argp8) {
19007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 19008 }
0085ce49
RD
19009 arg8 = reinterpret_cast< wxValidator * >(argp8);
19010 }
19011 if (obj8) {
093d3ff1 19012 {
0085ce49
RD
19013 arg9 = wxString_in_helper(obj8);
19014 if (arg9 == NULL) SWIG_fail;
19015 temp9 = true;
093d3ff1 19016 }
0085ce49
RD
19017 }
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 {
19025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19026 }
19027 {
19028 if (temp4)
19029 delete arg4;
19030 }
19031 {
19032 if (temp9)
19033 delete arg9;
19034 }
19035 return resultobj;
19036fail:
19037 {
19038 if (temp4)
19039 delete arg4;
19040 }
19041 {
19042 if (temp9)
19043 delete arg9;
19044 }
19045 return NULL;
19046}
19047
19048
19049SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj = 0;
19051 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19052 bool arg2 ;
19053 void *argp1 = 0 ;
19054 int res1 = 0 ;
19055 bool val2 ;
19056 int ecode2 = 0 ;
19057 PyObject * obj0 = 0 ;
19058 PyObject * obj1 = 0 ;
19059 char * kwnames[] = {
19060 (char *) "self",(char *) "value", NULL
19061 };
19062
19063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19067 }
19068 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19069 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19070 if (!SWIG_IsOK(ecode2)) {
19071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19072 }
19073 arg2 = static_cast< bool >(val2);
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 (arg1)->SetValue(arg2);
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 resultobj = SWIG_Py_Void();
19081 return resultobj;
19082fail:
19083 return NULL;
d14a1e28
RD
19084}
19085
19086
0085ce49
RD
19087SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19088 PyObject *resultobj = 0;
19089 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19090 bool result;
19091 void *argp1 = 0 ;
19092 int res1 = 0 ;
19093 PyObject *swig_obj[1] ;
19094
19095 if (!args) SWIG_fail;
19096 swig_obj[0] = args;
19097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19098 if (!SWIG_IsOK(res1)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19100 }
19101 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 {
19109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19110 }
19111 return resultobj;
19112fail:
19113 return NULL;
d14a1e28
RD
19114}
19115
19116
0085ce49
RD
19117SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj = 0;
19119 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19120 SwigValueWrapper<wxVisualAttributes > result;
19121 int val1 ;
19122 int ecode1 = 0 ;
19123 PyObject * obj0 = 0 ;
19124 char * kwnames[] = {
19125 (char *) "variant", NULL
19126 };
19127
19128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19129 if (obj0) {
19130 ecode1 = SWIG_AsVal_int(obj0, &val1);
19131 if (!SWIG_IsOK(ecode1)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19133 }
19134 arg1 = static_cast< wxWindowVariant >(val1);
19135 }
19136 {
19137 if (!wxPyCheckForApp()) SWIG_fail;
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19144 return resultobj;
19145fail:
19146 return NULL;
d14a1e28
RD
19147}
19148
19149
0085ce49
RD
19150SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19151 PyObject *obj;
19152 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19153 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19154 return SWIG_Py_Void();
d14a1e28
RD
19155}
19156
0085ce49
RD
19157SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19158 return SWIG_Python_InitShadowInstance(args);
19159}
d14a1e28 19160
0085ce49
RD
19161SWIGINTERN int NotebookNameStr_set(PyObject *) {
19162 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19163 return 1;
d14a1e28
RD
19164}
19165
19166
0085ce49
RD
19167SWIGINTERN PyObject *NotebookNameStr_get(void) {
19168 PyObject *pyobj = 0;
19169
19170 {
d14a1e28 19171#if wxUSE_UNICODE
0085ce49 19172 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d14a1e28 19173#else
0085ce49 19174 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d14a1e28 19175#endif
0085ce49
RD
19176 }
19177 return pyobj;
d14a1e28
RD
19178}
19179
19180
0085ce49
RD
19181SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19182 PyObject *resultobj = 0;
19183 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19184 size_t result;
19185 void *argp1 = 0 ;
19186 int res1 = 0 ;
19187 PyObject *swig_obj[1] ;
19188
19189 if (!args) SWIG_fail;
19190 swig_obj[0] = args;
19191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19192 if (!SWIG_IsOK(res1)) {
19193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19194 }
19195 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19196 {
19197 PyThreadState* __tstate = wxPyBeginAllowThreads();
19198 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19203 return resultobj;
19204fail:
19205 return NULL;
19206}
19207
19208
19209SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj = 0;
19211 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19212 size_t arg2 ;
19213 wxWindow *result = 0 ;
19214 void *argp1 = 0 ;
19215 int res1 = 0 ;
19216 size_t val2 ;
19217 int ecode2 = 0 ;
19218 PyObject * obj0 = 0 ;
19219 PyObject * obj1 = 0 ;
19220 char * kwnames[] = {
19221 (char *) "self",(char *) "n", NULL
19222 };
19223
19224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19226 if (!SWIG_IsOK(res1)) {
19227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19228 }
19229 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19230 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19231 if (!SWIG_IsOK(ecode2)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19233 }
19234 arg2 = static_cast< size_t >(val2);
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 result = (wxWindow *)(arg1)->GetPage(arg2);
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 {
19242 resultobj = wxPyMake_wxObject(result, 0);
19243 }
19244 return resultobj;
19245fail:
19246 return NULL;
22bfe96c
RD
19247}
19248
19249
0085ce49
RD
19250SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19251 PyObject *resultobj = 0;
19252 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19253 wxWindow *result = 0 ;
19254 void *argp1 = 0 ;
19255 int res1 = 0 ;
19256 PyObject *swig_obj[1] ;
19257
19258 if (!args) SWIG_fail;
19259 swig_obj[0] = args;
19260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19261 if (!SWIG_IsOK(res1)) {
19262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19263 }
19264 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19265 {
19266 PyThreadState* __tstate = wxPyBeginAllowThreads();
19267 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 resultobj = wxPyMake_wxObject(result, 0);
19273 }
19274 return resultobj;
19275fail:
19276 return NULL;
d14a1e28
RD
19277}
19278
19279
0085ce49
RD
19280SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19281 PyObject *resultobj = 0;
19282 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19283 int result;
19284 void *argp1 = 0 ;
19285 int res1 = 0 ;
19286 PyObject *swig_obj[1] ;
19287
19288 if (!args) SWIG_fail;
19289 swig_obj[0] = args;
19290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19291 if (!SWIG_IsOK(res1)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19293 }
19294 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 resultobj = SWIG_From_int(static_cast< int >(result));
19302 return resultobj;
19303fail:
19304 return NULL;
19305}
19306
19307
19308SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19309 PyObject *resultobj = 0;
19310 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19311 size_t arg2 ;
19312 wxString *arg3 = 0 ;
19313 bool result;
19314 void *argp1 = 0 ;
19315 int res1 = 0 ;
19316 size_t val2 ;
19317 int ecode2 = 0 ;
19318 bool temp3 = false ;
19319 PyObject * obj0 = 0 ;
19320 PyObject * obj1 = 0 ;
19321 PyObject * obj2 = 0 ;
19322 char * kwnames[] = {
19323 (char *) "self",(char *) "n",(char *) "strText", NULL
19324 };
19325
19326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19328 if (!SWIG_IsOK(res1)) {
19329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19330 }
19331 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19332 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19333 if (!SWIG_IsOK(ecode2)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19335 }
19336 arg2 = static_cast< size_t >(val2);
19337 {
19338 arg3 = wxString_in_helper(obj2);
19339 if (arg3 == NULL) SWIG_fail;
19340 temp3 = true;
19341 }
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 {
19349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19350 }
19351 {
19352 if (temp3)
19353 delete arg3;
19354 }
19355 return resultobj;
19356fail:
19357 {
19358 if (temp3)
19359 delete arg3;
19360 }
19361 return NULL;
19362}
19363
19364
19365SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj = 0;
19367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19368 size_t arg2 ;
19369 wxString result;
19370 void *argp1 = 0 ;
19371 int res1 = 0 ;
19372 size_t val2 ;
19373 int ecode2 = 0 ;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char * kwnames[] = {
19377 (char *) "self",(char *) "n", NULL
19378 };
19379
19380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",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_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19384 }
19385 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19386 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19387 if (!SWIG_IsOK(ecode2)) {
19388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19389 }
19390 arg2 = static_cast< size_t >(val2);
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 {
19398#if wxUSE_UNICODE
19399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19400#else
19401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19402#endif
19403 }
19404 return resultobj;
19405fail:
19406 return NULL;
19407}
19408
19409
19410SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj = 0;
19412 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19413 wxImageList *arg2 = (wxImageList *) 0 ;
19414 void *argp1 = 0 ;
19415 int res1 = 0 ;
19416 void *argp2 = 0 ;
19417 int res2 = 0 ;
19418 PyObject * obj0 = 0 ;
19419 PyObject * obj1 = 0 ;
19420 char * kwnames[] = {
19421 (char *) "self",(char *) "imageList", NULL
19422 };
19423
19424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19426 if (!SWIG_IsOK(res1)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19428 }
19429 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19431 if (!SWIG_IsOK(res2)) {
19432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19433 }
19434 arg2 = reinterpret_cast< wxImageList * >(argp2);
19435 {
19436 PyThreadState* __tstate = wxPyBeginAllowThreads();
19437 (arg1)->SetImageList(arg2);
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 resultobj = SWIG_Py_Void();
19442 return resultobj;
19443fail:
19444 return NULL;
19445}
19446
19447
19448SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj = 0;
19450 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19451 wxImageList *arg2 = (wxImageList *) 0 ;
19452 void *argp1 = 0 ;
19453 int res1 = 0 ;
19454 int res2 = 0 ;
19455 PyObject * obj0 = 0 ;
19456 PyObject * obj1 = 0 ;
19457 char * kwnames[] = {
19458 (char *) "self",(char *) "imageList", NULL
19459 };
19460
19461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19463 if (!SWIG_IsOK(res1)) {
19464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19465 }
19466 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19467 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19468 if (!SWIG_IsOK(res2)) {
19469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19470 }
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 (arg1)->AssignImageList(arg2);
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 resultobj = SWIG_Py_Void();
19478 return resultobj;
19479fail:
19480 return NULL;
d14a1e28
RD
19481}
19482
19483
0085ce49
RD
19484SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19485 PyObject *resultobj = 0;
19486 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19487 wxImageList *result = 0 ;
19488 void *argp1 = 0 ;
19489 int res1 = 0 ;
19490 PyObject *swig_obj[1] ;
19491
19492 if (!args) SWIG_fail;
19493 swig_obj[0] = args;
19494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19495 if (!SWIG_IsOK(res1)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19497 }
19498 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
3ecece7e
RD
19505 {
19506 resultobj = wxPyMake_wxObject(result, (bool)0);
19507 }
0085ce49
RD
19508 return resultobj;
19509fail:
19510 return NULL;
19511}
19512
19513
19514SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19515 PyObject *resultobj = 0;
19516 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19517 size_t arg2 ;
19518 int result;
19519 void *argp1 = 0 ;
19520 int res1 = 0 ;
19521 size_t val2 ;
19522 int ecode2 = 0 ;
19523 PyObject * obj0 = 0 ;
19524 PyObject * obj1 = 0 ;
19525 char * kwnames[] = {
19526 (char *) "self",(char *) "n", NULL
19527 };
19528
19529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19531 if (!SWIG_IsOK(res1)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19533 }
19534 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19535 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19536 if (!SWIG_IsOK(ecode2)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19538 }
19539 arg2 = static_cast< size_t >(val2);
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 resultobj = SWIG_From_int(static_cast< int >(result));
19547 return resultobj;
19548fail:
19549 return NULL;
19550}
19551
19552
19553SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj = 0;
19555 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19556 size_t arg2 ;
19557 int arg3 ;
19558 bool result;
19559 void *argp1 = 0 ;
19560 int res1 = 0 ;
19561 size_t val2 ;
19562 int ecode2 = 0 ;
19563 int val3 ;
19564 int ecode3 = 0 ;
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 PyObject * obj2 = 0 ;
19568 char * kwnames[] = {
19569 (char *) "self",(char *) "n",(char *) "imageId", NULL
19570 };
19571
19572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19574 if (!SWIG_IsOK(res1)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19576 }
19577 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19578 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19579 if (!SWIG_IsOK(ecode2)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19581 }
19582 arg2 = static_cast< size_t >(val2);
19583 ecode3 = SWIG_AsVal_int(obj2, &val3);
19584 if (!SWIG_IsOK(ecode3)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19586 }
19587 arg3 = static_cast< int >(val3);
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 {
19595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19596 }
19597 return resultobj;
19598fail:
19599 return NULL;
19600}
19601
19602
19603SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj = 0;
19605 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19606 wxSize *arg2 = 0 ;
19607 void *argp1 = 0 ;
19608 int res1 = 0 ;
19609 wxSize temp2 ;
19610 PyObject * obj0 = 0 ;
19611 PyObject * obj1 = 0 ;
19612 char * kwnames[] = {
19613 (char *) "self",(char *) "size", NULL
19614 };
19615
19616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",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_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19620 }
19621 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19622 {
19623 arg2 = &temp2;
19624 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19625 }
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 (arg1)->SetPageSize((wxSize const &)*arg2);
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 resultobj = SWIG_Py_Void();
19633 return resultobj;
19634fail:
19635 return NULL;
19636}
19637
19638
19639SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj = 0;
19641 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19642 wxSize *arg2 = 0 ;
19643 wxSize result;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 wxSize temp2 ;
19647 PyObject * obj0 = 0 ;
19648 PyObject * obj1 = 0 ;
19649 char * kwnames[] = {
19650 (char *) "self",(char *) "sizePage", NULL
19651 };
19652
19653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19655 if (!SWIG_IsOK(res1)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19657 }
19658 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19659 {
19660 arg2 = &temp2;
19661 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19662 }
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19670 return resultobj;
19671fail:
19672 return NULL;
d14a1e28
RD
19673}
19674
19675
0085ce49
RD
19676SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19677 PyObject *resultobj = 0;
19678 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19679 unsigned int result;
0085ce49
RD
19680 void *argp1 = 0 ;
19681 int res1 = 0 ;
19682 PyObject *swig_obj[1] ;
19683
19684 if (!args) SWIG_fail;
19685 swig_obj[0] = args;
19686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19687 if (!SWIG_IsOK(res1)) {
19688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19689 }
19690 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19693 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
0085ce49
RD
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
e9d6f3a4 19697 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
19698 return resultobj;
19699fail:
19700 return NULL;
19701}
19702
19703
19704SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj = 0;
19706 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19707 unsigned int arg2 ;
0085ce49
RD
19708 void *argp1 = 0 ;
19709 int res1 = 0 ;
e9d6f3a4 19710 unsigned int val2 ;
0085ce49
RD
19711 int ecode2 = 0 ;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714 char * kwnames[] = {
19715 (char *) "self",(char *) "internalBorder", NULL
19716 };
19717
19718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19720 if (!SWIG_IsOK(res1)) {
19721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19722 }
19723 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19724 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 19725 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 19727 }
e9d6f3a4 19728 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 (arg1)->SetInternalBorder(arg2);
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_Py_Void();
19736 return resultobj;
19737fail:
19738 return NULL;
b2dc1044
RD
19739}
19740
19741
0085ce49
RD
19742SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19743 PyObject *resultobj = 0;
19744 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19745 bool result;
19746 void *argp1 = 0 ;
19747 int res1 = 0 ;
19748 PyObject *swig_obj[1] ;
19749
19750 if (!args) SWIG_fail;
19751 swig_obj[0] = args;
19752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19753 if (!SWIG_IsOK(res1)) {
19754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19755 }
19756 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 {
19764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19765 }
19766 return resultobj;
19767fail:
19768 return NULL;
19769}
19770
19771
e9d6f3a4
RD
19772SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj = 0;
19774 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19775 int arg2 ;
19776 void *argp1 = 0 ;
19777 int res1 = 0 ;
19778 int val2 ;
19779 int ecode2 = 0 ;
19780 PyObject * obj0 = 0 ;
19781 PyObject * obj1 = 0 ;
19782 char * kwnames[] = {
19783 (char *) "self",(char *) "margin", NULL
19784 };
19785
19786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19788 if (!SWIG_IsOK(res1)) {
19789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19790 }
19791 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19792 ecode2 = SWIG_AsVal_int(obj1, &val2);
19793 if (!SWIG_IsOK(ecode2)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19795 }
19796 arg2 = static_cast< int >(val2);
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 (arg1)->SetControlMargin(arg2);
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 resultobj = SWIG_Py_Void();
19804 return resultobj;
19805fail:
19806 return NULL;
19807}
19808
19809
19810SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19811 PyObject *resultobj = 0;
19812 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19813 int result;
19814 void *argp1 = 0 ;
19815 int res1 = 0 ;
19816 PyObject *swig_obj[1] ;
19817
19818 if (!args) SWIG_fail;
19819 swig_obj[0] = args;
19820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19821 if (!SWIG_IsOK(res1)) {
19822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19823 }
19824 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 resultobj = SWIG_From_int(static_cast< int >(result));
19832 return resultobj;
19833fail:
19834 return NULL;
19835}
19836
19837
0085ce49
RD
19838SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj = 0;
19840 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19841 bool arg2 ;
19842 void *argp1 = 0 ;
19843 int res1 = 0 ;
19844 bool val2 ;
19845 int ecode2 = 0 ;
19846 PyObject * obj0 = 0 ;
19847 PyObject * obj1 = 0 ;
19848 char * kwnames[] = {
19849 (char *) "self",(char *) "fit", NULL
19850 };
19851
19852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19854 if (!SWIG_IsOK(res1)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19856 }
19857 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19858 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19859 if (!SWIG_IsOK(ecode2)) {
19860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19861 }
19862 arg2 = static_cast< bool >(val2);
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 (arg1)->SetFitToCurrentPage(arg2);
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = SWIG_Py_Void();
19870 return resultobj;
19871fail:
19872 return NULL;
d14a1e28
RD
19873}
19874
19875
0085ce49
RD
19876SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19877 PyObject *resultobj = 0;
19878 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19879 bool result;
19880 void *argp1 = 0 ;
19881 int res1 = 0 ;
19882 PyObject *swig_obj[1] ;
19883
19884 if (!args) SWIG_fail;
19885 swig_obj[0] = args;
19886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19887 if (!SWIG_IsOK(res1)) {
19888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19889 }
19890 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 {
19898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19899 }
19900 return resultobj;
19901fail:
19902 return NULL;
19903}
19904
19905
e9d6f3a4
RD
19906SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19907 PyObject *resultobj = 0;
19908 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19909 wxSizer *result = 0 ;
19910 void *argp1 = 0 ;
19911 int res1 = 0 ;
19912 PyObject *swig_obj[1] ;
19913
19914 if (!args) SWIG_fail;
19915 swig_obj[0] = args;
19916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19917 if (!SWIG_IsOK(res1)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19919 }
19920 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 {
19928 resultobj = wxPyMake_wxObject(result, (bool)0);
19929 }
19930 return resultobj;
19931fail:
19932 return NULL;
19933}
19934
19935
0085ce49
RD
19936SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj = 0;
19938 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19939 size_t arg2 ;
19940 bool result;
19941 void *argp1 = 0 ;
19942 int res1 = 0 ;
19943 size_t val2 ;
19944 int ecode2 = 0 ;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 char * kwnames[] = {
19948 (char *) "self",(char *) "n", NULL
19949 };
19950
19951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19953 if (!SWIG_IsOK(res1)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19955 }
19956 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19957 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19958 if (!SWIG_IsOK(ecode2)) {
19959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19960 }
19961 arg2 = static_cast< size_t >(val2);
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 result = (bool)(arg1)->DeletePage(arg2);
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 {
19969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19970 }
19971 return resultobj;
19972fail:
19973 return NULL;
19974}
19975
19976
19977SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj = 0;
19979 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19980 size_t arg2 ;
19981 bool result;
19982 void *argp1 = 0 ;
19983 int res1 = 0 ;
19984 size_t val2 ;
19985 int ecode2 = 0 ;
19986 PyObject * obj0 = 0 ;
19987 PyObject * obj1 = 0 ;
19988 char * kwnames[] = {
19989 (char *) "self",(char *) "n", NULL
19990 };
19991
19992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19994 if (!SWIG_IsOK(res1)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19996 }
19997 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19998 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19999 if (!SWIG_IsOK(ecode2)) {
20000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20001 }
20002 arg2 = static_cast< size_t >(val2);
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 result = (bool)(arg1)->RemovePage(arg2);
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 {
20010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20011 }
20012 return resultobj;
20013fail:
20014 return NULL;
d14a1e28
RD
20015}
20016
20017
0085ce49
RD
20018SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20019 PyObject *resultobj = 0;
20020 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20021 bool result;
20022 void *argp1 = 0 ;
20023 int res1 = 0 ;
20024 PyObject *swig_obj[1] ;
20025
20026 if (!args) SWIG_fail;
20027 swig_obj[0] = args;
20028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20029 if (!SWIG_IsOK(res1)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20031 }
20032 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 result = (bool)(arg1)->DeleteAllPages();
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 {
20040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20041 }
20042 return resultobj;
20043fail:
20044 return NULL;
20045}
20046
20047
20048SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj = 0;
20050 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20051 wxWindow *arg2 = (wxWindow *) 0 ;
20052 wxString *arg3 = 0 ;
20053 bool arg4 = (bool) false ;
20054 int arg5 = (int) -1 ;
20055 bool result;
20056 void *argp1 = 0 ;
20057 int res1 = 0 ;
20058 void *argp2 = 0 ;
20059 int res2 = 0 ;
20060 bool temp3 = false ;
20061 bool val4 ;
20062 int ecode4 = 0 ;
20063 int val5 ;
20064 int ecode5 = 0 ;
20065 PyObject * obj0 = 0 ;
20066 PyObject * obj1 = 0 ;
20067 PyObject * obj2 = 0 ;
20068 PyObject * obj3 = 0 ;
20069 PyObject * obj4 = 0 ;
20070 char * kwnames[] = {
20071 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20072 };
20073
20074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20076 if (!SWIG_IsOK(res1)) {
20077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20078 }
20079 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20081 if (!SWIG_IsOK(res2)) {
20082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20083 }
20084 arg2 = reinterpret_cast< wxWindow * >(argp2);
20085 {
20086 arg3 = wxString_in_helper(obj2);
20087 if (arg3 == NULL) SWIG_fail;
20088 temp3 = true;
20089 }
20090 if (obj3) {
20091 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20092 if (!SWIG_IsOK(ecode4)) {
20093 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20094 }
20095 arg4 = static_cast< bool >(val4);
20096 }
20097 if (obj4) {
20098 ecode5 = SWIG_AsVal_int(obj4, &val5);
20099 if (!SWIG_IsOK(ecode5)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20101 }
20102 arg5 = static_cast< int >(val5);
20103 }
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 {
20111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20112 }
20113 {
20114 if (temp3)
20115 delete arg3;
20116 }
20117 return resultobj;
20118fail:
20119 {
20120 if (temp3)
20121 delete arg3;
20122 }
20123 return NULL;
20124}
20125
20126
20127SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj = 0;
20129 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20130 size_t arg2 ;
20131 wxWindow *arg3 = (wxWindow *) 0 ;
20132 wxString *arg4 = 0 ;
20133 bool arg5 = (bool) false ;
20134 int arg6 = (int) -1 ;
20135 bool result;
20136 void *argp1 = 0 ;
20137 int res1 = 0 ;
20138 size_t val2 ;
20139 int ecode2 = 0 ;
20140 void *argp3 = 0 ;
20141 int res3 = 0 ;
20142 bool temp4 = false ;
20143 bool val5 ;
20144 int ecode5 = 0 ;
20145 int val6 ;
20146 int ecode6 = 0 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 PyObject * obj2 = 0 ;
20150 PyObject * obj3 = 0 ;
20151 PyObject * obj4 = 0 ;
20152 PyObject * obj5 = 0 ;
20153 char * kwnames[] = {
20154 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20155 };
20156
20157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20159 if (!SWIG_IsOK(res1)) {
20160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20161 }
20162 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20163 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20164 if (!SWIG_IsOK(ecode2)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20166 }
20167 arg2 = static_cast< size_t >(val2);
20168 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20169 if (!SWIG_IsOK(res3)) {
20170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20171 }
20172 arg3 = reinterpret_cast< wxWindow * >(argp3);
20173 {
20174 arg4 = wxString_in_helper(obj3);
20175 if (arg4 == NULL) SWIG_fail;
20176 temp4 = true;
20177 }
20178 if (obj4) {
20179 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20180 if (!SWIG_IsOK(ecode5)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20182 }
20183 arg5 = static_cast< bool >(val5);
20184 }
20185 if (obj5) {
20186 ecode6 = SWIG_AsVal_int(obj5, &val6);
20187 if (!SWIG_IsOK(ecode6)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20189 }
20190 arg6 = static_cast< int >(val6);
20191 }
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 {
20199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20200 }
20201 {
20202 if (temp4)
20203 delete arg4;
20204 }
20205 return resultobj;
20206fail:
20207 {
20208 if (temp4)
20209 delete arg4;
20210 }
20211 return NULL;
20212}
20213
20214
20215SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20216 PyObject *resultobj = 0;
20217 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20218 size_t arg2 ;
20219 int result;
20220 void *argp1 = 0 ;
20221 int res1 = 0 ;
20222 size_t val2 ;
20223 int ecode2 = 0 ;
20224 PyObject * obj0 = 0 ;
20225 PyObject * obj1 = 0 ;
20226 char * kwnames[] = {
20227 (char *) "self",(char *) "n", NULL
20228 };
20229
20230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20232 if (!SWIG_IsOK(res1)) {
20233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20234 }
20235 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20236 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20237 if (!SWIG_IsOK(ecode2)) {
20238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20239 }
20240 arg2 = static_cast< size_t >(val2);
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (int)(arg1)->SetSelection(arg2);
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 resultobj = SWIG_From_int(static_cast< int >(result));
20248 return resultobj;
20249fail:
20250 return NULL;
20251}
20252
20253
b39fe951
RD
20254SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20255 PyObject *resultobj = 0;
20256 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20257 size_t arg2 ;
20258 int result;
20259 void *argp1 = 0 ;
20260 int res1 = 0 ;
20261 size_t val2 ;
20262 int ecode2 = 0 ;
20263 PyObject * obj0 = 0 ;
20264 PyObject * obj1 = 0 ;
20265 char * kwnames[] = {
20266 (char *) "self",(char *) "n", NULL
20267 };
20268
20269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20271 if (!SWIG_IsOK(res1)) {
20272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20273 }
20274 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20275 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20276 if (!SWIG_IsOK(ecode2)) {
20277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20278 }
20279 arg2 = static_cast< size_t >(val2);
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (int)(arg1)->ChangeSelection(arg2);
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 resultobj = SWIG_From_int(static_cast< int >(result));
20287 return resultobj;
20288fail:
20289 return NULL;
20290}
20291
20292
0085ce49
RD
20293SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20294 PyObject *resultobj = 0;
20295 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20296 bool arg2 = (bool) true ;
20297 void *argp1 = 0 ;
20298 int res1 = 0 ;
20299 bool val2 ;
20300 int ecode2 = 0 ;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 char * kwnames[] = {
20304 (char *) "self",(char *) "forward", NULL
20305 };
20306
20307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20309 if (!SWIG_IsOK(res1)) {
20310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20311 }
20312 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20313 if (obj1) {
20314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20315 if (!SWIG_IsOK(ecode2)) {
20316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20317 }
20318 arg2 = static_cast< bool >(val2);
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 (arg1)->AdvanceSelection(arg2);
20323 wxPyEndAllowThreads(__tstate);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 }
20326 resultobj = SWIG_Py_Void();
20327 return resultobj;
20328fail:
20329 return NULL;
20330}
20331
20332
704eda0c
RD
20333SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj = 0;
20335 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20336 wxPoint *arg2 = 0 ;
20337 long *arg3 = (long *) 0 ;
20338 int result;
20339 void *argp1 = 0 ;
20340 int res1 = 0 ;
20341 wxPoint temp2 ;
20342 long temp3 ;
20343 int res3 = SWIG_TMPOBJ ;
20344 PyObject * obj0 = 0 ;
20345 PyObject * obj1 = 0 ;
20346 char * kwnames[] = {
20347 (char *) "self",(char *) "pt", NULL
20348 };
20349
20350 arg3 = &temp3;
20351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20353 if (!SWIG_IsOK(res1)) {
20354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20355 }
20356 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20357 {
20358 arg2 = &temp2;
20359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20360 }
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 resultobj = SWIG_From_int(static_cast< int >(result));
20368 if (SWIG_IsTmpObj(res3)) {
20369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20370 } else {
20371 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20373 }
20374 return resultobj;
20375fail:
20376 return NULL;
20377}
20378
20379
0085ce49
RD
20380SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj = 0;
20382 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20383 SwigValueWrapper<wxVisualAttributes > result;
20384 int val1 ;
20385 int ecode1 = 0 ;
20386 PyObject * obj0 = 0 ;
20387 char * kwnames[] = {
20388 (char *) "variant", NULL
20389 };
20390
20391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20392 if (obj0) {
20393 ecode1 = SWIG_AsVal_int(obj0, &val1);
20394 if (!SWIG_IsOK(ecode1)) {
20395 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20396 }
20397 arg1 = static_cast< wxWindowVariant >(val1);
20398 }
20399 {
20400 if (!wxPyCheckForApp()) SWIG_fail;
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20407 return resultobj;
20408fail:
20409 return NULL;
20410}
20411
20412
20413SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20414 PyObject *obj;
20415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20416 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20417 return SWIG_Py_Void();
20418}
20419
20420SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj = 0;
20422 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20423 int arg2 = (int) 0 ;
20424 int arg3 = (int) -1 ;
20425 int arg4 = (int) -1 ;
20426 wxBookCtrlBaseEvent *result = 0 ;
20427 int val1 ;
20428 int ecode1 = 0 ;
20429 int val2 ;
20430 int ecode2 = 0 ;
20431 int val3 ;
20432 int ecode3 = 0 ;
20433 int val4 ;
20434 int ecode4 = 0 ;
20435 PyObject * obj0 = 0 ;
20436 PyObject * obj1 = 0 ;
20437 PyObject * obj2 = 0 ;
20438 PyObject * obj3 = 0 ;
20439 char * kwnames[] = {
20440 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20441 };
20442
20443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20444 if (obj0) {
20445 ecode1 = SWIG_AsVal_int(obj0, &val1);
20446 if (!SWIG_IsOK(ecode1)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20448 }
20449 arg1 = static_cast< wxEventType >(val1);
20450 }
20451 if (obj1) {
20452 ecode2 = SWIG_AsVal_int(obj1, &val2);
20453 if (!SWIG_IsOK(ecode2)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20455 }
20456 arg2 = static_cast< int >(val2);
20457 }
20458 if (obj2) {
20459 ecode3 = SWIG_AsVal_int(obj2, &val3);
20460 if (!SWIG_IsOK(ecode3)) {
20461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20462 }
20463 arg3 = static_cast< int >(val3);
20464 }
20465 if (obj3) {
20466 ecode4 = SWIG_AsVal_int(obj3, &val4);
20467 if (!SWIG_IsOK(ecode4)) {
20468 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20469 }
20470 arg4 = static_cast< int >(val4);
20471 }
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20479 return resultobj;
20480fail:
20481 return NULL;
d14a1e28
RD
20482}
20483
20484
0085ce49
RD
20485SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20486 PyObject *resultobj = 0;
20487 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20488 int result;
20489 void *argp1 = 0 ;
20490 int res1 = 0 ;
20491 PyObject *swig_obj[1] ;
20492
20493 if (!args) SWIG_fail;
20494 swig_obj[0] = args;
20495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20496 if (!SWIG_IsOK(res1)) {
20497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20498 }
20499 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 resultobj = SWIG_From_int(static_cast< int >(result));
20507 return resultobj;
20508fail:
20509 return NULL;
20510}
20511
20512
20513SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj = 0;
20515 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20516 int arg2 ;
20517 void *argp1 = 0 ;
20518 int res1 = 0 ;
20519 int val2 ;
20520 int ecode2 = 0 ;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 char * kwnames[] = {
20524 (char *) "self",(char *) "nSel", NULL
20525 };
20526
20527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20529 if (!SWIG_IsOK(res1)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20531 }
20532 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20533 ecode2 = SWIG_AsVal_int(obj1, &val2);
20534 if (!SWIG_IsOK(ecode2)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20536 }
20537 arg2 = static_cast< int >(val2);
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->SetSelection(arg2);
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_Py_Void();
20545 return resultobj;
20546fail:
20547 return NULL;
d14a1e28
RD
20548}
20549
20550
0085ce49
RD
20551SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20552 PyObject *resultobj = 0;
20553 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20554 int result;
20555 void *argp1 = 0 ;
20556 int res1 = 0 ;
20557 PyObject *swig_obj[1] ;
20558
20559 if (!args) SWIG_fail;
20560 swig_obj[0] = args;
20561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20562 if (!SWIG_IsOK(res1)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20564 }
20565 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 resultobj = SWIG_From_int(static_cast< int >(result));
20573 return resultobj;
20574fail:
20575 return NULL;
20576}
20577
20578
20579SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj = 0;
20581 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20582 int arg2 ;
20583 void *argp1 = 0 ;
20584 int res1 = 0 ;
20585 int val2 ;
20586 int ecode2 = 0 ;
20587 PyObject * obj0 = 0 ;
20588 PyObject * obj1 = 0 ;
20589 char * kwnames[] = {
20590 (char *) "self",(char *) "nOldSel", NULL
20591 };
20592
20593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20595 if (!SWIG_IsOK(res1)) {
20596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20597 }
20598 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20599 ecode2 = SWIG_AsVal_int(obj1, &val2);
20600 if (!SWIG_IsOK(ecode2)) {
20601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20602 }
20603 arg2 = static_cast< int >(val2);
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 (arg1)->SetOldSelection(arg2);
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 resultobj = SWIG_Py_Void();
20611 return resultobj;
20612fail:
20613 return NULL;
20614}
20615
20616
20617SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20618 PyObject *obj;
20619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20620 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20621 return SWIG_Py_Void();
20622}
20623
20624SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20625 return SWIG_Python_InitShadowInstance(args);
20626}
20627
20628SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj = 0;
20630 wxWindow *arg1 = (wxWindow *) 0 ;
20631 int arg2 = (int) -1 ;
20632 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20633 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20634 wxSize const &arg4_defvalue = wxDefaultSize ;
20635 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20636 long arg5 = (long) 0 ;
20637 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20638 wxString *arg6 = (wxString *) &arg6_defvalue ;
20639 wxNotebook *result = 0 ;
20640 void *argp1 = 0 ;
20641 int res1 = 0 ;
20642 int val2 ;
20643 int ecode2 = 0 ;
20644 wxPoint temp3 ;
20645 wxSize temp4 ;
20646 long val5 ;
20647 int ecode5 = 0 ;
20648 bool temp6 = false ;
20649 PyObject * obj0 = 0 ;
20650 PyObject * obj1 = 0 ;
20651 PyObject * obj2 = 0 ;
20652 PyObject * obj3 = 0 ;
20653 PyObject * obj4 = 0 ;
20654 PyObject * obj5 = 0 ;
20655 char * kwnames[] = {
20656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20657 };
20658
20659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20661 if (!SWIG_IsOK(res1)) {
20662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20663 }
20664 arg1 = reinterpret_cast< wxWindow * >(argp1);
20665 if (obj1) {
20666 ecode2 = SWIG_AsVal_int(obj1, &val2);
20667 if (!SWIG_IsOK(ecode2)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20669 }
20670 arg2 = static_cast< int >(val2);
20671 }
20672 if (obj2) {
093d3ff1 20673 {
0085ce49
RD
20674 arg3 = &temp3;
20675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20676 }
0085ce49
RD
20677 }
20678 if (obj3) {
d14a1e28 20679 {
0085ce49
RD
20680 arg4 = &temp4;
20681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 20682 }
0085ce49
RD
20683 }
20684 if (obj4) {
20685 ecode5 = SWIG_AsVal_long(obj4, &val5);
20686 if (!SWIG_IsOK(ecode5)) {
20687 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20688 }
20689 arg5 = static_cast< long >(val5);
20690 }
20691 if (obj5) {
093d3ff1 20692 {
0085ce49
RD
20693 arg6 = wxString_in_helper(obj5);
20694 if (arg6 == NULL) SWIG_fail;
20695 temp6 = true;
093d3ff1 20696 }
0085ce49
RD
20697 }
20698 {
20699 if (!wxPyCheckForApp()) SWIG_fail;
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20702 wxPyEndAllowThreads(__tstate);
20703 if (PyErr_Occurred()) SWIG_fail;
20704 }
20705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20706 {
20707 if (temp6)
20708 delete arg6;
20709 }
20710 return resultobj;
20711fail:
20712 {
20713 if (temp6)
20714 delete arg6;
20715 }
20716 return NULL;
d14a1e28
RD
20717}
20718
20719
0085ce49
RD
20720SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20721 PyObject *resultobj = 0;
20722 wxNotebook *result = 0 ;
20723
20724 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20725 {
20726 if (!wxPyCheckForApp()) SWIG_fail;
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 result = (wxNotebook *)new wxNotebook();
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20733 return resultobj;
20734fail:
20735 return NULL;
20736}
20737
20738
20739SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj = 0;
20741 wxNotebook *arg1 = (wxNotebook *) 0 ;
20742 wxWindow *arg2 = (wxWindow *) 0 ;
20743 int arg3 = (int) -1 ;
20744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20746 wxSize const &arg5_defvalue = wxDefaultSize ;
20747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20748 long arg6 = (long) 0 ;
20749 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20750 wxString *arg7 = (wxString *) &arg7_defvalue ;
20751 bool result;
20752 void *argp1 = 0 ;
20753 int res1 = 0 ;
20754 void *argp2 = 0 ;
20755 int res2 = 0 ;
20756 int val3 ;
20757 int ecode3 = 0 ;
20758 wxPoint temp4 ;
20759 wxSize temp5 ;
20760 long val6 ;
20761 int ecode6 = 0 ;
20762 bool temp7 = false ;
20763 PyObject * obj0 = 0 ;
20764 PyObject * obj1 = 0 ;
20765 PyObject * obj2 = 0 ;
20766 PyObject * obj3 = 0 ;
20767 PyObject * obj4 = 0 ;
20768 PyObject * obj5 = 0 ;
20769 PyObject * obj6 = 0 ;
20770 char * kwnames[] = {
20771 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20772 };
20773
20774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20776 if (!SWIG_IsOK(res1)) {
20777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20778 }
20779 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20780 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20781 if (!SWIG_IsOK(res2)) {
20782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20783 }
20784 arg2 = reinterpret_cast< wxWindow * >(argp2);
20785 if (obj2) {
20786 ecode3 = SWIG_AsVal_int(obj2, &val3);
20787 if (!SWIG_IsOK(ecode3)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20789 }
20790 arg3 = static_cast< int >(val3);
20791 }
20792 if (obj3) {
093d3ff1 20793 {
0085ce49
RD
20794 arg4 = &temp4;
20795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20796 }
0085ce49
RD
20797 }
20798 if (obj4) {
d14a1e28 20799 {
0085ce49
RD
20800 arg5 = &temp5;
20801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 20802 }
0085ce49
RD
20803 }
20804 if (obj5) {
20805 ecode6 = SWIG_AsVal_long(obj5, &val6);
20806 if (!SWIG_IsOK(ecode6)) {
20807 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20808 }
20809 arg6 = static_cast< long >(val6);
20810 }
20811 if (obj6) {
4f89f6a3 20812 {
0085ce49
RD
20813 arg7 = wxString_in_helper(obj6);
20814 if (arg7 == NULL) SWIG_fail;
20815 temp7 = true;
4f89f6a3 20816 }
0085ce49
RD
20817 }
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 {
20825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20826 }
20827 {
20828 if (temp7)
20829 delete arg7;
20830 }
20831 return resultobj;
20832fail:
20833 {
20834 if (temp7)
20835 delete arg7;
20836 }
20837 return NULL;
d14a1e28
RD
20838}
20839
20840
0085ce49
RD
20841SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20842 PyObject *resultobj = 0;
20843 wxNotebook *arg1 = (wxNotebook *) 0 ;
20844 int result;
20845 void *argp1 = 0 ;
20846 int res1 = 0 ;
20847 PyObject *swig_obj[1] ;
20848
20849 if (!args) SWIG_fail;
20850 swig_obj[0] = args;
20851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20852 if (!SWIG_IsOK(res1)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20854 }
20855 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 resultobj = SWIG_From_int(static_cast< int >(result));
20863 return resultobj;
20864fail:
20865 return NULL;
20866}
20867
20868
20869SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj = 0;
20871 wxNotebook *arg1 = (wxNotebook *) 0 ;
20872 wxSize *arg2 = 0 ;
20873 void *argp1 = 0 ;
20874 int res1 = 0 ;
20875 wxSize temp2 ;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 char * kwnames[] = {
20879 (char *) "self",(char *) "padding", NULL
20880 };
20881
20882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20884 if (!SWIG_IsOK(res1)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20886 }
20887 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20888 {
20889 arg2 = &temp2;
20890 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20891 }
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 (arg1)->SetPadding((wxSize const &)*arg2);
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 resultobj = SWIG_Py_Void();
20899 return resultobj;
20900fail:
20901 return NULL;
20902}
20903
20904
20905SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj = 0;
20907 wxNotebook *arg1 = (wxNotebook *) 0 ;
20908 wxSize *arg2 = 0 ;
20909 void *argp1 = 0 ;
20910 int res1 = 0 ;
20911 wxSize temp2 ;
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char * kwnames[] = {
20915 (char *) "self",(char *) "sz", NULL
20916 };
20917
20918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20920 if (!SWIG_IsOK(res1)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20922 }
20923 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20924 {
20925 arg2 = &temp2;
20926 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20927 }
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 (arg1)->SetTabSize((wxSize const &)*arg2);
20931 wxPyEndAllowThreads(__tstate);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 resultobj = SWIG_Py_Void();
20935 return resultobj;
20936fail:
20937 return NULL;
20938}
20939
20940
0085ce49
RD
20941SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20942 PyObject *resultobj = 0;
20943 wxNotebook *arg1 = (wxNotebook *) 0 ;
20944 wxColour result;
20945 void *argp1 = 0 ;
20946 int res1 = 0 ;
20947 PyObject *swig_obj[1] ;
20948
20949 if (!args) SWIG_fail;
20950 swig_obj[0] = args;
20951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20952 if (!SWIG_IsOK(res1)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20954 }
20955 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20963 return resultobj;
20964fail:
20965 return NULL;
20966}
20967
20968
20969SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20970 PyObject *resultobj = 0;
20971 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20972 SwigValueWrapper<wxVisualAttributes > result;
20973 int val1 ;
20974 int ecode1 = 0 ;
20975 PyObject * obj0 = 0 ;
20976 char * kwnames[] = {
20977 (char *) "variant", NULL
20978 };
20979
20980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20981 if (obj0) {
20982 ecode1 = SWIG_AsVal_int(obj0, &val1);
20983 if (!SWIG_IsOK(ecode1)) {
20984 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20985 }
20986 arg1 = static_cast< wxWindowVariant >(val1);
20987 }
20988 {
20989 if (!wxPyCheckForApp()) SWIG_fail;
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 result = wxNotebook::GetClassDefaultAttributes(arg1);
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20996 return resultobj;
20997fail:
20998 return NULL;
20999}
21000
21001
b39fe951
RD
21002SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj = 0;
21004 wxNotebook *arg1 = (wxNotebook *) 0 ;
21005 int arg2 ;
21006 bool result;
21007 void *argp1 = 0 ;
21008 int res1 = 0 ;
21009 int val2 ;
21010 int ecode2 = 0 ;
21011 PyObject * obj0 = 0 ;
21012 PyObject * obj1 = 0 ;
21013 char * kwnames[] = {
21014 (char *) "self",(char *) "nPage", NULL
21015 };
21016
21017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21019 if (!SWIG_IsOK(res1)) {
21020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21021 }
21022 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21023 ecode2 = SWIG_AsVal_int(obj1, &val2);
21024 if (!SWIG_IsOK(ecode2)) {
21025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21026 }
21027 arg2 = static_cast< int >(val2);
21028 {
21029 PyThreadState* __tstate = wxPyBeginAllowThreads();
21030 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 {
21035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21036 }
21037 return resultobj;
21038fail:
21039 return NULL;
21040}
21041
21042
21043SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj = 0;
21045 wxNotebook *arg1 = (wxNotebook *) 0 ;
21046 int arg2 ;
21047 int arg3 = (int) -1 ;
21048 void *argp1 = 0 ;
21049 int res1 = 0 ;
21050 int val2 ;
21051 int ecode2 = 0 ;
21052 int val3 ;
21053 int ecode3 = 0 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 PyObject * obj2 = 0 ;
21057 char * kwnames[] = {
21058 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21059 };
21060
21061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21063 if (!SWIG_IsOK(res1)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21065 }
21066 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21067 ecode2 = SWIG_AsVal_int(obj1, &val2);
21068 if (!SWIG_IsOK(ecode2)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21070 }
21071 arg2 = static_cast< int >(val2);
21072 if (obj2) {
21073 ecode3 = SWIG_AsVal_int(obj2, &val3);
21074 if (!SWIG_IsOK(ecode3)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21076 }
21077 arg3 = static_cast< int >(val3);
21078 }
21079 {
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 (arg1)->SendPageChangedEvent(arg2,arg3);
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 resultobj = SWIG_Py_Void();
21086 return resultobj;
21087fail:
21088 return NULL;
21089}
21090
21091
0085ce49
RD
21092SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21093 PyObject *obj;
21094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21095 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21096 return SWIG_Py_Void();
21097}
21098
21099SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21100 return SWIG_Python_InitShadowInstance(args);
21101}
21102
21103SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21104 PyObject *resultobj = 0;
21105 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21106 int arg2 = (int) 0 ;
21107 int arg3 = (int) -1 ;
21108 int arg4 = (int) -1 ;
21109 wxNotebookEvent *result = 0 ;
21110 int val1 ;
21111 int ecode1 = 0 ;
21112 int val2 ;
21113 int ecode2 = 0 ;
21114 int val3 ;
21115 int ecode3 = 0 ;
21116 int val4 ;
21117 int ecode4 = 0 ;
21118 PyObject * obj0 = 0 ;
21119 PyObject * obj1 = 0 ;
21120 PyObject * obj2 = 0 ;
21121 PyObject * obj3 = 0 ;
21122 char * kwnames[] = {
21123 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21124 };
21125
21126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21127 if (obj0) {
21128 ecode1 = SWIG_AsVal_int(obj0, &val1);
21129 if (!SWIG_IsOK(ecode1)) {
21130 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21131 }
21132 arg1 = static_cast< wxEventType >(val1);
21133 }
21134 if (obj1) {
21135 ecode2 = SWIG_AsVal_int(obj1, &val2);
21136 if (!SWIG_IsOK(ecode2)) {
21137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21138 }
21139 arg2 = static_cast< int >(val2);
21140 }
21141 if (obj2) {
21142 ecode3 = SWIG_AsVal_int(obj2, &val3);
21143 if (!SWIG_IsOK(ecode3)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21145 }
21146 arg3 = static_cast< int >(val3);
21147 }
21148 if (obj3) {
21149 ecode4 = SWIG_AsVal_int(obj3, &val4);
21150 if (!SWIG_IsOK(ecode4)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21152 }
21153 arg4 = static_cast< int >(val4);
21154 }
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21162 return resultobj;
21163fail:
21164 return NULL;
21165}
21166
21167
21168SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21169 PyObject *obj;
21170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21171 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21172 return SWIG_Py_Void();
21173}
21174
21175SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21176 return SWIG_Python_InitShadowInstance(args);
21177}
21178
21179SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj = 0;
21181 wxWindow *arg1 = (wxWindow *) 0 ;
21182 int arg2 = (int) -1 ;
21183 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21184 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21185 wxSize const &arg4_defvalue = wxDefaultSize ;
21186 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21187 long arg5 = (long) 0 ;
21188 wxString const &arg6_defvalue = wxPyEmptyString ;
21189 wxString *arg6 = (wxString *) &arg6_defvalue ;
21190 wxListbook *result = 0 ;
21191 void *argp1 = 0 ;
21192 int res1 = 0 ;
21193 int val2 ;
21194 int ecode2 = 0 ;
21195 wxPoint temp3 ;
21196 wxSize temp4 ;
21197 long val5 ;
21198 int ecode5 = 0 ;
21199 bool temp6 = false ;
21200 PyObject * obj0 = 0 ;
21201 PyObject * obj1 = 0 ;
21202 PyObject * obj2 = 0 ;
21203 PyObject * obj3 = 0 ;
21204 PyObject * obj4 = 0 ;
21205 PyObject * obj5 = 0 ;
21206 char * kwnames[] = {
21207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21208 };
21209
21210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21212 if (!SWIG_IsOK(res1)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21214 }
21215 arg1 = reinterpret_cast< wxWindow * >(argp1);
21216 if (obj1) {
21217 ecode2 = SWIG_AsVal_int(obj1, &val2);
21218 if (!SWIG_IsOK(ecode2)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21220 }
21221 arg2 = static_cast< int >(val2);
21222 }
21223 if (obj2) {
093d3ff1 21224 {
0085ce49
RD
21225 arg3 = &temp3;
21226 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21227 }
0085ce49
RD
21228 }
21229 if (obj3) {
093d3ff1 21230 {
0085ce49
RD
21231 arg4 = &temp4;
21232 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21233 }
0085ce49
RD
21234 }
21235 if (obj4) {
21236 ecode5 = SWIG_AsVal_long(obj4, &val5);
21237 if (!SWIG_IsOK(ecode5)) {
21238 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21239 }
21240 arg5 = static_cast< long >(val5);
21241 }
21242 if (obj5) {
d14a1e28 21243 {
0085ce49
RD
21244 arg6 = wxString_in_helper(obj5);
21245 if (arg6 == NULL) SWIG_fail;
21246 temp6 = true;
d14a1e28 21247 }
0085ce49
RD
21248 }
21249 {
21250 if (!wxPyCheckForApp()) SWIG_fail;
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21257 {
21258 if (temp6)
21259 delete arg6;
21260 }
21261 return resultobj;
21262fail:
21263 {
21264 if (temp6)
21265 delete arg6;
21266 }
21267 return NULL;
d14a1e28
RD
21268}
21269
21270
0085ce49
RD
21271SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21272 PyObject *resultobj = 0;
21273 wxListbook *result = 0 ;
21274
21275 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21276 {
21277 if (!wxPyCheckForApp()) SWIG_fail;
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 result = (wxListbook *)new wxListbook();
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21284 return resultobj;
21285fail:
21286 return NULL;
21287}
21288
21289
21290SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21291 PyObject *resultobj = 0;
21292 wxListbook *arg1 = (wxListbook *) 0 ;
21293 wxWindow *arg2 = (wxWindow *) 0 ;
21294 int arg3 = (int) -1 ;
21295 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21296 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21297 wxSize const &arg5_defvalue = wxDefaultSize ;
21298 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21299 long arg6 = (long) 0 ;
21300 wxString const &arg7_defvalue = wxPyEmptyString ;
21301 wxString *arg7 = (wxString *) &arg7_defvalue ;
21302 bool result;
21303 void *argp1 = 0 ;
21304 int res1 = 0 ;
21305 void *argp2 = 0 ;
21306 int res2 = 0 ;
21307 int val3 ;
21308 int ecode3 = 0 ;
21309 wxPoint temp4 ;
21310 wxSize temp5 ;
21311 long val6 ;
21312 int ecode6 = 0 ;
21313 bool temp7 = false ;
21314 PyObject * obj0 = 0 ;
21315 PyObject * obj1 = 0 ;
21316 PyObject * obj2 = 0 ;
21317 PyObject * obj3 = 0 ;
21318 PyObject * obj4 = 0 ;
21319 PyObject * obj5 = 0 ;
21320 PyObject * obj6 = 0 ;
21321 char * kwnames[] = {
21322 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21323 };
21324
21325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21327 if (!SWIG_IsOK(res1)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21329 }
21330 arg1 = reinterpret_cast< wxListbook * >(argp1);
21331 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21332 if (!SWIG_IsOK(res2)) {
21333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21334 }
21335 arg2 = reinterpret_cast< wxWindow * >(argp2);
21336 if (obj2) {
21337 ecode3 = SWIG_AsVal_int(obj2, &val3);
21338 if (!SWIG_IsOK(ecode3)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21340 }
21341 arg3 = static_cast< int >(val3);
21342 }
21343 if (obj3) {
22bfe96c 21344 {
0085ce49
RD
21345 arg4 = &temp4;
21346 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 21347 }
0085ce49
RD
21348 }
21349 if (obj4) {
22bfe96c 21350 {
0085ce49
RD
21351 arg5 = &temp5;
21352 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 21353 }
0085ce49
RD
21354 }
21355 if (obj5) {
21356 ecode6 = SWIG_AsVal_long(obj5, &val6);
21357 if (!SWIG_IsOK(ecode6)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21359 }
21360 arg6 = static_cast< long >(val6);
21361 }
21362 if (obj6) {
b2dc1044 21363 {
0085ce49
RD
21364 arg7 = wxString_in_helper(obj6);
21365 if (arg7 == NULL) SWIG_fail;
21366 temp7 = true;
b2dc1044 21367 }
0085ce49
RD
21368 }
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 {
21376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21377 }
21378 {
21379 if (temp7)
21380 delete arg7;
21381 }
21382 return resultobj;
21383fail:
21384 {
21385 if (temp7)
21386 delete arg7;
21387 }
21388 return NULL;
b2dc1044
RD
21389}
21390
21391
0085ce49
RD
21392SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21393 PyObject *resultobj = 0;
21394 wxListbook *arg1 = (wxListbook *) 0 ;
21395 wxListView *result = 0 ;
21396 void *argp1 = 0 ;
21397 int res1 = 0 ;
21398 PyObject *swig_obj[1] ;
21399
21400 if (!args) SWIG_fail;
21401 swig_obj[0] = args;
21402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21403 if (!SWIG_IsOK(res1)) {
21404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21405 }
21406 arg1 = reinterpret_cast< wxListbook * >(argp1);
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 result = (wxListView *)(arg1)->GetListView();
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21414 return resultobj;
21415fail:
21416 return NULL;
21417}
21418
21419
21420SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21421 PyObject *obj;
21422 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21423 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21424 return SWIG_Py_Void();
21425}
21426
21427SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21428 return SWIG_Python_InitShadowInstance(args);
21429}
21430
21431SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj = 0;
21433 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21434 int arg2 = (int) 0 ;
21435 int arg3 = (int) -1 ;
21436 int arg4 = (int) -1 ;
21437 wxListbookEvent *result = 0 ;
21438 int val1 ;
21439 int ecode1 = 0 ;
21440 int val2 ;
21441 int ecode2 = 0 ;
21442 int val3 ;
21443 int ecode3 = 0 ;
21444 int val4 ;
21445 int ecode4 = 0 ;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 PyObject * obj2 = 0 ;
21449 PyObject * obj3 = 0 ;
21450 char * kwnames[] = {
21451 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21452 };
21453
21454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21455 if (obj0) {
21456 ecode1 = SWIG_AsVal_int(obj0, &val1);
21457 if (!SWIG_IsOK(ecode1)) {
21458 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21459 }
21460 arg1 = static_cast< wxEventType >(val1);
21461 }
21462 if (obj1) {
21463 ecode2 = SWIG_AsVal_int(obj1, &val2);
21464 if (!SWIG_IsOK(ecode2)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21466 }
21467 arg2 = static_cast< int >(val2);
21468 }
21469 if (obj2) {
21470 ecode3 = SWIG_AsVal_int(obj2, &val3);
21471 if (!SWIG_IsOK(ecode3)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21473 }
21474 arg3 = static_cast< int >(val3);
21475 }
21476 if (obj3) {
21477 ecode4 = SWIG_AsVal_int(obj3, &val4);
21478 if (!SWIG_IsOK(ecode4)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21480 }
21481 arg4 = static_cast< int >(val4);
21482 }
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21490 return resultobj;
21491fail:
21492 return NULL;
21493}
21494
21495
21496SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21497 PyObject *obj;
21498 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21499 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21500 return SWIG_Py_Void();
21501}
21502
21503SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21504 return SWIG_Python_InitShadowInstance(args);
21505}
21506
21507SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj = 0;
21509 wxWindow *arg1 = (wxWindow *) 0 ;
21510 int arg2 ;
21511 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21512 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21513 wxSize const &arg4_defvalue = wxDefaultSize ;
21514 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21515 long arg5 = (long) 0 ;
21516 wxString const &arg6_defvalue = wxPyEmptyString ;
21517 wxString *arg6 = (wxString *) &arg6_defvalue ;
21518 wxChoicebook *result = 0 ;
21519 void *argp1 = 0 ;
21520 int res1 = 0 ;
21521 int val2 ;
21522 int ecode2 = 0 ;
21523 wxPoint temp3 ;
21524 wxSize temp4 ;
21525 long val5 ;
21526 int ecode5 = 0 ;
21527 bool temp6 = false ;
21528 PyObject * obj0 = 0 ;
21529 PyObject * obj1 = 0 ;
21530 PyObject * obj2 = 0 ;
21531 PyObject * obj3 = 0 ;
21532 PyObject * obj4 = 0 ;
21533 PyObject * obj5 = 0 ;
21534 char * kwnames[] = {
21535 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21536 };
21537
21538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21540 if (!SWIG_IsOK(res1)) {
21541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21542 }
21543 arg1 = reinterpret_cast< wxWindow * >(argp1);
21544 ecode2 = SWIG_AsVal_int(obj1, &val2);
21545 if (!SWIG_IsOK(ecode2)) {
21546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21547 }
21548 arg2 = static_cast< int >(val2);
21549 if (obj2) {
d14a1e28 21550 {
0085ce49
RD
21551 arg3 = &temp3;
21552 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 21553 }
0085ce49
RD
21554 }
21555 if (obj3) {
d14a1e28 21556 {
0085ce49
RD
21557 arg4 = &temp4;
21558 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21559 }
0085ce49
RD
21560 }
21561 if (obj4) {
21562 ecode5 = SWIG_AsVal_long(obj4, &val5);
21563 if (!SWIG_IsOK(ecode5)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21565 }
21566 arg5 = static_cast< long >(val5);
21567 }
21568 if (obj5) {
d14a1e28 21569 {
0085ce49
RD
21570 arg6 = wxString_in_helper(obj5);
21571 if (arg6 == NULL) SWIG_fail;
21572 temp6 = true;
d14a1e28 21573 }
0085ce49
RD
21574 }
21575 {
21576 if (!wxPyCheckForApp()) SWIG_fail;
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21583 {
21584 if (temp6)
21585 delete arg6;
21586 }
21587 return resultobj;
21588fail:
21589 {
21590 if (temp6)
21591 delete arg6;
21592 }
21593 return NULL;
d14a1e28
RD
21594}
21595
21596
0085ce49
RD
21597SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21598 PyObject *resultobj = 0;
21599 wxChoicebook *result = 0 ;
21600
21601 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21602 {
21603 if (!wxPyCheckForApp()) SWIG_fail;
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 result = (wxChoicebook *)new wxChoicebook();
21606 wxPyEndAllowThreads(__tstate);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21610 return resultobj;
21611fail:
21612 return NULL;
21613}
21614
21615
21616SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21617 PyObject *resultobj = 0;
21618 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21619 wxWindow *arg2 = (wxWindow *) 0 ;
21620 int arg3 ;
21621 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21622 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21623 wxSize const &arg5_defvalue = wxDefaultSize ;
21624 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21625 long arg6 = (long) 0 ;
21626 wxString const &arg7_defvalue = wxPyEmptyString ;
21627 wxString *arg7 = (wxString *) &arg7_defvalue ;
21628 bool result;
21629 void *argp1 = 0 ;
21630 int res1 = 0 ;
21631 void *argp2 = 0 ;
21632 int res2 = 0 ;
21633 int val3 ;
21634 int ecode3 = 0 ;
21635 wxPoint temp4 ;
21636 wxSize temp5 ;
21637 long val6 ;
21638 int ecode6 = 0 ;
21639 bool temp7 = false ;
21640 PyObject * obj0 = 0 ;
21641 PyObject * obj1 = 0 ;
21642 PyObject * obj2 = 0 ;
21643 PyObject * obj3 = 0 ;
21644 PyObject * obj4 = 0 ;
21645 PyObject * obj5 = 0 ;
21646 PyObject * obj6 = 0 ;
21647 char * kwnames[] = {
21648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21649 };
21650
21651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21653 if (!SWIG_IsOK(res1)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21655 }
21656 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21657 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21658 if (!SWIG_IsOK(res2)) {
21659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21660 }
21661 arg2 = reinterpret_cast< wxWindow * >(argp2);
21662 ecode3 = SWIG_AsVal_int(obj2, &val3);
21663 if (!SWIG_IsOK(ecode3)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21665 }
21666 arg3 = static_cast< int >(val3);
21667 if (obj3) {
4f89f6a3 21668 {
0085ce49
RD
21669 arg4 = &temp4;
21670 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 21671 }
0085ce49
RD
21672 }
21673 if (obj4) {
d14a1e28 21674 {
0085ce49
RD
21675 arg5 = &temp5;
21676 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 21677 }
0085ce49
RD
21678 }
21679 if (obj5) {
21680 ecode6 = SWIG_AsVal_long(obj5, &val6);
21681 if (!SWIG_IsOK(ecode6)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21683 }
21684 arg6 = static_cast< long >(val6);
21685 }
21686 if (obj6) {
d14a1e28 21687 {
0085ce49
RD
21688 arg7 = wxString_in_helper(obj6);
21689 if (arg7 == NULL) SWIG_fail;
21690 temp7 = true;
d14a1e28 21691 }
0085ce49
RD
21692 }
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 {
21700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21701 }
21702 {
21703 if (temp7)
21704 delete arg7;
21705 }
21706 return resultobj;
21707fail:
21708 {
21709 if (temp7)
21710 delete arg7;
21711 }
21712 return NULL;
d14a1e28
RD
21713}
21714
21715
0085ce49
RD
21716SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21717 PyObject *resultobj = 0;
21718 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21719 wxChoice *result = 0 ;
21720 void *argp1 = 0 ;
21721 int res1 = 0 ;
21722 PyObject *swig_obj[1] ;
21723
21724 if (!args) SWIG_fail;
21725 swig_obj[0] = args;
21726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21727 if (!SWIG_IsOK(res1)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21729 }
21730 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21738 return resultobj;
21739fail:
21740 return NULL;
21741}
21742
21743
21744SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21745 PyObject *obj;
21746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21747 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21748 return SWIG_Py_Void();
21749}
21750
21751SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21752 return SWIG_Python_InitShadowInstance(args);
21753}
21754
21755SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21756 PyObject *resultobj = 0;
21757 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21758 int arg2 = (int) 0 ;
21759 int arg3 = (int) -1 ;
21760 int arg4 = (int) -1 ;
21761 wxChoicebookEvent *result = 0 ;
21762 int val1 ;
21763 int ecode1 = 0 ;
21764 int val2 ;
21765 int ecode2 = 0 ;
21766 int val3 ;
21767 int ecode3 = 0 ;
21768 int val4 ;
21769 int ecode4 = 0 ;
21770 PyObject * obj0 = 0 ;
21771 PyObject * obj1 = 0 ;
21772 PyObject * obj2 = 0 ;
21773 PyObject * obj3 = 0 ;
21774 char * kwnames[] = {
21775 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21776 };
21777
21778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21779 if (obj0) {
21780 ecode1 = SWIG_AsVal_int(obj0, &val1);
21781 if (!SWIG_IsOK(ecode1)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21783 }
21784 arg1 = static_cast< wxEventType >(val1);
21785 }
21786 if (obj1) {
21787 ecode2 = SWIG_AsVal_int(obj1, &val2);
21788 if (!SWIG_IsOK(ecode2)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21790 }
21791 arg2 = static_cast< int >(val2);
21792 }
21793 if (obj2) {
21794 ecode3 = SWIG_AsVal_int(obj2, &val3);
21795 if (!SWIG_IsOK(ecode3)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21797 }
21798 arg3 = static_cast< int >(val3);
21799 }
21800 if (obj3) {
21801 ecode4 = SWIG_AsVal_int(obj3, &val4);
21802 if (!SWIG_IsOK(ecode4)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21804 }
21805 arg4 = static_cast< int >(val4);
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21814 return resultobj;
21815fail:
21816 return NULL;
21817}
21818
21819
21820SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21821 PyObject *obj;
21822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21823 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21824 return SWIG_Py_Void();
21825}
21826
21827SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21828 return SWIG_Python_InitShadowInstance(args);
21829}
21830
21831SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj = 0;
21833 wxWindow *arg1 = (wxWindow *) 0 ;
21834 int arg2 ;
21835 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21836 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21837 wxSize const &arg4_defvalue = wxDefaultSize ;
21838 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21839 long arg5 = (long) wxBK_DEFAULT ;
21840 wxString const &arg6_defvalue = wxPyEmptyString ;
21841 wxString *arg6 = (wxString *) &arg6_defvalue ;
21842 wxTreebook *result = 0 ;
21843 void *argp1 = 0 ;
21844 int res1 = 0 ;
21845 int val2 ;
21846 int ecode2 = 0 ;
21847 wxPoint temp3 ;
21848 wxSize temp4 ;
21849 long val5 ;
21850 int ecode5 = 0 ;
21851 bool temp6 = false ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 PyObject * obj2 = 0 ;
21855 PyObject * obj3 = 0 ;
21856 PyObject * obj4 = 0 ;
21857 PyObject * obj5 = 0 ;
21858 char * kwnames[] = {
21859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21860 };
21861
21862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21864 if (!SWIG_IsOK(res1)) {
21865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21866 }
21867 arg1 = reinterpret_cast< wxWindow * >(argp1);
21868 ecode2 = SWIG_AsVal_int(obj1, &val2);
21869 if (!SWIG_IsOK(ecode2)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21871 }
21872 arg2 = static_cast< int >(val2);
21873 if (obj2) {
093d3ff1 21874 {
0085ce49
RD
21875 arg3 = &temp3;
21876 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21877 }
0085ce49
RD
21878 }
21879 if (obj3) {
d14a1e28 21880 {
0085ce49
RD
21881 arg4 = &temp4;
21882 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21883 }
0085ce49
RD
21884 }
21885 if (obj4) {
21886 ecode5 = SWIG_AsVal_long(obj4, &val5);
21887 if (!SWIG_IsOK(ecode5)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21889 }
21890 arg5 = static_cast< long >(val5);
21891 }
21892 if (obj5) {
093d3ff1 21893 {
0085ce49
RD
21894 arg6 = wxString_in_helper(obj5);
21895 if (arg6 == NULL) SWIG_fail;
21896 temp6 = true;
093d3ff1 21897 }
0085ce49
RD
21898 }
21899 {
21900 if (!wxPyCheckForApp()) SWIG_fail;
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21907 {
21908 if (temp6)
21909 delete arg6;
21910 }
21911 return resultobj;
21912fail:
21913 {
21914 if (temp6)
21915 delete arg6;
21916 }
21917 return NULL;
d14a1e28
RD
21918}
21919
21920
0085ce49
RD
21921SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21922 PyObject *resultobj = 0;
21923 wxTreebook *result = 0 ;
21924
21925 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21926 {
21927 if (!wxPyCheckForApp()) SWIG_fail;
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 result = (wxTreebook *)new wxTreebook();
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21934 return resultobj;
21935fail:
21936 return NULL;
21937}
21938
21939
21940SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj = 0;
21942 wxTreebook *arg1 = (wxTreebook *) 0 ;
21943 wxWindow *arg2 = (wxWindow *) 0 ;
21944 int arg3 ;
21945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21947 wxSize const &arg5_defvalue = wxDefaultSize ;
21948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21949 long arg6 = (long) wxBK_DEFAULT ;
21950 wxString const &arg7_defvalue = wxPyEmptyString ;
21951 wxString *arg7 = (wxString *) &arg7_defvalue ;
21952 bool result;
21953 void *argp1 = 0 ;
21954 int res1 = 0 ;
21955 void *argp2 = 0 ;
21956 int res2 = 0 ;
21957 int val3 ;
21958 int ecode3 = 0 ;
21959 wxPoint temp4 ;
21960 wxSize temp5 ;
21961 long val6 ;
21962 int ecode6 = 0 ;
21963 bool temp7 = false ;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 PyObject * obj2 = 0 ;
21967 PyObject * obj3 = 0 ;
21968 PyObject * obj4 = 0 ;
21969 PyObject * obj5 = 0 ;
21970 PyObject * obj6 = 0 ;
21971 char * kwnames[] = {
21972 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21973 };
21974
21975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21977 if (!SWIG_IsOK(res1)) {
21978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21979 }
21980 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21981 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21982 if (!SWIG_IsOK(res2)) {
21983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21984 }
21985 arg2 = reinterpret_cast< wxWindow * >(argp2);
21986 ecode3 = SWIG_AsVal_int(obj2, &val3);
21987 if (!SWIG_IsOK(ecode3)) {
21988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21989 }
21990 arg3 = static_cast< int >(val3);
21991 if (obj3) {
d14a1e28 21992 {
0085ce49
RD
21993 arg4 = &temp4;
21994 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21995 }
0085ce49
RD
21996 }
21997 if (obj4) {
093d3ff1 21998 {
0085ce49
RD
21999 arg5 = &temp5;
22000 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22001 }
0085ce49
RD
22002 }
22003 if (obj5) {
22004 ecode6 = SWIG_AsVal_long(obj5, &val6);
22005 if (!SWIG_IsOK(ecode6)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22007 }
22008 arg6 = static_cast< long >(val6);
22009 }
22010 if (obj6) {
093d3ff1 22011 {
0085ce49
RD
22012 arg7 = wxString_in_helper(obj6);
22013 if (arg7 == NULL) SWIG_fail;
22014 temp7 = true;
093d3ff1 22015 }
0085ce49
RD
22016 }
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 {
22024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22025 }
22026 {
22027 if (temp7)
22028 delete arg7;
22029 }
22030 return resultobj;
22031fail:
22032 {
22033 if (temp7)
22034 delete arg7;
22035 }
22036 return NULL;
22037}
22038
22039
22040SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22041 PyObject *resultobj = 0;
22042 wxTreebook *arg1 = (wxTreebook *) 0 ;
22043 size_t arg2 ;
22044 wxWindow *arg3 = (wxWindow *) 0 ;
22045 wxString *arg4 = 0 ;
22046 bool arg5 = (bool) false ;
22047 int arg6 = (int) wxNOT_FOUND ;
22048 bool result;
22049 void *argp1 = 0 ;
22050 int res1 = 0 ;
22051 size_t val2 ;
22052 int ecode2 = 0 ;
22053 void *argp3 = 0 ;
22054 int res3 = 0 ;
22055 bool temp4 = false ;
22056 bool val5 ;
22057 int ecode5 = 0 ;
22058 int val6 ;
22059 int ecode6 = 0 ;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 PyObject * obj2 = 0 ;
22063 PyObject * obj3 = 0 ;
22064 PyObject * obj4 = 0 ;
22065 PyObject * obj5 = 0 ;
22066 char * kwnames[] = {
22067 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22068 };
22069
22070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22072 if (!SWIG_IsOK(res1)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22074 }
22075 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22076 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22077 if (!SWIG_IsOK(ecode2)) {
22078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22079 }
22080 arg2 = static_cast< size_t >(val2);
22081 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22082 if (!SWIG_IsOK(res3)) {
22083 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22084 }
22085 arg3 = reinterpret_cast< wxWindow * >(argp3);
22086 {
22087 arg4 = wxString_in_helper(obj3);
22088 if (arg4 == NULL) SWIG_fail;
22089 temp4 = true;
22090 }
22091 if (obj4) {
22092 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22093 if (!SWIG_IsOK(ecode5)) {
22094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22095 }
22096 arg5 = static_cast< bool >(val5);
22097 }
22098 if (obj5) {
22099 ecode6 = SWIG_AsVal_int(obj5, &val6);
22100 if (!SWIG_IsOK(ecode6)) {
22101 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22102 }
22103 arg6 = static_cast< int >(val6);
22104 }
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 {
22112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22113 }
22114 {
22115 if (temp4)
22116 delete arg4;
22117 }
22118 return resultobj;
22119fail:
22120 {
22121 if (temp4)
22122 delete arg4;
22123 }
22124 return NULL;
22125}
22126
22127
22128SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22129 PyObject *resultobj = 0;
22130 wxTreebook *arg1 = (wxTreebook *) 0 ;
22131 wxWindow *arg2 = (wxWindow *) 0 ;
22132 wxString *arg3 = 0 ;
22133 bool arg4 = (bool) false ;
22134 int arg5 = (int) wxNOT_FOUND ;
22135 bool result;
22136 void *argp1 = 0 ;
22137 int res1 = 0 ;
22138 void *argp2 = 0 ;
22139 int res2 = 0 ;
22140 bool temp3 = false ;
22141 bool val4 ;
22142 int ecode4 = 0 ;
22143 int val5 ;
22144 int ecode5 = 0 ;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 PyObject * obj2 = 0 ;
22148 PyObject * obj3 = 0 ;
22149 PyObject * obj4 = 0 ;
22150 char * kwnames[] = {
22151 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22152 };
22153
22154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22156 if (!SWIG_IsOK(res1)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22158 }
22159 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22160 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22161 if (!SWIG_IsOK(res2)) {
22162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22163 }
22164 arg2 = reinterpret_cast< wxWindow * >(argp2);
22165 {
22166 arg3 = wxString_in_helper(obj2);
22167 if (arg3 == NULL) SWIG_fail;
22168 temp3 = true;
22169 }
22170 if (obj3) {
22171 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22172 if (!SWIG_IsOK(ecode4)) {
22173 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22174 }
22175 arg4 = static_cast< bool >(val4);
22176 }
22177 if (obj4) {
22178 ecode5 = SWIG_AsVal_int(obj4, &val5);
22179 if (!SWIG_IsOK(ecode5)) {
22180 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22181 }
22182 arg5 = static_cast< int >(val5);
22183 }
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 {
22191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22192 }
22193 {
22194 if (temp3)
22195 delete arg3;
22196 }
22197 return resultobj;
22198fail:
22199 {
22200 if (temp3)
22201 delete arg3;
22202 }
22203 return NULL;
22204}
22205
22206
22207SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj = 0;
22209 wxTreebook *arg1 = (wxTreebook *) 0 ;
22210 size_t arg2 ;
22211 bool result;
22212 void *argp1 = 0 ;
22213 int res1 = 0 ;
22214 size_t val2 ;
22215 int ecode2 = 0 ;
22216 PyObject * obj0 = 0 ;
22217 PyObject * obj1 = 0 ;
22218 char * kwnames[] = {
22219 (char *) "self",(char *) "pos", NULL
22220 };
22221
22222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22224 if (!SWIG_IsOK(res1)) {
22225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22226 }
22227 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22228 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22229 if (!SWIG_IsOK(ecode2)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22231 }
22232 arg2 = static_cast< size_t >(val2);
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
22240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22241 }
22242 return resultobj;
22243fail:
22244 return NULL;
22245}
22246
22247
22248SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj = 0;
22250 wxTreebook *arg1 = (wxTreebook *) 0 ;
22251 size_t arg2 ;
22252 bool arg3 = (bool) true ;
22253 bool result;
22254 void *argp1 = 0 ;
22255 int res1 = 0 ;
22256 size_t val2 ;
22257 int ecode2 = 0 ;
22258 bool val3 ;
22259 int ecode3 = 0 ;
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 PyObject * obj2 = 0 ;
22263 char * kwnames[] = {
22264 (char *) "self",(char *) "pos",(char *) "expand", NULL
22265 };
22266
22267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22269 if (!SWIG_IsOK(res1)) {
22270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22271 }
22272 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22273 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22274 if (!SWIG_IsOK(ecode2)) {
22275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22276 }
22277 arg2 = static_cast< size_t >(val2);
22278 if (obj2) {
22279 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22280 if (!SWIG_IsOK(ecode3)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22282 }
22283 arg3 = static_cast< bool >(val3);
22284 }
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 {
22292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22293 }
22294 return resultobj;
22295fail:
22296 return NULL;
22297}
22298
22299
22300SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj = 0;
22302 wxTreebook *arg1 = (wxTreebook *) 0 ;
22303 size_t arg2 ;
22304 bool result;
22305 void *argp1 = 0 ;
22306 int res1 = 0 ;
22307 size_t val2 ;
22308 int ecode2 = 0 ;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 char * kwnames[] = {
22312 (char *) "self",(char *) "pos", NULL
22313 };
22314
22315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22317 if (!SWIG_IsOK(res1)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22319 }
22320 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22321 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22322 if (!SWIG_IsOK(ecode2)) {
22323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22324 }
22325 arg2 = static_cast< size_t >(val2);
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 result = (bool)(arg1)->CollapseNode(arg2);
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
22332 {
22333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22334 }
22335 return resultobj;
22336fail:
22337 return NULL;
22338}
22339
22340
22341SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22342 PyObject *resultobj = 0;
22343 wxTreebook *arg1 = (wxTreebook *) 0 ;
22344 size_t arg2 ;
22345 int result;
22346 void *argp1 = 0 ;
22347 int res1 = 0 ;
22348 size_t val2 ;
22349 int ecode2 = 0 ;
22350 PyObject * obj0 = 0 ;
22351 PyObject * obj1 = 0 ;
22352 char * kwnames[] = {
22353 (char *) "self",(char *) "pos", NULL
22354 };
22355
22356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22358 if (!SWIG_IsOK(res1)) {
22359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22360 }
22361 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22362 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22363 if (!SWIG_IsOK(ecode2)) {
22364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22365 }
22366 arg2 = static_cast< size_t >(val2);
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 resultobj = SWIG_From_int(static_cast< int >(result));
22374 return resultobj;
22375fail:
22376 return NULL;
d14a1e28
RD
22377}
22378
22379
0085ce49
RD
22380SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22381 PyObject *resultobj = 0;
22382 wxTreebook *arg1 = (wxTreebook *) 0 ;
10044bf1 22383 wxPyTreeCtrl *result = 0 ;
0085ce49
RD
22384 void *argp1 = 0 ;
22385 int res1 = 0 ;
22386 PyObject *swig_obj[1] ;
22387
22388 if (!args) SWIG_fail;
22389 swig_obj[0] = args;
22390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22391 if (!SWIG_IsOK(res1)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22393 }
22394 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 22397 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
0085ce49
RD
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
10044bf1
RD
22401 {
22402 resultobj = wxPyMake_wxObject(result, (bool)0);
22403 }
0085ce49
RD
22404 return resultobj;
22405fail:
22406 return NULL;
22407}
22408
22409
22410SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22411 PyObject *obj;
22412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22413 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22414 return SWIG_Py_Void();
22415}
22416
22417SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22418 return SWIG_Python_InitShadowInstance(args);
22419}
22420
22421SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj = 0;
22423 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22424 int arg2 = (int) 0 ;
22425 int arg3 = (int) wxNOT_FOUND ;
22426 int arg4 = (int) wxNOT_FOUND ;
22427 wxTreebookEvent *result = 0 ;
22428 int val1 ;
22429 int ecode1 = 0 ;
22430 int val2 ;
22431 int ecode2 = 0 ;
22432 int val3 ;
22433 int ecode3 = 0 ;
22434 int val4 ;
22435 int ecode4 = 0 ;
22436 PyObject * obj0 = 0 ;
22437 PyObject * obj1 = 0 ;
22438 PyObject * obj2 = 0 ;
22439 PyObject * obj3 = 0 ;
22440 char * kwnames[] = {
22441 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22442 };
22443
22444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22445 if (obj0) {
22446 ecode1 = SWIG_AsVal_int(obj0, &val1);
22447 if (!SWIG_IsOK(ecode1)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22449 }
22450 arg1 = static_cast< wxEventType >(val1);
22451 }
22452 if (obj1) {
22453 ecode2 = SWIG_AsVal_int(obj1, &val2);
22454 if (!SWIG_IsOK(ecode2)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22456 }
22457 arg2 = static_cast< int >(val2);
22458 }
22459 if (obj2) {
22460 ecode3 = SWIG_AsVal_int(obj2, &val3);
22461 if (!SWIG_IsOK(ecode3)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22463 }
22464 arg3 = static_cast< int >(val3);
22465 }
22466 if (obj3) {
22467 ecode4 = SWIG_AsVal_int(obj3, &val4);
22468 if (!SWIG_IsOK(ecode4)) {
22469 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22470 }
22471 arg4 = static_cast< int >(val4);
22472 }
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22480 return resultobj;
22481fail:
22482 return NULL;
22483}
22484
22485
22486SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22487 PyObject *obj;
22488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22489 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22490 return SWIG_Py_Void();
22491}
22492
22493SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22494 return SWIG_Python_InitShadowInstance(args);
22495}
22496
22497SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22498 PyObject *resultobj = 0;
22499 wxWindow *arg1 = (wxWindow *) 0 ;
22500 int arg2 ;
22501 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22502 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22503 wxSize const &arg4_defvalue = wxDefaultSize ;
22504 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22505 long arg5 = (long) wxBK_DEFAULT ;
22506 wxString const &arg6_defvalue = wxPyEmptyString ;
22507 wxString *arg6 = (wxString *) &arg6_defvalue ;
22508 wxToolbook *result = 0 ;
22509 void *argp1 = 0 ;
22510 int res1 = 0 ;
22511 int val2 ;
22512 int ecode2 = 0 ;
22513 wxPoint temp3 ;
22514 wxSize temp4 ;
22515 long val5 ;
22516 int ecode5 = 0 ;
22517 bool temp6 = false ;
22518 PyObject * obj0 = 0 ;
22519 PyObject * obj1 = 0 ;
22520 PyObject * obj2 = 0 ;
22521 PyObject * obj3 = 0 ;
22522 PyObject * obj4 = 0 ;
22523 PyObject * obj5 = 0 ;
22524 char * kwnames[] = {
22525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22526 };
22527
22528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22530 if (!SWIG_IsOK(res1)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22532 }
22533 arg1 = reinterpret_cast< wxWindow * >(argp1);
22534 ecode2 = SWIG_AsVal_int(obj1, &val2);
22535 if (!SWIG_IsOK(ecode2)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22537 }
22538 arg2 = static_cast< int >(val2);
22539 if (obj2) {
d14a1e28 22540 {
0085ce49
RD
22541 arg3 = &temp3;
22542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 22543 }
0085ce49
RD
22544 }
22545 if (obj3) {
093d3ff1 22546 {
0085ce49
RD
22547 arg4 = &temp4;
22548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22549 }
0085ce49
RD
22550 }
22551 if (obj4) {
22552 ecode5 = SWIG_AsVal_long(obj4, &val5);
22553 if (!SWIG_IsOK(ecode5)) {
22554 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22555 }
22556 arg5 = static_cast< long >(val5);
22557 }
22558 if (obj5) {
d14a1e28 22559 {
0085ce49
RD
22560 arg6 = wxString_in_helper(obj5);
22561 if (arg6 == NULL) SWIG_fail;
22562 temp6 = true;
d14a1e28 22563 }
0085ce49
RD
22564 }
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22572 {
22573 if (temp6)
22574 delete arg6;
22575 }
22576 return resultobj;
22577fail:
22578 {
22579 if (temp6)
22580 delete arg6;
22581 }
22582 return NULL;
d14a1e28
RD
22583}
22584
22585
0085ce49
RD
22586SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22587 PyObject *resultobj = 0;
22588 wxToolbook *result = 0 ;
22589
22590 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 result = (wxToolbook *)new wxToolbook();
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22598 return resultobj;
22599fail:
22600 return NULL;
22601}
22602
22603
22604SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22605 PyObject *resultobj = 0;
22606 wxToolbook *arg1 = (wxToolbook *) 0 ;
22607 wxWindow *arg2 = (wxWindow *) 0 ;
22608 int arg3 ;
22609 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22610 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22611 wxSize const &arg5_defvalue = wxDefaultSize ;
22612 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22613 long arg6 = (long) 0 ;
22614 wxString const &arg7_defvalue = wxEmptyString ;
22615 wxString *arg7 = (wxString *) &arg7_defvalue ;
22616 bool result;
22617 void *argp1 = 0 ;
22618 int res1 = 0 ;
22619 void *argp2 = 0 ;
22620 int res2 = 0 ;
22621 int val3 ;
22622 int ecode3 = 0 ;
22623 wxPoint temp4 ;
22624 wxSize temp5 ;
22625 long val6 ;
22626 int ecode6 = 0 ;
22627 bool temp7 = false ;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 PyObject * obj2 = 0 ;
22631 PyObject * obj3 = 0 ;
22632 PyObject * obj4 = 0 ;
22633 PyObject * obj5 = 0 ;
22634 PyObject * obj6 = 0 ;
22635 char * kwnames[] = {
22636 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22637 };
22638
22639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22641 if (!SWIG_IsOK(res1)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22643 }
22644 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22645 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22646 if (!SWIG_IsOK(res2)) {
22647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22648 }
22649 arg2 = reinterpret_cast< wxWindow * >(argp2);
22650 ecode3 = SWIG_AsVal_int(obj2, &val3);
22651 if (!SWIG_IsOK(ecode3)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22653 }
22654 arg3 = static_cast< int >(val3);
22655 if (obj3) {
093d3ff1 22656 {
0085ce49
RD
22657 arg4 = &temp4;
22658 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22659 }
0085ce49
RD
22660 }
22661 if (obj4) {
093d3ff1 22662 {
0085ce49
RD
22663 arg5 = &temp5;
22664 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22665 }
0085ce49
RD
22666 }
22667 if (obj5) {
22668 ecode6 = SWIG_AsVal_long(obj5, &val6);
22669 if (!SWIG_IsOK(ecode6)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22671 }
22672 arg6 = static_cast< long >(val6);
22673 }
22674 if (obj6) {
994141e6 22675 {
0085ce49
RD
22676 arg7 = wxString_in_helper(obj6);
22677 if (arg7 == NULL) SWIG_fail;
22678 temp7 = true;
d14a1e28 22679 }
0085ce49
RD
22680 }
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 {
22688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22689 }
22690 {
22691 if (temp7)
22692 delete arg7;
22693 }
22694 return resultobj;
22695fail:
22696 {
22697 if (temp7)
22698 delete arg7;
22699 }
22700 return NULL;
22bfe96c
RD
22701}
22702
22703
0085ce49
RD
22704SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22705 PyObject *resultobj = 0;
22706 wxToolbook *arg1 = (wxToolbook *) 0 ;
22707 wxToolBarBase *result = 0 ;
22708 void *argp1 = 0 ;
22709 int res1 = 0 ;
22710 PyObject *swig_obj[1] ;
22711
22712 if (!args) SWIG_fail;
22713 swig_obj[0] = args;
22714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22715 if (!SWIG_IsOK(res1)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22717 }
22718 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 {
22726 resultobj = wxPyMake_wxObject(result, (bool)0);
22727 }
22728 return resultobj;
22729fail:
22730 return NULL;
d14a1e28
RD
22731}
22732
22733
0085ce49
RD
22734SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22735 PyObject *resultobj = 0;
22736 wxToolbook *arg1 = (wxToolbook *) 0 ;
22737 void *argp1 = 0 ;
22738 int res1 = 0 ;
22739 PyObject *swig_obj[1] ;
22740
22741 if (!args) SWIG_fail;
22742 swig_obj[0] = args;
22743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22744 if (!SWIG_IsOK(res1)) {
22745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22746 }
22747 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 (arg1)->Realize();
22751 wxPyEndAllowThreads(__tstate);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 resultobj = SWIG_Py_Void();
22755 return resultobj;
22756fail:
22757 return NULL;
22758}
22759
22760
22761SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22762 PyObject *obj;
22763 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22764 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22765 return SWIG_Py_Void();
22766}
22767
22768SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22769 return SWIG_Python_InitShadowInstance(args);
22770}
22771
22772SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22773 PyObject *resultobj = 0;
22774 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22775 int arg2 = (int) 0 ;
22776 int arg3 = (int) wxNOT_FOUND ;
22777 int arg4 = (int) wxNOT_FOUND ;
22778 wxToolbookEvent *result = 0 ;
22779 int val1 ;
22780 int ecode1 = 0 ;
22781 int val2 ;
22782 int ecode2 = 0 ;
22783 int val3 ;
22784 int ecode3 = 0 ;
22785 int val4 ;
22786 int ecode4 = 0 ;
22787 PyObject * obj0 = 0 ;
22788 PyObject * obj1 = 0 ;
22789 PyObject * obj2 = 0 ;
22790 PyObject * obj3 = 0 ;
22791 char * kwnames[] = {
22792 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22793 };
22794
22795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22796 if (obj0) {
22797 ecode1 = SWIG_AsVal_int(obj0, &val1);
22798 if (!SWIG_IsOK(ecode1)) {
22799 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22800 }
22801 arg1 = static_cast< wxEventType >(val1);
22802 }
22803 if (obj1) {
22804 ecode2 = SWIG_AsVal_int(obj1, &val2);
22805 if (!SWIG_IsOK(ecode2)) {
22806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22807 }
22808 arg2 = static_cast< int >(val2);
22809 }
22810 if (obj2) {
22811 ecode3 = SWIG_AsVal_int(obj2, &val3);
22812 if (!SWIG_IsOK(ecode3)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22814 }
22815 arg3 = static_cast< int >(val3);
22816 }
22817 if (obj3) {
22818 ecode4 = SWIG_AsVal_int(obj3, &val4);
22819 if (!SWIG_IsOK(ecode4)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22821 }
22822 arg4 = static_cast< int >(val4);
22823 }
22824 {
22825 PyThreadState* __tstate = wxPyBeginAllowThreads();
22826 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22831 return resultobj;
22832fail:
22833 return NULL;
d14a1e28
RD
22834}
22835
22836
0085ce49
RD
22837SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22838 PyObject *obj;
22839 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22840 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22841 return SWIG_Py_Void();
d14a1e28
RD
22842}
22843
0085ce49
RD
22844SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22845 return SWIG_Python_InitShadowInstance(args);
22846}
d14a1e28 22847
0085ce49
RD
22848SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22849 PyObject *resultobj = 0;
22850 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22851 int result;
22852 void *argp1 = 0 ;
22853 int res1 = 0 ;
22854 PyObject *swig_obj[1] ;
22855
22856 if (!args) SWIG_fail;
22857 swig_obj[0] = args;
22858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22859 if (!SWIG_IsOK(res1)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22861 }
22862 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 result = (int)(arg1)->GetId();
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 resultobj = SWIG_From_int(static_cast< int >(result));
22870 return resultobj;
22871fail:
22872 return NULL;
d14a1e28
RD
22873}
22874
22875
0085ce49
RD
22876SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22877 PyObject *resultobj = 0;
22878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22879 wxControl *result = 0 ;
22880 void *argp1 = 0 ;
22881 int res1 = 0 ;
22882 PyObject *swig_obj[1] ;
22883
22884 if (!args) SWIG_fail;
22885 swig_obj[0] = args;
22886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22887 if (!SWIG_IsOK(res1)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22889 }
22890 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (wxControl *)(arg1)->GetControl();
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 {
22898 resultobj = wxPyMake_wxObject(result, 0);
22899 }
22900 return resultobj;
22901fail:
22902 return NULL;
d14a1e28
RD
22903}
22904
22905
0085ce49
RD
22906SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22907 PyObject *resultobj = 0;
22908 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22909 wxToolBarBase *result = 0 ;
22910 void *argp1 = 0 ;
22911 int res1 = 0 ;
22912 PyObject *swig_obj[1] ;
22913
22914 if (!args) SWIG_fail;
22915 swig_obj[0] = args;
22916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22917 if (!SWIG_IsOK(res1)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22919 }
22920 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = (wxToolBarBase *)(arg1)->GetToolBar();
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 {
22928 resultobj = wxPyMake_wxObject(result, (bool)0);
22929 }
22930 return resultobj;
22931fail:
22932 return NULL;
d14a1e28
RD
22933}
22934
22935
0085ce49
RD
22936SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22937 PyObject *resultobj = 0;
22938 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22939 int result;
22940 void *argp1 = 0 ;
22941 int res1 = 0 ;
22942 PyObject *swig_obj[1] ;
22943
22944 if (!args) SWIG_fail;
22945 swig_obj[0] = args;
22946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22947 if (!SWIG_IsOK(res1)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22949 }
22950 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (int)(arg1)->IsButton();
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 resultobj = SWIG_From_int(static_cast< int >(result));
22958 return resultobj;
22959fail:
22960 return NULL;
d14a1e28
RD
22961}
22962
22963
0085ce49
RD
22964SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22965 PyObject *resultobj = 0;
22966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22967 int result;
22968 void *argp1 = 0 ;
22969 int res1 = 0 ;
22970 PyObject *swig_obj[1] ;
22971
22972 if (!args) SWIG_fail;
22973 swig_obj[0] = args;
22974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22975 if (!SWIG_IsOK(res1)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22977 }
22978 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (int)(arg1)->IsControl();
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 resultobj = SWIG_From_int(static_cast< int >(result));
22986 return resultobj;
22987fail:
22988 return NULL;
d14a1e28
RD
22989}
22990
22991
0085ce49
RD
22992SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22993 PyObject *resultobj = 0;
22994 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22995 int result;
22996 void *argp1 = 0 ;
22997 int res1 = 0 ;
22998 PyObject *swig_obj[1] ;
22999
23000 if (!args) SWIG_fail;
23001 swig_obj[0] = args;
23002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23003 if (!SWIG_IsOK(res1)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23005 }
23006 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (int)(arg1)->IsSeparator();
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 resultobj = SWIG_From_int(static_cast< int >(result));
23014 return resultobj;
23015fail:
23016 return NULL;
d14a1e28
RD
23017}
23018
23019
0085ce49
RD
23020SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23021 PyObject *resultobj = 0;
23022 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23023 int result;
23024 void *argp1 = 0 ;
23025 int res1 = 0 ;
23026 PyObject *swig_obj[1] ;
23027
23028 if (!args) SWIG_fail;
23029 swig_obj[0] = args;
23030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23031 if (!SWIG_IsOK(res1)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23033 }
23034 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (int)(arg1)->GetStyle();
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 resultobj = SWIG_From_int(static_cast< int >(result));
23042 return resultobj;
23043fail:
23044 return NULL;
d14a1e28
RD
23045}
23046
23047
0085ce49
RD
23048SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23049 PyObject *resultobj = 0;
23050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23051 wxItemKind result;
23052 void *argp1 = 0 ;
23053 int res1 = 0 ;
23054 PyObject *swig_obj[1] ;
23055
23056 if (!args) SWIG_fail;
23057 swig_obj[0] = args;
23058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23059 if (!SWIG_IsOK(res1)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23061 }
23062 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23063 {
23064 PyThreadState* __tstate = wxPyBeginAllowThreads();
23065 result = (wxItemKind)(arg1)->GetKind();
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 resultobj = SWIG_From_int(static_cast< int >(result));
23070 return resultobj;
23071fail:
23072 return NULL;
d14a1e28
RD
23073}
23074
23075
0085ce49
RD
23076SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23077 PyObject *resultobj = 0;
23078 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23079 bool result;
23080 void *argp1 = 0 ;
23081 int res1 = 0 ;
23082 PyObject *swig_obj[1] ;
23083
23084 if (!args) SWIG_fail;
23085 swig_obj[0] = args;
23086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23087 if (!SWIG_IsOK(res1)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23089 }
23090 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = (bool)(arg1)->IsEnabled();
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;
d14a1e28
RD
23103}
23104
23105
0085ce49
RD
23106SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23107 PyObject *resultobj = 0;
23108 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23109 bool result;
23110 void *argp1 = 0 ;
23111 int res1 = 0 ;
23112 PyObject *swig_obj[1] ;
23113
23114 if (!args) SWIG_fail;
23115 swig_obj[0] = args;
23116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23117 if (!SWIG_IsOK(res1)) {
23118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23119 }
23120 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 result = (bool)(arg1)->IsToggled();
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 {
23128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23129 }
23130 return resultobj;
23131fail:
23132 return NULL;
22bfe96c
RD
23133}
23134
23135
0085ce49
RD
23136SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23137 PyObject *resultobj = 0;
23138 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23139 bool result;
23140 void *argp1 = 0 ;
23141 int res1 = 0 ;
23142 PyObject *swig_obj[1] ;
23143
23144 if (!args) SWIG_fail;
23145 swig_obj[0] = args;
23146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23147 if (!SWIG_IsOK(res1)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23149 }
23150 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 result = (bool)(arg1)->CanBeToggled();
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 {
23158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23159 }
23160 return resultobj;
23161fail:
23162 return NULL;
d1e20054
RD
23163}
23164
23165
0085ce49
RD
23166SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23167 PyObject *resultobj = 0;
23168 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23169 wxBitmap *result = 0 ;
23170 void *argp1 = 0 ;
23171 int res1 = 0 ;
23172 PyObject *swig_obj[1] ;
23173
23174 if (!args) SWIG_fail;
23175 swig_obj[0] = args;
23176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23177 if (!SWIG_IsOK(res1)) {
23178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23179 }
23180 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23183 {
0085ce49
RD
23184 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23185 result = (wxBitmap *) &_result_ref;
093d3ff1 23186 }
0085ce49
RD
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 {
23191 wxBitmap* resultptr = new wxBitmap(*result);
23192 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23193 }
23194 return resultobj;
23195fail:
23196 return NULL;
d1e20054
RD
23197}
23198
23199
0085ce49
RD
23200SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23201 PyObject *resultobj = 0;
23202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23203 wxBitmap *result = 0 ;
23204 void *argp1 = 0 ;
23205 int res1 = 0 ;
23206 PyObject *swig_obj[1] ;
23207
23208 if (!args) SWIG_fail;
23209 swig_obj[0] = args;
23210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23211 if (!SWIG_IsOK(res1)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23213 }
23214 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1e20054 23217 {
0085ce49
RD
23218 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23219 result = (wxBitmap *) &_result_ref;
d1e20054 23220 }
0085ce49
RD
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 {
23225 wxBitmap* resultptr = new wxBitmap(*result);
23226 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23227 }
23228 return resultobj;
23229fail:
23230 return NULL;
d1e20054
RD
23231}
23232
23233
0085ce49
RD
23234SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23235 PyObject *resultobj = 0;
23236 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23237 wxBitmap result;
23238 void *argp1 = 0 ;
23239 int res1 = 0 ;
23240 PyObject *swig_obj[1] ;
23241
23242 if (!args) SWIG_fail;
23243 swig_obj[0] = args;
23244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23245 if (!SWIG_IsOK(res1)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23247 }
23248 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 result = (arg1)->GetBitmap();
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23256 return resultobj;
23257fail:
23258 return NULL;
b2dc1044
RD
23259}
23260
23261
0085ce49
RD
23262SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23263 PyObject *resultobj = 0;
23264 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23265 wxString result;
23266 void *argp1 = 0 ;
23267 int res1 = 0 ;
23268 PyObject *swig_obj[1] ;
23269
23270 if (!args) SWIG_fail;
23271 swig_obj[0] = args;
23272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23273 if (!SWIG_IsOK(res1)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23275 }
23276 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 result = (arg1)->GetLabel();
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 {
b2dc1044 23284#if wxUSE_UNICODE
0085ce49 23285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 23286#else
0085ce49 23287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 23288#endif
0085ce49
RD
23289 }
23290 return resultobj;
23291fail:
23292 return NULL;
b2dc1044
RD
23293}
23294
23295
0085ce49
RD
23296SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23297 PyObject *resultobj = 0;
23298 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23299 wxString result;
23300 void *argp1 = 0 ;
23301 int res1 = 0 ;
23302 PyObject *swig_obj[1] ;
23303
23304 if (!args) SWIG_fail;
23305 swig_obj[0] = args;
23306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23307 if (!SWIG_IsOK(res1)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23309 }
23310 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = (arg1)->GetShortHelp();
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
b2dc1044 23318#if wxUSE_UNICODE
0085ce49 23319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 23320#else
0085ce49 23321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 23322#endif
0085ce49
RD
23323 }
23324 return resultobj;
23325fail:
23326 return NULL;
d14a1e28
RD
23327}
23328
23329
0085ce49
RD
23330SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23331 PyObject *resultobj = 0;
23332 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23333 wxString result;
23334 void *argp1 = 0 ;
23335 int res1 = 0 ;
23336 PyObject *swig_obj[1] ;
23337
23338 if (!args) SWIG_fail;
23339 swig_obj[0] = args;
23340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23341 if (!SWIG_IsOK(res1)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23343 }
23344 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = (arg1)->GetLongHelp();
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 {
23352#if wxUSE_UNICODE
23353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23354#else
23355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23356#endif
23357 }
23358 return resultobj;
23359fail:
23360 return NULL;
23361}
23362
23363
23364SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj = 0;
23366 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23367 bool arg2 ;
23368 bool result;
23369 void *argp1 = 0 ;
23370 int res1 = 0 ;
23371 bool val2 ;
23372 int ecode2 = 0 ;
23373 PyObject * obj0 = 0 ;
23374 PyObject * obj1 = 0 ;
23375 char * kwnames[] = {
23376 (char *) "self",(char *) "enable", NULL
23377 };
23378
23379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23381 if (!SWIG_IsOK(res1)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23383 }
23384 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23385 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23386 if (!SWIG_IsOK(ecode2)) {
23387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23388 }
23389 arg2 = static_cast< bool >(val2);
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (bool)(arg1)->Enable(arg2);
23393 wxPyEndAllowThreads(__tstate);
23394 if (PyErr_Occurred()) SWIG_fail;
23395 }
23396 {
23397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23398 }
23399 return resultobj;
23400fail:
23401 return NULL;
d14a1e28
RD
23402}
23403
23404
0085ce49
RD
23405SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23406 PyObject *resultobj = 0;
23407 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23408 void *argp1 = 0 ;
23409 int res1 = 0 ;
23410 PyObject *swig_obj[1] ;
23411
23412 if (!args) SWIG_fail;
23413 swig_obj[0] = args;
23414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23415 if (!SWIG_IsOK(res1)) {
23416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23417 }
23418 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->Toggle();
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 resultobj = SWIG_Py_Void();
23426 return resultobj;
23427fail:
23428 return NULL;
23429}
23430
23431
23432SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23433 PyObject *resultobj = 0;
23434 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23435 bool arg2 ;
23436 bool result;
23437 void *argp1 = 0 ;
23438 int res1 = 0 ;
23439 bool val2 ;
23440 int ecode2 = 0 ;
23441 PyObject * obj0 = 0 ;
23442 PyObject * obj1 = 0 ;
23443 char * kwnames[] = {
23444 (char *) "self",(char *) "toggle", NULL
23445 };
23446
23447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23449 if (!SWIG_IsOK(res1)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23451 }
23452 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23453 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23454 if (!SWIG_IsOK(ecode2)) {
23455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23456 }
23457 arg2 = static_cast< bool >(val2);
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = (bool)(arg1)->SetToggle(arg2);
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 {
23465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23466 }
23467 return resultobj;
23468fail:
23469 return NULL;
23470}
23471
23472
23473SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23474 PyObject *resultobj = 0;
23475 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23476 wxString *arg2 = 0 ;
23477 bool result;
23478 void *argp1 = 0 ;
23479 int res1 = 0 ;
23480 bool temp2 = false ;
23481 PyObject * obj0 = 0 ;
23482 PyObject * obj1 = 0 ;
23483 char * kwnames[] = {
23484 (char *) "self",(char *) "help", NULL
23485 };
23486
23487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23489 if (!SWIG_IsOK(res1)) {
23490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23491 }
23492 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23493 {
23494 arg2 = wxString_in_helper(obj1);
23495 if (arg2 == NULL) SWIG_fail;
23496 temp2 = true;
23497 }
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23501 wxPyEndAllowThreads(__tstate);
23502 if (PyErr_Occurred()) SWIG_fail;
23503 }
23504 {
23505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23506 }
23507 {
23508 if (temp2)
23509 delete arg2;
23510 }
23511 return resultobj;
23512fail:
23513 {
23514 if (temp2)
23515 delete arg2;
23516 }
23517 return NULL;
23518}
23519
23520
23521SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23522 PyObject *resultobj = 0;
23523 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23524 wxString *arg2 = 0 ;
23525 bool result;
23526 void *argp1 = 0 ;
23527 int res1 = 0 ;
23528 bool temp2 = false ;
23529 PyObject * obj0 = 0 ;
23530 PyObject * obj1 = 0 ;
23531 char * kwnames[] = {
23532 (char *) "self",(char *) "help", NULL
23533 };
23534
23535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23537 if (!SWIG_IsOK(res1)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23539 }
23540 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23541 {
23542 arg2 = wxString_in_helper(obj1);
23543 if (arg2 == NULL) SWIG_fail;
23544 temp2 = true;
23545 }
23546 {
23547 PyThreadState* __tstate = wxPyBeginAllowThreads();
23548 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 {
23553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23554 }
23555 {
23556 if (temp2)
23557 delete arg2;
23558 }
23559 return resultobj;
23560fail:
23561 {
23562 if (temp2)
23563 delete arg2;
23564 }
23565 return NULL;
23566}
23567
23568
23569SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj = 0;
23571 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23572 wxBitmap *arg2 = 0 ;
23573 void *argp1 = 0 ;
23574 int res1 = 0 ;
23575 void *argp2 = 0 ;
23576 int res2 = 0 ;
23577 PyObject * obj0 = 0 ;
23578 PyObject * obj1 = 0 ;
23579 char * kwnames[] = {
23580 (char *) "self",(char *) "bmp", NULL
23581 };
23582
23583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23585 if (!SWIG_IsOK(res1)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23587 }
23588 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23589 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23590 if (!SWIG_IsOK(res2)) {
23591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23592 }
23593 if (!argp2) {
23594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23595 }
23596 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23597 {
23598 PyThreadState* __tstate = wxPyBeginAllowThreads();
23599 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23600 wxPyEndAllowThreads(__tstate);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 resultobj = SWIG_Py_Void();
23604 return resultobj;
23605fail:
23606 return NULL;
23607}
23608
23609
23610SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23611 PyObject *resultobj = 0;
23612 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23613 wxBitmap *arg2 = 0 ;
23614 void *argp1 = 0 ;
23615 int res1 = 0 ;
23616 void *argp2 = 0 ;
23617 int res2 = 0 ;
23618 PyObject * obj0 = 0 ;
23619 PyObject * obj1 = 0 ;
23620 char * kwnames[] = {
23621 (char *) "self",(char *) "bmp", NULL
23622 };
23623
23624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23626 if (!SWIG_IsOK(res1)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23628 }
23629 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23631 if (!SWIG_IsOK(res2)) {
23632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23633 }
23634 if (!argp2) {
23635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23636 }
23637 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 resultobj = SWIG_Py_Void();
23645 return resultobj;
23646fail:
23647 return NULL;
23648}
23649
23650
23651SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj = 0;
23653 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23654 wxString *arg2 = 0 ;
23655 void *argp1 = 0 ;
23656 int res1 = 0 ;
23657 bool temp2 = false ;
23658 PyObject * obj0 = 0 ;
23659 PyObject * obj1 = 0 ;
23660 char * kwnames[] = {
23661 (char *) "self",(char *) "label", NULL
23662 };
23663
23664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23666 if (!SWIG_IsOK(res1)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23668 }
23669 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23670 {
23671 arg2 = wxString_in_helper(obj1);
23672 if (arg2 == NULL) SWIG_fail;
23673 temp2 = true;
23674 }
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 (arg1)->SetLabel((wxString const &)*arg2);
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = SWIG_Py_Void();
23682 {
23683 if (temp2)
23684 delete arg2;
23685 }
23686 return resultobj;
23687fail:
23688 {
23689 if (temp2)
23690 delete arg2;
23691 }
23692 return NULL;
d14a1e28
RD
23693}
23694
23695
0085ce49
RD
23696SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23697 PyObject *resultobj = 0;
23698 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23699 void *argp1 = 0 ;
23700 int res1 = 0 ;
23701 PyObject *swig_obj[1] ;
23702
23703 if (!args) SWIG_fail;
23704 swig_obj[0] = args;
23705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23706 if (!SWIG_IsOK(res1)) {
23707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23708 }
23709 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->Detach();
23713 wxPyEndAllowThreads(__tstate);
23714 if (PyErr_Occurred()) SWIG_fail;
23715 }
23716 resultobj = SWIG_Py_Void();
23717 return resultobj;
23718fail:
23719 return NULL;
23720}
23721
23722
23723SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj = 0;
23725 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23726 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23727 void *argp1 = 0 ;
23728 int res1 = 0 ;
23729 void *argp2 = 0 ;
23730 int res2 = 0 ;
23731 PyObject * obj0 = 0 ;
23732 PyObject * obj1 = 0 ;
23733 char * kwnames[] = {
23734 (char *) "self",(char *) "tbar", NULL
23735 };
23736
23737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23739 if (!SWIG_IsOK(res1)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23741 }
23742 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23743 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23744 if (!SWIG_IsOK(res2)) {
23745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23746 }
23747 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 (arg1)->Attach(arg2);
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_Py_Void();
23755 return resultobj;
23756fail:
23757 return NULL;
d14a1e28
RD
23758}
23759
23760
0085ce49
RD
23761SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23762 PyObject *resultobj = 0;
23763 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23764 PyObject *result = 0 ;
23765 void *argp1 = 0 ;
23766 int res1 = 0 ;
23767 PyObject *swig_obj[1] ;
23768
23769 if (!args) SWIG_fail;
23770 swig_obj[0] = args;
23771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23772 if (!SWIG_IsOK(res1)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23774 }
23775 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23779 wxPyEndAllowThreads(__tstate);
23780 if (PyErr_Occurred()) SWIG_fail;
23781 }
23782 resultobj = result;
23783 return resultobj;
23784fail:
23785 return NULL;
23786}
23787
23788
23789SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23790 PyObject *resultobj = 0;
23791 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23792 PyObject *arg2 = (PyObject *) 0 ;
23793 void *argp1 = 0 ;
23794 int res1 = 0 ;
23795 PyObject * obj0 = 0 ;
23796 PyObject * obj1 = 0 ;
23797 char * kwnames[] = {
23798 (char *) "self",(char *) "clientData", NULL
23799 };
23800
23801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23803 if (!SWIG_IsOK(res1)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23805 }
23806 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23807 arg2 = obj1;
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 wxToolBarToolBase_SetClientData(arg1,arg2);
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 resultobj = SWIG_Py_Void();
23815 return resultobj;
23816fail:
23817 return NULL;
23818}
23819
23820
23821SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23822 PyObject *obj;
23823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23824 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23825 return SWIG_Py_Void();
23826}
23827
23828SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj = 0;
23830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23831 int arg2 ;
23832 wxString *arg3 = 0 ;
23833 wxBitmap *arg4 = 0 ;
23834 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23835 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23836 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23837 wxString const &arg7_defvalue = wxPyEmptyString ;
23838 wxString *arg7 = (wxString *) &arg7_defvalue ;
23839 wxString const &arg8_defvalue = wxPyEmptyString ;
23840 wxString *arg8 = (wxString *) &arg8_defvalue ;
23841 PyObject *arg9 = (PyObject *) NULL ;
23842 wxToolBarToolBase *result = 0 ;
23843 void *argp1 = 0 ;
23844 int res1 = 0 ;
23845 int val2 ;
23846 int ecode2 = 0 ;
23847 bool temp3 = false ;
23848 void *argp4 = 0 ;
23849 int res4 = 0 ;
23850 void *argp5 = 0 ;
23851 int res5 = 0 ;
23852 int val6 ;
23853 int ecode6 = 0 ;
23854 bool temp7 = false ;
23855 bool temp8 = false ;
23856 PyObject * obj0 = 0 ;
23857 PyObject * obj1 = 0 ;
23858 PyObject * obj2 = 0 ;
23859 PyObject * obj3 = 0 ;
23860 PyObject * obj4 = 0 ;
23861 PyObject * obj5 = 0 ;
23862 PyObject * obj6 = 0 ;
23863 PyObject * obj7 = 0 ;
23864 PyObject * obj8 = 0 ;
23865 char * kwnames[] = {
23866 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23867 };
23868
23869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23871 if (!SWIG_IsOK(res1)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23873 }
23874 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23875 ecode2 = SWIG_AsVal_int(obj1, &val2);
23876 if (!SWIG_IsOK(ecode2)) {
23877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23878 }
23879 arg2 = static_cast< int >(val2);
23880 {
23881 arg3 = wxString_in_helper(obj2);
23882 if (arg3 == NULL) SWIG_fail;
23883 temp3 = true;
23884 }
23885 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23886 if (!SWIG_IsOK(res4)) {
23887 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23888 }
23889 if (!argp4) {
23890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23891 }
23892 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23893 if (obj4) {
23894 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23895 if (!SWIG_IsOK(res5)) {
23896 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
d14a1e28 23897 }
0085ce49
RD
23898 if (!argp5) {
23899 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
d14a1e28 23900 }
0085ce49
RD
23901 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23902 }
23903 if (obj5) {
23904 ecode6 = SWIG_AsVal_int(obj5, &val6);
23905 if (!SWIG_IsOK(ecode6)) {
23906 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23907 }
23908 arg6 = static_cast< wxItemKind >(val6);
23909 }
23910 if (obj6) {
093d3ff1 23911 {
0085ce49
RD
23912 arg7 = wxString_in_helper(obj6);
23913 if (arg7 == NULL) SWIG_fail;
23914 temp7 = true;
093d3ff1 23915 }
0085ce49
RD
23916 }
23917 if (obj7) {
d14a1e28 23918 {
0085ce49
RD
23919 arg8 = wxString_in_helper(obj7);
23920 if (arg8 == NULL) SWIG_fail;
23921 temp8 = true;
d14a1e28 23922 }
0085ce49
RD
23923 }
23924 if (obj8) {
23925 arg9 = obj8;
23926 }
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 {
23934 resultobj = wxPyMake_wxObject(result, (bool)0);
23935 }
23936 {
23937 if (temp3)
23938 delete arg3;
23939 }
23940 {
23941 if (temp7)
23942 delete arg7;
23943 }
23944 {
23945 if (temp8)
23946 delete arg8;
23947 }
23948 return resultobj;
23949fail:
23950 {
23951 if (temp3)
23952 delete arg3;
23953 }
23954 {
23955 if (temp7)
23956 delete arg7;
23957 }
23958 {
23959 if (temp8)
23960 delete arg8;
23961 }
23962 return NULL;
23963}
23964
23965
23966SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23967 PyObject *resultobj = 0;
23968 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23969 size_t arg2 ;
23970 int arg3 ;
23971 wxString *arg4 = 0 ;
23972 wxBitmap *arg5 = 0 ;
23973 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23974 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23975 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23976 wxString const &arg8_defvalue = wxPyEmptyString ;
23977 wxString *arg8 = (wxString *) &arg8_defvalue ;
23978 wxString const &arg9_defvalue = wxPyEmptyString ;
23979 wxString *arg9 = (wxString *) &arg9_defvalue ;
23980 PyObject *arg10 = (PyObject *) NULL ;
23981 wxToolBarToolBase *result = 0 ;
23982 void *argp1 = 0 ;
23983 int res1 = 0 ;
23984 size_t val2 ;
23985 int ecode2 = 0 ;
23986 int val3 ;
23987 int ecode3 = 0 ;
23988 bool temp4 = false ;
23989 void *argp5 = 0 ;
23990 int res5 = 0 ;
23991 void *argp6 = 0 ;
23992 int res6 = 0 ;
23993 int val7 ;
23994 int ecode7 = 0 ;
23995 bool temp8 = false ;
23996 bool temp9 = false ;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 PyObject * obj2 = 0 ;
24000 PyObject * obj3 = 0 ;
24001 PyObject * obj4 = 0 ;
24002 PyObject * obj5 = 0 ;
24003 PyObject * obj6 = 0 ;
24004 PyObject * obj7 = 0 ;
24005 PyObject * obj8 = 0 ;
24006 PyObject * obj9 = 0 ;
24007 char * kwnames[] = {
24008 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24009 };
24010
24011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24013 if (!SWIG_IsOK(res1)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24015 }
24016 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24017 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24018 if (!SWIG_IsOK(ecode2)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24020 }
24021 arg2 = static_cast< size_t >(val2);
24022 ecode3 = SWIG_AsVal_int(obj2, &val3);
24023 if (!SWIG_IsOK(ecode3)) {
24024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24025 }
24026 arg3 = static_cast< int >(val3);
24027 {
24028 arg4 = wxString_in_helper(obj3);
24029 if (arg4 == NULL) SWIG_fail;
24030 temp4 = true;
24031 }
24032 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24033 if (!SWIG_IsOK(res5)) {
24034 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24035 }
24036 if (!argp5) {
24037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24038 }
24039 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24040 if (obj5) {
24041 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24042 if (!SWIG_IsOK(res6)) {
24043 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d14a1e28 24044 }
0085ce49
RD
24045 if (!argp6) {
24046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
093d3ff1 24047 }
0085ce49
RD
24048 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24049 }
24050 if (obj6) {
24051 ecode7 = SWIG_AsVal_int(obj6, &val7);
24052 if (!SWIG_IsOK(ecode7)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24054 }
24055 arg7 = static_cast< wxItemKind >(val7);
24056 }
24057 if (obj7) {
d14a1e28 24058 {
0085ce49
RD
24059 arg8 = wxString_in_helper(obj7);
24060 if (arg8 == NULL) SWIG_fail;
24061 temp8 = true;
d14a1e28 24062 }
0085ce49
RD
24063 }
24064 if (obj8) {
d14a1e28 24065 {
0085ce49
RD
24066 arg9 = wxString_in_helper(obj8);
24067 if (arg9 == NULL) SWIG_fail;
24068 temp9 = true;
d14a1e28 24069 }
0085ce49
RD
24070 }
24071 if (obj9) {
24072 arg10 = obj9;
24073 }
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 {
24081 resultobj = wxPyMake_wxObject(result, (bool)0);
24082 }
24083 {
24084 if (temp4)
24085 delete arg4;
24086 }
24087 {
24088 if (temp8)
24089 delete arg8;
24090 }
24091 {
24092 if (temp9)
24093 delete arg9;
24094 }
24095 return resultobj;
24096fail:
24097 {
24098 if (temp4)
24099 delete arg4;
24100 }
24101 {
24102 if (temp8)
24103 delete arg8;
24104 }
24105 {
24106 if (temp9)
24107 delete arg9;
24108 }
24109 return NULL;
24110}
24111
24112
24113SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj = 0;
24115 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24116 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24117 wxToolBarToolBase *result = 0 ;
24118 void *argp1 = 0 ;
24119 int res1 = 0 ;
24120 void *argp2 = 0 ;
24121 int res2 = 0 ;
24122 PyObject * obj0 = 0 ;
24123 PyObject * obj1 = 0 ;
24124 char * kwnames[] = {
24125 (char *) "self",(char *) "tool", NULL
24126 };
24127
24128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24130 if (!SWIG_IsOK(res1)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24132 }
24133 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24134 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24135 if (!SWIG_IsOK(res2)) {
24136 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24137 }
24138 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 {
24146 resultobj = wxPyMake_wxObject(result, (bool)0);
24147 }
24148 return resultobj;
24149fail:
24150 return NULL;
24151}
24152
24153
24154SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj = 0;
24156 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24157 size_t arg2 ;
24158 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24159 wxToolBarToolBase *result = 0 ;
24160 void *argp1 = 0 ;
24161 int res1 = 0 ;
24162 size_t val2 ;
24163 int ecode2 = 0 ;
24164 void *argp3 = 0 ;
24165 int res3 = 0 ;
24166 PyObject * obj0 = 0 ;
24167 PyObject * obj1 = 0 ;
24168 PyObject * obj2 = 0 ;
24169 char * kwnames[] = {
24170 (char *) "self",(char *) "pos",(char *) "tool", NULL
24171 };
24172
24173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24175 if (!SWIG_IsOK(res1)) {
24176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24177 }
24178 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24179 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24180 if (!SWIG_IsOK(ecode2)) {
24181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24182 }
24183 arg2 = static_cast< size_t >(val2);
24184 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24185 if (!SWIG_IsOK(res3)) {
24186 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24187 }
24188 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 {
24196 resultobj = wxPyMake_wxObject(result, (bool)0);
24197 }
24198 return resultobj;
24199fail:
24200 return NULL;
24201}
24202
24203
24204SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj = 0;
24206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24207 wxControl *arg2 = (wxControl *) 0 ;
24208 wxToolBarToolBase *result = 0 ;
24209 void *argp1 = 0 ;
24210 int res1 = 0 ;
24211 void *argp2 = 0 ;
24212 int res2 = 0 ;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 char * kwnames[] = {
24216 (char *) "self",(char *) "control", NULL
24217 };
24218
24219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24221 if (!SWIG_IsOK(res1)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24223 }
24224 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24226 if (!SWIG_IsOK(res2)) {
24227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24228 }
24229 arg2 = reinterpret_cast< wxControl * >(argp2);
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 {
24237 resultobj = wxPyMake_wxObject(result, (bool)0);
24238 }
24239 return resultobj;
24240fail:
24241 return NULL;
24242}
24243
24244
24245SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj = 0;
24247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24248 size_t arg2 ;
24249 wxControl *arg3 = (wxControl *) 0 ;
24250 wxToolBarToolBase *result = 0 ;
24251 void *argp1 = 0 ;
24252 int res1 = 0 ;
24253 size_t val2 ;
24254 int ecode2 = 0 ;
24255 void *argp3 = 0 ;
24256 int res3 = 0 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 PyObject * obj2 = 0 ;
24260 char * kwnames[] = {
24261 (char *) "self",(char *) "pos",(char *) "control", NULL
24262 };
24263
24264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24266 if (!SWIG_IsOK(res1)) {
24267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24268 }
24269 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24270 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24271 if (!SWIG_IsOK(ecode2)) {
24272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24273 }
24274 arg2 = static_cast< size_t >(val2);
24275 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24276 if (!SWIG_IsOK(res3)) {
24277 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24278 }
24279 arg3 = reinterpret_cast< wxControl * >(argp3);
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 {
24287 resultobj = wxPyMake_wxObject(result, (bool)0);
24288 }
24289 return resultobj;
24290fail:
24291 return NULL;
24292}
24293
24294
24295SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24296 PyObject *resultobj = 0;
24297 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24298 int arg2 ;
24299 wxControl *result = 0 ;
24300 void *argp1 = 0 ;
24301 int res1 = 0 ;
24302 int val2 ;
24303 int ecode2 = 0 ;
24304 PyObject * obj0 = 0 ;
24305 PyObject * obj1 = 0 ;
24306 char * kwnames[] = {
24307 (char *) "self",(char *) "id", NULL
24308 };
24309
24310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24312 if (!SWIG_IsOK(res1)) {
24313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24314 }
24315 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24316 ecode2 = SWIG_AsVal_int(obj1, &val2);
24317 if (!SWIG_IsOK(ecode2)) {
24318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24319 }
24320 arg2 = static_cast< int >(val2);
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (wxControl *)(arg1)->FindControl(arg2);
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 {
24328 resultobj = wxPyMake_wxObject(result, 0);
24329 }
24330 return resultobj;
24331fail:
24332 return NULL;
d14a1e28
RD
24333}
24334
24335
0085ce49
RD
24336SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24337 PyObject *resultobj = 0;
24338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24339 wxToolBarToolBase *result = 0 ;
24340 void *argp1 = 0 ;
24341 int res1 = 0 ;
24342 PyObject *swig_obj[1] ;
24343
24344 if (!args) SWIG_fail;
24345 swig_obj[0] = args;
24346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24347 if (!SWIG_IsOK(res1)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24349 }
24350 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 {
24358 resultobj = wxPyMake_wxObject(result, (bool)0);
24359 }
24360 return resultobj;
24361fail:
24362 return NULL;
24363}
24364
24365
24366SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj = 0;
24368 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24369 size_t arg2 ;
24370 wxToolBarToolBase *result = 0 ;
24371 void *argp1 = 0 ;
24372 int res1 = 0 ;
24373 size_t val2 ;
24374 int ecode2 = 0 ;
24375 PyObject * obj0 = 0 ;
24376 PyObject * obj1 = 0 ;
24377 char * kwnames[] = {
24378 (char *) "self",(char *) "pos", NULL
24379 };
24380
24381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24383 if (!SWIG_IsOK(res1)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24385 }
24386 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24387 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24388 if (!SWIG_IsOK(ecode2)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24390 }
24391 arg2 = static_cast< size_t >(val2);
24392 {
24393 PyThreadState* __tstate = wxPyBeginAllowThreads();
24394 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
24398 {
24399 resultobj = wxPyMake_wxObject(result, (bool)0);
24400 }
24401 return resultobj;
24402fail:
24403 return NULL;
24404}
24405
24406
24407SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj = 0;
24409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24410 int arg2 ;
24411 wxToolBarToolBase *result = 0 ;
24412 void *argp1 = 0 ;
24413 int res1 = 0 ;
24414 int val2 ;
24415 int ecode2 = 0 ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 char * kwnames[] = {
24419 (char *) "self",(char *) "id", NULL
24420 };
24421
24422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24424 if (!SWIG_IsOK(res1)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24426 }
24427 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24428 ecode2 = SWIG_AsVal_int(obj1, &val2);
24429 if (!SWIG_IsOK(ecode2)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24431 }
24432 arg2 = static_cast< int >(val2);
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 {
24440 resultobj = wxPyMake_wxObject(result, (bool)0);
24441 }
24442 return resultobj;
24443fail:
24444 return NULL;
24445}
24446
24447
24448SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj = 0;
24450 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24451 size_t arg2 ;
24452 bool result;
24453 void *argp1 = 0 ;
24454 int res1 = 0 ;
24455 size_t val2 ;
24456 int ecode2 = 0 ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 char * kwnames[] = {
24460 (char *) "self",(char *) "pos", NULL
24461 };
24462
24463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24465 if (!SWIG_IsOK(res1)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24467 }
24468 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24469 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24470 if (!SWIG_IsOK(ecode2)) {
24471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24472 }
24473 arg2 = static_cast< size_t >(val2);
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 result = (bool)(arg1)->DeleteToolByPos(arg2);
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24482 }
24483 return resultobj;
24484fail:
24485 return NULL;
24486}
24487
24488
24489SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj = 0;
24491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24492 int arg2 ;
24493 bool result;
24494 void *argp1 = 0 ;
24495 int res1 = 0 ;
24496 int val2 ;
24497 int ecode2 = 0 ;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 char * kwnames[] = {
24501 (char *) "self",(char *) "id", NULL
24502 };
24503
24504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24506 if (!SWIG_IsOK(res1)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24508 }
24509 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24510 ecode2 = SWIG_AsVal_int(obj1, &val2);
24511 if (!SWIG_IsOK(ecode2)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24513 }
24514 arg2 = static_cast< int >(val2);
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (bool)(arg1)->DeleteTool(arg2);
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 {
24522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24523 }
24524 return resultobj;
24525fail:
24526 return NULL;
d14a1e28
RD
24527}
24528
24529
0085ce49
RD
24530SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24531 PyObject *resultobj = 0;
24532 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24533 void *argp1 = 0 ;
24534 int res1 = 0 ;
24535 PyObject *swig_obj[1] ;
24536
24537 if (!args) SWIG_fail;
24538 swig_obj[0] = args;
24539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24540 if (!SWIG_IsOK(res1)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24542 }
24543 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24544 {
24545 PyThreadState* __tstate = wxPyBeginAllowThreads();
24546 (arg1)->ClearTools();
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 resultobj = SWIG_Py_Void();
24551 return resultobj;
24552fail:
24553 return NULL;
d14a1e28
RD
24554}
24555
24556
0085ce49
RD
24557SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24558 PyObject *resultobj = 0;
24559 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24560 bool result;
24561 void *argp1 = 0 ;
24562 int res1 = 0 ;
24563 PyObject *swig_obj[1] ;
24564
24565 if (!args) SWIG_fail;
24566 swig_obj[0] = args;
24567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24568 if (!SWIG_IsOK(res1)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24570 }
24571 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 result = (bool)(arg1)->Realize();
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 {
24579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24580 }
24581 return resultobj;
24582fail:
24583 return NULL;
24584}
24585
24586
24587SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24588 PyObject *resultobj = 0;
24589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24590 int arg2 ;
24591 bool arg3 ;
24592 void *argp1 = 0 ;
24593 int res1 = 0 ;
24594 int val2 ;
24595 int ecode2 = 0 ;
24596 bool val3 ;
24597 int ecode3 = 0 ;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 PyObject * obj2 = 0 ;
24601 char * kwnames[] = {
24602 (char *) "self",(char *) "id",(char *) "enable", NULL
24603 };
24604
24605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24607 if (!SWIG_IsOK(res1)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24609 }
24610 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24611 ecode2 = SWIG_AsVal_int(obj1, &val2);
24612 if (!SWIG_IsOK(ecode2)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24614 }
24615 arg2 = static_cast< int >(val2);
24616 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24617 if (!SWIG_IsOK(ecode3)) {
24618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24619 }
24620 arg3 = static_cast< bool >(val3);
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->EnableTool(arg2,arg3);
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 resultobj = SWIG_Py_Void();
24628 return resultobj;
24629fail:
24630 return NULL;
24631}
24632
24633
24634SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24635 PyObject *resultobj = 0;
24636 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24637 int arg2 ;
24638 bool arg3 ;
24639 void *argp1 = 0 ;
24640 int res1 = 0 ;
24641 int val2 ;
24642 int ecode2 = 0 ;
24643 bool val3 ;
24644 int ecode3 = 0 ;
24645 PyObject * obj0 = 0 ;
24646 PyObject * obj1 = 0 ;
24647 PyObject * obj2 = 0 ;
24648 char * kwnames[] = {
24649 (char *) "self",(char *) "id",(char *) "toggle", NULL
24650 };
24651
24652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24654 if (!SWIG_IsOK(res1)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24656 }
24657 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24658 ecode2 = SWIG_AsVal_int(obj1, &val2);
24659 if (!SWIG_IsOK(ecode2)) {
24660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24661 }
24662 arg2 = static_cast< int >(val2);
24663 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24664 if (!SWIG_IsOK(ecode3)) {
24665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24666 }
24667 arg3 = static_cast< bool >(val3);
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 (arg1)->ToggleTool(arg2,arg3);
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = SWIG_Py_Void();
24675 return resultobj;
24676fail:
24677 return NULL;
24678}
24679
24680
24681SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj = 0;
24683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24684 int arg2 ;
24685 bool arg3 ;
24686 void *argp1 = 0 ;
24687 int res1 = 0 ;
24688 int val2 ;
24689 int ecode2 = 0 ;
24690 bool val3 ;
24691 int ecode3 = 0 ;
24692 PyObject * obj0 = 0 ;
24693 PyObject * obj1 = 0 ;
24694 PyObject * obj2 = 0 ;
24695 char * kwnames[] = {
24696 (char *) "self",(char *) "id",(char *) "toggle", NULL
24697 };
24698
24699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24701 if (!SWIG_IsOK(res1)) {
24702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24703 }
24704 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24705 ecode2 = SWIG_AsVal_int(obj1, &val2);
24706 if (!SWIG_IsOK(ecode2)) {
24707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24708 }
24709 arg2 = static_cast< int >(val2);
24710 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24711 if (!SWIG_IsOK(ecode3)) {
24712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24713 }
24714 arg3 = static_cast< bool >(val3);
24715 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 (arg1)->SetToggle(arg2,arg3);
24718 wxPyEndAllowThreads(__tstate);
24719 if (PyErr_Occurred()) SWIG_fail;
24720 }
24721 resultobj = SWIG_Py_Void();
24722 return resultobj;
24723fail:
24724 return NULL;
24725}
24726
24727
24728SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24729 PyObject *resultobj = 0;
24730 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24731 int arg2 ;
24732 PyObject *result = 0 ;
24733 void *argp1 = 0 ;
24734 int res1 = 0 ;
24735 int val2 ;
24736 int ecode2 = 0 ;
24737 PyObject * obj0 = 0 ;
24738 PyObject * obj1 = 0 ;
24739 char * kwnames[] = {
24740 (char *) "self",(char *) "id", NULL
24741 };
24742
24743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24745 if (!SWIG_IsOK(res1)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24747 }
24748 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24749 ecode2 = SWIG_AsVal_int(obj1, &val2);
24750 if (!SWIG_IsOK(ecode2)) {
24751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24752 }
24753 arg2 = static_cast< int >(val2);
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 resultobj = result;
24761 return resultobj;
24762fail:
24763 return NULL;
24764}
24765
24766
24767SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24768 PyObject *resultobj = 0;
24769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24770 int arg2 ;
24771 PyObject *arg3 = (PyObject *) 0 ;
24772 void *argp1 = 0 ;
24773 int res1 = 0 ;
24774 int val2 ;
24775 int ecode2 = 0 ;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 PyObject * obj2 = 0 ;
24779 char * kwnames[] = {
24780 (char *) "self",(char *) "id",(char *) "clientData", NULL
24781 };
24782
24783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24785 if (!SWIG_IsOK(res1)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24787 }
24788 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24789 ecode2 = SWIG_AsVal_int(obj1, &val2);
24790 if (!SWIG_IsOK(ecode2)) {
24791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24792 }
24793 arg2 = static_cast< int >(val2);
24794 arg3 = obj2;
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 resultobj = SWIG_Py_Void();
24802 return resultobj;
24803fail:
24804 return NULL;
24805}
24806
24807
24808SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj = 0;
24810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24811 int arg2 ;
24812 int result;
24813 void *argp1 = 0 ;
24814 int res1 = 0 ;
24815 int val2 ;
24816 int ecode2 = 0 ;
24817 PyObject * obj0 = 0 ;
24818 PyObject * obj1 = 0 ;
24819 char * kwnames[] = {
24820 (char *) "self",(char *) "id", NULL
24821 };
24822
24823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24825 if (!SWIG_IsOK(res1)) {
24826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24827 }
24828 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24829 ecode2 = SWIG_AsVal_int(obj1, &val2);
24830 if (!SWIG_IsOK(ecode2)) {
24831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24832 }
24833 arg2 = static_cast< int >(val2);
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
24840 resultobj = SWIG_From_int(static_cast< int >(result));
24841 return resultobj;
24842fail:
24843 return NULL;
24844}
24845
24846
24847SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24848 PyObject *resultobj = 0;
24849 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24850 int arg2 ;
24851 bool result;
24852 void *argp1 = 0 ;
24853 int res1 = 0 ;
24854 int val2 ;
24855 int ecode2 = 0 ;
24856 PyObject * obj0 = 0 ;
24857 PyObject * obj1 = 0 ;
24858 char * kwnames[] = {
24859 (char *) "self",(char *) "id", NULL
24860 };
24861
24862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24864 if (!SWIG_IsOK(res1)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24866 }
24867 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24868 ecode2 = SWIG_AsVal_int(obj1, &val2);
24869 if (!SWIG_IsOK(ecode2)) {
24870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24871 }
24872 arg2 = static_cast< int >(val2);
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 result = (bool)(arg1)->GetToolState(arg2);
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 {
24880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24881 }
24882 return resultobj;
24883fail:
24884 return NULL;
24885}
24886
24887
24888SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj = 0;
24890 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24891 int arg2 ;
24892 bool result;
24893 void *argp1 = 0 ;
24894 int res1 = 0 ;
24895 int val2 ;
24896 int ecode2 = 0 ;
24897 PyObject * obj0 = 0 ;
24898 PyObject * obj1 = 0 ;
24899 char * kwnames[] = {
24900 (char *) "self",(char *) "id", NULL
24901 };
24902
24903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24905 if (!SWIG_IsOK(res1)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24907 }
24908 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24909 ecode2 = SWIG_AsVal_int(obj1, &val2);
24910 if (!SWIG_IsOK(ecode2)) {
24911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24912 }
24913 arg2 = static_cast< int >(val2);
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 result = (bool)(arg1)->GetToolEnabled(arg2);
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 {
24921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24922 }
24923 return resultobj;
24924fail:
24925 return NULL;
24926}
24927
24928
24929SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj = 0;
24931 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24932 int arg2 ;
24933 wxString *arg3 = 0 ;
24934 void *argp1 = 0 ;
24935 int res1 = 0 ;
24936 int val2 ;
24937 int ecode2 = 0 ;
24938 bool temp3 = false ;
24939 PyObject * obj0 = 0 ;
24940 PyObject * obj1 = 0 ;
24941 PyObject * obj2 = 0 ;
24942 char * kwnames[] = {
24943 (char *) "self",(char *) "id",(char *) "helpString", NULL
24944 };
24945
24946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24948 if (!SWIG_IsOK(res1)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24950 }
24951 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24952 ecode2 = SWIG_AsVal_int(obj1, &val2);
24953 if (!SWIG_IsOK(ecode2)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24955 }
24956 arg2 = static_cast< int >(val2);
24957 {
24958 arg3 = wxString_in_helper(obj2);
24959 if (arg3 == NULL) SWIG_fail;
24960 temp3 = true;
24961 }
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 resultobj = SWIG_Py_Void();
24969 {
24970 if (temp3)
24971 delete arg3;
24972 }
24973 return resultobj;
24974fail:
24975 {
24976 if (temp3)
24977 delete arg3;
24978 }
24979 return NULL;
24980}
24981
24982
24983SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24984 PyObject *resultobj = 0;
24985 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24986 int arg2 ;
24987 wxString result;
24988 void *argp1 = 0 ;
24989 int res1 = 0 ;
24990 int val2 ;
24991 int ecode2 = 0 ;
24992 PyObject * obj0 = 0 ;
24993 PyObject * obj1 = 0 ;
24994 char * kwnames[] = {
24995 (char *) "self",(char *) "id", NULL
24996 };
24997
24998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25000 if (!SWIG_IsOK(res1)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25002 }
25003 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25004 ecode2 = SWIG_AsVal_int(obj1, &val2);
25005 if (!SWIG_IsOK(ecode2)) {
25006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25007 }
25008 arg2 = static_cast< int >(val2);
25009 {
25010 PyThreadState* __tstate = wxPyBeginAllowThreads();
25011 result = (arg1)->GetToolShortHelp(arg2);
25012 wxPyEndAllowThreads(__tstate);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 {
25016#if wxUSE_UNICODE
25017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25018#else
25019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25020#endif
25021 }
25022 return resultobj;
25023fail:
25024 return NULL;
25025}
25026
25027
25028SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj = 0;
25030 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25031 int arg2 ;
25032 wxString *arg3 = 0 ;
25033 void *argp1 = 0 ;
25034 int res1 = 0 ;
25035 int val2 ;
25036 int ecode2 = 0 ;
25037 bool temp3 = false ;
25038 PyObject * obj0 = 0 ;
25039 PyObject * obj1 = 0 ;
25040 PyObject * obj2 = 0 ;
25041 char * kwnames[] = {
25042 (char *) "self",(char *) "id",(char *) "helpString", NULL
25043 };
25044
25045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) 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_SetToolLongHelp" "', 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_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25054 }
25055 arg2 = static_cast< int >(val2);
25056 {
25057 arg3 = wxString_in_helper(obj2);
25058 if (arg3 == NULL) SWIG_fail;
25059 temp3 = true;
25060 }
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 resultobj = SWIG_Py_Void();
25068 {
25069 if (temp3)
25070 delete arg3;
25071 }
25072 return resultobj;
25073fail:
25074 {
25075 if (temp3)
25076 delete arg3;
25077 }
25078 return NULL;
25079}
25080
25081
25082SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25083 PyObject *resultobj = 0;
25084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25085 int arg2 ;
25086 wxString result;
25087 void *argp1 = 0 ;
25088 int res1 = 0 ;
25089 int val2 ;
25090 int ecode2 = 0 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char * kwnames[] = {
25094 (char *) "self",(char *) "id", NULL
25095 };
25096
25097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25099 if (!SWIG_IsOK(res1)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25101 }
25102 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25103 ecode2 = SWIG_AsVal_int(obj1, &val2);
25104 if (!SWIG_IsOK(ecode2)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25106 }
25107 arg2 = static_cast< int >(val2);
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 result = (arg1)->GetToolLongHelp(arg2);
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 {
25115#if wxUSE_UNICODE
25116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25117#else
25118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25119#endif
25120 }
25121 return resultobj;
25122fail:
25123 return NULL;
25124}
25125
25126
25127SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25128 PyObject *resultobj = 0;
25129 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25130 int arg2 ;
25131 int arg3 ;
25132 void *argp1 = 0 ;
25133 int res1 = 0 ;
25134 int val2 ;
25135 int ecode2 = 0 ;
25136 int val3 ;
25137 int ecode3 = 0 ;
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
25140 PyObject * obj2 = 0 ;
25141 char * kwnames[] = {
25142 (char *) "self",(char *) "x",(char *) "y", NULL
25143 };
25144
25145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25147 if (!SWIG_IsOK(res1)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25149 }
25150 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25151 ecode2 = SWIG_AsVal_int(obj1, &val2);
25152 if (!SWIG_IsOK(ecode2)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25154 }
25155 arg2 = static_cast< int >(val2);
25156 ecode3 = SWIG_AsVal_int(obj2, &val3);
25157 if (!SWIG_IsOK(ecode3)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25159 }
25160 arg3 = static_cast< int >(val3);
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 (arg1)->SetMargins(arg2,arg3);
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 resultobj = SWIG_Py_Void();
25168 return resultobj;
25169fail:
25170 return NULL;
25171}
25172
25173
25174SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25175 PyObject *resultobj = 0;
25176 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25177 wxSize *arg2 = 0 ;
25178 void *argp1 = 0 ;
25179 int res1 = 0 ;
25180 wxSize temp2 ;
25181 PyObject * obj0 = 0 ;
25182 PyObject * obj1 = 0 ;
25183 char * kwnames[] = {
25184 (char *) "self",(char *) "size", NULL
25185 };
25186
25187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25189 if (!SWIG_IsOK(res1)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25191 }
25192 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25193 {
25194 arg2 = &temp2;
25195 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25196 }
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 (arg1)->SetMargins((wxSize const &)*arg2);
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 resultobj = SWIG_Py_Void();
25204 return resultobj;
25205fail:
25206 return NULL;
25207}
25208
25209
25210SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25211 PyObject *resultobj = 0;
25212 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25213 int arg2 ;
25214 void *argp1 = 0 ;
25215 int res1 = 0 ;
25216 int val2 ;
25217 int ecode2 = 0 ;
25218 PyObject * obj0 = 0 ;
25219 PyObject * obj1 = 0 ;
25220 char * kwnames[] = {
25221 (char *) "self",(char *) "packing", NULL
25222 };
25223
25224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25226 if (!SWIG_IsOK(res1)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25228 }
25229 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25230 ecode2 = SWIG_AsVal_int(obj1, &val2);
25231 if (!SWIG_IsOK(ecode2)) {
25232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25233 }
25234 arg2 = static_cast< int >(val2);
25235 {
25236 PyThreadState* __tstate = wxPyBeginAllowThreads();
25237 (arg1)->SetToolPacking(arg2);
25238 wxPyEndAllowThreads(__tstate);
25239 if (PyErr_Occurred()) SWIG_fail;
25240 }
25241 resultobj = SWIG_Py_Void();
25242 return resultobj;
25243fail:
25244 return NULL;
25245}
25246
25247
25248SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25249 PyObject *resultobj = 0;
25250 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25251 int arg2 ;
25252 void *argp1 = 0 ;
25253 int res1 = 0 ;
25254 int val2 ;
25255 int ecode2 = 0 ;
25256 PyObject * obj0 = 0 ;
25257 PyObject * obj1 = 0 ;
25258 char * kwnames[] = {
25259 (char *) "self",(char *) "separation", NULL
25260 };
25261
25262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25264 if (!SWIG_IsOK(res1)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25266 }
25267 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25268 ecode2 = SWIG_AsVal_int(obj1, &val2);
25269 if (!SWIG_IsOK(ecode2)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25271 }
25272 arg2 = static_cast< int >(val2);
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 (arg1)->SetToolSeparation(arg2);
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 resultobj = SWIG_Py_Void();
25280 return resultobj;
25281fail:
25282 return NULL;
d14a1e28
RD
25283}
25284
25285
0085ce49
RD
25286SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25287 PyObject *resultobj = 0;
25288 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25289 wxSize result;
25290 void *argp1 = 0 ;
25291 int res1 = 0 ;
25292 PyObject *swig_obj[1] ;
25293
25294 if (!args) SWIG_fail;
25295 swig_obj[0] = args;
25296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25297 if (!SWIG_IsOK(res1)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25299 }
25300 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (arg1)->GetToolMargins();
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25308 return resultobj;
25309fail:
25310 return NULL;
d14a1e28
RD
25311}
25312
25313
0085ce49
RD
25314SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25315 PyObject *resultobj = 0;
25316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25317 wxSize result;
25318 void *argp1 = 0 ;
25319 int res1 = 0 ;
25320 PyObject *swig_obj[1] ;
25321
25322 if (!args) SWIG_fail;
25323 swig_obj[0] = args;
25324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25325 if (!SWIG_IsOK(res1)) {
25326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25327 }
25328 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 result = (arg1)->GetMargins();
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25336 return resultobj;
25337fail:
25338 return NULL;
d14a1e28
RD
25339}
25340
25341
0085ce49
RD
25342SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25343 PyObject *resultobj = 0;
25344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25345 int result;
25346 void *argp1 = 0 ;
25347 int res1 = 0 ;
25348 PyObject *swig_obj[1] ;
25349
25350 if (!args) SWIG_fail;
25351 swig_obj[0] = args;
25352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25353 if (!SWIG_IsOK(res1)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25355 }
25356 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25357 {
25358 PyThreadState* __tstate = wxPyBeginAllowThreads();
25359 result = (int)(arg1)->GetToolPacking();
25360 wxPyEndAllowThreads(__tstate);
25361 if (PyErr_Occurred()) SWIG_fail;
25362 }
25363 resultobj = SWIG_From_int(static_cast< int >(result));
25364 return resultobj;
25365fail:
25366 return NULL;
d14a1e28
RD
25367}
25368
25369
0085ce49
RD
25370SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25371 PyObject *resultobj = 0;
25372 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25373 int result;
25374 void *argp1 = 0 ;
25375 int res1 = 0 ;
25376 PyObject *swig_obj[1] ;
25377
25378 if (!args) SWIG_fail;
25379 swig_obj[0] = args;
25380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25381 if (!SWIG_IsOK(res1)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25383 }
25384 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25385 {
25386 PyThreadState* __tstate = wxPyBeginAllowThreads();
25387 result = (int)(arg1)->GetToolSeparation();
25388 wxPyEndAllowThreads(__tstate);
25389 if (PyErr_Occurred()) SWIG_fail;
25390 }
25391 resultobj = SWIG_From_int(static_cast< int >(result));
25392 return resultobj;
25393fail:
25394 return NULL;
25395}
25396
25397
25398SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25399 PyObject *resultobj = 0;
25400 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25401 int arg2 ;
25402 void *argp1 = 0 ;
25403 int res1 = 0 ;
25404 int val2 ;
25405 int ecode2 = 0 ;
25406 PyObject * obj0 = 0 ;
25407 PyObject * obj1 = 0 ;
25408 char * kwnames[] = {
25409 (char *) "self",(char *) "nRows", NULL
25410 };
25411
25412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25414 if (!SWIG_IsOK(res1)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25416 }
25417 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25418 ecode2 = SWIG_AsVal_int(obj1, &val2);
25419 if (!SWIG_IsOK(ecode2)) {
25420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25421 }
25422 arg2 = static_cast< int >(val2);
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 (arg1)->SetRows(arg2);
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 resultobj = SWIG_Py_Void();
25430 return resultobj;
25431fail:
25432 return NULL;
25433}
25434
25435
25436SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25437 PyObject *resultobj = 0;
25438 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25439 int arg2 ;
25440 int arg3 ;
25441 void *argp1 = 0 ;
25442 int res1 = 0 ;
25443 int val2 ;
25444 int ecode2 = 0 ;
25445 int val3 ;
25446 int ecode3 = 0 ;
25447 PyObject * obj0 = 0 ;
25448 PyObject * obj1 = 0 ;
25449 PyObject * obj2 = 0 ;
25450 char * kwnames[] = {
25451 (char *) "self",(char *) "rows",(char *) "cols", NULL
25452 };
25453
25454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25456 if (!SWIG_IsOK(res1)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25458 }
25459 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25460 ecode2 = SWIG_AsVal_int(obj1, &val2);
25461 if (!SWIG_IsOK(ecode2)) {
25462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25463 }
25464 arg2 = static_cast< int >(val2);
25465 ecode3 = SWIG_AsVal_int(obj2, &val3);
25466 if (!SWIG_IsOK(ecode3)) {
25467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25468 }
25469 arg3 = static_cast< int >(val3);
25470 {
25471 PyThreadState* __tstate = wxPyBeginAllowThreads();
25472 (arg1)->SetMaxRowsCols(arg2,arg3);
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 resultobj = SWIG_Py_Void();
25477 return resultobj;
25478fail:
25479 return NULL;
22bfe96c
RD
25480}
25481
25482
0085ce49
RD
25483SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25484 PyObject *resultobj = 0;
25485 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25486 int result;
25487 void *argp1 = 0 ;
25488 int res1 = 0 ;
25489 PyObject *swig_obj[1] ;
25490
25491 if (!args) SWIG_fail;
25492 swig_obj[0] = args;
25493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25494 if (!SWIG_IsOK(res1)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25496 }
25497 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 result = (int)(arg1)->GetMaxRows();
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 resultobj = SWIG_From_int(static_cast< int >(result));
25505 return resultobj;
25506fail:
25507 return NULL;
d14a1e28
RD
25508}
25509
25510
0085ce49
RD
25511SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25512 PyObject *resultobj = 0;
25513 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25514 int result;
25515 void *argp1 = 0 ;
25516 int res1 = 0 ;
25517 PyObject *swig_obj[1] ;
25518
25519 if (!args) SWIG_fail;
25520 swig_obj[0] = args;
25521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25522 if (!SWIG_IsOK(res1)) {
25523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25524 }
25525 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = (int)(arg1)->GetMaxCols();
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 resultobj = SWIG_From_int(static_cast< int >(result));
25533 return resultobj;
25534fail:
25535 return NULL;
25536}
25537
25538
25539SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj = 0;
25541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25542 wxSize *arg2 = 0 ;
25543 void *argp1 = 0 ;
25544 int res1 = 0 ;
25545 wxSize temp2 ;
25546 PyObject * obj0 = 0 ;
25547 PyObject * obj1 = 0 ;
25548 char * kwnames[] = {
25549 (char *) "self",(char *) "size", NULL
25550 };
25551
25552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25554 if (!SWIG_IsOK(res1)) {
25555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25556 }
25557 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25558 {
25559 arg2 = &temp2;
25560 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25561 }
25562 {
25563 PyThreadState* __tstate = wxPyBeginAllowThreads();
25564 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25565 wxPyEndAllowThreads(__tstate);
25566 if (PyErr_Occurred()) SWIG_fail;
25567 }
25568 resultobj = SWIG_Py_Void();
25569 return resultobj;
25570fail:
25571 return NULL;
d14a1e28
RD
25572}
25573
25574
0085ce49
RD
25575SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25576 PyObject *resultobj = 0;
25577 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25578 wxSize result;
25579 void *argp1 = 0 ;
25580 int res1 = 0 ;
25581 PyObject *swig_obj[1] ;
25582
25583 if (!args) SWIG_fail;
25584 swig_obj[0] = args;
25585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25586 if (!SWIG_IsOK(res1)) {
25587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25588 }
25589 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25590 {
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 result = (arg1)->GetToolBitmapSize();
25593 wxPyEndAllowThreads(__tstate);
25594 if (PyErr_Occurred()) SWIG_fail;
25595 }
25596 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25597 return resultobj;
25598fail:
25599 return NULL;
d14a1e28
RD
25600}
25601
25602
0085ce49
RD
25603SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25604 PyObject *resultobj = 0;
25605 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25606 wxSize result;
25607 void *argp1 = 0 ;
25608 int res1 = 0 ;
25609 PyObject *swig_obj[1] ;
25610
25611 if (!args) SWIG_fail;
25612 swig_obj[0] = args;
25613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25614 if (!SWIG_IsOK(res1)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25616 }
25617 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 result = (arg1)->GetToolSize();
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25625 return resultobj;
25626fail:
25627 return NULL;
25628}
25629
25630
25631SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj = 0;
25633 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25634 int arg2 ;
25635 int arg3 ;
25636 wxToolBarToolBase *result = 0 ;
25637 void *argp1 = 0 ;
25638 int res1 = 0 ;
25639 int val2 ;
25640 int ecode2 = 0 ;
25641 int val3 ;
25642 int ecode3 = 0 ;
25643 PyObject * obj0 = 0 ;
25644 PyObject * obj1 = 0 ;
25645 PyObject * obj2 = 0 ;
25646 char * kwnames[] = {
25647 (char *) "self",(char *) "x",(char *) "y", NULL
25648 };
25649
25650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25652 if (!SWIG_IsOK(res1)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25654 }
25655 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25656 ecode2 = SWIG_AsVal_int(obj1, &val2);
25657 if (!SWIG_IsOK(ecode2)) {
25658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25659 }
25660 arg2 = static_cast< int >(val2);
25661 ecode3 = SWIG_AsVal_int(obj2, &val3);
25662 if (!SWIG_IsOK(ecode3)) {
25663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25664 }
25665 arg3 = static_cast< int >(val3);
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25669 wxPyEndAllowThreads(__tstate);
25670 if (PyErr_Occurred()) SWIG_fail;
25671 }
25672 {
25673 resultobj = wxPyMake_wxObject(result, (bool)0);
25674 }
25675 return resultobj;
25676fail:
25677 return NULL;
25678}
25679
25680
25681SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj = 0;
25683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25684 int arg2 ;
25685 wxToolBarToolBase *result = 0 ;
25686 void *argp1 = 0 ;
25687 int res1 = 0 ;
25688 int val2 ;
25689 int ecode2 = 0 ;
25690 PyObject * obj0 = 0 ;
25691 PyObject * obj1 = 0 ;
25692 char * kwnames[] = {
25693 (char *) "self",(char *) "toolid", NULL
25694 };
25695
25696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25698 if (!SWIG_IsOK(res1)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25700 }
25701 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25702 ecode2 = SWIG_AsVal_int(obj1, &val2);
25703 if (!SWIG_IsOK(ecode2)) {
25704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25705 }
25706 arg2 = static_cast< int >(val2);
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 {
25714 resultobj = wxPyMake_wxObject(result, (bool)0);
25715 }
25716 return resultobj;
25717fail:
25718 return NULL;
d14a1e28
RD
25719}
25720
25721
0085ce49
RD
25722SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25723 PyObject *resultobj = 0;
25724 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25725 bool result;
25726 void *argp1 = 0 ;
25727 int res1 = 0 ;
25728 PyObject *swig_obj[1] ;
25729
25730 if (!args) SWIG_fail;
25731 swig_obj[0] = args;
25732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25733 if (!SWIG_IsOK(res1)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25735 }
25736 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (bool)(arg1)->IsVertical();
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 {
25744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25745 }
25746 return resultobj;
25747fail:
25748 return NULL;
25749}
25750
25751
25752SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25753 PyObject *resultobj = 0;
25754 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25755 size_t result;
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_wxToolBarBase, 0 | 0 );
25763 if (!SWIG_IsOK(res1)) {
25764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25765 }
25766 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25774 return resultobj;
25775fail:
25776 return NULL;
25777}
25778
25779
25780SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25781 PyObject *obj;
25782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25783 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25784 return SWIG_Py_Void();
25785}
25786
25787SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25788 PyObject *resultobj = 0;
25789 wxWindow *arg1 = (wxWindow *) 0 ;
25790 int arg2 = (int) -1 ;
25791 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25792 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25793 wxSize const &arg4_defvalue = wxDefaultSize ;
25794 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25795 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25796 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25797 wxString *arg6 = (wxString *) &arg6_defvalue ;
25798 wxToolBar *result = 0 ;
25799 void *argp1 = 0 ;
25800 int res1 = 0 ;
25801 int val2 ;
25802 int ecode2 = 0 ;
25803 wxPoint temp3 ;
25804 wxSize temp4 ;
25805 long val5 ;
25806 int ecode5 = 0 ;
25807 bool temp6 = false ;
25808 PyObject * obj0 = 0 ;
25809 PyObject * obj1 = 0 ;
25810 PyObject * obj2 = 0 ;
25811 PyObject * obj3 = 0 ;
25812 PyObject * obj4 = 0 ;
25813 PyObject * obj5 = 0 ;
25814 char * kwnames[] = {
25815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25816 };
25817
25818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25820 if (!SWIG_IsOK(res1)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25822 }
25823 arg1 = reinterpret_cast< wxWindow * >(argp1);
25824 if (obj1) {
25825 ecode2 = SWIG_AsVal_int(obj1, &val2);
25826 if (!SWIG_IsOK(ecode2)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25828 }
25829 arg2 = static_cast< int >(val2);
25830 }
25831 if (obj2) {
25832 {
25833 arg3 = &temp3;
25834 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25835 }
25836 }
25837 if (obj3) {
093d3ff1 25838 {
0085ce49
RD
25839 arg4 = &temp4;
25840 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25841 }
0085ce49
RD
25842 }
25843 if (obj4) {
25844 ecode5 = SWIG_AsVal_long(obj4, &val5);
25845 if (!SWIG_IsOK(ecode5)) {
25846 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25847 }
25848 arg5 = static_cast< long >(val5);
25849 }
25850 if (obj5) {
d14a1e28 25851 {
0085ce49
RD
25852 arg6 = wxString_in_helper(obj5);
25853 if (arg6 == NULL) SWIG_fail;
25854 temp6 = true;
d14a1e28 25855 }
0085ce49
RD
25856 }
25857 {
25858 if (!wxPyCheckForApp()) SWIG_fail;
25859 PyThreadState* __tstate = wxPyBeginAllowThreads();
25860 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25865 {
25866 if (temp6)
25867 delete arg6;
25868 }
25869 return resultobj;
25870fail:
25871 {
25872 if (temp6)
25873 delete arg6;
25874 }
25875 return NULL;
d14a1e28
RD
25876}
25877
25878
0085ce49
RD
25879SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25880 PyObject *resultobj = 0;
25881 wxToolBar *result = 0 ;
25882
25883 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25884 {
25885 if (!wxPyCheckForApp()) SWIG_fail;
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (wxToolBar *)new wxToolBar();
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25892 return resultobj;
25893fail:
25894 return NULL;
25895}
25896
25897
25898SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25899 PyObject *resultobj = 0;
25900 wxToolBar *arg1 = (wxToolBar *) 0 ;
25901 wxWindow *arg2 = (wxWindow *) 0 ;
25902 int arg3 = (int) -1 ;
25903 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25904 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25905 wxSize const &arg5_defvalue = wxDefaultSize ;
25906 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25907 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25908 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25909 wxString *arg7 = (wxString *) &arg7_defvalue ;
25910 bool result;
25911 void *argp1 = 0 ;
25912 int res1 = 0 ;
25913 void *argp2 = 0 ;
25914 int res2 = 0 ;
25915 int val3 ;
25916 int ecode3 = 0 ;
25917 wxPoint temp4 ;
25918 wxSize temp5 ;
25919 long val6 ;
25920 int ecode6 = 0 ;
25921 bool temp7 = false ;
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj1 = 0 ;
25924 PyObject * obj2 = 0 ;
25925 PyObject * obj3 = 0 ;
25926 PyObject * obj4 = 0 ;
25927 PyObject * obj5 = 0 ;
25928 PyObject * obj6 = 0 ;
25929 char * kwnames[] = {
25930 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25931 };
25932
25933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25935 if (!SWIG_IsOK(res1)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25937 }
25938 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25940 if (!SWIG_IsOK(res2)) {
25941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25942 }
25943 arg2 = reinterpret_cast< wxWindow * >(argp2);
25944 if (obj2) {
25945 ecode3 = SWIG_AsVal_int(obj2, &val3);
25946 if (!SWIG_IsOK(ecode3)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25948 }
25949 arg3 = static_cast< int >(val3);
25950 }
25951 if (obj3) {
25952 {
25953 arg4 = &temp4;
25954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 25955 }
0085ce49
RD
25956 }
25957 if (obj4) {
22bfe96c 25958 {
0085ce49
RD
25959 arg5 = &temp5;
25960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 25961 }
0085ce49
RD
25962 }
25963 if (obj5) {
25964 ecode6 = SWIG_AsVal_long(obj5, &val6);
25965 if (!SWIG_IsOK(ecode6)) {
25966 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25967 }
25968 arg6 = static_cast< long >(val6);
25969 }
25970 if (obj6) {
22bfe96c 25971 {
0085ce49
RD
25972 arg7 = wxString_in_helper(obj6);
25973 if (arg7 == NULL) SWIG_fail;
25974 temp7 = true;
22bfe96c 25975 }
0085ce49
RD
25976 }
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25980 wxPyEndAllowThreads(__tstate);
25981 if (PyErr_Occurred()) SWIG_fail;
25982 }
25983 {
25984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25985 }
25986 {
25987 if (temp7)
25988 delete arg7;
25989 }
25990 return resultobj;
25991fail:
25992 {
25993 if (temp7)
25994 delete arg7;
25995 }
25996 return NULL;
25997}
25998
25999
0085ce49
RD
26000SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj = 0;
26002 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26003 SwigValueWrapper<wxVisualAttributes > result;
26004 int val1 ;
26005 int ecode1 = 0 ;
26006 PyObject * obj0 = 0 ;
26007 char * kwnames[] = {
26008 (char *) "variant", NULL
26009 };
26010
26011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26012 if (obj0) {
26013 ecode1 = SWIG_AsVal_int(obj0, &val1);
26014 if (!SWIG_IsOK(ecode1)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26016 }
26017 arg1 = static_cast< wxWindowVariant >(val1);
26018 }
26019 {
26020 if (!wxPyCheckForApp()) SWIG_fail;
26021 PyThreadState* __tstate = wxPyBeginAllowThreads();
26022 result = wxToolBar::GetClassDefaultAttributes(arg1);
26023 wxPyEndAllowThreads(__tstate);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
26026 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26027 return resultobj;
26028fail:
26029 return NULL;
22bfe96c
RD
26030}
26031
26032
0085ce49
RD
26033SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26034 PyObject *obj;
26035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26036 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26037 return SWIG_Py_Void();
d14a1e28 26038}
0085ce49
RD
26039
26040SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26041 return SWIG_Python_InitShadowInstance(args);
b2dc1044
RD
26042}
26043
0085ce49
RD
26044SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26045 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26046 return 1;
26047}
b2dc1044 26048
0085ce49
RD
26049
26050SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26051 PyObject *pyobj = 0;
26052
26053 {
b2dc1044 26054#if wxUSE_UNICODE
0085ce49 26055 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
b2dc1044 26056#else
0085ce49 26057 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
b2dc1044 26058#endif
0085ce49
RD
26059 }
26060 return pyobj;
26061}
26062
26063
26064SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj = 0;
26066 wxColour const &arg1_defvalue = wxNullColour ;
26067 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26068 wxColour const &arg2_defvalue = wxNullColour ;
26069 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26070 wxFont const &arg3_defvalue = wxNullFont ;
26071 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26072 wxListItemAttr *result = 0 ;
26073 wxColour temp1 ;
26074 wxColour temp2 ;
26075 void *argp3 = 0 ;
26076 int res3 = 0 ;
26077 PyObject * obj0 = 0 ;
26078 PyObject * obj1 = 0 ;
26079 PyObject * obj2 = 0 ;
26080 char * kwnames[] = {
26081 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26082 };
26083
26084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26085 if (obj0) {
d14a1e28 26086 {
0085ce49
RD
26087 arg1 = &temp1;
26088 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d14a1e28 26089 }
0085ce49
RD
26090 }
26091 if (obj1) {
d14a1e28 26092 {
0085ce49
RD
26093 arg2 = &temp2;
26094 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 26095 }
0085ce49
RD
26096 }
26097 if (obj2) {
26098 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26099 if (!SWIG_IsOK(res3)) {
26100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 26101 }
0085ce49
RD
26102 if (!argp3) {
26103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 26104 }
0085ce49
RD
26105 arg3 = reinterpret_cast< wxFont * >(argp3);
26106 }
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26114 return resultobj;
26115fail:
26116 return NULL;
d14a1e28
RD
26117}
26118
26119
0085ce49
RD
26120SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26123 void *argp1 = 0 ;
26124 int res1 = 0 ;
26125 PyObject *swig_obj[1] ;
26126
26127 if (!args) SWIG_fail;
26128 swig_obj[0] = args;
26129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26132 }
26133 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 delete arg1;
d14a1e28 26137
0085ce49
RD
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 resultobj = SWIG_Py_Void();
26142 return resultobj;
26143fail:
26144 return NULL;
26145}
26146
26147
26148SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26149 PyObject *resultobj = 0;
26150 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26151 wxColour *arg2 = 0 ;
26152 void *argp1 = 0 ;
26153 int res1 = 0 ;
26154 wxColour temp2 ;
26155 PyObject * obj0 = 0 ;
26156 PyObject * obj1 = 0 ;
26157 char * kwnames[] = {
26158 (char *) "self",(char *) "colText", NULL
26159 };
26160
26161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26163 if (!SWIG_IsOK(res1)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26165 }
26166 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26167 {
26168 arg2 = &temp2;
26169 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26170 }
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 (arg1)->SetTextColour((wxColour const &)*arg2);
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 resultobj = SWIG_Py_Void();
26178 return resultobj;
26179fail:
26180 return NULL;
26181}
26182
26183
26184SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj = 0;
26186 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26187 wxColour *arg2 = 0 ;
26188 void *argp1 = 0 ;
26189 int res1 = 0 ;
26190 wxColour temp2 ;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char * kwnames[] = {
26194 (char *) "self",(char *) "colBack", NULL
26195 };
26196
26197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26199 if (!SWIG_IsOK(res1)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26201 }
26202 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26203 {
26204 arg2 = &temp2;
26205 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26206 }
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
26213 resultobj = SWIG_Py_Void();
26214 return resultobj;
26215fail:
26216 return NULL;
26217}
26218
26219
26220SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26221 PyObject *resultobj = 0;
26222 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26223 wxFont *arg2 = 0 ;
26224 void *argp1 = 0 ;
26225 int res1 = 0 ;
26226 void *argp2 = 0 ;
26227 int res2 = 0 ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 char * kwnames[] = {
26231 (char *) "self",(char *) "font", NULL
26232 };
26233
26234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26236 if (!SWIG_IsOK(res1)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26238 }
26239 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26240 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26241 if (!SWIG_IsOK(res2)) {
26242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26243 }
26244 if (!argp2) {
26245 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26246 }
26247 arg2 = reinterpret_cast< wxFont * >(argp2);
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 (arg1)->SetFont((wxFont const &)*arg2);
26251 wxPyEndAllowThreads(__tstate);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
26254 resultobj = SWIG_Py_Void();
26255 return resultobj;
26256fail:
26257 return NULL;
d14a1e28
RD
26258}
26259
26260
0085ce49
RD
26261SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26262 PyObject *resultobj = 0;
26263 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26264 bool result;
26265 void *argp1 = 0 ;
26266 int res1 = 0 ;
26267 PyObject *swig_obj[1] ;
26268
26269 if (!args) SWIG_fail;
26270 swig_obj[0] = args;
26271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26272 if (!SWIG_IsOK(res1)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26274 }
26275 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 result = (bool)(arg1)->HasTextColour();
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 {
26283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26284 }
26285 return resultobj;
26286fail:
26287 return NULL;
d14a1e28
RD
26288}
26289
26290
0085ce49
RD
26291SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26292 PyObject *resultobj = 0;
26293 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26294 bool result;
26295 void *argp1 = 0 ;
26296 int res1 = 0 ;
26297 PyObject *swig_obj[1] ;
26298
26299 if (!args) SWIG_fail;
26300 swig_obj[0] = args;
26301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26302 if (!SWIG_IsOK(res1)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26304 }
26305 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 result = (bool)(arg1)->HasBackgroundColour();
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
26312 {
26313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26314 }
26315 return resultobj;
26316fail:
26317 return NULL;
d14a1e28
RD
26318}
26319
26320
0085ce49
RD
26321SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26322 PyObject *resultobj = 0;
26323 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26324 bool result;
26325 void *argp1 = 0 ;
26326 int res1 = 0 ;
26327 PyObject *swig_obj[1] ;
26328
26329 if (!args) SWIG_fail;
26330 swig_obj[0] = args;
26331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26332 if (!SWIG_IsOK(res1)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26334 }
26335 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (bool)(arg1)->HasFont();
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 {
26343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26344 }
26345 return resultobj;
26346fail:
26347 return NULL;
d14a1e28
RD
26348}
26349
26350
0085ce49
RD
26351SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26352 PyObject *resultobj = 0;
26353 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26354 wxColour result;
26355 void *argp1 = 0 ;
26356 int res1 = 0 ;
26357 PyObject *swig_obj[1] ;
26358
26359 if (!args) SWIG_fail;
26360 swig_obj[0] = args;
26361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26362 if (!SWIG_IsOK(res1)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26364 }
26365 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (arg1)->GetTextColour();
26369 wxPyEndAllowThreads(__tstate);
26370 if (PyErr_Occurred()) SWIG_fail;
26371 }
26372 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26373 return resultobj;
26374fail:
26375 return NULL;
d14a1e28
RD
26376}
26377
26378
0085ce49
RD
26379SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26380 PyObject *resultobj = 0;
26381 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26382 wxColour result;
26383 void *argp1 = 0 ;
26384 int res1 = 0 ;
26385 PyObject *swig_obj[1] ;
26386
26387 if (!args) SWIG_fail;
26388 swig_obj[0] = args;
26389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26390 if (!SWIG_IsOK(res1)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26392 }
26393 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 result = (arg1)->GetBackgroundColour();
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26401 return resultobj;
26402fail:
26403 return NULL;
d14a1e28
RD
26404}
26405
26406
0085ce49
RD
26407SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26408 PyObject *resultobj = 0;
26409 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26410 wxFont result;
26411 void *argp1 = 0 ;
26412 int res1 = 0 ;
26413 PyObject *swig_obj[1] ;
26414
26415 if (!args) SWIG_fail;
26416 swig_obj[0] = args;
26417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26418 if (!SWIG_IsOK(res1)) {
26419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26420 }
26421 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 result = (arg1)->GetFont();
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
26428 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26429 return resultobj;
26430fail:
26431 return NULL;
26432}
26433
26434
26435SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj = 0;
26437 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26438 wxListItemAttr *arg2 = 0 ;
26439 void *argp1 = 0 ;
26440 int res1 = 0 ;
26441 void *argp2 = 0 ;
26442 int res2 = 0 ;
26443 PyObject * obj0 = 0 ;
26444 PyObject * obj1 = 0 ;
26445 char * kwnames[] = {
26446 (char *) "self",(char *) "source", NULL
26447 };
26448
26449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26451 if (!SWIG_IsOK(res1)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26453 }
26454 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26455 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26456 if (!SWIG_IsOK(res2)) {
26457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26458 }
26459 if (!argp2) {
26460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26461 }
26462 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 resultobj = SWIG_Py_Void();
26470 return resultobj;
26471fail:
26472 return NULL;
d14a1e28
RD
26473}
26474
26475
0085ce49
RD
26476SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26477 PyObject *resultobj = 0;
26478 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26479 void *argp1 = 0 ;
26480 int res1 = 0 ;
26481 PyObject *swig_obj[1] ;
26482
26483 if (!args) SWIG_fail;
26484 swig_obj[0] = args;
26485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26486 if (!SWIG_IsOK(res1)) {
26487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26488 }
26489 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 wxListItemAttr_Destroy(arg1);
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 resultobj = SWIG_Py_Void();
26497 return resultobj;
26498fail:
26499 return NULL;
d14a1e28
RD
26500}
26501
26502
0085ce49
RD
26503SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26504 PyObject *obj;
26505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26506 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26507 return SWIG_Py_Void();
d14a1e28
RD
26508}
26509
0085ce49
RD
26510SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26511 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
26512}
26513
0085ce49
RD
26514SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26515 PyObject *resultobj = 0;
26516 wxListItem *result = 0 ;
26517
26518 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = (wxListItem *)new wxListItem();
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
3ecece7e 26525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
0085ce49
RD
26526 return resultobj;
26527fail:
26528 return NULL;
d14a1e28
RD
26529}
26530
26531
0085ce49
RD
26532SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26533 PyObject *resultobj = 0;
26534 wxListItem *arg1 = (wxListItem *) 0 ;
26535 void *argp1 = 0 ;
26536 int res1 = 0 ;
26537 PyObject *swig_obj[1] ;
26538
26539 if (!args) SWIG_fail;
26540 swig_obj[0] = args;
26541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26542 if (!SWIG_IsOK(res1)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26544 }
26545 arg1 = reinterpret_cast< wxListItem * >(argp1);
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 delete arg1;
d14a1e28 26549
0085ce49
RD
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555fail:
26556 return NULL;
d14a1e28
RD
26557}
26558
26559
0085ce49
RD
26560SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26561 PyObject *resultobj = 0;
26562 wxListItem *arg1 = (wxListItem *) 0 ;
26563 void *argp1 = 0 ;
26564 int res1 = 0 ;
26565 PyObject *swig_obj[1] ;
26566
26567 if (!args) SWIG_fail;
26568 swig_obj[0] = args;
26569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26570 if (!SWIG_IsOK(res1)) {
26571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26572 }
26573 arg1 = reinterpret_cast< wxListItem * >(argp1);
26574 {
26575 PyThreadState* __tstate = wxPyBeginAllowThreads();
26576 (arg1)->Clear();
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 resultobj = SWIG_Py_Void();
26581 return resultobj;
26582fail:
26583 return NULL;
d14a1e28
RD
26584}
26585
26586
0085ce49
RD
26587SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26588 PyObject *resultobj = 0;
26589 wxListItem *arg1 = (wxListItem *) 0 ;
26590 void *argp1 = 0 ;
26591 int res1 = 0 ;
26592 PyObject *swig_obj[1] ;
26593
26594 if (!args) SWIG_fail;
26595 swig_obj[0] = args;
26596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26597 if (!SWIG_IsOK(res1)) {
26598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26599 }
26600 arg1 = reinterpret_cast< wxListItem * >(argp1);
26601 {
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
26603 (arg1)->ClearAttributes();
26604 wxPyEndAllowThreads(__tstate);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 }
26607 resultobj = SWIG_Py_Void();
26608 return resultobj;
26609fail:
26610 return NULL;
26611}
26612
26613
26614SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26615 PyObject *resultobj = 0;
26616 wxListItem *arg1 = (wxListItem *) 0 ;
26617 long arg2 ;
26618 void *argp1 = 0 ;
26619 int res1 = 0 ;
26620 long val2 ;
26621 int ecode2 = 0 ;
26622 PyObject * obj0 = 0 ;
26623 PyObject * obj1 = 0 ;
26624 char * kwnames[] = {
26625 (char *) "self",(char *) "mask", NULL
26626 };
26627
26628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26630 if (!SWIG_IsOK(res1)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26632 }
26633 arg1 = reinterpret_cast< wxListItem * >(argp1);
26634 ecode2 = SWIG_AsVal_long(obj1, &val2);
26635 if (!SWIG_IsOK(ecode2)) {
26636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26637 }
26638 arg2 = static_cast< long >(val2);
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 (arg1)->SetMask(arg2);
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 resultobj = SWIG_Py_Void();
26646 return resultobj;
26647fail:
26648 return NULL;
26649}
26650
26651
26652SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26653 PyObject *resultobj = 0;
26654 wxListItem *arg1 = (wxListItem *) 0 ;
26655 long arg2 ;
26656 void *argp1 = 0 ;
26657 int res1 = 0 ;
26658 long val2 ;
26659 int ecode2 = 0 ;
26660 PyObject * obj0 = 0 ;
26661 PyObject * obj1 = 0 ;
26662 char * kwnames[] = {
26663 (char *) "self",(char *) "id", NULL
26664 };
26665
26666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26668 if (!SWIG_IsOK(res1)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26670 }
26671 arg1 = reinterpret_cast< wxListItem * >(argp1);
26672 ecode2 = SWIG_AsVal_long(obj1, &val2);
26673 if (!SWIG_IsOK(ecode2)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26675 }
26676 arg2 = static_cast< long >(val2);
26677 {
26678 PyThreadState* __tstate = wxPyBeginAllowThreads();
26679 (arg1)->SetId(arg2);
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 resultobj = SWIG_Py_Void();
26684 return resultobj;
26685fail:
26686 return NULL;
26687}
26688
26689
26690SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26691 PyObject *resultobj = 0;
26692 wxListItem *arg1 = (wxListItem *) 0 ;
26693 int arg2 ;
26694 void *argp1 = 0 ;
26695 int res1 = 0 ;
26696 int val2 ;
26697 int ecode2 = 0 ;
26698 PyObject * obj0 = 0 ;
26699 PyObject * obj1 = 0 ;
26700 char * kwnames[] = {
26701 (char *) "self",(char *) "col", NULL
26702 };
26703
26704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26706 if (!SWIG_IsOK(res1)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26708 }
26709 arg1 = reinterpret_cast< wxListItem * >(argp1);
26710 ecode2 = SWIG_AsVal_int(obj1, &val2);
26711 if (!SWIG_IsOK(ecode2)) {
26712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26713 }
26714 arg2 = static_cast< int >(val2);
26715 {
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 (arg1)->SetColumn(arg2);
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 resultobj = SWIG_Py_Void();
26722 return resultobj;
26723fail:
26724 return NULL;
26725}
26726
26727
26728SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26729 PyObject *resultobj = 0;
26730 wxListItem *arg1 = (wxListItem *) 0 ;
26731 long arg2 ;
26732 void *argp1 = 0 ;
26733 int res1 = 0 ;
26734 long val2 ;
26735 int ecode2 = 0 ;
26736 PyObject * obj0 = 0 ;
26737 PyObject * obj1 = 0 ;
26738 char * kwnames[] = {
26739 (char *) "self",(char *) "state", NULL
26740 };
26741
26742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26744 if (!SWIG_IsOK(res1)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26746 }
26747 arg1 = reinterpret_cast< wxListItem * >(argp1);
26748 ecode2 = SWIG_AsVal_long(obj1, &val2);
26749 if (!SWIG_IsOK(ecode2)) {
26750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26751 }
26752 arg2 = static_cast< long >(val2);
26753 {
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 (arg1)->SetState(arg2);
26756 wxPyEndAllowThreads(__tstate);
26757 if (PyErr_Occurred()) SWIG_fail;
26758 }
26759 resultobj = SWIG_Py_Void();
26760 return resultobj;
26761fail:
26762 return NULL;
26763}
26764
26765
26766SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26767 PyObject *resultobj = 0;
26768 wxListItem *arg1 = (wxListItem *) 0 ;
26769 long arg2 ;
26770 void *argp1 = 0 ;
26771 int res1 = 0 ;
26772 long val2 ;
26773 int ecode2 = 0 ;
26774 PyObject * obj0 = 0 ;
26775 PyObject * obj1 = 0 ;
26776 char * kwnames[] = {
26777 (char *) "self",(char *) "stateMask", NULL
26778 };
26779
26780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26782 if (!SWIG_IsOK(res1)) {
26783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26784 }
26785 arg1 = reinterpret_cast< wxListItem * >(argp1);
26786 ecode2 = SWIG_AsVal_long(obj1, &val2);
26787 if (!SWIG_IsOK(ecode2)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26789 }
26790 arg2 = static_cast< long >(val2);
26791 {
26792 PyThreadState* __tstate = wxPyBeginAllowThreads();
26793 (arg1)->SetStateMask(arg2);
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 resultobj = SWIG_Py_Void();
26798 return resultobj;
26799fail:
26800 return NULL;
26801}
26802
26803
26804SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj = 0;
26806 wxListItem *arg1 = (wxListItem *) 0 ;
26807 wxString *arg2 = 0 ;
26808 void *argp1 = 0 ;
26809 int res1 = 0 ;
26810 bool temp2 = false ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 char * kwnames[] = {
26814 (char *) "self",(char *) "text", NULL
26815 };
26816
26817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26819 if (!SWIG_IsOK(res1)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26821 }
26822 arg1 = reinterpret_cast< wxListItem * >(argp1);
26823 {
26824 arg2 = wxString_in_helper(obj1);
26825 if (arg2 == NULL) SWIG_fail;
26826 temp2 = true;
26827 }
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->SetText((wxString const &)*arg2);
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 resultobj = SWIG_Py_Void();
26835 {
26836 if (temp2)
26837 delete arg2;
26838 }
26839 return resultobj;
26840fail:
26841 {
26842 if (temp2)
26843 delete arg2;
26844 }
26845 return NULL;
26846}
26847
26848
26849SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26850 PyObject *resultobj = 0;
26851 wxListItem *arg1 = (wxListItem *) 0 ;
26852 int arg2 ;
26853 void *argp1 = 0 ;
26854 int res1 = 0 ;
26855 int val2 ;
26856 int ecode2 = 0 ;
26857 PyObject * obj0 = 0 ;
26858 PyObject * obj1 = 0 ;
26859 char * kwnames[] = {
26860 (char *) "self",(char *) "image", NULL
26861 };
26862
26863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26865 if (!SWIG_IsOK(res1)) {
26866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26867 }
26868 arg1 = reinterpret_cast< wxListItem * >(argp1);
26869 ecode2 = SWIG_AsVal_int(obj1, &val2);
26870 if (!SWIG_IsOK(ecode2)) {
26871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26872 }
26873 arg2 = static_cast< int >(val2);
26874 {
26875 PyThreadState* __tstate = wxPyBeginAllowThreads();
26876 (arg1)->SetImage(arg2);
26877 wxPyEndAllowThreads(__tstate);
26878 if (PyErr_Occurred()) SWIG_fail;
26879 }
26880 resultobj = SWIG_Py_Void();
26881 return resultobj;
26882fail:
26883 return NULL;
26884}
26885
26886
26887SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26888 PyObject *resultobj = 0;
26889 wxListItem *arg1 = (wxListItem *) 0 ;
26890 long arg2 ;
26891 void *argp1 = 0 ;
26892 int res1 = 0 ;
26893 long val2 ;
26894 int ecode2 = 0 ;
26895 PyObject * obj0 = 0 ;
26896 PyObject * obj1 = 0 ;
26897 char * kwnames[] = {
26898 (char *) "self",(char *) "data", NULL
26899 };
26900
26901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26903 if (!SWIG_IsOK(res1)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26905 }
26906 arg1 = reinterpret_cast< wxListItem * >(argp1);
26907 ecode2 = SWIG_AsVal_long(obj1, &val2);
26908 if (!SWIG_IsOK(ecode2)) {
26909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26910 }
26911 arg2 = static_cast< long >(val2);
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 (arg1)->SetData(arg2);
26915 wxPyEndAllowThreads(__tstate);
26916 if (PyErr_Occurred()) SWIG_fail;
26917 }
26918 resultobj = SWIG_Py_Void();
26919 return resultobj;
26920fail:
26921 return NULL;
26922}
26923
26924
26925SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26926 PyObject *resultobj = 0;
26927 wxListItem *arg1 = (wxListItem *) 0 ;
26928 int arg2 ;
26929 void *argp1 = 0 ;
26930 int res1 = 0 ;
26931 int val2 ;
26932 int ecode2 = 0 ;
26933 PyObject * obj0 = 0 ;
26934 PyObject * obj1 = 0 ;
26935 char * kwnames[] = {
26936 (char *) "self",(char *) "width", NULL
26937 };
26938
26939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26941 if (!SWIG_IsOK(res1)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26943 }
26944 arg1 = reinterpret_cast< wxListItem * >(argp1);
26945 ecode2 = SWIG_AsVal_int(obj1, &val2);
26946 if (!SWIG_IsOK(ecode2)) {
26947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26948 }
26949 arg2 = static_cast< int >(val2);
26950 {
26951 PyThreadState* __tstate = wxPyBeginAllowThreads();
26952 (arg1)->SetWidth(arg2);
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 resultobj = SWIG_Py_Void();
26957 return resultobj;
26958fail:
26959 return NULL;
26960}
26961
26962
26963SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj = 0;
26965 wxListItem *arg1 = (wxListItem *) 0 ;
26966 wxListColumnFormat arg2 ;
26967 void *argp1 = 0 ;
26968 int res1 = 0 ;
26969 int val2 ;
26970 int ecode2 = 0 ;
26971 PyObject * obj0 = 0 ;
26972 PyObject * obj1 = 0 ;
26973 char * kwnames[] = {
26974 (char *) "self",(char *) "align", NULL
26975 };
26976
26977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26979 if (!SWIG_IsOK(res1)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26981 }
26982 arg1 = reinterpret_cast< wxListItem * >(argp1);
26983 ecode2 = SWIG_AsVal_int(obj1, &val2);
26984 if (!SWIG_IsOK(ecode2)) {
26985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26986 }
26987 arg2 = static_cast< wxListColumnFormat >(val2);
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 (arg1)->SetAlign(arg2);
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 resultobj = SWIG_Py_Void();
26995 return resultobj;
26996fail:
26997 return NULL;
26998}
26999
27000
27001SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27002 PyObject *resultobj = 0;
27003 wxListItem *arg1 = (wxListItem *) 0 ;
27004 wxColour *arg2 = 0 ;
27005 void *argp1 = 0 ;
27006 int res1 = 0 ;
27007 wxColour temp2 ;
27008 PyObject * obj0 = 0 ;
27009 PyObject * obj1 = 0 ;
27010 char * kwnames[] = {
27011 (char *) "self",(char *) "colText", NULL
27012 };
27013
27014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27016 if (!SWIG_IsOK(res1)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27018 }
27019 arg1 = reinterpret_cast< wxListItem * >(argp1);
27020 {
27021 arg2 = &temp2;
27022 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27023 }
27024 {
27025 PyThreadState* __tstate = wxPyBeginAllowThreads();
27026 (arg1)->SetTextColour((wxColour const &)*arg2);
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 resultobj = SWIG_Py_Void();
27031 return resultobj;
27032fail:
27033 return NULL;
27034}
27035
27036
27037SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj = 0;
27039 wxListItem *arg1 = (wxListItem *) 0 ;
27040 wxColour *arg2 = 0 ;
27041 void *argp1 = 0 ;
27042 int res1 = 0 ;
27043 wxColour temp2 ;
27044 PyObject * obj0 = 0 ;
27045 PyObject * obj1 = 0 ;
27046 char * kwnames[] = {
27047 (char *) "self",(char *) "colBack", NULL
27048 };
27049
27050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27052 if (!SWIG_IsOK(res1)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27054 }
27055 arg1 = reinterpret_cast< wxListItem * >(argp1);
27056 {
27057 arg2 = &temp2;
27058 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27059 }
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27063 wxPyEndAllowThreads(__tstate);
27064 if (PyErr_Occurred()) SWIG_fail;
27065 }
27066 resultobj = SWIG_Py_Void();
27067 return resultobj;
27068fail:
27069 return NULL;
27070}
27071
27072
27073SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27074 PyObject *resultobj = 0;
27075 wxListItem *arg1 = (wxListItem *) 0 ;
27076 wxFont *arg2 = 0 ;
27077 void *argp1 = 0 ;
27078 int res1 = 0 ;
27079 void *argp2 = 0 ;
27080 int res2 = 0 ;
27081 PyObject * obj0 = 0 ;
27082 PyObject * obj1 = 0 ;
27083 char * kwnames[] = {
27084 (char *) "self",(char *) "font", NULL
27085 };
27086
27087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27089 if (!SWIG_IsOK(res1)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27091 }
27092 arg1 = reinterpret_cast< wxListItem * >(argp1);
27093 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27094 if (!SWIG_IsOK(res2)) {
27095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27096 }
27097 if (!argp2) {
27098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27099 }
27100 arg2 = reinterpret_cast< wxFont * >(argp2);
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 (arg1)->SetFont((wxFont const &)*arg2);
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 resultobj = SWIG_Py_Void();
27108 return resultobj;
27109fail:
27110 return NULL;
d14a1e28
RD
27111}
27112
27113
0085ce49
RD
27114SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27115 PyObject *resultobj = 0;
27116 wxListItem *arg1 = (wxListItem *) 0 ;
27117 long result;
27118 void *argp1 = 0 ;
27119 int res1 = 0 ;
27120 PyObject *swig_obj[1] ;
27121
27122 if (!args) SWIG_fail;
27123 swig_obj[0] = args;
27124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27125 if (!SWIG_IsOK(res1)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27127 }
27128 arg1 = reinterpret_cast< wxListItem * >(argp1);
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 result = (long)(arg1)->GetMask();
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 resultobj = SWIG_From_long(static_cast< long >(result));
27136 return resultobj;
27137fail:
27138 return NULL;
d14a1e28
RD
27139}
27140
27141
0085ce49
RD
27142SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27143 PyObject *resultobj = 0;
27144 wxListItem *arg1 = (wxListItem *) 0 ;
27145 long result;
27146 void *argp1 = 0 ;
27147 int res1 = 0 ;
27148 PyObject *swig_obj[1] ;
27149
27150 if (!args) SWIG_fail;
27151 swig_obj[0] = args;
27152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27153 if (!SWIG_IsOK(res1)) {
27154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27155 }
27156 arg1 = reinterpret_cast< wxListItem * >(argp1);
27157 {
27158 PyThreadState* __tstate = wxPyBeginAllowThreads();
27159 result = (long)(arg1)->GetId();
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = SWIG_From_long(static_cast< long >(result));
27164 return resultobj;
27165fail:
27166 return NULL;
d14a1e28
RD
27167}
27168
27169
0085ce49
RD
27170SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27171 PyObject *resultobj = 0;
27172 wxListItem *arg1 = (wxListItem *) 0 ;
27173 int result;
27174 void *argp1 = 0 ;
27175 int res1 = 0 ;
27176 PyObject *swig_obj[1] ;
27177
27178 if (!args) SWIG_fail;
27179 swig_obj[0] = args;
27180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27181 if (!SWIG_IsOK(res1)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27183 }
27184 arg1 = reinterpret_cast< wxListItem * >(argp1);
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 result = (int)(arg1)->GetColumn();
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 resultobj = SWIG_From_int(static_cast< int >(result));
27192 return resultobj;
27193fail:
27194 return NULL;
22bfe96c
RD
27195}
27196
27197
0085ce49
RD
27198SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27199 PyObject *resultobj = 0;
27200 wxListItem *arg1 = (wxListItem *) 0 ;
27201 long result;
27202 void *argp1 = 0 ;
27203 int res1 = 0 ;
27204 PyObject *swig_obj[1] ;
27205
27206 if (!args) SWIG_fail;
27207 swig_obj[0] = args;
27208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27209 if (!SWIG_IsOK(res1)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27211 }
27212 arg1 = reinterpret_cast< wxListItem * >(argp1);
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (long)(arg1)->GetState();
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 resultobj = SWIG_From_long(static_cast< long >(result));
27220 return resultobj;
27221fail:
27222 return NULL;
b2dc1044
RD
27223}
27224
27225
0085ce49
RD
27226SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27227 PyObject *resultobj = 0;
27228 wxListItem *arg1 = (wxListItem *) 0 ;
27229 wxString *result = 0 ;
27230 void *argp1 = 0 ;
27231 int res1 = 0 ;
27232 PyObject *swig_obj[1] ;
27233
27234 if (!args) SWIG_fail;
27235 swig_obj[0] = args;
27236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27237 if (!SWIG_IsOK(res1)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27239 }
27240 arg1 = reinterpret_cast< wxListItem * >(argp1);
27241 {
27242 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 27243 {
0085ce49
RD
27244 wxString const &_result_ref = (arg1)->GetText();
27245 result = (wxString *) &_result_ref;
27246 }
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 {
b2dc1044 27251#if wxUSE_UNICODE
0085ce49 27252 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
b2dc1044 27253#else
0085ce49 27254 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
b2dc1044 27255#endif
0085ce49
RD
27256 }
27257 return resultobj;
27258fail:
27259 return NULL;
d14a1e28
RD
27260}
27261
27262
0085ce49
RD
27263SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27264 PyObject *resultobj = 0;
27265 wxListItem *arg1 = (wxListItem *) 0 ;
27266 int result;
27267 void *argp1 = 0 ;
27268 int res1 = 0 ;
27269 PyObject *swig_obj[1] ;
27270
27271 if (!args) SWIG_fail;
27272 swig_obj[0] = args;
27273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27274 if (!SWIG_IsOK(res1)) {
27275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27276 }
27277 arg1 = reinterpret_cast< wxListItem * >(argp1);
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 result = (int)(arg1)->GetImage();
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 resultobj = SWIG_From_int(static_cast< int >(result));
27285 return resultobj;
27286fail:
27287 return NULL;
d14a1e28
RD
27288}
27289
27290
0085ce49
RD
27291SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27292 PyObject *resultobj = 0;
27293 wxListItem *arg1 = (wxListItem *) 0 ;
27294 long result;
27295 void *argp1 = 0 ;
27296 int res1 = 0 ;
27297 PyObject *swig_obj[1] ;
27298
27299 if (!args) SWIG_fail;
27300 swig_obj[0] = args;
27301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27302 if (!SWIG_IsOK(res1)) {
27303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27304 }
27305 arg1 = reinterpret_cast< wxListItem * >(argp1);
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 result = (long)(arg1)->GetData();
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
27312 resultobj = SWIG_From_long(static_cast< long >(result));
27313 return resultobj;
27314fail:
27315 return NULL;
d14a1e28
RD
27316}
27317
27318
0085ce49
RD
27319SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27320 PyObject *resultobj = 0;
27321 wxListItem *arg1 = (wxListItem *) 0 ;
27322 int result;
27323 void *argp1 = 0 ;
27324 int res1 = 0 ;
27325 PyObject *swig_obj[1] ;
27326
27327 if (!args) SWIG_fail;
27328 swig_obj[0] = args;
27329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27330 if (!SWIG_IsOK(res1)) {
27331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27332 }
27333 arg1 = reinterpret_cast< wxListItem * >(argp1);
27334 {
27335 PyThreadState* __tstate = wxPyBeginAllowThreads();
27336 result = (int)(arg1)->GetWidth();
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
27340 resultobj = SWIG_From_int(static_cast< int >(result));
27341 return resultobj;
27342fail:
27343 return NULL;
d14a1e28
RD
27344}
27345
27346
0085ce49
RD
27347SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27348 PyObject *resultobj = 0;
27349 wxListItem *arg1 = (wxListItem *) 0 ;
27350 wxListColumnFormat result;
27351 void *argp1 = 0 ;
27352 int res1 = 0 ;
27353 PyObject *swig_obj[1] ;
27354
27355 if (!args) SWIG_fail;
27356 swig_obj[0] = args;
27357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27358 if (!SWIG_IsOK(res1)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27360 }
27361 arg1 = reinterpret_cast< wxListItem * >(argp1);
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 result = (wxListColumnFormat)(arg1)->GetAlign();
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 resultobj = SWIG_From_int(static_cast< int >(result));
27369 return resultobj;
27370fail:
27371 return NULL;
d14a1e28
RD
27372}
27373
27374
0085ce49
RD
27375SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27376 PyObject *resultobj = 0;
27377 wxListItem *arg1 = (wxListItem *) 0 ;
27378 wxListItemAttr *result = 0 ;
27379 void *argp1 = 0 ;
27380 int res1 = 0 ;
27381 PyObject *swig_obj[1] ;
27382
27383 if (!args) SWIG_fail;
27384 swig_obj[0] = args;
27385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27386 if (!SWIG_IsOK(res1)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27388 }
27389 arg1 = reinterpret_cast< wxListItem * >(argp1);
27390 {
27391 PyThreadState* __tstate = wxPyBeginAllowThreads();
27392 result = (wxListItemAttr *)(arg1)->GetAttributes();
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27397 return resultobj;
27398fail:
27399 return NULL;
d14a1e28
RD
27400}
27401
27402
0085ce49
RD
27403SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27404 PyObject *resultobj = 0;
27405 wxListItem *arg1 = (wxListItem *) 0 ;
27406 bool result;
27407 void *argp1 = 0 ;
27408 int res1 = 0 ;
27409 PyObject *swig_obj[1] ;
27410
27411 if (!args) SWIG_fail;
27412 swig_obj[0] = args;
27413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27414 if (!SWIG_IsOK(res1)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27416 }
27417 arg1 = reinterpret_cast< wxListItem * >(argp1);
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 result = (bool)(arg1)->HasAttributes();
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 {
27425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27426 }
27427 return resultobj;
27428fail:
27429 return NULL;
22bfe96c
RD
27430}
27431
27432
0085ce49
RD
27433SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27434 PyObject *resultobj = 0;
27435 wxListItem *arg1 = (wxListItem *) 0 ;
27436 wxColour result;
27437 void *argp1 = 0 ;
27438 int res1 = 0 ;
27439 PyObject *swig_obj[1] ;
27440
27441 if (!args) SWIG_fail;
27442 swig_obj[0] = args;
27443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27444 if (!SWIG_IsOK(res1)) {
27445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27446 }
27447 arg1 = reinterpret_cast< wxListItem * >(argp1);
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 result = ((wxListItem const *)arg1)->GetTextColour();
27451 wxPyEndAllowThreads(__tstate);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 }
27454 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27455 return resultobj;
27456fail:
27457 return NULL;
d14a1e28 27458}
0085ce49
RD
27459
27460
27461SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27462 PyObject *resultobj = 0;
27463 wxListItem *arg1 = (wxListItem *) 0 ;
27464 wxColour result;
27465 void *argp1 = 0 ;
27466 int res1 = 0 ;
27467 PyObject *swig_obj[1] ;
27468
27469 if (!args) SWIG_fail;
27470 swig_obj[0] = args;
27471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27472 if (!SWIG_IsOK(res1)) {
27473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27474 }
27475 arg1 = reinterpret_cast< wxListItem * >(argp1);
27476 {
27477 PyThreadState* __tstate = wxPyBeginAllowThreads();
27478 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27479 wxPyEndAllowThreads(__tstate);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27483 return resultobj;
27484fail:
27485 return NULL;
b2dc1044
RD
27486}
27487
27488
0085ce49
RD
27489SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27490 PyObject *resultobj = 0;
27491 wxListItem *arg1 = (wxListItem *) 0 ;
27492 wxFont result;
27493 void *argp1 = 0 ;
27494 int res1 = 0 ;
27495 PyObject *swig_obj[1] ;
27496
27497 if (!args) SWIG_fail;
27498 swig_obj[0] = args;
27499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27500 if (!SWIG_IsOK(res1)) {
27501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27502 }
27503 arg1 = reinterpret_cast< wxListItem * >(argp1);
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 result = ((wxListItem const *)arg1)->GetFont();
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27511 return resultobj;
27512fail:
27513 return NULL;
27514}
27515
27516
27517SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27518 PyObject *resultobj = 0;
27519 wxListItem *arg1 = (wxListItem *) 0 ;
27520 long arg2 ;
27521 void *argp1 = 0 ;
27522 int res1 = 0 ;
27523 long val2 ;
27524 int ecode2 = 0 ;
27525 PyObject *swig_obj[2] ;
27526
27527 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27529 if (!SWIG_IsOK(res1)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27531 }
27532 arg1 = reinterpret_cast< wxListItem * >(argp1);
27533 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27534 if (!SWIG_IsOK(ecode2)) {
27535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27536 }
27537 arg2 = static_cast< long >(val2);
27538 if (arg1) (arg1)->m_mask = arg2;
27539
27540 resultobj = SWIG_Py_Void();
27541 return resultobj;
27542fail:
27543 return NULL;
b2dc1044
RD
27544}
27545
27546
0085ce49
RD
27547SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27548 PyObject *resultobj = 0;
27549 wxListItem *arg1 = (wxListItem *) 0 ;
27550 long result;
27551 void *argp1 = 0 ;
27552 int res1 = 0 ;
27553 PyObject *swig_obj[1] ;
27554
27555 if (!args) SWIG_fail;
27556 swig_obj[0] = args;
27557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27558 if (!SWIG_IsOK(res1)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27560 }
27561 arg1 = reinterpret_cast< wxListItem * >(argp1);
27562 result = (long) ((arg1)->m_mask);
27563 resultobj = SWIG_From_long(static_cast< long >(result));
27564 return resultobj;
27565fail:
27566 return NULL;
27567}
27568
27569
27570SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27571 PyObject *resultobj = 0;
27572 wxListItem *arg1 = (wxListItem *) 0 ;
27573 long arg2 ;
27574 void *argp1 = 0 ;
27575 int res1 = 0 ;
27576 long val2 ;
27577 int ecode2 = 0 ;
27578 PyObject *swig_obj[2] ;
27579
27580 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27582 if (!SWIG_IsOK(res1)) {
27583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27584 }
27585 arg1 = reinterpret_cast< wxListItem * >(argp1);
27586 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27587 if (!SWIG_IsOK(ecode2)) {
27588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27589 }
27590 arg2 = static_cast< long >(val2);
27591 if (arg1) (arg1)->m_itemId = arg2;
27592
27593 resultobj = SWIG_Py_Void();
27594 return resultobj;
27595fail:
27596 return NULL;
d14a1e28
RD
27597}
27598
27599
0085ce49
RD
27600SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27601 PyObject *resultobj = 0;
27602 wxListItem *arg1 = (wxListItem *) 0 ;
27603 long result;
27604 void *argp1 = 0 ;
27605 int res1 = 0 ;
27606 PyObject *swig_obj[1] ;
27607
27608 if (!args) SWIG_fail;
27609 swig_obj[0] = args;
27610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27611 if (!SWIG_IsOK(res1)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27613 }
27614 arg1 = reinterpret_cast< wxListItem * >(argp1);
27615 result = (long) ((arg1)->m_itemId);
27616 resultobj = SWIG_From_long(static_cast< long >(result));
27617 return resultobj;
27618fail:
27619 return NULL;
27620}
27621
27622
27623SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27624 PyObject *resultobj = 0;
27625 wxListItem *arg1 = (wxListItem *) 0 ;
27626 int arg2 ;
27627 void *argp1 = 0 ;
27628 int res1 = 0 ;
27629 int val2 ;
27630 int ecode2 = 0 ;
27631 PyObject *swig_obj[2] ;
27632
27633 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27635 if (!SWIG_IsOK(res1)) {
27636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27637 }
27638 arg1 = reinterpret_cast< wxListItem * >(argp1);
27639 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27640 if (!SWIG_IsOK(ecode2)) {
27641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27642 }
27643 arg2 = static_cast< int >(val2);
27644 if (arg1) (arg1)->m_col = arg2;
27645
27646 resultobj = SWIG_Py_Void();
27647 return resultobj;
27648fail:
27649 return NULL;
d14a1e28
RD
27650}
27651
27652
0085ce49
RD
27653SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27654 PyObject *resultobj = 0;
27655 wxListItem *arg1 = (wxListItem *) 0 ;
27656 int result;
27657 void *argp1 = 0 ;
27658 int res1 = 0 ;
27659 PyObject *swig_obj[1] ;
27660
27661 if (!args) SWIG_fail;
27662 swig_obj[0] = args;
27663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27664 if (!SWIG_IsOK(res1)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27666 }
27667 arg1 = reinterpret_cast< wxListItem * >(argp1);
27668 result = (int) ((arg1)->m_col);
27669 resultobj = SWIG_From_int(static_cast< int >(result));
27670 return resultobj;
27671fail:
27672 return NULL;
27673}
27674
27675
27676SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27677 PyObject *resultobj = 0;
27678 wxListItem *arg1 = (wxListItem *) 0 ;
27679 long arg2 ;
27680 void *argp1 = 0 ;
27681 int res1 = 0 ;
27682 long val2 ;
27683 int ecode2 = 0 ;
27684 PyObject *swig_obj[2] ;
27685
27686 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27688 if (!SWIG_IsOK(res1)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27690 }
27691 arg1 = reinterpret_cast< wxListItem * >(argp1);
27692 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27693 if (!SWIG_IsOK(ecode2)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27695 }
27696 arg2 = static_cast< long >(val2);
27697 if (arg1) (arg1)->m_state = arg2;
27698
27699 resultobj = SWIG_Py_Void();
27700 return resultobj;
27701fail:
27702 return NULL;
8fb0e70a
RD
27703}
27704
27705
0085ce49
RD
27706SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27707 PyObject *resultobj = 0;
27708 wxListItem *arg1 = (wxListItem *) 0 ;
27709 long result;
27710 void *argp1 = 0 ;
27711 int res1 = 0 ;
27712 PyObject *swig_obj[1] ;
27713
27714 if (!args) SWIG_fail;
27715 swig_obj[0] = args;
27716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27717 if (!SWIG_IsOK(res1)) {
27718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27719 }
27720 arg1 = reinterpret_cast< wxListItem * >(argp1);
27721 result = (long) ((arg1)->m_state);
27722 resultobj = SWIG_From_long(static_cast< long >(result));
27723 return resultobj;
27724fail:
27725 return NULL;
27726}
27727
27728
27729SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27730 PyObject *resultobj = 0;
27731 wxListItem *arg1 = (wxListItem *) 0 ;
27732 long arg2 ;
27733 void *argp1 = 0 ;
27734 int res1 = 0 ;
27735 long val2 ;
27736 int ecode2 = 0 ;
27737 PyObject *swig_obj[2] ;
27738
27739 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27741 if (!SWIG_IsOK(res1)) {
27742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27743 }
27744 arg1 = reinterpret_cast< wxListItem * >(argp1);
27745 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27746 if (!SWIG_IsOK(ecode2)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27748 }
27749 arg2 = static_cast< long >(val2);
27750 if (arg1) (arg1)->m_stateMask = arg2;
27751
27752 resultobj = SWIG_Py_Void();
27753 return resultobj;
27754fail:
27755 return NULL;
d14a1e28
RD
27756}
27757
27758
0085ce49
RD
27759SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27760 PyObject *resultobj = 0;
27761 wxListItem *arg1 = (wxListItem *) 0 ;
27762 long result;
27763 void *argp1 = 0 ;
27764 int res1 = 0 ;
27765 PyObject *swig_obj[1] ;
27766
27767 if (!args) SWIG_fail;
27768 swig_obj[0] = args;
27769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27770 if (!SWIG_IsOK(res1)) {
27771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27772 }
27773 arg1 = reinterpret_cast< wxListItem * >(argp1);
27774 result = (long) ((arg1)->m_stateMask);
27775 resultobj = SWIG_From_long(static_cast< long >(result));
27776 return resultobj;
27777fail:
27778 return NULL;
27779}
27780
27781
27782SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27783 PyObject *resultobj = 0;
27784 wxListItem *arg1 = (wxListItem *) 0 ;
27785 wxString *arg2 = (wxString *) 0 ;
27786 void *argp1 = 0 ;
27787 int res1 = 0 ;
27788 bool temp2 = false ;
27789 PyObject *swig_obj[2] ;
27790
27791 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27793 if (!SWIG_IsOK(res1)) {
27794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27795 }
27796 arg1 = reinterpret_cast< wxListItem * >(argp1);
27797 {
27798 arg2 = wxString_in_helper(swig_obj[1]);
27799 if (arg2 == NULL) SWIG_fail;
27800 temp2 = true;
27801 }
27802 if (arg1) (arg1)->m_text = *arg2;
27803
27804 resultobj = SWIG_Py_Void();
27805 {
27806 if (temp2)
27807 delete arg2;
27808 }
27809 return resultobj;
27810fail:
27811 {
27812 if (temp2)
27813 delete arg2;
27814 }
27815 return NULL;
d14a1e28
RD
27816}
27817
27818
0085ce49
RD
27819SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27820 PyObject *resultobj = 0;
27821 wxListItem *arg1 = (wxListItem *) 0 ;
27822 wxString *result = 0 ;
27823 void *argp1 = 0 ;
27824 int res1 = 0 ;
27825 PyObject *swig_obj[1] ;
27826
27827 if (!args) SWIG_fail;
27828 swig_obj[0] = args;
27829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27830 if (!SWIG_IsOK(res1)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27832 }
27833 arg1 = reinterpret_cast< wxListItem * >(argp1);
27834 result = (wxString *)& ((arg1)->m_text);
27835 {
d14a1e28 27836#if wxUSE_UNICODE
0085ce49 27837 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 27838#else
0085ce49 27839 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28 27840#endif
0085ce49
RD
27841 }
27842 return resultobj;
27843fail:
27844 return NULL;
d14a1e28
RD
27845}
27846
27847
0085ce49
RD
27848SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27849 PyObject *resultobj = 0;
27850 wxListItem *arg1 = (wxListItem *) 0 ;
27851 int arg2 ;
27852 void *argp1 = 0 ;
27853 int res1 = 0 ;
27854 int val2 ;
27855 int ecode2 = 0 ;
27856 PyObject *swig_obj[2] ;
27857
27858 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27860 if (!SWIG_IsOK(res1)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27862 }
27863 arg1 = reinterpret_cast< wxListItem * >(argp1);
27864 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27865 if (!SWIG_IsOK(ecode2)) {
27866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27867 }
27868 arg2 = static_cast< int >(val2);
27869 if (arg1) (arg1)->m_image = arg2;
27870
27871 resultobj = SWIG_Py_Void();
27872 return resultobj;
27873fail:
27874 return NULL;
d14a1e28
RD
27875}
27876
27877
0085ce49
RD
27878SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27879 PyObject *resultobj = 0;
27880 wxListItem *arg1 = (wxListItem *) 0 ;
27881 int result;
27882 void *argp1 = 0 ;
27883 int res1 = 0 ;
27884 PyObject *swig_obj[1] ;
27885
27886 if (!args) SWIG_fail;
27887 swig_obj[0] = args;
27888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27889 if (!SWIG_IsOK(res1)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27891 }
27892 arg1 = reinterpret_cast< wxListItem * >(argp1);
27893 result = (int) ((arg1)->m_image);
27894 resultobj = SWIG_From_int(static_cast< int >(result));
27895 return resultobj;
27896fail:
27897 return NULL;
27898}
27899
27900
27901SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27902 PyObject *resultobj = 0;
27903 wxListItem *arg1 = (wxListItem *) 0 ;
27904 long arg2 ;
27905 void *argp1 = 0 ;
27906 int res1 = 0 ;
27907 long val2 ;
27908 int ecode2 = 0 ;
27909 PyObject *swig_obj[2] ;
27910
27911 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27913 if (!SWIG_IsOK(res1)) {
27914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27915 }
27916 arg1 = reinterpret_cast< wxListItem * >(argp1);
27917 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27918 if (!SWIG_IsOK(ecode2)) {
27919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27920 }
27921 arg2 = static_cast< long >(val2);
27922 if (arg1) (arg1)->m_data = arg2;
27923
27924 resultobj = SWIG_Py_Void();
27925 return resultobj;
27926fail:
27927 return NULL;
d14a1e28
RD
27928}
27929
27930
0085ce49
RD
27931SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27932 PyObject *resultobj = 0;
27933 wxListItem *arg1 = (wxListItem *) 0 ;
27934 long result;
27935 void *argp1 = 0 ;
27936 int res1 = 0 ;
27937 PyObject *swig_obj[1] ;
27938
27939 if (!args) SWIG_fail;
27940 swig_obj[0] = args;
27941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27942 if (!SWIG_IsOK(res1)) {
27943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27944 }
27945 arg1 = reinterpret_cast< wxListItem * >(argp1);
27946 result = (long) ((arg1)->m_data);
27947 resultobj = SWIG_From_long(static_cast< long >(result));
27948 return resultobj;
27949fail:
27950 return NULL;
27951}
27952
27953
27954SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27955 PyObject *resultobj = 0;
27956 wxListItem *arg1 = (wxListItem *) 0 ;
27957 int arg2 ;
27958 void *argp1 = 0 ;
27959 int res1 = 0 ;
27960 int val2 ;
27961 int ecode2 = 0 ;
27962 PyObject *swig_obj[2] ;
27963
27964 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27966 if (!SWIG_IsOK(res1)) {
27967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27968 }
27969 arg1 = reinterpret_cast< wxListItem * >(argp1);
27970 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27971 if (!SWIG_IsOK(ecode2)) {
27972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27973 }
27974 arg2 = static_cast< int >(val2);
27975 if (arg1) (arg1)->m_format = arg2;
27976
27977 resultobj = SWIG_Py_Void();
27978 return resultobj;
27979fail:
27980 return NULL;
d14a1e28
RD
27981}
27982
27983
0085ce49
RD
27984SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27985 PyObject *resultobj = 0;
27986 wxListItem *arg1 = (wxListItem *) 0 ;
27987 int result;
27988 void *argp1 = 0 ;
27989 int res1 = 0 ;
27990 PyObject *swig_obj[1] ;
27991
27992 if (!args) SWIG_fail;
27993 swig_obj[0] = args;
27994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27995 if (!SWIG_IsOK(res1)) {
27996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27997 }
27998 arg1 = reinterpret_cast< wxListItem * >(argp1);
27999 result = (int) ((arg1)->m_format);
28000 resultobj = SWIG_From_int(static_cast< int >(result));
28001 return resultobj;
28002fail:
28003 return NULL;
28004}
28005
28006
28007SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28008 PyObject *resultobj = 0;
28009 wxListItem *arg1 = (wxListItem *) 0 ;
28010 int arg2 ;
28011 void *argp1 = 0 ;
28012 int res1 = 0 ;
28013 int val2 ;
28014 int ecode2 = 0 ;
28015 PyObject *swig_obj[2] ;
28016
28017 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28019 if (!SWIG_IsOK(res1)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28021 }
28022 arg1 = reinterpret_cast< wxListItem * >(argp1);
28023 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28024 if (!SWIG_IsOK(ecode2)) {
28025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28026 }
28027 arg2 = static_cast< int >(val2);
28028 if (arg1) (arg1)->m_width = arg2;
28029
28030 resultobj = SWIG_Py_Void();
28031 return resultobj;
28032fail:
28033 return NULL;
d14a1e28
RD
28034}
28035
28036
0085ce49
RD
28037SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28038 PyObject *resultobj = 0;
28039 wxListItem *arg1 = (wxListItem *) 0 ;
28040 int result;
28041 void *argp1 = 0 ;
28042 int res1 = 0 ;
28043 PyObject *swig_obj[1] ;
28044
28045 if (!args) SWIG_fail;
28046 swig_obj[0] = args;
28047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28048 if (!SWIG_IsOK(res1)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28050 }
28051 arg1 = reinterpret_cast< wxListItem * >(argp1);
28052 result = (int) ((arg1)->m_width);
28053 resultobj = SWIG_From_int(static_cast< int >(result));
28054 return resultobj;
28055fail:
28056 return NULL;
28057}
28058
28059
28060SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28061 PyObject *obj;
28062 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28063 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28064 return SWIG_Py_Void();
28065}
28066
28067SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28068 return SWIG_Python_InitShadowInstance(args);
28069}
28070
28071SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28072 PyObject *resultobj = 0;
28073 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28074 int arg2 = (int) 0 ;
28075 wxListEvent *result = 0 ;
28076 int val1 ;
28077 int ecode1 = 0 ;
28078 int val2 ;
28079 int ecode2 = 0 ;
28080 PyObject * obj0 = 0 ;
28081 PyObject * obj1 = 0 ;
28082 char * kwnames[] = {
28083 (char *) "commandType",(char *) "id", NULL
28084 };
28085
28086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28087 if (obj0) {
28088 ecode1 = SWIG_AsVal_int(obj0, &val1);
28089 if (!SWIG_IsOK(ecode1)) {
28090 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28091 }
28092 arg1 = static_cast< wxEventType >(val1);
28093 }
28094 if (obj1) {
28095 ecode2 = SWIG_AsVal_int(obj1, &val2);
28096 if (!SWIG_IsOK(ecode2)) {
28097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28098 }
28099 arg2 = static_cast< int >(val2);
28100 }
28101 {
28102 PyThreadState* __tstate = wxPyBeginAllowThreads();
28103 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28104 wxPyEndAllowThreads(__tstate);
28105 if (PyErr_Occurred()) SWIG_fail;
28106 }
28107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28108 return resultobj;
28109fail:
28110 return NULL;
28111}
28112
28113
28114SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28115 PyObject *resultobj = 0;
28116 wxListEvent *arg1 = (wxListEvent *) 0 ;
28117 int arg2 ;
28118 void *argp1 = 0 ;
28119 int res1 = 0 ;
28120 int val2 ;
28121 int ecode2 = 0 ;
28122 PyObject *swig_obj[2] ;
28123
28124 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28126 if (!SWIG_IsOK(res1)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28128 }
28129 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28130 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28131 if (!SWIG_IsOK(ecode2)) {
28132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28133 }
28134 arg2 = static_cast< int >(val2);
28135 if (arg1) (arg1)->m_code = arg2;
28136
28137 resultobj = SWIG_Py_Void();
28138 return resultobj;
28139fail:
28140 return NULL;
d14a1e28
RD
28141}
28142
28143
0085ce49
RD
28144SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28145 PyObject *resultobj = 0;
28146 wxListEvent *arg1 = (wxListEvent *) 0 ;
28147 int result;
28148 void *argp1 = 0 ;
28149 int res1 = 0 ;
28150 PyObject *swig_obj[1] ;
28151
28152 if (!args) SWIG_fail;
28153 swig_obj[0] = args;
28154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28155 if (!SWIG_IsOK(res1)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28157 }
28158 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28159 result = (int) ((arg1)->m_code);
28160 resultobj = SWIG_From_int(static_cast< int >(result));
28161 return resultobj;
28162fail:
28163 return NULL;
28164}
28165
28166
28167SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28168 PyObject *resultobj = 0;
28169 wxListEvent *arg1 = (wxListEvent *) 0 ;
28170 long arg2 ;
28171 void *argp1 = 0 ;
28172 int res1 = 0 ;
28173 long val2 ;
28174 int ecode2 = 0 ;
28175 PyObject *swig_obj[2] ;
28176
28177 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28179 if (!SWIG_IsOK(res1)) {
28180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28181 }
28182 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28183 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28184 if (!SWIG_IsOK(ecode2)) {
28185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28186 }
28187 arg2 = static_cast< long >(val2);
28188 if (arg1) (arg1)->m_oldItemIndex = arg2;
28189
28190 resultobj = SWIG_Py_Void();
28191 return resultobj;
28192fail:
28193 return NULL;
d14a1e28
RD
28194}
28195
28196
0085ce49
RD
28197SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28198 PyObject *resultobj = 0;
28199 wxListEvent *arg1 = (wxListEvent *) 0 ;
28200 long result;
28201 void *argp1 = 0 ;
28202 int res1 = 0 ;
28203 PyObject *swig_obj[1] ;
28204
28205 if (!args) SWIG_fail;
28206 swig_obj[0] = args;
28207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28208 if (!SWIG_IsOK(res1)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28210 }
28211 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28212 result = (long) ((arg1)->m_oldItemIndex);
28213 resultobj = SWIG_From_long(static_cast< long >(result));
28214 return resultobj;
28215fail:
28216 return NULL;
28217}
28218
28219
28220SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28221 PyObject *resultobj = 0;
28222 wxListEvent *arg1 = (wxListEvent *) 0 ;
28223 long arg2 ;
28224 void *argp1 = 0 ;
28225 int res1 = 0 ;
28226 long val2 ;
28227 int ecode2 = 0 ;
28228 PyObject *swig_obj[2] ;
28229
28230 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28232 if (!SWIG_IsOK(res1)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28234 }
28235 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28236 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28237 if (!SWIG_IsOK(ecode2)) {
28238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28239 }
28240 arg2 = static_cast< long >(val2);
28241 if (arg1) (arg1)->m_itemIndex = arg2;
28242
28243 resultobj = SWIG_Py_Void();
28244 return resultobj;
28245fail:
28246 return NULL;
d14a1e28
RD
28247}
28248
28249
0085ce49
RD
28250SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28251 PyObject *resultobj = 0;
28252 wxListEvent *arg1 = (wxListEvent *) 0 ;
28253 long result;
28254 void *argp1 = 0 ;
28255 int res1 = 0 ;
28256 PyObject *swig_obj[1] ;
28257
28258 if (!args) SWIG_fail;
28259 swig_obj[0] = args;
28260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28261 if (!SWIG_IsOK(res1)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28263 }
28264 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28265 result = (long) ((arg1)->m_itemIndex);
28266 resultobj = SWIG_From_long(static_cast< long >(result));
28267 return resultobj;
28268fail:
28269 return NULL;
28270}
28271
28272
28273SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28274 PyObject *resultobj = 0;
28275 wxListEvent *arg1 = (wxListEvent *) 0 ;
28276 int arg2 ;
28277 void *argp1 = 0 ;
28278 int res1 = 0 ;
28279 int val2 ;
28280 int ecode2 = 0 ;
28281 PyObject *swig_obj[2] ;
28282
28283 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28285 if (!SWIG_IsOK(res1)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28287 }
28288 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28289 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28290 if (!SWIG_IsOK(ecode2)) {
28291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28292 }
28293 arg2 = static_cast< int >(val2);
28294 if (arg1) (arg1)->m_col = arg2;
28295
28296 resultobj = SWIG_Py_Void();
28297 return resultobj;
28298fail:
28299 return NULL;
7e08d4ef
RD
28300}
28301
28302
0085ce49
RD
28303SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28304 PyObject *resultobj = 0;
28305 wxListEvent *arg1 = (wxListEvent *) 0 ;
28306 int result;
28307 void *argp1 = 0 ;
28308 int res1 = 0 ;
28309 PyObject *swig_obj[1] ;
28310
28311 if (!args) SWIG_fail;
28312 swig_obj[0] = args;
28313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28314 if (!SWIG_IsOK(res1)) {
28315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28316 }
28317 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28318 result = (int) ((arg1)->m_col);
28319 resultobj = SWIG_From_int(static_cast< int >(result));
28320 return resultobj;
28321fail:
28322 return NULL;
28323}
28324
28325
28326SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28327 PyObject *resultobj = 0;
28328 wxListEvent *arg1 = (wxListEvent *) 0 ;
28329 wxPoint *arg2 = (wxPoint *) 0 ;
28330 void *argp1 = 0 ;
28331 int res1 = 0 ;
28332 void *argp2 = 0 ;
28333 int res2 = 0 ;
28334 PyObject *swig_obj[2] ;
28335
28336 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28338 if (!SWIG_IsOK(res1)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28340 }
28341 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28342 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28343 if (!SWIG_IsOK(res2)) {
28344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28345 }
28346 arg2 = reinterpret_cast< wxPoint * >(argp2);
28347 if (arg1) (arg1)->m_pointDrag = *arg2;
28348
28349 resultobj = SWIG_Py_Void();
28350 return resultobj;
28351fail:
28352 return NULL;
7e08d4ef
RD
28353}
28354
28355
0085ce49
RD
28356SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28357 PyObject *resultobj = 0;
28358 wxListEvent *arg1 = (wxListEvent *) 0 ;
28359 wxPoint *result = 0 ;
28360 void *argp1 = 0 ;
28361 int res1 = 0 ;
28362 PyObject *swig_obj[1] ;
28363
28364 if (!args) SWIG_fail;
28365 swig_obj[0] = args;
28366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28367 if (!SWIG_IsOK(res1)) {
28368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28369 }
28370 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28371 result = (wxPoint *)& ((arg1)->m_pointDrag);
28372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28373 return resultobj;
28374fail:
28375 return NULL;
28376}
28377
28378
28379SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28380 PyObject *resultobj = 0;
28381 wxListEvent *arg1 = (wxListEvent *) 0 ;
28382 wxListItem *result = 0 ;
28383 void *argp1 = 0 ;
28384 int res1 = 0 ;
28385 PyObject *swig_obj[1] ;
28386
28387 if (!args) SWIG_fail;
28388 swig_obj[0] = args;
28389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28390 if (!SWIG_IsOK(res1)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28392 }
28393 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28394 result = (wxListItem *)& ((arg1)->m_item);
28395 {
3ecece7e 28396 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
28397 }
28398 return resultobj;
28399fail:
28400 return NULL;
7e08d4ef
RD
28401}
28402
28403
0085ce49
RD
28404SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28405 PyObject *resultobj = 0;
28406 wxListEvent *arg1 = (wxListEvent *) 0 ;
28407 int result;
28408 void *argp1 = 0 ;
28409 int res1 = 0 ;
28410 PyObject *swig_obj[1] ;
28411
28412 if (!args) SWIG_fail;
28413 swig_obj[0] = args;
28414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28415 if (!SWIG_IsOK(res1)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28417 }
28418 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 result = (int)(arg1)->GetKeyCode();
28422 wxPyEndAllowThreads(__tstate);
28423 if (PyErr_Occurred()) SWIG_fail;
28424 }
28425 resultobj = SWIG_From_int(static_cast< int >(result));
28426 return resultobj;
28427fail:
28428 return NULL;
7e08d4ef
RD
28429}
28430
28431
0085ce49
RD
28432SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28433 PyObject *resultobj = 0;
28434 wxListEvent *arg1 = (wxListEvent *) 0 ;
28435 long result;
28436 void *argp1 = 0 ;
28437 int res1 = 0 ;
28438 PyObject *swig_obj[1] ;
28439
28440 if (!args) SWIG_fail;
28441 swig_obj[0] = args;
28442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28443 if (!SWIG_IsOK(res1)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28445 }
28446 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 result = (long)(arg1)->GetIndex();
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 resultobj = SWIG_From_long(static_cast< long >(result));
28454 return resultobj;
28455fail:
28456 return NULL;
7e08d4ef
RD
28457}
28458
28459
0085ce49
RD
28460SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28461 PyObject *resultobj = 0;
28462 wxListEvent *arg1 = (wxListEvent *) 0 ;
28463 int result;
28464 void *argp1 = 0 ;
28465 int res1 = 0 ;
28466 PyObject *swig_obj[1] ;
28467
28468 if (!args) SWIG_fail;
28469 swig_obj[0] = args;
28470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28471 if (!SWIG_IsOK(res1)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28473 }
28474 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28475 {
28476 PyThreadState* __tstate = wxPyBeginAllowThreads();
28477 result = (int)(arg1)->GetColumn();
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
28481 resultobj = SWIG_From_int(static_cast< int >(result));
28482 return resultobj;
28483fail:
28484 return NULL;
d14a1e28
RD
28485}
28486
28487
0085ce49
RD
28488SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28489 PyObject *resultobj = 0;
28490 wxListEvent *arg1 = (wxListEvent *) 0 ;
28491 wxPoint result;
28492 void *argp1 = 0 ;
28493 int res1 = 0 ;
28494 PyObject *swig_obj[1] ;
28495
28496 if (!args) SWIG_fail;
28497 swig_obj[0] = args;
28498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28499 if (!SWIG_IsOK(res1)) {
28500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28501 }
28502 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28503 {
28504 PyThreadState* __tstate = wxPyBeginAllowThreads();
28505 result = (arg1)->GetPoint();
28506 wxPyEndAllowThreads(__tstate);
28507 if (PyErr_Occurred()) SWIG_fail;
28508 }
28509 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28510 return resultobj;
28511fail:
28512 return NULL;
d14a1e28
RD
28513}
28514
28515
0085ce49
RD
28516SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28517 PyObject *resultobj = 0;
28518 wxListEvent *arg1 = (wxListEvent *) 0 ;
28519 wxString *result = 0 ;
28520 void *argp1 = 0 ;
28521 int res1 = 0 ;
28522 PyObject *swig_obj[1] ;
28523
28524 if (!args) SWIG_fail;
28525 swig_obj[0] = args;
28526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28527 if (!SWIG_IsOK(res1)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28529 }
28530 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28531 {
28532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 28533 {
0085ce49
RD
28534 wxString const &_result_ref = (arg1)->GetLabel();
28535 result = (wxString *) &_result_ref;
4f89f6a3 28536 }
0085ce49
RD
28537 wxPyEndAllowThreads(__tstate);
28538 if (PyErr_Occurred()) SWIG_fail;
28539 }
28540 {
28541#if wxUSE_UNICODE
28542 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28543#else
28544 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28545#endif
28546 }
28547 return resultobj;
28548fail:
28549 return NULL;
d14a1e28
RD
28550}
28551
28552
0085ce49
RD
28553SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28554 PyObject *resultobj = 0;
28555 wxListEvent *arg1 = (wxListEvent *) 0 ;
28556 wxString *result = 0 ;
28557 void *argp1 = 0 ;
28558 int res1 = 0 ;
28559 PyObject *swig_obj[1] ;
28560
28561 if (!args) SWIG_fail;
28562 swig_obj[0] = args;
28563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28564 if (!SWIG_IsOK(res1)) {
28565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28566 }
28567 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 28570 {
0085ce49
RD
28571 wxString const &_result_ref = (arg1)->GetText();
28572 result = (wxString *) &_result_ref;
d14a1e28 28573 }
0085ce49
RD
28574 wxPyEndAllowThreads(__tstate);
28575 if (PyErr_Occurred()) SWIG_fail;
28576 }
28577 {
28578#if wxUSE_UNICODE
28579 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28580#else
28581 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28582#endif
28583 }
28584 return resultobj;
28585fail:
28586 return NULL;
d14a1e28
RD
28587}
28588
28589
0085ce49
RD
28590SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28591 PyObject *resultobj = 0;
28592 wxListEvent *arg1 = (wxListEvent *) 0 ;
28593 int result;
28594 void *argp1 = 0 ;
28595 int res1 = 0 ;
28596 PyObject *swig_obj[1] ;
28597
28598 if (!args) SWIG_fail;
28599 swig_obj[0] = args;
28600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28601 if (!SWIG_IsOK(res1)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28603 }
28604 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28605 {
28606 PyThreadState* __tstate = wxPyBeginAllowThreads();
28607 result = (int)(arg1)->GetImage();
28608 wxPyEndAllowThreads(__tstate);
28609 if (PyErr_Occurred()) SWIG_fail;
28610 }
28611 resultobj = SWIG_From_int(static_cast< int >(result));
28612 return resultobj;
28613fail:
28614 return NULL;
d14a1e28
RD
28615}
28616
28617
0085ce49
RD
28618SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28619 PyObject *resultobj = 0;
28620 wxListEvent *arg1 = (wxListEvent *) 0 ;
28621 long result;
28622 void *argp1 = 0 ;
28623 int res1 = 0 ;
28624 PyObject *swig_obj[1] ;
28625
28626 if (!args) SWIG_fail;
28627 swig_obj[0] = args;
28628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28629 if (!SWIG_IsOK(res1)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28631 }
28632 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28633 {
28634 PyThreadState* __tstate = wxPyBeginAllowThreads();
28635 result = (long)(arg1)->GetData();
28636 wxPyEndAllowThreads(__tstate);
28637 if (PyErr_Occurred()) SWIG_fail;
28638 }
28639 resultobj = SWIG_From_long(static_cast< long >(result));
28640 return resultobj;
28641fail:
28642 return NULL;
d14a1e28
RD
28643}
28644
28645
0085ce49
RD
28646SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28647 PyObject *resultobj = 0;
28648 wxListEvent *arg1 = (wxListEvent *) 0 ;
28649 long result;
28650 void *argp1 = 0 ;
28651 int res1 = 0 ;
28652 PyObject *swig_obj[1] ;
28653
28654 if (!args) SWIG_fail;
28655 swig_obj[0] = args;
28656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28657 if (!SWIG_IsOK(res1)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28659 }
28660 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28661 {
28662 PyThreadState* __tstate = wxPyBeginAllowThreads();
28663 result = (long)(arg1)->GetMask();
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 resultobj = SWIG_From_long(static_cast< long >(result));
28668 return resultobj;
28669fail:
28670 return NULL;
d14a1e28
RD
28671}
28672
28673
0085ce49
RD
28674SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28675 PyObject *resultobj = 0;
28676 wxListEvent *arg1 = (wxListEvent *) 0 ;
28677 wxListItem *result = 0 ;
28678 void *argp1 = 0 ;
28679 int res1 = 0 ;
28680 PyObject *swig_obj[1] ;
28681
28682 if (!args) SWIG_fail;
28683 swig_obj[0] = args;
28684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28685 if (!SWIG_IsOK(res1)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28687 }
28688 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 28691 {
0085ce49
RD
28692 wxListItem const &_result_ref = (arg1)->GetItem();
28693 result = (wxListItem *) &_result_ref;
22bfe96c 28694 }
0085ce49
RD
28695 wxPyEndAllowThreads(__tstate);
28696 if (PyErr_Occurred()) SWIG_fail;
28697 }
28698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28699 return resultobj;
28700fail:
28701 return NULL;
22bfe96c
RD
28702}
28703
28704
0085ce49
RD
28705SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28706 PyObject *resultobj = 0;
28707 wxListEvent *arg1 = (wxListEvent *) 0 ;
28708 long result;
28709 void *argp1 = 0 ;
28710 int res1 = 0 ;
28711 PyObject *swig_obj[1] ;
28712
28713 if (!args) SWIG_fail;
28714 swig_obj[0] = args;
28715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28716 if (!SWIG_IsOK(res1)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28718 }
28719 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 result = (long)(arg1)->GetCacheFrom();
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 resultobj = SWIG_From_long(static_cast< long >(result));
28727 return resultobj;
28728fail:
28729 return NULL;
d14a1e28
RD
28730}
28731
28732
0085ce49
RD
28733SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28734 PyObject *resultobj = 0;
28735 wxListEvent *arg1 = (wxListEvent *) 0 ;
28736 long result;
28737 void *argp1 = 0 ;
28738 int res1 = 0 ;
28739 PyObject *swig_obj[1] ;
28740
28741 if (!args) SWIG_fail;
28742 swig_obj[0] = args;
28743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28744 if (!SWIG_IsOK(res1)) {
28745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28746 }
28747 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28748 {
28749 PyThreadState* __tstate = wxPyBeginAllowThreads();
28750 result = (long)(arg1)->GetCacheTo();
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 resultobj = SWIG_From_long(static_cast< long >(result));
28755 return resultobj;
28756fail:
28757 return NULL;
d14a1e28
RD
28758}
28759
28760
0085ce49
RD
28761SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28762 PyObject *resultobj = 0;
28763 wxListEvent *arg1 = (wxListEvent *) 0 ;
28764 bool result;
28765 void *argp1 = 0 ;
28766 int res1 = 0 ;
28767 PyObject *swig_obj[1] ;
28768
28769 if (!args) SWIG_fail;
28770 swig_obj[0] = args;
28771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28772 if (!SWIG_IsOK(res1)) {
28773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28774 }
28775 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
28782 {
28783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28784 }
28785 return resultobj;
28786fail:
28787 return NULL;
28788}
28789
28790
28791SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28792 PyObject *resultobj = 0;
28793 wxListEvent *arg1 = (wxListEvent *) 0 ;
28794 bool arg2 ;
28795 void *argp1 = 0 ;
28796 int res1 = 0 ;
28797 bool val2 ;
28798 int ecode2 = 0 ;
28799 PyObject * obj0 = 0 ;
28800 PyObject * obj1 = 0 ;
28801 char * kwnames[] = {
28802 (char *) "self",(char *) "editCancelled", NULL
28803 };
28804
28805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28807 if (!SWIG_IsOK(res1)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28809 }
28810 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28811 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28812 if (!SWIG_IsOK(ecode2)) {
28813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28814 }
28815 arg2 = static_cast< bool >(val2);
28816 {
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 (arg1)->SetEditCanceled(arg2);
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 resultobj = SWIG_Py_Void();
28823 return resultobj;
28824fail:
28825 return NULL;
28826}
28827
28828
28829SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28830 PyObject *obj;
28831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28832 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28833 return SWIG_Py_Void();
28834}
28835
28836SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28837 return SWIG_Python_InitShadowInstance(args);
28838}
28839
28840SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj = 0;
28842 wxWindow *arg1 = (wxWindow *) 0 ;
28843 int arg2 = (int) -1 ;
28844 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28845 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28846 wxSize const &arg4_defvalue = wxDefaultSize ;
28847 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28848 long arg5 = (long) wxLC_ICON ;
28849 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28850 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28851 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28852 wxString *arg7 = (wxString *) &arg7_defvalue ;
28853 wxPyListCtrl *result = 0 ;
28854 void *argp1 = 0 ;
28855 int res1 = 0 ;
28856 int val2 ;
28857 int ecode2 = 0 ;
28858 wxPoint temp3 ;
28859 wxSize temp4 ;
28860 long val5 ;
28861 int ecode5 = 0 ;
28862 void *argp6 = 0 ;
28863 int res6 = 0 ;
28864 bool temp7 = false ;
28865 PyObject * obj0 = 0 ;
28866 PyObject * obj1 = 0 ;
28867 PyObject * obj2 = 0 ;
28868 PyObject * obj3 = 0 ;
28869 PyObject * obj4 = 0 ;
28870 PyObject * obj5 = 0 ;
28871 PyObject * obj6 = 0 ;
28872 char * kwnames[] = {
28873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28874 };
28875
28876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28878 if (!SWIG_IsOK(res1)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28880 }
28881 arg1 = reinterpret_cast< wxWindow * >(argp1);
28882 if (obj1) {
28883 ecode2 = SWIG_AsVal_int(obj1, &val2);
28884 if (!SWIG_IsOK(ecode2)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28886 }
28887 arg2 = static_cast< int >(val2);
28888 }
28889 if (obj2) {
093d3ff1 28890 {
0085ce49
RD
28891 arg3 = &temp3;
28892 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28893 }
0085ce49
RD
28894 }
28895 if (obj3) {
d14a1e28 28896 {
0085ce49
RD
28897 arg4 = &temp4;
28898 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 28899 }
0085ce49
RD
28900 }
28901 if (obj4) {
28902 ecode5 = SWIG_AsVal_long(obj4, &val5);
28903 if (!SWIG_IsOK(ecode5)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28905 }
28906 arg5 = static_cast< long >(val5);
28907 }
28908 if (obj5) {
28909 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28910 if (!SWIG_IsOK(res6)) {
28911 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 28912 }
0085ce49
RD
28913 if (!argp6) {
28914 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28915 }
28916 arg6 = reinterpret_cast< wxValidator * >(argp6);
28917 }
28918 if (obj6) {
093d3ff1 28919 {
0085ce49
RD
28920 arg7 = wxString_in_helper(obj6);
28921 if (arg7 == NULL) SWIG_fail;
28922 temp7 = true;
093d3ff1 28923 }
0085ce49
RD
28924 }
28925 {
28926 if (!wxPyCheckForApp()) SWIG_fail;
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28933 {
28934 if (temp7)
28935 delete arg7;
28936 }
28937 return resultobj;
28938fail:
28939 {
28940 if (temp7)
28941 delete arg7;
28942 }
28943 return NULL;
d14a1e28
RD
28944}
28945
28946
0085ce49
RD
28947SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28948 PyObject *resultobj = 0;
28949 wxPyListCtrl *result = 0 ;
28950
28951 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28952 {
28953 if (!wxPyCheckForApp()) SWIG_fail;
28954 PyThreadState* __tstate = wxPyBeginAllowThreads();
28955 result = (wxPyListCtrl *)new wxPyListCtrl();
28956 wxPyEndAllowThreads(__tstate);
28957 if (PyErr_Occurred()) SWIG_fail;
28958 }
28959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28960 return resultobj;
28961fail:
28962 return NULL;
28963}
28964
28965
28966SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28967 PyObject *resultobj = 0;
28968 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28969 wxWindow *arg2 = (wxWindow *) 0 ;
28970 int arg3 = (int) -1 ;
28971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28973 wxSize const &arg5_defvalue = wxDefaultSize ;
28974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28975 long arg6 = (long) wxLC_ICON ;
28976 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28977 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28978 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28979 wxString *arg8 = (wxString *) &arg8_defvalue ;
28980 bool result;
28981 void *argp1 = 0 ;
28982 int res1 = 0 ;
28983 void *argp2 = 0 ;
28984 int res2 = 0 ;
28985 int val3 ;
28986 int ecode3 = 0 ;
28987 wxPoint temp4 ;
28988 wxSize temp5 ;
28989 long val6 ;
28990 int ecode6 = 0 ;
28991 void *argp7 = 0 ;
28992 int res7 = 0 ;
28993 bool temp8 = false ;
28994 PyObject * obj0 = 0 ;
28995 PyObject * obj1 = 0 ;
28996 PyObject * obj2 = 0 ;
28997 PyObject * obj3 = 0 ;
28998 PyObject * obj4 = 0 ;
28999 PyObject * obj5 = 0 ;
29000 PyObject * obj6 = 0 ;
29001 PyObject * obj7 = 0 ;
29002 char * kwnames[] = {
29003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29004 };
29005
29006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29008 if (!SWIG_IsOK(res1)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29010 }
29011 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29013 if (!SWIG_IsOK(res2)) {
29014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29015 }
29016 arg2 = reinterpret_cast< wxWindow * >(argp2);
29017 if (obj2) {
29018 ecode3 = SWIG_AsVal_int(obj2, &val3);
29019 if (!SWIG_IsOK(ecode3)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29021 }
29022 arg3 = static_cast< int >(val3);
29023 }
29024 if (obj3) {
093d3ff1 29025 {
0085ce49
RD
29026 arg4 = &temp4;
29027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 29028 }
0085ce49
RD
29029 }
29030 if (obj4) {
d14a1e28 29031 {
0085ce49
RD
29032 arg5 = &temp5;
29033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 29034 }
0085ce49
RD
29035 }
29036 if (obj5) {
29037 ecode6 = SWIG_AsVal_long(obj5, &val6);
29038 if (!SWIG_IsOK(ecode6)) {
29039 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29040 }
29041 arg6 = static_cast< long >(val6);
29042 }
29043 if (obj6) {
29044 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29045 if (!SWIG_IsOK(res7)) {
29046 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 29047 }
0085ce49
RD
29048 if (!argp7) {
29049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 29050 }
0085ce49
RD
29051 arg7 = reinterpret_cast< wxValidator * >(argp7);
29052 }
29053 if (obj7) {
d14a1e28 29054 {
0085ce49
RD
29055 arg8 = wxString_in_helper(obj7);
29056 if (arg8 == NULL) SWIG_fail;
29057 temp8 = true;
d14a1e28 29058 }
0085ce49
RD
29059 }
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 {
29067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29068 }
29069 {
29070 if (temp8)
29071 delete arg8;
29072 }
29073 return resultobj;
29074fail:
29075 {
29076 if (temp8)
29077 delete arg8;
29078 }
29079 return NULL;
29080}
29081
29082
29083SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29084 PyObject *resultobj = 0;
29085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29086 PyObject *arg2 = (PyObject *) 0 ;
29087 PyObject *arg3 = (PyObject *) 0 ;
29088 void *argp1 = 0 ;
29089 int res1 = 0 ;
29090 PyObject * obj0 = 0 ;
29091 PyObject * obj1 = 0 ;
29092 PyObject * obj2 = 0 ;
29093 char * kwnames[] = {
29094 (char *) "self",(char *) "self",(char *) "_class", NULL
29095 };
29096
29097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29099 if (!SWIG_IsOK(res1)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29101 }
29102 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29103 arg2 = obj1;
29104 arg3 = obj2;
29105 {
29106 PyThreadState* __tstate = wxPyBeginAllowThreads();
29107 (arg1)->_setCallbackInfo(arg2,arg3);
29108 wxPyEndAllowThreads(__tstate);
29109 if (PyErr_Occurred()) SWIG_fail;
29110 }
29111 resultobj = SWIG_Py_Void();
29112 return resultobj;
29113fail:
29114 return NULL;
29115}
29116
29117
29118SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29119 PyObject *resultobj = 0;
29120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29121 int arg2 ;
29122 wxListItem *result = 0 ;
29123 void *argp1 = 0 ;
29124 int res1 = 0 ;
29125 int val2 ;
29126 int ecode2 = 0 ;
29127 PyObject * obj0 = 0 ;
29128 PyObject * obj1 = 0 ;
29129 char * kwnames[] = {
29130 (char *) "self",(char *) "col", NULL
29131 };
29132
29133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29135 if (!SWIG_IsOK(res1)) {
29136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29137 }
29138 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29139 ecode2 = SWIG_AsVal_int(obj1, &val2);
29140 if (!SWIG_IsOK(ecode2)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29142 }
29143 arg2 = static_cast< int >(val2);
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 {
3ecece7e 29151 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
29152 }
29153 return resultobj;
29154fail:
29155 return NULL;
29156}
29157
29158
29159SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29160 PyObject *resultobj = 0;
29161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29162 int arg2 ;
29163 wxListItem *arg3 = 0 ;
29164 bool result;
29165 void *argp1 = 0 ;
29166 int res1 = 0 ;
29167 int val2 ;
29168 int ecode2 = 0 ;
29169 void *argp3 = 0 ;
29170 int res3 = 0 ;
29171 PyObject * obj0 = 0 ;
29172 PyObject * obj1 = 0 ;
29173 PyObject * obj2 = 0 ;
29174 char * kwnames[] = {
29175 (char *) "self",(char *) "col",(char *) "item", NULL
29176 };
29177
29178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29180 if (!SWIG_IsOK(res1)) {
29181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29182 }
29183 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29184 ecode2 = SWIG_AsVal_int(obj1, &val2);
29185 if (!SWIG_IsOK(ecode2)) {
29186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29187 }
29188 arg2 = static_cast< int >(val2);
29189 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29190 if (!SWIG_IsOK(res3)) {
29191 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29192 }
29193 if (!argp3) {
29194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29195 }
29196 arg3 = reinterpret_cast< wxListItem * >(argp3);
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29200 wxPyEndAllowThreads(__tstate);
29201 if (PyErr_Occurred()) SWIG_fail;
29202 }
29203 {
29204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29205 }
29206 return resultobj;
29207fail:
29208 return NULL;
29209}
29210
29211
29212SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29213 PyObject *resultobj = 0;
29214 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29215 int arg2 ;
29216 int result;
29217 void *argp1 = 0 ;
29218 int res1 = 0 ;
29219 int val2 ;
29220 int ecode2 = 0 ;
29221 PyObject * obj0 = 0 ;
29222 PyObject * obj1 = 0 ;
29223 char * kwnames[] = {
29224 (char *) "self",(char *) "col", NULL
29225 };
29226
29227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29229 if (!SWIG_IsOK(res1)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29231 }
29232 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29233 ecode2 = SWIG_AsVal_int(obj1, &val2);
29234 if (!SWIG_IsOK(ecode2)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29236 }
29237 arg2 = static_cast< int >(val2);
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29241 wxPyEndAllowThreads(__tstate);
29242 if (PyErr_Occurred()) SWIG_fail;
29243 }
29244 resultobj = SWIG_From_int(static_cast< int >(result));
29245 return resultobj;
29246fail:
29247 return NULL;
29248}
29249
29250
29251SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29252 PyObject *resultobj = 0;
29253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29254 int arg2 ;
29255 int arg3 ;
29256 bool result;
29257 void *argp1 = 0 ;
29258 int res1 = 0 ;
29259 int val2 ;
29260 int ecode2 = 0 ;
29261 int val3 ;
29262 int ecode3 = 0 ;
29263 PyObject * obj0 = 0 ;
29264 PyObject * obj1 = 0 ;
29265 PyObject * obj2 = 0 ;
29266 char * kwnames[] = {
29267 (char *) "self",(char *) "col",(char *) "width", NULL
29268 };
29269
29270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29272 if (!SWIG_IsOK(res1)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29274 }
29275 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29276 ecode2 = SWIG_AsVal_int(obj1, &val2);
29277 if (!SWIG_IsOK(ecode2)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29279 }
29280 arg2 = static_cast< int >(val2);
29281 ecode3 = SWIG_AsVal_int(obj2, &val3);
29282 if (!SWIG_IsOK(ecode3)) {
29283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29284 }
29285 arg3 = static_cast< int >(val3);
29286 {
29287 PyThreadState* __tstate = wxPyBeginAllowThreads();
29288 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29289 wxPyEndAllowThreads(__tstate);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 }
29292 {
29293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29294 }
29295 return resultobj;
29296fail:
29297 return NULL;
d14a1e28
RD
29298}
29299
29300
0085ce49
RD
29301SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29302 PyObject *resultobj = 0;
29303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29304 int result;
29305 void *argp1 = 0 ;
29306 int res1 = 0 ;
29307 PyObject *swig_obj[1] ;
29308
29309 if (!args) SWIG_fail;
29310 swig_obj[0] = args;
29311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29312 if (!SWIG_IsOK(res1)) {
29313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29314 }
29315 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29316 {
29317 PyThreadState* __tstate = wxPyBeginAllowThreads();
29318 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29319 wxPyEndAllowThreads(__tstate);
29320 if (PyErr_Occurred()) SWIG_fail;
29321 }
29322 resultobj = SWIG_From_int(static_cast< int >(result));
29323 return resultobj;
29324fail:
29325 return NULL;
d14a1e28
RD
29326}
29327
29328
0085ce49
RD
29329SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29330 PyObject *resultobj = 0;
29331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29332 wxRect result;
29333 void *argp1 = 0 ;
29334 int res1 = 0 ;
29335 PyObject *swig_obj[1] ;
29336
29337 if (!args) SWIG_fail;
29338 swig_obj[0] = args;
29339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29340 if (!SWIG_IsOK(res1)) {
29341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29342 }
29343 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29344 {
29345 PyThreadState* __tstate = wxPyBeginAllowThreads();
29346 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29347 wxPyEndAllowThreads(__tstate);
29348 if (PyErr_Occurred()) SWIG_fail;
29349 }
29350 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29351 return resultobj;
29352fail:
29353 return NULL;
d14a1e28
RD
29354}
29355
29356
0085ce49
RD
29357SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29358 PyObject *resultobj = 0;
29359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29360 wxTextCtrl *result = 0 ;
29361 void *argp1 = 0 ;
29362 int res1 = 0 ;
29363 PyObject *swig_obj[1] ;
29364
29365 if (!args) SWIG_fail;
29366 swig_obj[0] = args;
29367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29368 if (!SWIG_IsOK(res1)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29370 }
29371 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29372 {
29373 PyThreadState* __tstate = wxPyBeginAllowThreads();
29374 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29375 wxPyEndAllowThreads(__tstate);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
29378 {
29379 resultobj = wxPyMake_wxObject(result, 0);
29380 }
29381 return resultobj;
29382fail:
29383 return NULL;
29384}
29385
29386
29387SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29388 PyObject *resultobj = 0;
29389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29390 long arg2 ;
29391 int arg3 = (int) 0 ;
29392 wxListItem *result = 0 ;
29393 void *argp1 = 0 ;
29394 int res1 = 0 ;
29395 long val2 ;
29396 int ecode2 = 0 ;
29397 int val3 ;
29398 int ecode3 = 0 ;
29399 PyObject * obj0 = 0 ;
29400 PyObject * obj1 = 0 ;
29401 PyObject * obj2 = 0 ;
29402 char * kwnames[] = {
29403 (char *) "self",(char *) "itemId",(char *) "col", NULL
29404 };
29405
29406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29408 if (!SWIG_IsOK(res1)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29410 }
29411 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29412 ecode2 = SWIG_AsVal_long(obj1, &val2);
29413 if (!SWIG_IsOK(ecode2)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29415 }
29416 arg2 = static_cast< long >(val2);
29417 if (obj2) {
29418 ecode3 = SWIG_AsVal_int(obj2, &val3);
29419 if (!SWIG_IsOK(ecode3)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29421 }
29422 arg3 = static_cast< int >(val3);
29423 }
29424 {
29425 PyThreadState* __tstate = wxPyBeginAllowThreads();
29426 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29427 wxPyEndAllowThreads(__tstate);
29428 if (PyErr_Occurred()) SWIG_fail;
29429 }
29430 {
3ecece7e 29431 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
29432 }
29433 return resultobj;
29434fail:
29435 return NULL;
29436}
29437
29438
29439SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29440 PyObject *resultobj = 0;
29441 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29442 wxListItem *arg2 = 0 ;
29443 bool result;
29444 void *argp1 = 0 ;
29445 int res1 = 0 ;
29446 void *argp2 = 0 ;
29447 int res2 = 0 ;
29448 PyObject * obj0 = 0 ;
29449 PyObject * obj1 = 0 ;
29450 char * kwnames[] = {
29451 (char *) "self",(char *) "info", NULL
29452 };
29453
29454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29456 if (!SWIG_IsOK(res1)) {
29457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29458 }
29459 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29460 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29461 if (!SWIG_IsOK(res2)) {
29462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29463 }
29464 if (!argp2) {
29465 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29466 }
29467 arg2 = reinterpret_cast< wxListItem * >(argp2);
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 result = (bool)(arg1)->SetItem(*arg2);
29471 wxPyEndAllowThreads(__tstate);
29472 if (PyErr_Occurred()) SWIG_fail;
29473 }
29474 {
29475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29476 }
29477 return resultobj;
29478fail:
29479 return NULL;
29480}
29481
29482
29483SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29484 PyObject *resultobj = 0;
29485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29486 long arg2 ;
29487 int arg3 ;
29488 wxString *arg4 = 0 ;
29489 int arg5 = (int) -1 ;
29490 long result;
29491 void *argp1 = 0 ;
29492 int res1 = 0 ;
29493 long val2 ;
29494 int ecode2 = 0 ;
29495 int val3 ;
29496 int ecode3 = 0 ;
29497 bool temp4 = false ;
29498 int val5 ;
29499 int ecode5 = 0 ;
29500 PyObject * obj0 = 0 ;
29501 PyObject * obj1 = 0 ;
29502 PyObject * obj2 = 0 ;
29503 PyObject * obj3 = 0 ;
29504 PyObject * obj4 = 0 ;
29505 char * kwnames[] = {
29506 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29507 };
29508
29509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29511 if (!SWIG_IsOK(res1)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29513 }
29514 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29515 ecode2 = SWIG_AsVal_long(obj1, &val2);
29516 if (!SWIG_IsOK(ecode2)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29518 }
29519 arg2 = static_cast< long >(val2);
29520 ecode3 = SWIG_AsVal_int(obj2, &val3);
29521 if (!SWIG_IsOK(ecode3)) {
29522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29523 }
29524 arg3 = static_cast< int >(val3);
29525 {
29526 arg4 = wxString_in_helper(obj3);
29527 if (arg4 == NULL) SWIG_fail;
29528 temp4 = true;
29529 }
29530 if (obj4) {
29531 ecode5 = SWIG_AsVal_int(obj4, &val5);
29532 if (!SWIG_IsOK(ecode5)) {
29533 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29534 }
29535 arg5 = static_cast< int >(val5);
29536 }
29537 {
29538 PyThreadState* __tstate = wxPyBeginAllowThreads();
29539 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29540 wxPyEndAllowThreads(__tstate);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 resultobj = SWIG_From_long(static_cast< long >(result));
29544 {
29545 if (temp4)
29546 delete arg4;
29547 }
29548 return resultobj;
29549fail:
29550 {
29551 if (temp4)
29552 delete arg4;
29553 }
29554 return NULL;
29555}
29556
29557
29558SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29559 PyObject *resultobj = 0;
29560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29561 long arg2 ;
29562 long arg3 ;
29563 int 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 *) "stateMask", NULL
29575 };
29576
29577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",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_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
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_GetItemState" "', 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_GetItemState" "', expected argument " "3"" of type '" "long""'");
29591 }
29592 arg3 = static_cast< long >(val3);
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 resultobj = SWIG_From_int(static_cast< int >(result));
29600 return resultobj;
29601fail:
29602 return NULL;
29603}
29604
29605
29606SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29607 PyObject *resultobj = 0;
29608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29609 long arg2 ;
29610 long arg3 ;
29611 long arg4 ;
29612 bool result;
29613 void *argp1 = 0 ;
29614 int res1 = 0 ;
29615 long val2 ;
29616 int ecode2 = 0 ;
29617 long val3 ;
29618 int ecode3 = 0 ;
29619 long val4 ;
29620 int ecode4 = 0 ;
29621 PyObject * obj0 = 0 ;
29622 PyObject * obj1 = 0 ;
29623 PyObject * obj2 = 0 ;
29624 PyObject * obj3 = 0 ;
29625 char * kwnames[] = {
29626 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29627 };
29628
29629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29631 if (!SWIG_IsOK(res1)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29633 }
29634 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29635 ecode2 = SWIG_AsVal_long(obj1, &val2);
29636 if (!SWIG_IsOK(ecode2)) {
29637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29638 }
29639 arg2 = static_cast< long >(val2);
29640 ecode3 = SWIG_AsVal_long(obj2, &val3);
29641 if (!SWIG_IsOK(ecode3)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29643 }
29644 arg3 = static_cast< long >(val3);
29645 ecode4 = SWIG_AsVal_long(obj3, &val4);
29646 if (!SWIG_IsOK(ecode4)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29648 }
29649 arg4 = static_cast< long >(val4);
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 {
29657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29658 }
29659 return resultobj;
29660fail:
29661 return NULL;
29662}
29663
29664
29665SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29666 PyObject *resultobj = 0;
29667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29668 long arg2 ;
29669 int arg3 ;
29670 int arg4 = (int) -1 ;
29671 bool result;
29672 void *argp1 = 0 ;
29673 int res1 = 0 ;
29674 long val2 ;
29675 int ecode2 = 0 ;
29676 int val3 ;
29677 int ecode3 = 0 ;
29678 int val4 ;
29679 int ecode4 = 0 ;
29680 PyObject * obj0 = 0 ;
29681 PyObject * obj1 = 0 ;
29682 PyObject * obj2 = 0 ;
29683 PyObject * obj3 = 0 ;
29684 char * kwnames[] = {
29685 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29686 };
29687
29688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29690 if (!SWIG_IsOK(res1)) {
29691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29692 }
29693 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29694 ecode2 = SWIG_AsVal_long(obj1, &val2);
29695 if (!SWIG_IsOK(ecode2)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29697 }
29698 arg2 = static_cast< long >(val2);
29699 ecode3 = SWIG_AsVal_int(obj2, &val3);
29700 if (!SWIG_IsOK(ecode3)) {
29701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29702 }
29703 arg3 = static_cast< int >(val3);
29704 if (obj3) {
29705 ecode4 = SWIG_AsVal_int(obj3, &val4);
29706 if (!SWIG_IsOK(ecode4)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29708 }
29709 arg4 = static_cast< int >(val4);
29710 }
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 {
29718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29719 }
29720 return resultobj;
29721fail:
29722 return NULL;
29723}
29724
29725
29726SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29727 PyObject *resultobj = 0;
29728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29729 long arg2 ;
29730 long arg3 ;
29731 int arg4 ;
29732 bool result;
29733 void *argp1 = 0 ;
29734 int res1 = 0 ;
29735 long val2 ;
29736 int ecode2 = 0 ;
29737 long val3 ;
29738 int ecode3 = 0 ;
29739 int val4 ;
29740 int ecode4 = 0 ;
29741 PyObject * obj0 = 0 ;
29742 PyObject * obj1 = 0 ;
29743 PyObject * obj2 = 0 ;
29744 PyObject * obj3 = 0 ;
29745 char * kwnames[] = {
29746 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29747 };
29748
29749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29751 if (!SWIG_IsOK(res1)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29753 }
29754 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29755 ecode2 = SWIG_AsVal_long(obj1, &val2);
29756 if (!SWIG_IsOK(ecode2)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29758 }
29759 arg2 = static_cast< long >(val2);
29760 ecode3 = SWIG_AsVal_long(obj2, &val3);
29761 if (!SWIG_IsOK(ecode3)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29763 }
29764 arg3 = static_cast< long >(val3);
29765 ecode4 = SWIG_AsVal_int(obj3, &val4);
29766 if (!SWIG_IsOK(ecode4)) {
29767 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29768 }
29769 arg4 = static_cast< int >(val4);
29770 {
29771 PyThreadState* __tstate = wxPyBeginAllowThreads();
29772 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29773 wxPyEndAllowThreads(__tstate);
29774 if (PyErr_Occurred()) SWIG_fail;
29775 }
29776 {
29777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29778 }
29779 return resultobj;
29780fail:
29781 return NULL;
29782}
29783
29784
29785SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29786 PyObject *resultobj = 0;
29787 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29788 long arg2 ;
29789 wxString result;
29790 void *argp1 = 0 ;
29791 int res1 = 0 ;
29792 long val2 ;
29793 int ecode2 = 0 ;
29794 PyObject * obj0 = 0 ;
29795 PyObject * obj1 = 0 ;
29796 char * kwnames[] = {
29797 (char *) "self",(char *) "item", NULL
29798 };
29799
29800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29802 if (!SWIG_IsOK(res1)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29804 }
29805 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29806 ecode2 = SWIG_AsVal_long(obj1, &val2);
29807 if (!SWIG_IsOK(ecode2)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29809 }
29810 arg2 = static_cast< long >(val2);
29811 {
29812 PyThreadState* __tstate = wxPyBeginAllowThreads();
29813 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 {
29818#if wxUSE_UNICODE
29819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29820#else
29821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29822#endif
29823 }
29824 return resultobj;
29825fail:
29826 return NULL;
29827}
29828
29829
29830SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29831 PyObject *resultobj = 0;
29832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29833 long arg2 ;
29834 wxString *arg3 = 0 ;
29835 void *argp1 = 0 ;
29836 int res1 = 0 ;
29837 long val2 ;
29838 int ecode2 = 0 ;
29839 bool temp3 = false ;
29840 PyObject * obj0 = 0 ;
29841 PyObject * obj1 = 0 ;
29842 PyObject * obj2 = 0 ;
29843 char * kwnames[] = {
29844 (char *) "self",(char *) "item",(char *) "str", NULL
29845 };
29846
29847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29849 if (!SWIG_IsOK(res1)) {
29850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29851 }
29852 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29853 ecode2 = SWIG_AsVal_long(obj1, &val2);
29854 if (!SWIG_IsOK(ecode2)) {
29855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29856 }
29857 arg2 = static_cast< long >(val2);
29858 {
29859 arg3 = wxString_in_helper(obj2);
29860 if (arg3 == NULL) SWIG_fail;
29861 temp3 = true;
29862 }
29863 {
29864 PyThreadState* __tstate = wxPyBeginAllowThreads();
29865 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29866 wxPyEndAllowThreads(__tstate);
29867 if (PyErr_Occurred()) SWIG_fail;
29868 }
29869 resultobj = SWIG_Py_Void();
29870 {
29871 if (temp3)
29872 delete arg3;
29873 }
29874 return resultobj;
29875fail:
29876 {
29877 if (temp3)
29878 delete arg3;
29879 }
29880 return NULL;
29881}
29882
29883
29884SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29885 PyObject *resultobj = 0;
29886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29887 long arg2 ;
29888 long result;
29889 void *argp1 = 0 ;
29890 int res1 = 0 ;
29891 long val2 ;
29892 int ecode2 = 0 ;
29893 PyObject * obj0 = 0 ;
29894 PyObject * obj1 = 0 ;
29895 char * kwnames[] = {
29896 (char *) "self",(char *) "item", NULL
29897 };
29898
29899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29901 if (!SWIG_IsOK(res1)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29903 }
29904 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29905 ecode2 = SWIG_AsVal_long(obj1, &val2);
29906 if (!SWIG_IsOK(ecode2)) {
29907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29908 }
29909 arg2 = static_cast< long >(val2);
29910 {
29911 PyThreadState* __tstate = wxPyBeginAllowThreads();
29912 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29913 wxPyEndAllowThreads(__tstate);
29914 if (PyErr_Occurred()) SWIG_fail;
29915 }
29916 resultobj = SWIG_From_long(static_cast< long >(result));
29917 return resultobj;
29918fail:
29919 return NULL;
29920}
29921
29922
29923SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29924 PyObject *resultobj = 0;
29925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29926 long arg2 ;
29927 long arg3 ;
29928 bool result;
29929 void *argp1 = 0 ;
29930 int res1 = 0 ;
29931 long val2 ;
29932 int ecode2 = 0 ;
29933 long val3 ;
29934 int ecode3 = 0 ;
29935 PyObject * obj0 = 0 ;
29936 PyObject * obj1 = 0 ;
29937 PyObject * obj2 = 0 ;
29938 char * kwnames[] = {
29939 (char *) "self",(char *) "item",(char *) "data", NULL
29940 };
29941
29942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29944 if (!SWIG_IsOK(res1)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29946 }
29947 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29948 ecode2 = SWIG_AsVal_long(obj1, &val2);
29949 if (!SWIG_IsOK(ecode2)) {
29950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29951 }
29952 arg2 = static_cast< long >(val2);
29953 ecode3 = SWIG_AsVal_long(obj2, &val3);
29954 if (!SWIG_IsOK(ecode3)) {
29955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29956 }
29957 arg3 = static_cast< long >(val3);
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = (bool)(arg1)->SetItemData(arg2,arg3);
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
29964 {
29965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29966 }
29967 return resultobj;
29968fail:
29969 return NULL;
29970}
29971
29972
29973SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29974 PyObject *resultobj = 0;
29975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29976 long arg2 ;
29977 wxPoint result;
29978 void *argp1 = 0 ;
29979 int res1 = 0 ;
29980 long val2 ;
29981 int ecode2 = 0 ;
29982 PyObject * obj0 = 0 ;
29983 PyObject * obj1 = 0 ;
29984 char * kwnames[] = {
29985 (char *) "self",(char *) "item", NULL
29986 };
29987
29988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29990 if (!SWIG_IsOK(res1)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29992 }
29993 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29994 ecode2 = SWIG_AsVal_long(obj1, &val2);
29995 if (!SWIG_IsOK(ecode2)) {
29996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29997 }
29998 arg2 = static_cast< long >(val2);
29999 {
30000 PyThreadState* __tstate = wxPyBeginAllowThreads();
30001 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30006 return resultobj;
30007fail:
30008 return NULL;
30009}
30010
30011
30012SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30013 PyObject *resultobj = 0;
30014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30015 long arg2 ;
30016 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30017 wxRect result;
30018 void *argp1 = 0 ;
30019 int res1 = 0 ;
30020 long val2 ;
30021 int ecode2 = 0 ;
30022 int val3 ;
30023 int ecode3 = 0 ;
30024 PyObject * obj0 = 0 ;
30025 PyObject * obj1 = 0 ;
30026 PyObject * obj2 = 0 ;
30027 char * kwnames[] = {
30028 (char *) "self",(char *) "item",(char *) "code", NULL
30029 };
30030
30031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30033 if (!SWIG_IsOK(res1)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30035 }
30036 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30037 ecode2 = SWIG_AsVal_long(obj1, &val2);
30038 if (!SWIG_IsOK(ecode2)) {
30039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30040 }
30041 arg2 = static_cast< long >(val2);
30042 if (obj2) {
30043 ecode3 = SWIG_AsVal_int(obj2, &val3);
30044 if (!SWIG_IsOK(ecode3)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30046 }
30047 arg3 = static_cast< int >(val3);
30048 }
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30056 return resultobj;
30057fail:
30058 return NULL;
30059}
30060
30061
30062SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj = 0;
30064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30065 long arg2 ;
30066 wxPoint *arg3 = 0 ;
30067 bool result;
30068 void *argp1 = 0 ;
30069 int res1 = 0 ;
30070 long val2 ;
30071 int ecode2 = 0 ;
30072 wxPoint temp3 ;
30073 PyObject * obj0 = 0 ;
30074 PyObject * obj1 = 0 ;
30075 PyObject * obj2 = 0 ;
30076 char * kwnames[] = {
30077 (char *) "self",(char *) "item",(char *) "pos", NULL
30078 };
30079
30080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30082 if (!SWIG_IsOK(res1)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30084 }
30085 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30086 ecode2 = SWIG_AsVal_long(obj1, &val2);
30087 if (!SWIG_IsOK(ecode2)) {
30088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30089 }
30090 arg2 = static_cast< long >(val2);
30091 {
30092 arg3 = &temp3;
30093 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30094 }
30095 {
30096 PyThreadState* __tstate = wxPyBeginAllowThreads();
30097 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
30101 {
30102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30103 }
30104 return resultobj;
30105fail:
30106 return NULL;
d14a1e28
RD
30107}
30108
30109
0085ce49
RD
30110SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30111 PyObject *resultobj = 0;
30112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30113 int result;
30114 void *argp1 = 0 ;
30115 int res1 = 0 ;
30116 PyObject *swig_obj[1] ;
30117
30118 if (!args) SWIG_fail;
30119 swig_obj[0] = args;
30120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30121 if (!SWIG_IsOK(res1)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30123 }
30124 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
30127 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30128 wxPyEndAllowThreads(__tstate);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 }
30131 resultobj = SWIG_From_int(static_cast< int >(result));
30132 return resultobj;
30133fail:
30134 return NULL;
d14a1e28
RD
30135}
30136
30137
0085ce49
RD
30138SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30139 PyObject *resultobj = 0;
30140 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30141 int result;
30142 void *argp1 = 0 ;
30143 int res1 = 0 ;
30144 PyObject *swig_obj[1] ;
30145
30146 if (!args) SWIG_fail;
30147 swig_obj[0] = args;
30148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30149 if (!SWIG_IsOK(res1)) {
30150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30151 }
30152 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30153 {
30154 PyThreadState* __tstate = wxPyBeginAllowThreads();
30155 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30156 wxPyEndAllowThreads(__tstate);
30157 if (PyErr_Occurred()) SWIG_fail;
30158 }
30159 resultobj = SWIG_From_int(static_cast< int >(result));
30160 return resultobj;
30161fail:
30162 return NULL;
d14a1e28
RD
30163}
30164
30165
0085ce49
RD
30166SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30167 PyObject *resultobj = 0;
30168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30169 wxSize result;
30170 void *argp1 = 0 ;
30171 int res1 = 0 ;
30172 PyObject *swig_obj[1] ;
30173
30174 if (!args) SWIG_fail;
30175 swig_obj[0] = args;
30176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30177 if (!SWIG_IsOK(res1)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30179 }
30180 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30181 {
30182 PyThreadState* __tstate = wxPyBeginAllowThreads();
30183 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30184 wxPyEndAllowThreads(__tstate);
30185 if (PyErr_Occurred()) SWIG_fail;
30186 }
30187 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30188 return resultobj;
30189fail:
30190 return NULL;
30191}
30192
30193
30194SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30195 PyObject *resultobj = 0;
30196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30197 int arg2 ;
30198 bool arg3 = (bool) false ;
30199 void *argp1 = 0 ;
30200 int res1 = 0 ;
30201 int val2 ;
30202 int ecode2 = 0 ;
30203 bool val3 ;
30204 int ecode3 = 0 ;
30205 PyObject * obj0 = 0 ;
30206 PyObject * obj1 = 0 ;
30207 PyObject * obj2 = 0 ;
30208 char * kwnames[] = {
30209 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30210 };
30211
30212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30214 if (!SWIG_IsOK(res1)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30216 }
30217 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30218 ecode2 = SWIG_AsVal_int(obj1, &val2);
30219 if (!SWIG_IsOK(ecode2)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30221 }
30222 arg2 = static_cast< int >(val2);
30223 if (obj2) {
30224 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30225 if (!SWIG_IsOK(ecode3)) {
30226 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30227 }
30228 arg3 = static_cast< bool >(val3);
30229 }
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 (arg1)->SetItemSpacing(arg2,arg3);
30233 wxPyEndAllowThreads(__tstate);
30234 if (PyErr_Occurred()) SWIG_fail;
30235 }
30236 resultobj = SWIG_Py_Void();
30237 return resultobj;
30238fail:
30239 return NULL;
22bfe96c
RD
30240}
30241
30242
0085ce49
RD
30243SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30244 PyObject *resultobj = 0;
30245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30246 int result;
30247 void *argp1 = 0 ;
30248 int res1 = 0 ;
30249 PyObject *swig_obj[1] ;
30250
30251 if (!args) SWIG_fail;
30252 swig_obj[0] = args;
30253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30254 if (!SWIG_IsOK(res1)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30256 }
30257 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30258 {
30259 PyThreadState* __tstate = wxPyBeginAllowThreads();
30260 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 resultobj = SWIG_From_int(static_cast< int >(result));
30265 return resultobj;
30266fail:
30267 return NULL;
d14a1e28
RD
30268}
30269
30270
0085ce49
RD
30271SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30272 PyObject *resultobj = 0;
30273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30274 wxColour result;
30275 void *argp1 = 0 ;
30276 int res1 = 0 ;
30277 PyObject *swig_obj[1] ;
30278
30279 if (!args) SWIG_fail;
30280 swig_obj[0] = args;
30281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30282 if (!SWIG_IsOK(res1)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30284 }
30285 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30286 {
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30289 wxPyEndAllowThreads(__tstate);
30290 if (PyErr_Occurred()) SWIG_fail;
30291 }
30292 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30293 return resultobj;
30294fail:
30295 return NULL;
30296}
30297
30298
30299SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30300 PyObject *resultobj = 0;
30301 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30302 wxColour *arg2 = 0 ;
30303 void *argp1 = 0 ;
30304 int res1 = 0 ;
30305 wxColour temp2 ;
30306 PyObject * obj0 = 0 ;
30307 PyObject * obj1 = 0 ;
30308 char * kwnames[] = {
30309 (char *) "self",(char *) "col", NULL
30310 };
30311
30312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30314 if (!SWIG_IsOK(res1)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30316 }
30317 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30318 {
30319 arg2 = &temp2;
30320 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30321 }
30322 {
30323 PyThreadState* __tstate = wxPyBeginAllowThreads();
30324 (arg1)->SetTextColour((wxColour const &)*arg2);
30325 wxPyEndAllowThreads(__tstate);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 }
30328 resultobj = SWIG_Py_Void();
30329 return resultobj;
30330fail:
30331 return NULL;
d14a1e28
RD
30332}
30333
30334
0085ce49
RD
30335SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30336 PyObject *resultobj = 0;
30337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30338 long result;
30339 void *argp1 = 0 ;
30340 int res1 = 0 ;
30341 PyObject *swig_obj[1] ;
30342
30343 if (!args) SWIG_fail;
30344 swig_obj[0] = args;
30345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30346 if (!SWIG_IsOK(res1)) {
30347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30348 }
30349 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30350 {
30351 PyThreadState* __tstate = wxPyBeginAllowThreads();
30352 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30353 wxPyEndAllowThreads(__tstate);
30354 if (PyErr_Occurred()) SWIG_fail;
30355 }
30356 resultobj = SWIG_From_long(static_cast< long >(result));
30357 return resultobj;
30358fail:
30359 return NULL;
30360}
30361
30362
30363SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30364 PyObject *resultobj = 0;
30365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30366 long arg2 ;
30367 bool arg3 = (bool) true ;
30368 void *argp1 = 0 ;
30369 int res1 = 0 ;
30370 long val2 ;
30371 int ecode2 = 0 ;
30372 bool val3 ;
30373 int ecode3 = 0 ;
30374 PyObject * obj0 = 0 ;
30375 PyObject * obj1 = 0 ;
30376 PyObject * obj2 = 0 ;
30377 char * kwnames[] = {
30378 (char *) "self",(char *) "style",(char *) "add", NULL
30379 };
30380
30381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30383 if (!SWIG_IsOK(res1)) {
30384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30385 }
30386 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30387 ecode2 = SWIG_AsVal_long(obj1, &val2);
30388 if (!SWIG_IsOK(ecode2)) {
30389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30390 }
30391 arg2 = static_cast< long >(val2);
30392 if (obj2) {
30393 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30394 if (!SWIG_IsOK(ecode3)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30396 }
30397 arg3 = static_cast< bool >(val3);
30398 }
30399 {
30400 PyThreadState* __tstate = wxPyBeginAllowThreads();
30401 (arg1)->SetSingleStyle(arg2,arg3);
30402 wxPyEndAllowThreads(__tstate);
30403 if (PyErr_Occurred()) SWIG_fail;
30404 }
30405 resultobj = SWIG_Py_Void();
30406 return resultobj;
30407fail:
30408 return NULL;
30409}
30410
30411
30412SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30413 PyObject *resultobj = 0;
30414 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30415 long arg2 ;
30416 int arg3 = (int) wxLIST_NEXT_ALL ;
30417 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30418 long result;
30419 void *argp1 = 0 ;
30420 int res1 = 0 ;
30421 long val2 ;
30422 int ecode2 = 0 ;
30423 int val3 ;
30424 int ecode3 = 0 ;
30425 int val4 ;
30426 int ecode4 = 0 ;
30427 PyObject * obj0 = 0 ;
30428 PyObject * obj1 = 0 ;
30429 PyObject * obj2 = 0 ;
30430 PyObject * obj3 = 0 ;
30431 char * kwnames[] = {
30432 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30433 };
30434
30435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30437 if (!SWIG_IsOK(res1)) {
30438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30439 }
30440 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30441 ecode2 = SWIG_AsVal_long(obj1, &val2);
30442 if (!SWIG_IsOK(ecode2)) {
30443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30444 }
30445 arg2 = static_cast< long >(val2);
30446 if (obj2) {
30447 ecode3 = SWIG_AsVal_int(obj2, &val3);
30448 if (!SWIG_IsOK(ecode3)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30450 }
30451 arg3 = static_cast< int >(val3);
30452 }
30453 if (obj3) {
30454 ecode4 = SWIG_AsVal_int(obj3, &val4);
30455 if (!SWIG_IsOK(ecode4)) {
30456 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30457 }
30458 arg4 = static_cast< int >(val4);
30459 }
30460 {
30461 PyThreadState* __tstate = wxPyBeginAllowThreads();
30462 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30463 wxPyEndAllowThreads(__tstate);
30464 if (PyErr_Occurred()) SWIG_fail;
30465 }
30466 resultobj = SWIG_From_long(static_cast< long >(result));
30467 return resultobj;
30468fail:
30469 return NULL;
30470}
30471
30472
30473SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj = 0;
30475 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30476 int arg2 ;
30477 wxImageList *result = 0 ;
30478 void *argp1 = 0 ;
30479 int res1 = 0 ;
30480 int val2 ;
30481 int ecode2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char * kwnames[] = {
30485 (char *) "self",(char *) "which", NULL
30486 };
30487
30488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30490 if (!SWIG_IsOK(res1)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30492 }
30493 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30494 ecode2 = SWIG_AsVal_int(obj1, &val2);
30495 if (!SWIG_IsOK(ecode2)) {
30496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30497 }
30498 arg2 = static_cast< int >(val2);
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30502 wxPyEndAllowThreads(__tstate);
30503 if (PyErr_Occurred()) SWIG_fail;
30504 }
3ecece7e
RD
30505 {
30506 resultobj = wxPyMake_wxObject(result, (bool)0);
30507 }
0085ce49
RD
30508 return resultobj;
30509fail:
30510 return NULL;
30511}
30512
30513
30514SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30515 PyObject *resultobj = 0;
30516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30517 wxImageList *arg2 = (wxImageList *) 0 ;
30518 int arg3 ;
30519 void *argp1 = 0 ;
30520 int res1 = 0 ;
30521 void *argp2 = 0 ;
30522 int res2 = 0 ;
30523 int val3 ;
30524 int ecode3 = 0 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 PyObject * obj2 = 0 ;
30528 char * kwnames[] = {
30529 (char *) "self",(char *) "imageList",(char *) "which", NULL
30530 };
30531
30532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30534 if (!SWIG_IsOK(res1)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30536 }
30537 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30539 if (!SWIG_IsOK(res2)) {
30540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30541 }
30542 arg2 = reinterpret_cast< wxImageList * >(argp2);
30543 ecode3 = SWIG_AsVal_int(obj2, &val3);
30544 if (!SWIG_IsOK(ecode3)) {
30545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30546 }
30547 arg3 = static_cast< int >(val3);
30548 {
30549 PyThreadState* __tstate = wxPyBeginAllowThreads();
30550 (arg1)->SetImageList(arg2,arg3);
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 resultobj = SWIG_Py_Void();
30555 return resultobj;
30556fail:
30557 return NULL;
30558}
30559
30560
30561SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj = 0;
30563 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30564 wxImageList *arg2 = (wxImageList *) 0 ;
30565 int arg3 ;
30566 void *argp1 = 0 ;
30567 int res1 = 0 ;
30568 int res2 = 0 ;
30569 int val3 ;
30570 int ecode3 = 0 ;
30571 PyObject * obj0 = 0 ;
30572 PyObject * obj1 = 0 ;
30573 PyObject * obj2 = 0 ;
30574 char * kwnames[] = {
30575 (char *) "self",(char *) "imageList",(char *) "which", NULL
30576 };
30577
30578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30580 if (!SWIG_IsOK(res1)) {
30581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30582 }
30583 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30584 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30585 if (!SWIG_IsOK(res2)) {
30586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30587 }
30588 ecode3 = SWIG_AsVal_int(obj2, &val3);
30589 if (!SWIG_IsOK(ecode3)) {
30590 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30591 }
30592 arg3 = static_cast< int >(val3);
30593 {
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 (arg1)->AssignImageList(arg2,arg3);
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 resultobj = SWIG_Py_Void();
30600 return resultobj;
30601fail:
30602 return NULL;
d14a1e28
RD
30603}
30604
30605
0085ce49
RD
30606SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30607 PyObject *resultobj = 0;
30608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30609 bool result;
30610 void *argp1 = 0 ;
30611 int res1 = 0 ;
30612 PyObject *swig_obj[1] ;
30613
30614 if (!args) SWIG_fail;
30615 swig_obj[0] = args;
30616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30617 if (!SWIG_IsOK(res1)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30619 }
30620 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30621 {
30622 PyThreadState* __tstate = wxPyBeginAllowThreads();
30623 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30624 wxPyEndAllowThreads(__tstate);
30625 if (PyErr_Occurred()) SWIG_fail;
30626 }
30627 {
30628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30629 }
30630 return resultobj;
30631fail:
30632 return NULL;
d14a1e28
RD
30633}
30634
30635
0085ce49
RD
30636SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30637 PyObject *resultobj = 0;
30638 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30639 bool result;
30640 void *argp1 = 0 ;
30641 int res1 = 0 ;
30642 PyObject *swig_obj[1] ;
30643
30644 if (!args) SWIG_fail;
30645 swig_obj[0] = args;
30646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30647 if (!SWIG_IsOK(res1)) {
30648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30649 }
30650 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30651 {
30652 PyThreadState* __tstate = wxPyBeginAllowThreads();
30653 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 {
30658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30659 }
30660 return resultobj;
30661fail:
30662 return NULL;
30663}
30664
30665
30666SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30667 PyObject *resultobj = 0;
30668 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30669 long arg2 ;
30670 void *argp1 = 0 ;
30671 int res1 = 0 ;
30672 long val2 ;
30673 int ecode2 = 0 ;
30674 PyObject * obj0 = 0 ;
30675 PyObject * obj1 = 0 ;
30676 char * kwnames[] = {
30677 (char *) "self",(char *) "item", NULL
30678 };
30679
30680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30682 if (!SWIG_IsOK(res1)) {
30683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30684 }
30685 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30686 ecode2 = SWIG_AsVal_long(obj1, &val2);
30687 if (!SWIG_IsOK(ecode2)) {
30688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30689 }
30690 arg2 = static_cast< long >(val2);
30691 {
30692 PyThreadState* __tstate = wxPyBeginAllowThreads();
30693 (arg1)->RefreshItem(arg2);
30694 wxPyEndAllowThreads(__tstate);
30695 if (PyErr_Occurred()) SWIG_fail;
30696 }
30697 resultobj = SWIG_Py_Void();
30698 return resultobj;
30699fail:
30700 return NULL;
30701}
30702
30703
30704SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30705 PyObject *resultobj = 0;
30706 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30707 long arg2 ;
30708 long arg3 ;
30709 void *argp1 = 0 ;
30710 int res1 = 0 ;
30711 long val2 ;
30712 int ecode2 = 0 ;
30713 long val3 ;
30714 int ecode3 = 0 ;
30715 PyObject * obj0 = 0 ;
30716 PyObject * obj1 = 0 ;
30717 PyObject * obj2 = 0 ;
30718 char * kwnames[] = {
30719 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30720 };
30721
30722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30724 if (!SWIG_IsOK(res1)) {
30725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30726 }
30727 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30728 ecode2 = SWIG_AsVal_long(obj1, &val2);
30729 if (!SWIG_IsOK(ecode2)) {
30730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30731 }
30732 arg2 = static_cast< long >(val2);
30733 ecode3 = SWIG_AsVal_long(obj2, &val3);
30734 if (!SWIG_IsOK(ecode3)) {
30735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30736 }
30737 arg3 = static_cast< long >(val3);
30738 {
30739 PyThreadState* __tstate = wxPyBeginAllowThreads();
30740 (arg1)->RefreshItems(arg2,arg3);
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 resultobj = SWIG_Py_Void();
30745 return resultobj;
30746fail:
30747 return NULL;
30748}
30749
30750
30751SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30752 PyObject *resultobj = 0;
30753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30754 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30755 bool result;
30756 void *argp1 = 0 ;
30757 int res1 = 0 ;
30758 int val2 ;
30759 int ecode2 = 0 ;
30760 PyObject * obj0 = 0 ;
30761 PyObject * obj1 = 0 ;
30762 char * kwnames[] = {
30763 (char *) "self",(char *) "flag", NULL
30764 };
30765
30766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30768 if (!SWIG_IsOK(res1)) {
30769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30770 }
30771 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30772 if (obj1) {
30773 ecode2 = SWIG_AsVal_int(obj1, &val2);
30774 if (!SWIG_IsOK(ecode2)) {
30775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30776 }
30777 arg2 = static_cast< int >(val2);
30778 }
30779 {
30780 PyThreadState* __tstate = wxPyBeginAllowThreads();
30781 result = (bool)(arg1)->Arrange(arg2);
30782 wxPyEndAllowThreads(__tstate);
30783 if (PyErr_Occurred()) SWIG_fail;
30784 }
30785 {
30786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30787 }
30788 return resultobj;
30789fail:
30790 return NULL;
30791}
30792
30793
30794SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30795 PyObject *resultobj = 0;
30796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30797 long arg2 ;
30798 bool result;
30799 void *argp1 = 0 ;
30800 int res1 = 0 ;
30801 long val2 ;
30802 int ecode2 = 0 ;
30803 PyObject * obj0 = 0 ;
30804 PyObject * obj1 = 0 ;
30805 char * kwnames[] = {
30806 (char *) "self",(char *) "item", NULL
30807 };
30808
30809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30811 if (!SWIG_IsOK(res1)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30813 }
30814 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30815 ecode2 = SWIG_AsVal_long(obj1, &val2);
30816 if (!SWIG_IsOK(ecode2)) {
30817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30818 }
30819 arg2 = static_cast< long >(val2);
30820 {
30821 PyThreadState* __tstate = wxPyBeginAllowThreads();
30822 result = (bool)(arg1)->DeleteItem(arg2);
30823 wxPyEndAllowThreads(__tstate);
30824 if (PyErr_Occurred()) SWIG_fail;
30825 }
30826 {
30827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30828 }
30829 return resultobj;
30830fail:
30831 return NULL;
7e08d4ef
RD
30832}
30833
30834
0085ce49
RD
30835SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30836 PyObject *resultobj = 0;
30837 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30838 bool result;
30839 void *argp1 = 0 ;
30840 int res1 = 0 ;
30841 PyObject *swig_obj[1] ;
30842
30843 if (!args) SWIG_fail;
30844 swig_obj[0] = args;
30845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30846 if (!SWIG_IsOK(res1)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30848 }
30849 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30850 {
30851 PyThreadState* __tstate = wxPyBeginAllowThreads();
30852 result = (bool)(arg1)->DeleteAllItems();
30853 wxPyEndAllowThreads(__tstate);
30854 if (PyErr_Occurred()) SWIG_fail;
30855 }
30856 {
30857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30858 }
30859 return resultobj;
30860fail:
30861 return NULL;
30862}
30863
30864
30865SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30866 PyObject *resultobj = 0;
30867 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30868 int arg2 ;
30869 bool result;
30870 void *argp1 = 0 ;
30871 int res1 = 0 ;
30872 int val2 ;
30873 int ecode2 = 0 ;
30874 PyObject * obj0 = 0 ;
30875 PyObject * obj1 = 0 ;
30876 char * kwnames[] = {
30877 (char *) "self",(char *) "col", NULL
30878 };
30879
30880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30882 if (!SWIG_IsOK(res1)) {
30883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30884 }
30885 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30886 ecode2 = SWIG_AsVal_int(obj1, &val2);
30887 if (!SWIG_IsOK(ecode2)) {
30888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30889 }
30890 arg2 = static_cast< int >(val2);
30891 {
30892 PyThreadState* __tstate = wxPyBeginAllowThreads();
30893 result = (bool)(arg1)->DeleteColumn(arg2);
30894 wxPyEndAllowThreads(__tstate);
30895 if (PyErr_Occurred()) SWIG_fail;
30896 }
30897 {
30898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30899 }
30900 return resultobj;
30901fail:
30902 return NULL;
7e08d4ef
RD
30903}
30904
30905
0085ce49
RD
30906SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30907 PyObject *resultobj = 0;
30908 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30909 bool result;
30910 void *argp1 = 0 ;
30911 int res1 = 0 ;
30912 PyObject *swig_obj[1] ;
30913
30914 if (!args) SWIG_fail;
30915 swig_obj[0] = args;
30916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30917 if (!SWIG_IsOK(res1)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30919 }
30920 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30921 {
30922 PyThreadState* __tstate = wxPyBeginAllowThreads();
30923 result = (bool)(arg1)->DeleteAllColumns();
30924 wxPyEndAllowThreads(__tstate);
30925 if (PyErr_Occurred()) SWIG_fail;
30926 }
30927 {
30928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30929 }
30930 return resultobj;
30931fail:
30932 return NULL;
7e08d4ef
RD
30933}
30934
30935
0085ce49
RD
30936SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30937 PyObject *resultobj = 0;
30938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30939 void *argp1 = 0 ;
30940 int res1 = 0 ;
30941 PyObject *swig_obj[1] ;
30942
30943 if (!args) SWIG_fail;
30944 swig_obj[0] = args;
30945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30946 if (!SWIG_IsOK(res1)) {
30947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30948 }
30949 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 (arg1)->ClearAll();
30953 wxPyEndAllowThreads(__tstate);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 }
30956 resultobj = SWIG_Py_Void();
30957 return resultobj;
30958fail:
30959 return NULL;
30960}
30961
30962
30963SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30964 PyObject *resultobj = 0;
30965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30966 long arg2 ;
30967 void *argp1 = 0 ;
30968 int res1 = 0 ;
30969 long val2 ;
30970 int ecode2 = 0 ;
30971 PyObject * obj0 = 0 ;
30972 PyObject * obj1 = 0 ;
30973 char * kwnames[] = {
30974 (char *) "self",(char *) "item", NULL
30975 };
30976
30977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30979 if (!SWIG_IsOK(res1)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30981 }
30982 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30983 ecode2 = SWIG_AsVal_long(obj1, &val2);
30984 if (!SWIG_IsOK(ecode2)) {
30985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30986 }
30987 arg2 = static_cast< long >(val2);
30988 {
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 (arg1)->EditLabel(arg2);
30991 wxPyEndAllowThreads(__tstate);
30992 if (PyErr_Occurred()) SWIG_fail;
30993 }
30994 resultobj = SWIG_Py_Void();
30995 return resultobj;
30996fail:
30997 return NULL;
30998}
30999
31000
31001SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31002 PyObject *resultobj = 0;
31003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31004 long arg2 ;
31005 bool result;
31006 void *argp1 = 0 ;
31007 int res1 = 0 ;
31008 long val2 ;
31009 int ecode2 = 0 ;
31010 PyObject * obj0 = 0 ;
31011 PyObject * obj1 = 0 ;
31012 char * kwnames[] = {
31013 (char *) "self",(char *) "item", NULL
31014 };
31015
31016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31018 if (!SWIG_IsOK(res1)) {
31019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31020 }
31021 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31022 ecode2 = SWIG_AsVal_long(obj1, &val2);
31023 if (!SWIG_IsOK(ecode2)) {
31024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31025 }
31026 arg2 = static_cast< long >(val2);
31027 {
31028 PyThreadState* __tstate = wxPyBeginAllowThreads();
31029 result = (bool)(arg1)->EnsureVisible(arg2);
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
31033 {
31034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31035 }
31036 return resultobj;
31037fail:
31038 return NULL;
31039}
31040
31041
31042SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31043 PyObject *resultobj = 0;
31044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31045 long arg2 ;
31046 wxString *arg3 = 0 ;
31047 bool arg4 = (bool) false ;
31048 long result;
31049 void *argp1 = 0 ;
31050 int res1 = 0 ;
31051 long val2 ;
31052 int ecode2 = 0 ;
31053 bool temp3 = false ;
31054 bool val4 ;
31055 int ecode4 = 0 ;
31056 PyObject * obj0 = 0 ;
31057 PyObject * obj1 = 0 ;
31058 PyObject * obj2 = 0 ;
31059 PyObject * obj3 = 0 ;
31060 char * kwnames[] = {
31061 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31062 };
31063
31064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31066 if (!SWIG_IsOK(res1)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31068 }
31069 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31070 ecode2 = SWIG_AsVal_long(obj1, &val2);
31071 if (!SWIG_IsOK(ecode2)) {
31072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31073 }
31074 arg2 = static_cast< long >(val2);
31075 {
31076 arg3 = wxString_in_helper(obj2);
31077 if (arg3 == NULL) SWIG_fail;
31078 temp3 = true;
31079 }
31080 if (obj3) {
31081 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31082 if (!SWIG_IsOK(ecode4)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31084 }
31085 arg4 = static_cast< bool >(val4);
31086 }
31087 {
31088 PyThreadState* __tstate = wxPyBeginAllowThreads();
31089 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31090 wxPyEndAllowThreads(__tstate);
31091 if (PyErr_Occurred()) SWIG_fail;
31092 }
31093 resultobj = SWIG_From_long(static_cast< long >(result));
31094 {
31095 if (temp3)
31096 delete arg3;
31097 }
31098 return resultobj;
31099fail:
31100 {
31101 if (temp3)
31102 delete arg3;
31103 }
31104 return NULL;
31105}
31106
31107
31108SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj = 0;
31110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31111 long arg2 ;
31112 long arg3 ;
31113 long result;
31114 void *argp1 = 0 ;
31115 int res1 = 0 ;
31116 long val2 ;
31117 int ecode2 = 0 ;
31118 long val3 ;
31119 int ecode3 = 0 ;
31120 PyObject * obj0 = 0 ;
31121 PyObject * obj1 = 0 ;
31122 PyObject * obj2 = 0 ;
31123 char * kwnames[] = {
31124 (char *) "self",(char *) "start",(char *) "data", NULL
31125 };
31126
31127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31129 if (!SWIG_IsOK(res1)) {
31130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31131 }
31132 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31133 ecode2 = SWIG_AsVal_long(obj1, &val2);
31134 if (!SWIG_IsOK(ecode2)) {
31135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31136 }
31137 arg2 = static_cast< long >(val2);
31138 ecode3 = SWIG_AsVal_long(obj2, &val3);
31139 if (!SWIG_IsOK(ecode3)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31141 }
31142 arg3 = static_cast< long >(val3);
31143 {
31144 PyThreadState* __tstate = wxPyBeginAllowThreads();
31145 result = (long)(arg1)->FindItem(arg2,arg3);
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
31149 resultobj = SWIG_From_long(static_cast< long >(result));
31150 return resultobj;
31151fail:
31152 return NULL;
31153}
31154
31155
31156SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31157 PyObject *resultobj = 0;
31158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31159 long arg2 ;
31160 wxPoint *arg3 = 0 ;
31161 int arg4 ;
31162 long result;
31163 void *argp1 = 0 ;
31164 int res1 = 0 ;
31165 long val2 ;
31166 int ecode2 = 0 ;
31167 wxPoint temp3 ;
31168 int val4 ;
31169 int ecode4 = 0 ;
31170 PyObject * obj0 = 0 ;
31171 PyObject * obj1 = 0 ;
31172 PyObject * obj2 = 0 ;
31173 PyObject * obj3 = 0 ;
31174 char * kwnames[] = {
31175 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31176 };
31177
31178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31180 if (!SWIG_IsOK(res1)) {
31181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31182 }
31183 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31184 ecode2 = SWIG_AsVal_long(obj1, &val2);
31185 if (!SWIG_IsOK(ecode2)) {
31186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31187 }
31188 arg2 = static_cast< long >(val2);
31189 {
31190 arg3 = &temp3;
31191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31192 }
31193 ecode4 = SWIG_AsVal_int(obj3, &val4);
31194 if (!SWIG_IsOK(ecode4)) {
31195 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31196 }
31197 arg4 = static_cast< int >(val4);
31198 {
31199 PyThreadState* __tstate = wxPyBeginAllowThreads();
31200 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31201 wxPyEndAllowThreads(__tstate);
31202 if (PyErr_Occurred()) SWIG_fail;
31203 }
31204 resultobj = SWIG_From_long(static_cast< long >(result));
31205 return resultobj;
31206fail:
31207 return NULL;
31208}
31209
31210
31211SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31212 PyObject *resultobj = 0;
31213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31214 wxPoint *arg2 = 0 ;
31215 int *arg3 = 0 ;
31216 long result;
31217 void *argp1 = 0 ;
31218 int res1 = 0 ;
31219 wxPoint temp2 ;
31220 int temp3 ;
31221 int res3 = SWIG_TMPOBJ ;
31222 PyObject * obj0 = 0 ;
31223 PyObject * obj1 = 0 ;
31224 char * kwnames[] = {
31225 (char *) "self",(char *) "point", NULL
31226 };
31227
31228 arg3 = &temp3;
31229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31231 if (!SWIG_IsOK(res1)) {
31232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31233 }
31234 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31235 {
31236 arg2 = &temp2;
31237 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31238 }
31239 {
31240 PyThreadState* __tstate = wxPyBeginAllowThreads();
31241 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31242 wxPyEndAllowThreads(__tstate);
31243 if (PyErr_Occurred()) SWIG_fail;
31244 }
31245 resultobj = SWIG_From_long(static_cast< long >(result));
31246 if (SWIG_IsTmpObj(res3)) {
31247 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31248 } else {
31249 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31250 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31251 }
31252 return resultobj;
31253fail:
31254 return NULL;
31255}
31256
31257
704eda0c
RD
31258SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31259 PyObject *resultobj = 0;
31260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31261 wxPoint *arg2 = 0 ;
31262 int *arg3 = 0 ;
31263 long *arg4 = (long *) 0 ;
31264 long result;
31265 void *argp1 = 0 ;
31266 int res1 = 0 ;
31267 wxPoint temp2 ;
31268 int temp3 ;
31269 int res3 = SWIG_TMPOBJ ;
31270 long temp4 ;
31271 int res4 = SWIG_TMPOBJ ;
31272 PyObject * obj0 = 0 ;
31273 PyObject * obj1 = 0 ;
31274 char * kwnames[] = {
31275 (char *) "self",(char *) "point", NULL
31276 };
31277
31278 arg3 = &temp3;
31279 arg4 = &temp4;
31280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31282 if (!SWIG_IsOK(res1)) {
31283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31284 }
31285 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31286 {
31287 arg2 = &temp2;
31288 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31289 }
31290 {
31291 PyThreadState* __tstate = wxPyBeginAllowThreads();
31292 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31293 wxPyEndAllowThreads(__tstate);
31294 if (PyErr_Occurred()) SWIG_fail;
31295 }
31296 resultobj = SWIG_From_long(static_cast< long >(result));
31297 if (SWIG_IsTmpObj(res3)) {
31298 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31299 } else {
31300 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31301 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31302 }
31303 if (SWIG_IsTmpObj(res4)) {
31304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31305 } else {
31306 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31307 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31308 }
31309 return resultobj;
31310fail:
31311 return NULL;
31312}
31313
31314
0085ce49
RD
31315SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31316 PyObject *resultobj = 0;
31317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31318 wxListItem *arg2 = 0 ;
31319 long result;
31320 void *argp1 = 0 ;
31321 int res1 = 0 ;
31322 void *argp2 = 0 ;
31323 int res2 = 0 ;
31324 PyObject * obj0 = 0 ;
31325 PyObject * obj1 = 0 ;
31326 char * kwnames[] = {
31327 (char *) "self",(char *) "info", NULL
31328 };
31329
31330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31332 if (!SWIG_IsOK(res1)) {
31333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31334 }
31335 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31336 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31337 if (!SWIG_IsOK(res2)) {
31338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31339 }
31340 if (!argp2) {
31341 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31342 }
31343 arg2 = reinterpret_cast< wxListItem * >(argp2);
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 result = (long)(arg1)->InsertItem(*arg2);
31347 wxPyEndAllowThreads(__tstate);
31348 if (PyErr_Occurred()) SWIG_fail;
31349 }
31350 resultobj = SWIG_From_long(static_cast< long >(result));
31351 return resultobj;
31352fail:
31353 return NULL;
31354}
31355
31356
31357SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31358 PyObject *resultobj = 0;
31359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31360 long arg2 ;
31361 wxString *arg3 = 0 ;
31362 int arg4 = (int) -1 ;
31363 long result;
31364 void *argp1 = 0 ;
31365 int res1 = 0 ;
31366 long val2 ;
31367 int ecode2 = 0 ;
31368 bool temp3 = false ;
31369 int val4 ;
31370 int ecode4 = 0 ;
31371 PyObject * obj0 = 0 ;
31372 PyObject * obj1 = 0 ;
31373 PyObject * obj2 = 0 ;
31374 PyObject * obj3 = 0 ;
31375 char * kwnames[] = {
31376 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31377 };
31378
31379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31381 if (!SWIG_IsOK(res1)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31383 }
31384 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31385 ecode2 = SWIG_AsVal_long(obj1, &val2);
31386 if (!SWIG_IsOK(ecode2)) {
31387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31388 }
31389 arg2 = static_cast< long >(val2);
31390 {
31391 arg3 = wxString_in_helper(obj2);
31392 if (arg3 == NULL) SWIG_fail;
31393 temp3 = true;
31394 }
31395 if (obj3) {
31396 ecode4 = SWIG_AsVal_int(obj3, &val4);
31397 if (!SWIG_IsOK(ecode4)) {
31398 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31399 }
31400 arg4 = static_cast< int >(val4);
31401 }
31402 {
31403 PyThreadState* __tstate = wxPyBeginAllowThreads();
31404 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31405 wxPyEndAllowThreads(__tstate);
31406 if (PyErr_Occurred()) SWIG_fail;
31407 }
31408 resultobj = SWIG_From_long(static_cast< long >(result));
31409 {
31410 if (temp3)
31411 delete arg3;
31412 }
31413 return resultobj;
31414fail:
31415 {
31416 if (temp3)
31417 delete arg3;
31418 }
31419 return NULL;
31420}
31421
31422
31423SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31424 PyObject *resultobj = 0;
31425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31426 long arg2 ;
31427 int arg3 ;
31428 long result;
31429 void *argp1 = 0 ;
31430 int res1 = 0 ;
31431 long val2 ;
31432 int ecode2 = 0 ;
31433 int val3 ;
31434 int ecode3 = 0 ;
31435 PyObject * obj0 = 0 ;
31436 PyObject * obj1 = 0 ;
31437 PyObject * obj2 = 0 ;
31438 char * kwnames[] = {
31439 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31440 };
31441
31442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31444 if (!SWIG_IsOK(res1)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31446 }
31447 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31448 ecode2 = SWIG_AsVal_long(obj1, &val2);
31449 if (!SWIG_IsOK(ecode2)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31451 }
31452 arg2 = static_cast< long >(val2);
31453 ecode3 = SWIG_AsVal_int(obj2, &val3);
31454 if (!SWIG_IsOK(ecode3)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31456 }
31457 arg3 = static_cast< int >(val3);
31458 {
31459 PyThreadState* __tstate = wxPyBeginAllowThreads();
31460 result = (long)(arg1)->InsertItem(arg2,arg3);
31461 wxPyEndAllowThreads(__tstate);
31462 if (PyErr_Occurred()) SWIG_fail;
31463 }
31464 resultobj = SWIG_From_long(static_cast< long >(result));
31465 return resultobj;
31466fail:
31467 return NULL;
31468}
31469
31470
31471SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31472 PyObject *resultobj = 0;
31473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31474 long arg2 ;
31475 wxString *arg3 = 0 ;
31476 int arg4 ;
31477 long result;
31478 void *argp1 = 0 ;
31479 int res1 = 0 ;
31480 long val2 ;
31481 int ecode2 = 0 ;
31482 bool temp3 = false ;
31483 int val4 ;
31484 int ecode4 = 0 ;
31485 PyObject * obj0 = 0 ;
31486 PyObject * obj1 = 0 ;
31487 PyObject * obj2 = 0 ;
31488 PyObject * obj3 = 0 ;
31489 char * kwnames[] = {
31490 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31491 };
31492
31493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31495 if (!SWIG_IsOK(res1)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31497 }
31498 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31499 ecode2 = SWIG_AsVal_long(obj1, &val2);
31500 if (!SWIG_IsOK(ecode2)) {
31501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31502 }
31503 arg2 = static_cast< long >(val2);
31504 {
31505 arg3 = wxString_in_helper(obj2);
31506 if (arg3 == NULL) SWIG_fail;
31507 temp3 = true;
31508 }
31509 ecode4 = SWIG_AsVal_int(obj3, &val4);
31510 if (!SWIG_IsOK(ecode4)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31512 }
31513 arg4 = static_cast< int >(val4);
31514 {
31515 PyThreadState* __tstate = wxPyBeginAllowThreads();
31516 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31517 wxPyEndAllowThreads(__tstate);
31518 if (PyErr_Occurred()) SWIG_fail;
31519 }
31520 resultobj = SWIG_From_long(static_cast< long >(result));
31521 {
31522 if (temp3)
31523 delete arg3;
31524 }
31525 return resultobj;
31526fail:
31527 {
31528 if (temp3)
31529 delete arg3;
31530 }
31531 return NULL;
31532}
31533
31534
31535SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31536 PyObject *resultobj = 0;
31537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31538 long arg2 ;
31539 wxListItem *arg3 = 0 ;
31540 long result;
31541 void *argp1 = 0 ;
31542 int res1 = 0 ;
31543 long val2 ;
31544 int ecode2 = 0 ;
31545 void *argp3 = 0 ;
31546 int res3 = 0 ;
31547 PyObject * obj0 = 0 ;
31548 PyObject * obj1 = 0 ;
31549 PyObject * obj2 = 0 ;
31550 char * kwnames[] = {
31551 (char *) "self",(char *) "col",(char *) "info", NULL
31552 };
31553
31554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31556 if (!SWIG_IsOK(res1)) {
31557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31558 }
31559 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31560 ecode2 = SWIG_AsVal_long(obj1, &val2);
31561 if (!SWIG_IsOK(ecode2)) {
31562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31563 }
31564 arg2 = static_cast< long >(val2);
31565 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31566 if (!SWIG_IsOK(res3)) {
31567 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31568 }
31569 if (!argp3) {
31570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31571 }
31572 arg3 = reinterpret_cast< wxListItem * >(argp3);
31573 {
31574 PyThreadState* __tstate = wxPyBeginAllowThreads();
31575 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31576 wxPyEndAllowThreads(__tstate);
31577 if (PyErr_Occurred()) SWIG_fail;
31578 }
31579 resultobj = SWIG_From_long(static_cast< long >(result));
31580 return resultobj;
31581fail:
31582 return NULL;
31583}
31584
31585
31586SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31587 PyObject *resultobj = 0;
31588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31589 long arg2 ;
31590 wxString *arg3 = 0 ;
31591 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31592 int arg5 = (int) -1 ;
31593 long result;
31594 void *argp1 = 0 ;
31595 int res1 = 0 ;
31596 long val2 ;
31597 int ecode2 = 0 ;
31598 bool temp3 = false ;
31599 int val4 ;
31600 int ecode4 = 0 ;
31601 int val5 ;
31602 int ecode5 = 0 ;
31603 PyObject * obj0 = 0 ;
31604 PyObject * obj1 = 0 ;
31605 PyObject * obj2 = 0 ;
31606 PyObject * obj3 = 0 ;
31607 PyObject * obj4 = 0 ;
31608 char * kwnames[] = {
31609 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31610 };
31611
31612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31614 if (!SWIG_IsOK(res1)) {
31615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31616 }
31617 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31618 ecode2 = SWIG_AsVal_long(obj1, &val2);
31619 if (!SWIG_IsOK(ecode2)) {
31620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31621 }
31622 arg2 = static_cast< long >(val2);
31623 {
31624 arg3 = wxString_in_helper(obj2);
31625 if (arg3 == NULL) SWIG_fail;
31626 temp3 = true;
31627 }
31628 if (obj3) {
31629 ecode4 = SWIG_AsVal_int(obj3, &val4);
31630 if (!SWIG_IsOK(ecode4)) {
31631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31632 }
31633 arg4 = static_cast< int >(val4);
31634 }
31635 if (obj4) {
31636 ecode5 = SWIG_AsVal_int(obj4, &val5);
31637 if (!SWIG_IsOK(ecode5)) {
31638 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31639 }
31640 arg5 = static_cast< int >(val5);
31641 }
31642 {
31643 PyThreadState* __tstate = wxPyBeginAllowThreads();
31644 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31645 wxPyEndAllowThreads(__tstate);
31646 if (PyErr_Occurred()) SWIG_fail;
31647 }
31648 resultobj = SWIG_From_long(static_cast< long >(result));
31649 {
31650 if (temp3)
31651 delete arg3;
31652 }
31653 return resultobj;
31654fail:
31655 {
31656 if (temp3)
31657 delete arg3;
31658 }
31659 return NULL;
31660}
31661
31662
31663SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31664 PyObject *resultobj = 0;
31665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31666 long arg2 ;
31667 void *argp1 = 0 ;
31668 int res1 = 0 ;
31669 long val2 ;
31670 int ecode2 = 0 ;
31671 PyObject * obj0 = 0 ;
31672 PyObject * obj1 = 0 ;
31673 char * kwnames[] = {
31674 (char *) "self",(char *) "count", NULL
31675 };
31676
31677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31679 if (!SWIG_IsOK(res1)) {
31680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31681 }
31682 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31683 ecode2 = SWIG_AsVal_long(obj1, &val2);
31684 if (!SWIG_IsOK(ecode2)) {
31685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31686 }
31687 arg2 = static_cast< long >(val2);
31688 {
31689 PyThreadState* __tstate = wxPyBeginAllowThreads();
31690 (arg1)->SetItemCount(arg2);
31691 wxPyEndAllowThreads(__tstate);
31692 if (PyErr_Occurred()) SWIG_fail;
31693 }
31694 resultobj = SWIG_Py_Void();
31695 return resultobj;
31696fail:
31697 return NULL;
31698}
31699
31700
31701SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31702 PyObject *resultobj = 0;
31703 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31704 int arg2 ;
31705 int arg3 ;
31706 bool result;
31707 void *argp1 = 0 ;
31708 int res1 = 0 ;
31709 int val2 ;
31710 int ecode2 = 0 ;
31711 int val3 ;
31712 int ecode3 = 0 ;
31713 PyObject * obj0 = 0 ;
31714 PyObject * obj1 = 0 ;
31715 PyObject * obj2 = 0 ;
31716 char * kwnames[] = {
31717 (char *) "self",(char *) "dx",(char *) "dy", NULL
31718 };
31719
31720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31722 if (!SWIG_IsOK(res1)) {
31723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31724 }
31725 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31726 ecode2 = SWIG_AsVal_int(obj1, &val2);
31727 if (!SWIG_IsOK(ecode2)) {
31728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31729 }
31730 arg2 = static_cast< int >(val2);
31731 ecode3 = SWIG_AsVal_int(obj2, &val3);
31732 if (!SWIG_IsOK(ecode3)) {
31733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31734 }
31735 arg3 = static_cast< int >(val3);
31736 {
31737 PyThreadState* __tstate = wxPyBeginAllowThreads();
31738 result = (bool)(arg1)->ScrollList(arg2,arg3);
31739 wxPyEndAllowThreads(__tstate);
31740 if (PyErr_Occurred()) SWIG_fail;
31741 }
31742 {
31743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31744 }
31745 return resultobj;
31746fail:
31747 return NULL;
31748}
31749
31750
31751SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31752 PyObject *resultobj = 0;
31753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31754 long arg2 ;
31755 wxColour *arg3 = 0 ;
31756 void *argp1 = 0 ;
31757 int res1 = 0 ;
31758 long val2 ;
31759 int ecode2 = 0 ;
31760 wxColour temp3 ;
31761 PyObject * obj0 = 0 ;
31762 PyObject * obj1 = 0 ;
31763 PyObject * obj2 = 0 ;
31764 char * kwnames[] = {
31765 (char *) "self",(char *) "item",(char *) "col", NULL
31766 };
31767
31768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31770 if (!SWIG_IsOK(res1)) {
31771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31772 }
31773 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31774 ecode2 = SWIG_AsVal_long(obj1, &val2);
31775 if (!SWIG_IsOK(ecode2)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31777 }
31778 arg2 = static_cast< long >(val2);
31779 {
31780 arg3 = &temp3;
31781 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31782 }
31783 {
31784 PyThreadState* __tstate = wxPyBeginAllowThreads();
31785 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31786 wxPyEndAllowThreads(__tstate);
31787 if (PyErr_Occurred()) SWIG_fail;
31788 }
31789 resultobj = SWIG_Py_Void();
31790 return resultobj;
31791fail:
31792 return NULL;
31793}
31794
31795
31796SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31797 PyObject *resultobj = 0;
31798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31799 long arg2 ;
31800 wxColour result;
31801 void *argp1 = 0 ;
31802 int res1 = 0 ;
31803 long val2 ;
31804 int ecode2 = 0 ;
31805 PyObject * obj0 = 0 ;
31806 PyObject * obj1 = 0 ;
31807 char * kwnames[] = {
31808 (char *) "self",(char *) "item", NULL
31809 };
31810
31811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31813 if (!SWIG_IsOK(res1)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31815 }
31816 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31817 ecode2 = SWIG_AsVal_long(obj1, &val2);
31818 if (!SWIG_IsOK(ecode2)) {
31819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31820 }
31821 arg2 = static_cast< long >(val2);
31822 {
31823 PyThreadState* __tstate = wxPyBeginAllowThreads();
31824 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31825 wxPyEndAllowThreads(__tstate);
31826 if (PyErr_Occurred()) SWIG_fail;
31827 }
31828 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31829 return resultobj;
31830fail:
31831 return NULL;
31832}
31833
31834
31835SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31836 PyObject *resultobj = 0;
31837 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31838 long arg2 ;
31839 wxColour *arg3 = 0 ;
31840 void *argp1 = 0 ;
31841 int res1 = 0 ;
31842 long val2 ;
31843 int ecode2 = 0 ;
31844 wxColour temp3 ;
31845 PyObject * obj0 = 0 ;
31846 PyObject * obj1 = 0 ;
31847 PyObject * obj2 = 0 ;
31848 char * kwnames[] = {
31849 (char *) "self",(char *) "item",(char *) "col", NULL
31850 };
31851
31852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31854 if (!SWIG_IsOK(res1)) {
31855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31856 }
31857 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31858 ecode2 = SWIG_AsVal_long(obj1, &val2);
31859 if (!SWIG_IsOK(ecode2)) {
31860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31861 }
31862 arg2 = static_cast< long >(val2);
31863 {
31864 arg3 = &temp3;
31865 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31866 }
31867 {
31868 PyThreadState* __tstate = wxPyBeginAllowThreads();
31869 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31870 wxPyEndAllowThreads(__tstate);
31871 if (PyErr_Occurred()) SWIG_fail;
31872 }
31873 resultobj = SWIG_Py_Void();
31874 return resultobj;
31875fail:
31876 return NULL;
31877}
31878
31879
31880SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31881 PyObject *resultobj = 0;
31882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31883 long arg2 ;
31884 wxColour result;
31885 void *argp1 = 0 ;
31886 int res1 = 0 ;
31887 long val2 ;
31888 int ecode2 = 0 ;
31889 PyObject * obj0 = 0 ;
31890 PyObject * obj1 = 0 ;
31891 char * kwnames[] = {
31892 (char *) "self",(char *) "item", NULL
31893 };
31894
31895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31897 if (!SWIG_IsOK(res1)) {
31898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31899 }
31900 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31901 ecode2 = SWIG_AsVal_long(obj1, &val2);
31902 if (!SWIG_IsOK(ecode2)) {
31903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31904 }
31905 arg2 = static_cast< long >(val2);
31906 {
31907 PyThreadState* __tstate = wxPyBeginAllowThreads();
31908 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31909 wxPyEndAllowThreads(__tstate);
31910 if (PyErr_Occurred()) SWIG_fail;
31911 }
31912 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31913 return resultobj;
31914fail:
31915 return NULL;
31916}
31917
31918
31919SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31920 PyObject *resultobj = 0;
31921 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31922 long arg2 ;
31923 wxFont *arg3 = 0 ;
31924 void *argp1 = 0 ;
31925 int res1 = 0 ;
31926 long val2 ;
31927 int ecode2 = 0 ;
31928 void *argp3 = 0 ;
31929 int res3 = 0 ;
31930 PyObject * obj0 = 0 ;
31931 PyObject * obj1 = 0 ;
31932 PyObject * obj2 = 0 ;
31933 char * kwnames[] = {
31934 (char *) "self",(char *) "item",(char *) "f", NULL
31935 };
31936
31937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31939 if (!SWIG_IsOK(res1)) {
31940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31941 }
31942 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31943 ecode2 = SWIG_AsVal_long(obj1, &val2);
31944 if (!SWIG_IsOK(ecode2)) {
31945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31946 }
31947 arg2 = static_cast< long >(val2);
31948 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31949 if (!SWIG_IsOK(res3)) {
31950 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31951 }
31952 if (!argp3) {
31953 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31954 }
31955 arg3 = reinterpret_cast< wxFont * >(argp3);
31956 {
31957 PyThreadState* __tstate = wxPyBeginAllowThreads();
31958 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31959 wxPyEndAllowThreads(__tstate);
31960 if (PyErr_Occurred()) SWIG_fail;
31961 }
31962 resultobj = SWIG_Py_Void();
31963 return resultobj;
31964fail:
31965 return NULL;
31966}
31967
31968
31969SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31970 PyObject *resultobj = 0;
31971 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31972 long arg2 ;
31973 wxFont result;
31974 void *argp1 = 0 ;
31975 int res1 = 0 ;
31976 long val2 ;
31977 int ecode2 = 0 ;
31978 PyObject * obj0 = 0 ;
31979 PyObject * obj1 = 0 ;
31980 char * kwnames[] = {
31981 (char *) "self",(char *) "item", NULL
31982 };
31983
31984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31986 if (!SWIG_IsOK(res1)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31988 }
31989 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31990 ecode2 = SWIG_AsVal_long(obj1, &val2);
31991 if (!SWIG_IsOK(ecode2)) {
31992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31993 }
31994 arg2 = static_cast< long >(val2);
31995 {
31996 PyThreadState* __tstate = wxPyBeginAllowThreads();
31997 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31998 wxPyEndAllowThreads(__tstate);
31999 if (PyErr_Occurred()) SWIG_fail;
32000 }
32001 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32002 return resultobj;
32003fail:
32004 return NULL;
32005}
32006
32007
32008SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32009 PyObject *resultobj = 0;
32010 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32011 PyObject *arg2 = (PyObject *) 0 ;
32012 bool result;
32013 void *argp1 = 0 ;
32014 int res1 = 0 ;
32015 PyObject * obj0 = 0 ;
32016 PyObject * obj1 = 0 ;
32017 char * kwnames[] = {
32018 (char *) "self",(char *) "func", NULL
32019 };
32020
32021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32023 if (!SWIG_IsOK(res1)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32025 }
32026 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32027 arg2 = obj1;
32028 {
32029 PyThreadState* __tstate = wxPyBeginAllowThreads();
32030 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32031 wxPyEndAllowThreads(__tstate);
32032 if (PyErr_Occurred()) SWIG_fail;
32033 }
32034 {
32035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32036 }
32037 return resultobj;
32038fail:
32039 return NULL;
7e08d4ef
RD
32040}
32041
32042
0085ce49
RD
32043SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32044 PyObject *resultobj = 0;
32045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32046 wxWindow *result = 0 ;
32047 void *argp1 = 0 ;
32048 int res1 = 0 ;
32049 PyObject *swig_obj[1] ;
32050
32051 if (!args) SWIG_fail;
32052 swig_obj[0] = args;
32053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32054 if (!SWIG_IsOK(res1)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32056 }
32057 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32058 {
32059 PyThreadState* __tstate = wxPyBeginAllowThreads();
32060 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32061 wxPyEndAllowThreads(__tstate);
32062 if (PyErr_Occurred()) SWIG_fail;
32063 }
32064 {
32065 resultobj = wxPyMake_wxObject(result, 0);
32066 }
32067 return resultobj;
32068fail:
32069 return NULL;
32070}
32071
32072
32073SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32074 PyObject *resultobj = 0;
32075 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32076 SwigValueWrapper<wxVisualAttributes > result;
32077 int val1 ;
32078 int ecode1 = 0 ;
32079 PyObject * obj0 = 0 ;
32080 char * kwnames[] = {
32081 (char *) "variant", NULL
32082 };
32083
32084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32085 if (obj0) {
32086 ecode1 = SWIG_AsVal_int(obj0, &val1);
32087 if (!SWIG_IsOK(ecode1)) {
32088 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32089 }
32090 arg1 = static_cast< wxWindowVariant >(val1);
32091 }
32092 {
32093 if (!wxPyCheckForApp()) SWIG_fail;
32094 PyThreadState* __tstate = wxPyBeginAllowThreads();
32095 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32096 wxPyEndAllowThreads(__tstate);
32097 if (PyErr_Occurred()) SWIG_fail;
32098 }
32099 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32100 return resultobj;
32101fail:
32102 return NULL;
32103}
32104
32105
32106SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32107 PyObject *obj;
32108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32110 return SWIG_Py_Void();
32111}
32112
32113SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32114 return SWIG_Python_InitShadowInstance(args);
32115}
32116
32117SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32118 PyObject *resultobj = 0;
32119 wxWindow *arg1 = (wxWindow *) 0 ;
32120 int arg2 = (int) -1 ;
32121 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32122 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32123 wxSize const &arg4_defvalue = wxDefaultSize ;
32124 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32125 long arg5 = (long) wxLC_REPORT ;
32126 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32127 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32128 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32129 wxString *arg7 = (wxString *) &arg7_defvalue ;
32130 wxListView *result = 0 ;
32131 void *argp1 = 0 ;
32132 int res1 = 0 ;
32133 int val2 ;
32134 int ecode2 = 0 ;
32135 wxPoint temp3 ;
32136 wxSize temp4 ;
32137 long val5 ;
32138 int ecode5 = 0 ;
32139 void *argp6 = 0 ;
32140 int res6 = 0 ;
32141 bool temp7 = false ;
32142 PyObject * obj0 = 0 ;
32143 PyObject * obj1 = 0 ;
32144 PyObject * obj2 = 0 ;
32145 PyObject * obj3 = 0 ;
32146 PyObject * obj4 = 0 ;
32147 PyObject * obj5 = 0 ;
32148 PyObject * obj6 = 0 ;
32149 char * kwnames[] = {
32150 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32151 };
32152
32153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32155 if (!SWIG_IsOK(res1)) {
32156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32157 }
32158 arg1 = reinterpret_cast< wxWindow * >(argp1);
32159 if (obj1) {
32160 ecode2 = SWIG_AsVal_int(obj1, &val2);
32161 if (!SWIG_IsOK(ecode2)) {
32162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32163 }
32164 arg2 = static_cast< int >(val2);
32165 }
32166 if (obj2) {
7e08d4ef 32167 {
0085ce49
RD
32168 arg3 = &temp3;
32169 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7e08d4ef 32170 }
0085ce49
RD
32171 }
32172 if (obj3) {
7e08d4ef 32173 {
0085ce49
RD
32174 arg4 = &temp4;
32175 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 32176 }
0085ce49
RD
32177 }
32178 if (obj4) {
32179 ecode5 = SWIG_AsVal_long(obj4, &val5);
32180 if (!SWIG_IsOK(ecode5)) {
32181 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32182 }
32183 arg5 = static_cast< long >(val5);
32184 }
32185 if (obj5) {
32186 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32187 if (!SWIG_IsOK(res6)) {
32188 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 32189 }
0085ce49
RD
32190 if (!argp6) {
32191 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 32192 }
0085ce49
RD
32193 arg6 = reinterpret_cast< wxValidator * >(argp6);
32194 }
32195 if (obj6) {
7e08d4ef 32196 {
0085ce49
RD
32197 arg7 = wxString_in_helper(obj6);
32198 if (arg7 == NULL) SWIG_fail;
32199 temp7 = true;
7e08d4ef 32200 }
0085ce49
RD
32201 }
32202 {
32203 if (!wxPyCheckForApp()) SWIG_fail;
32204 PyThreadState* __tstate = wxPyBeginAllowThreads();
32205 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32210 {
32211 if (temp7)
32212 delete arg7;
32213 }
32214 return resultobj;
32215fail:
32216 {
32217 if (temp7)
32218 delete arg7;
32219 }
32220 return NULL;
7e08d4ef
RD
32221}
32222
32223
0085ce49
RD
32224SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32225 PyObject *resultobj = 0;
32226 wxListView *result = 0 ;
32227
32228 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32229 {
32230 if (!wxPyCheckForApp()) SWIG_fail;
32231 PyThreadState* __tstate = wxPyBeginAllowThreads();
32232 result = (wxListView *)new wxListView();
32233 wxPyEndAllowThreads(__tstate);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 }
32236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32237 return resultobj;
32238fail:
32239 return NULL;
32240}
32241
32242
32243SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32244 PyObject *resultobj = 0;
32245 wxListView *arg1 = (wxListView *) 0 ;
32246 wxWindow *arg2 = (wxWindow *) 0 ;
32247 int arg3 = (int) -1 ;
32248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32250 wxSize const &arg5_defvalue = wxDefaultSize ;
32251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32252 long arg6 = (long) wxLC_REPORT ;
32253 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32254 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32255 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32256 wxString *arg8 = (wxString *) &arg8_defvalue ;
32257 bool result;
32258 void *argp1 = 0 ;
32259 int res1 = 0 ;
32260 void *argp2 = 0 ;
32261 int res2 = 0 ;
32262 int val3 ;
32263 int ecode3 = 0 ;
32264 wxPoint temp4 ;
32265 wxSize temp5 ;
32266 long val6 ;
32267 int ecode6 = 0 ;
32268 void *argp7 = 0 ;
32269 int res7 = 0 ;
32270 bool temp8 = false ;
32271 PyObject * obj0 = 0 ;
32272 PyObject * obj1 = 0 ;
32273 PyObject * obj2 = 0 ;
32274 PyObject * obj3 = 0 ;
32275 PyObject * obj4 = 0 ;
32276 PyObject * obj5 = 0 ;
32277 PyObject * obj6 = 0 ;
32278 PyObject * obj7 = 0 ;
32279 char * kwnames[] = {
32280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32281 };
32282
32283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32285 if (!SWIG_IsOK(res1)) {
32286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32287 }
32288 arg1 = reinterpret_cast< wxListView * >(argp1);
32289 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32290 if (!SWIG_IsOK(res2)) {
32291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32292 }
32293 arg2 = reinterpret_cast< wxWindow * >(argp2);
32294 if (obj2) {
32295 ecode3 = SWIG_AsVal_int(obj2, &val3);
32296 if (!SWIG_IsOK(ecode3)) {
32297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32298 }
32299 arg3 = static_cast< int >(val3);
32300 }
32301 if (obj3) {
7e08d4ef 32302 {
0085ce49
RD
32303 arg4 = &temp4;
32304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 32305 }
0085ce49
RD
32306 }
32307 if (obj4) {
7e08d4ef 32308 {
0085ce49
RD
32309 arg5 = &temp5;
32310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7e08d4ef 32311 }
0085ce49
RD
32312 }
32313 if (obj5) {
32314 ecode6 = SWIG_AsVal_long(obj5, &val6);
32315 if (!SWIG_IsOK(ecode6)) {
32316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32317 }
32318 arg6 = static_cast< long >(val6);
32319 }
32320 if (obj6) {
32321 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32322 if (!SWIG_IsOK(res7)) {
32323 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 32324 }
0085ce49
RD
32325 if (!argp7) {
32326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 32327 }
0085ce49
RD
32328 arg7 = reinterpret_cast< wxValidator * >(argp7);
32329 }
32330 if (obj7) {
7e08d4ef 32331 {
0085ce49
RD
32332 arg8 = wxString_in_helper(obj7);
32333 if (arg8 == NULL) SWIG_fail;
32334 temp8 = true;
7e08d4ef 32335 }
0085ce49
RD
32336 }
32337 {
32338 PyThreadState* __tstate = wxPyBeginAllowThreads();
32339 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32340 wxPyEndAllowThreads(__tstate);
32341 if (PyErr_Occurred()) SWIG_fail;
32342 }
32343 {
32344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32345 }
32346 {
32347 if (temp8)
32348 delete arg8;
32349 }
32350 return resultobj;
32351fail:
32352 {
32353 if (temp8)
32354 delete arg8;
32355 }
32356 return NULL;
32357}
32358
32359
32360SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32361 PyObject *resultobj = 0;
32362 wxListView *arg1 = (wxListView *) 0 ;
32363 long arg2 ;
32364 bool arg3 = (bool) true ;
32365 void *argp1 = 0 ;
32366 int res1 = 0 ;
32367 long val2 ;
32368 int ecode2 = 0 ;
32369 bool val3 ;
32370 int ecode3 = 0 ;
32371 PyObject * obj0 = 0 ;
32372 PyObject * obj1 = 0 ;
32373 PyObject * obj2 = 0 ;
32374 char * kwnames[] = {
32375 (char *) "self",(char *) "n",(char *) "on", NULL
32376 };
32377
32378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32380 if (!SWIG_IsOK(res1)) {
32381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32382 }
32383 arg1 = reinterpret_cast< wxListView * >(argp1);
32384 ecode2 = SWIG_AsVal_long(obj1, &val2);
32385 if (!SWIG_IsOK(ecode2)) {
32386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32387 }
32388 arg2 = static_cast< long >(val2);
32389 if (obj2) {
32390 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32391 if (!SWIG_IsOK(ecode3)) {
32392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32393 }
32394 arg3 = static_cast< bool >(val3);
32395 }
32396 {
32397 PyThreadState* __tstate = wxPyBeginAllowThreads();
32398 (arg1)->Select(arg2,arg3);
32399 wxPyEndAllowThreads(__tstate);
32400 if (PyErr_Occurred()) SWIG_fail;
32401 }
32402 resultobj = SWIG_Py_Void();
32403 return resultobj;
32404fail:
32405 return NULL;
32406}
32407
32408
32409SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32410 PyObject *resultobj = 0;
32411 wxListView *arg1 = (wxListView *) 0 ;
32412 long arg2 ;
32413 void *argp1 = 0 ;
32414 int res1 = 0 ;
32415 long val2 ;
32416 int ecode2 = 0 ;
32417 PyObject * obj0 = 0 ;
32418 PyObject * obj1 = 0 ;
32419 char * kwnames[] = {
32420 (char *) "self",(char *) "index", NULL
32421 };
32422
32423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32425 if (!SWIG_IsOK(res1)) {
32426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32427 }
32428 arg1 = reinterpret_cast< wxListView * >(argp1);
32429 ecode2 = SWIG_AsVal_long(obj1, &val2);
32430 if (!SWIG_IsOK(ecode2)) {
32431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32432 }
32433 arg2 = static_cast< long >(val2);
32434 {
32435 PyThreadState* __tstate = wxPyBeginAllowThreads();
32436 (arg1)->Focus(arg2);
32437 wxPyEndAllowThreads(__tstate);
32438 if (PyErr_Occurred()) SWIG_fail;
32439 }
32440 resultobj = SWIG_Py_Void();
32441 return resultobj;
32442fail:
32443 return NULL;
7e08d4ef
RD
32444}
32445
32446
0085ce49
RD
32447SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32448 PyObject *resultobj = 0;
32449 wxListView *arg1 = (wxListView *) 0 ;
32450 long result;
32451 void *argp1 = 0 ;
32452 int res1 = 0 ;
32453 PyObject *swig_obj[1] ;
32454
32455 if (!args) SWIG_fail;
32456 swig_obj[0] = args;
32457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32458 if (!SWIG_IsOK(res1)) {
32459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32460 }
32461 arg1 = reinterpret_cast< wxListView * >(argp1);
32462 {
32463 PyThreadState* __tstate = wxPyBeginAllowThreads();
32464 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32465 wxPyEndAllowThreads(__tstate);
32466 if (PyErr_Occurred()) SWIG_fail;
32467 }
32468 resultobj = SWIG_From_long(static_cast< long >(result));
32469 return resultobj;
32470fail:
32471 return NULL;
32472}
32473
32474
32475SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32476 PyObject *resultobj = 0;
32477 wxListView *arg1 = (wxListView *) 0 ;
32478 long arg2 ;
32479 long result;
32480 void *argp1 = 0 ;
32481 int res1 = 0 ;
32482 long val2 ;
32483 int ecode2 = 0 ;
32484 PyObject * obj0 = 0 ;
32485 PyObject * obj1 = 0 ;
32486 char * kwnames[] = {
32487 (char *) "self",(char *) "item", NULL
32488 };
32489
32490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32492 if (!SWIG_IsOK(res1)) {
32493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32494 }
32495 arg1 = reinterpret_cast< wxListView * >(argp1);
32496 ecode2 = SWIG_AsVal_long(obj1, &val2);
32497 if (!SWIG_IsOK(ecode2)) {
32498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32499 }
32500 arg2 = static_cast< long >(val2);
32501 {
32502 PyThreadState* __tstate = wxPyBeginAllowThreads();
32503 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32504 wxPyEndAllowThreads(__tstate);
32505 if (PyErr_Occurred()) SWIG_fail;
32506 }
32507 resultobj = SWIG_From_long(static_cast< long >(result));
32508 return resultobj;
32509fail:
32510 return NULL;
7e08d4ef
RD
32511}
32512
32513
0085ce49
RD
32514SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32515 PyObject *resultobj = 0;
32516 wxListView *arg1 = (wxListView *) 0 ;
32517 long result;
32518 void *argp1 = 0 ;
32519 int res1 = 0 ;
32520 PyObject *swig_obj[1] ;
32521
32522 if (!args) SWIG_fail;
32523 swig_obj[0] = args;
32524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32525 if (!SWIG_IsOK(res1)) {
32526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32527 }
32528 arg1 = reinterpret_cast< wxListView * >(argp1);
32529 {
32530 PyThreadState* __tstate = wxPyBeginAllowThreads();
32531 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32532 wxPyEndAllowThreads(__tstate);
32533 if (PyErr_Occurred()) SWIG_fail;
32534 }
32535 resultobj = SWIG_From_long(static_cast< long >(result));
32536 return resultobj;
32537fail:
32538 return NULL;
32539}
32540
32541
32542SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32543 PyObject *resultobj = 0;
32544 wxListView *arg1 = (wxListView *) 0 ;
32545 long arg2 ;
32546 bool result;
32547 void *argp1 = 0 ;
32548 int res1 = 0 ;
32549 long val2 ;
32550 int ecode2 = 0 ;
32551 PyObject * obj0 = 0 ;
32552 PyObject * obj1 = 0 ;
32553 char * kwnames[] = {
32554 (char *) "self",(char *) "index", NULL
32555 };
32556
32557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32559 if (!SWIG_IsOK(res1)) {
32560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32561 }
32562 arg1 = reinterpret_cast< wxListView * >(argp1);
32563 ecode2 = SWIG_AsVal_long(obj1, &val2);
32564 if (!SWIG_IsOK(ecode2)) {
32565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32566 }
32567 arg2 = static_cast< long >(val2);
32568 {
32569 PyThreadState* __tstate = wxPyBeginAllowThreads();
32570 result = (bool)(arg1)->IsSelected(arg2);
32571 wxPyEndAllowThreads(__tstate);
32572 if (PyErr_Occurred()) SWIG_fail;
32573 }
32574 {
32575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32576 }
32577 return resultobj;
32578fail:
32579 return NULL;
32580}
32581
32582
32583SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32584 PyObject *resultobj = 0;
32585 wxListView *arg1 = (wxListView *) 0 ;
32586 int arg2 ;
32587 int arg3 ;
32588 void *argp1 = 0 ;
32589 int res1 = 0 ;
32590 int val2 ;
32591 int ecode2 = 0 ;
32592 int val3 ;
32593 int ecode3 = 0 ;
32594 PyObject * obj0 = 0 ;
32595 PyObject * obj1 = 0 ;
32596 PyObject * obj2 = 0 ;
32597 char * kwnames[] = {
32598 (char *) "self",(char *) "col",(char *) "image", NULL
32599 };
32600
32601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32603 if (!SWIG_IsOK(res1)) {
32604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32605 }
32606 arg1 = reinterpret_cast< wxListView * >(argp1);
32607 ecode2 = SWIG_AsVal_int(obj1, &val2);
32608 if (!SWIG_IsOK(ecode2)) {
32609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32610 }
32611 arg2 = static_cast< int >(val2);
32612 ecode3 = SWIG_AsVal_int(obj2, &val3);
32613 if (!SWIG_IsOK(ecode3)) {
32614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32615 }
32616 arg3 = static_cast< int >(val3);
32617 {
32618 PyThreadState* __tstate = wxPyBeginAllowThreads();
32619 (arg1)->SetColumnImage(arg2,arg3);
32620 wxPyEndAllowThreads(__tstate);
32621 if (PyErr_Occurred()) SWIG_fail;
32622 }
32623 resultobj = SWIG_Py_Void();
32624 return resultobj;
32625fail:
32626 return NULL;
32627}
32628
32629
32630SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32631 PyObject *resultobj = 0;
32632 wxListView *arg1 = (wxListView *) 0 ;
32633 int arg2 ;
32634 void *argp1 = 0 ;
32635 int res1 = 0 ;
32636 int val2 ;
32637 int ecode2 = 0 ;
32638 PyObject * obj0 = 0 ;
32639 PyObject * obj1 = 0 ;
32640 char * kwnames[] = {
32641 (char *) "self",(char *) "col", NULL
32642 };
32643
32644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32646 if (!SWIG_IsOK(res1)) {
32647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32648 }
32649 arg1 = reinterpret_cast< wxListView * >(argp1);
32650 ecode2 = SWIG_AsVal_int(obj1, &val2);
32651 if (!SWIG_IsOK(ecode2)) {
32652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32653 }
32654 arg2 = static_cast< int >(val2);
32655 {
32656 PyThreadState* __tstate = wxPyBeginAllowThreads();
32657 (arg1)->ClearColumnImage(arg2);
32658 wxPyEndAllowThreads(__tstate);
32659 if (PyErr_Occurred()) SWIG_fail;
32660 }
32661 resultobj = SWIG_Py_Void();
32662 return resultobj;
32663fail:
32664 return NULL;
7e08d4ef
RD
32665}
32666
32667
0085ce49
RD
32668SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32669 PyObject *obj;
32670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32671 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32672 return SWIG_Py_Void();
7e08d4ef
RD
32673}
32674
0085ce49
RD
32675SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32676 return SWIG_Python_InitShadowInstance(args);
32677}
7e08d4ef 32678
0085ce49
RD
32679SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32680 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32681 return 1;
7e08d4ef
RD
32682}
32683
32684
0085ce49
RD
32685SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32686 PyObject *pyobj = 0;
32687
32688 {
32689#if wxUSE_UNICODE
32690 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32691#else
32692 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32693#endif
32694 }
32695 return pyobj;
7e08d4ef
RD
32696}
32697
32698
0085ce49
RD
32699SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32700 PyObject *resultobj = 0;
32701 wxTreeItemId *result = 0 ;
32702
32703 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32704 {
32705 PyThreadState* __tstate = wxPyBeginAllowThreads();
32706 result = (wxTreeItemId *)new wxTreeItemId();
32707 wxPyEndAllowThreads(__tstate);
32708 if (PyErr_Occurred()) SWIG_fail;
32709 }
32710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32711 return resultobj;
32712fail:
32713 return NULL;
d14a1e28
RD
32714}
32715
32716
0085ce49
RD
32717SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32718 PyObject *resultobj = 0;
32719 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32720 void *argp1 = 0 ;
32721 int res1 = 0 ;
32722 PyObject *swig_obj[1] ;
32723
32724 if (!args) SWIG_fail;
32725 swig_obj[0] = args;
32726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32727 if (!SWIG_IsOK(res1)) {
32728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32729 }
32730 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32731 {
32732 PyThreadState* __tstate = wxPyBeginAllowThreads();
32733 delete arg1;
7e08d4ef 32734
0085ce49
RD
32735 wxPyEndAllowThreads(__tstate);
32736 if (PyErr_Occurred()) SWIG_fail;
32737 }
32738 resultobj = SWIG_Py_Void();
32739 return resultobj;
32740fail:
32741 return NULL;
7e08d4ef
RD
32742}
32743
32744
0085ce49
RD
32745SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32746 PyObject *resultobj = 0;
32747 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32748 bool result;
32749 void *argp1 = 0 ;
32750 int res1 = 0 ;
32751 PyObject *swig_obj[1] ;
32752
32753 if (!args) SWIG_fail;
32754 swig_obj[0] = args;
32755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32756 if (!SWIG_IsOK(res1)) {
32757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32758 }
32759 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32760 {
32761 PyThreadState* __tstate = wxPyBeginAllowThreads();
32762 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32763 wxPyEndAllowThreads(__tstate);
32764 if (PyErr_Occurred()) SWIG_fail;
32765 }
32766 {
32767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32768 }
32769 return resultobj;
32770fail:
32771 return NULL;
32772}
32773
32774
32775SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32776 PyObject *resultobj = 0;
32777 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32778 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32779 bool result;
32780 void *argp1 = 0 ;
32781 int res1 = 0 ;
32782 void *argp2 = 0 ;
32783 int res2 = 0 ;
32784 PyObject * obj0 = 0 ;
32785 PyObject * obj1 = 0 ;
32786 char * kwnames[] = {
32787 (char *) "self",(char *) "other", NULL
32788 };
32789
32790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32792 if (!SWIG_IsOK(res1)) {
32793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32794 }
32795 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32797 if (!SWIG_IsOK(res2)) {
32798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32799 }
32800 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32801 {
32802 PyThreadState* __tstate = wxPyBeginAllowThreads();
32803 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32804 wxPyEndAllowThreads(__tstate);
32805 if (PyErr_Occurred()) SWIG_fail;
32806 }
32807 {
32808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32809 }
32810 return resultobj;
32811fail:
32812 return NULL;
32813}
32814
32815
32816SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32817 PyObject *resultobj = 0;
32818 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32819 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32820 bool result;
32821 void *argp1 = 0 ;
32822 int res1 = 0 ;
32823 void *argp2 = 0 ;
32824 int res2 = 0 ;
32825 PyObject * obj0 = 0 ;
32826 PyObject * obj1 = 0 ;
32827 char * kwnames[] = {
32828 (char *) "self",(char *) "other", NULL
32829 };
32830
32831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32833 if (!SWIG_IsOK(res1)) {
32834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32835 }
32836 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32837 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32838 if (!SWIG_IsOK(res2)) {
32839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32840 }
32841 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32842 {
32843 PyThreadState* __tstate = wxPyBeginAllowThreads();
32844 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32845 wxPyEndAllowThreads(__tstate);
32846 if (PyErr_Occurred()) SWIG_fail;
32847 }
32848 {
32849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32850 }
32851 return resultobj;
32852fail:
32853 return NULL;
7e08d4ef
RD
32854}
32855
32856
0085ce49
RD
32857SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32858 PyObject *resultobj = 0;
32859 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32860 void *arg2 = (void *) 0 ;
32861 void *argp1 = 0 ;
32862 int res1 = 0 ;
32863 int res2 ;
32864 PyObject *swig_obj[2] ;
32865
32866 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32868 if (!SWIG_IsOK(res1)) {
32869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32870 }
32871 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32872 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32873 if (!SWIG_IsOK(res2)) {
32874 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32875 }
32876 if (arg1) (arg1)->m_pItem = arg2;
32877
32878 resultobj = SWIG_Py_Void();
32879 return resultobj;
32880fail:
32881 return NULL;
7e08d4ef
RD
32882}
32883
32884
0085ce49
RD
32885SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32886 PyObject *resultobj = 0;
32887 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32888 void *result = 0 ;
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_wxTreeItemId, 0 | 0 );
32896 if (!SWIG_IsOK(res1)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32898 }
32899 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32900 result = (void *) ((arg1)->m_pItem);
32901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32902 return resultobj;
32903fail:
32904 return NULL;
7e08d4ef
RD
32905}
32906
32907
0085ce49
RD
32908SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32909 PyObject *obj;
32910 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32911 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32912 return SWIG_Py_Void();
7e08d4ef
RD
32913}
32914
0085ce49
RD
32915SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32916 return SWIG_Python_InitShadowInstance(args);
32917}
7e08d4ef 32918
0085ce49
RD
32919SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32920 PyObject *resultobj = 0;
32921 PyObject *arg1 = (PyObject *) NULL ;
32922 wxPyTreeItemData *result = 0 ;
32923 PyObject * obj0 = 0 ;
32924 char * kwnames[] = {
32925 (char *) "obj", NULL
32926 };
32927
32928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32929 if (obj0) {
32930 arg1 = obj0;
32931 }
32932 {
32933 PyThreadState* __tstate = wxPyBeginAllowThreads();
32934 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32935 wxPyEndAllowThreads(__tstate);
32936 if (PyErr_Occurred()) SWIG_fail;
32937 }
32938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32939 return resultobj;
32940fail:
32941 return NULL;
7e08d4ef
RD
32942}
32943
32944
0085ce49
RD
32945SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32946 PyObject *resultobj = 0;
32947 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32948 void *argp1 = 0 ;
32949 int res1 = 0 ;
32950 PyObject *swig_obj[1] ;
32951
32952 if (!args) SWIG_fail;
32953 swig_obj[0] = args;
32954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32955 if (!SWIG_IsOK(res1)) {
32956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32957 }
32958 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32959 {
32960 PyThreadState* __tstate = wxPyBeginAllowThreads();
32961 delete arg1;
1fbf26be 32962
0085ce49
RD
32963 wxPyEndAllowThreads(__tstate);
32964 if (PyErr_Occurred()) SWIG_fail;
32965 }
32966 resultobj = SWIG_Py_Void();
32967 return resultobj;
32968fail:
32969 return NULL;
1fbf26be
RD
32970}
32971
32972
0085ce49
RD
32973SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32974 PyObject *resultobj = 0;
32975 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32976 PyObject *result = 0 ;
32977 void *argp1 = 0 ;
32978 int res1 = 0 ;
32979 PyObject *swig_obj[1] ;
32980
32981 if (!args) SWIG_fail;
32982 swig_obj[0] = args;
32983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32984 if (!SWIG_IsOK(res1)) {
32985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32986 }
32987 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32988 {
32989 PyThreadState* __tstate = wxPyBeginAllowThreads();
32990 result = (PyObject *)(arg1)->GetData();
32991 wxPyEndAllowThreads(__tstate);
32992 if (PyErr_Occurred()) SWIG_fail;
32993 }
32994 resultobj = result;
32995 return resultobj;
32996fail:
32997 return NULL;
32998}
32999
33000
33001SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33002 PyObject *resultobj = 0;
33003 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33004 PyObject *arg2 = (PyObject *) 0 ;
33005 void *argp1 = 0 ;
33006 int res1 = 0 ;
33007 PyObject * obj0 = 0 ;
33008 PyObject * obj1 = 0 ;
33009 char * kwnames[] = {
33010 (char *) "self",(char *) "obj", NULL
33011 };
33012
33013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33015 if (!SWIG_IsOK(res1)) {
33016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33017 }
33018 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33019 arg2 = obj1;
33020 {
33021 PyThreadState* __tstate = wxPyBeginAllowThreads();
33022 (arg1)->SetData(arg2);
33023 wxPyEndAllowThreads(__tstate);
33024 if (PyErr_Occurred()) SWIG_fail;
33025 }
33026 resultobj = SWIG_Py_Void();
33027 return resultobj;
33028fail:
33029 return NULL;
d14a1e28
RD
33030}
33031
33032
0085ce49
RD
33033SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33034 PyObject *resultobj = 0;
33035 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33036 wxTreeItemId *result = 0 ;
33037 void *argp1 = 0 ;
33038 int res1 = 0 ;
33039 PyObject *swig_obj[1] ;
33040
33041 if (!args) SWIG_fail;
33042 swig_obj[0] = args;
33043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33044 if (!SWIG_IsOK(res1)) {
33045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33046 }
33047 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33048 {
33049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2ef75293 33050 {
0085ce49
RD
33051 wxTreeItemId const &_result_ref = (arg1)->GetId();
33052 result = (wxTreeItemId *) &_result_ref;
2ef75293 33053 }
0085ce49
RD
33054 wxPyEndAllowThreads(__tstate);
33055 if (PyErr_Occurred()) SWIG_fail;
33056 }
33057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33058 return resultobj;
33059fail:
33060 return NULL;
33061}
33062
33063
33064SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33065 PyObject *resultobj = 0;
33066 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33067 wxTreeItemId *arg2 = 0 ;
33068 void *argp1 = 0 ;
33069 int res1 = 0 ;
33070 void *argp2 = 0 ;
33071 int res2 = 0 ;
33072 PyObject * obj0 = 0 ;
33073 PyObject * obj1 = 0 ;
33074 char * kwnames[] = {
33075 (char *) "self",(char *) "id", NULL
33076 };
33077
33078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33080 if (!SWIG_IsOK(res1)) {
33081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33082 }
33083 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33084 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33085 if (!SWIG_IsOK(res2)) {
33086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33087 }
33088 if (!argp2) {
33089 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33090 }
33091 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33092 {
33093 PyThreadState* __tstate = wxPyBeginAllowThreads();
33094 (arg1)->SetId((wxTreeItemId const &)*arg2);
33095 wxPyEndAllowThreads(__tstate);
33096 if (PyErr_Occurred()) SWIG_fail;
33097 }
33098 resultobj = SWIG_Py_Void();
33099 return resultobj;
33100fail:
33101 return NULL;
2ef75293
RD
33102}
33103
33104
0085ce49
RD
33105SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33106 PyObject *resultobj = 0;
33107 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33108 void *argp1 = 0 ;
33109 int res1 = 0 ;
33110 PyObject *swig_obj[1] ;
33111
33112 if (!args) SWIG_fail;
33113 swig_obj[0] = args;
33114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33115 if (!SWIG_IsOK(res1)) {
33116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33117 }
33118 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33119 {
33120 PyThreadState* __tstate = wxPyBeginAllowThreads();
33121 wxPyTreeItemData_Destroy(arg1);
33122 wxPyEndAllowThreads(__tstate);
33123 if (PyErr_Occurred()) SWIG_fail;
33124 }
33125 resultobj = SWIG_Py_Void();
33126 return resultobj;
33127fail:
33128 return NULL;
2ef75293
RD
33129}
33130
33131
0085ce49
RD
33132SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33133 PyObject *obj;
33134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33136 return SWIG_Py_Void();
2ef75293
RD
33137}
33138
0085ce49
RD
33139SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33140 return SWIG_Python_InitShadowInstance(args);
33141}
2ef75293 33142
b02396e8
RD
33143SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33144 {
33145 void *argp = 0;
33146 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33147 if (!SWIG_IsOK(res)) {
33148 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33149 }
33150 if (!argp) {
33151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33152 } else {
33153 wxTreeItemId * temp;
33154 temp = reinterpret_cast< wxTreeItemId * >(argp);
33155 wxNullTreeItemId = *temp;
33156 if (SWIG_IsNewObj(res)) delete temp;
33157 }
33158 }
33159 return 0;
33160fail:
33161 return 1;
33162}
33163
33164
33165SWIGINTERN PyObject *NullTreeItemId_get(void) {
33166 PyObject *pyobj = 0;
33167
33168 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33169 return pyobj;
33170}
33171
33172
33173SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
0085ce49
RD
33174 PyObject *resultobj = 0;
33175 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33176 int arg2 = (int) 0 ;
33177 wxTreeEvent *result = 0 ;
33178 int val1 ;
33179 int ecode1 = 0 ;
33180 int val2 ;
33181 int ecode2 = 0 ;
0085ce49 33182
b02396e8
RD
33183 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33184 if (swig_obj[0]) {
33185 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
0085ce49
RD
33186 if (!SWIG_IsOK(ecode1)) {
33187 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33188 }
33189 arg1 = static_cast< wxEventType >(val1);
33190 }
b02396e8
RD
33191 if (swig_obj[1]) {
33192 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
0085ce49
RD
33193 if (!SWIG_IsOK(ecode2)) {
33194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33195 }
33196 arg2 = static_cast< int >(val2);
33197 }
33198 {
33199 PyThreadState* __tstate = wxPyBeginAllowThreads();
33200 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33201 wxPyEndAllowThreads(__tstate);
33202 if (PyErr_Occurred()) SWIG_fail;
33203 }
33204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33205 return resultobj;
33206fail:
33207 return NULL;
70b7a5fe
RD
33208}
33209
33210
b02396e8
RD
33211SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33212 PyObject *resultobj = 0;
33213 wxEventType arg1 ;
33214 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33215 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33216 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33217 wxTreeEvent *result = 0 ;
33218 int val1 ;
33219 int ecode1 = 0 ;
33220 void *argp2 = 0 ;
33221 int res2 = 0 ;
33222 void *argp3 = 0 ;
33223 int res3 = 0 ;
33224
33225 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33226 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33227 if (!SWIG_IsOK(ecode1)) {
33228 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33229 }
33230 arg1 = static_cast< wxEventType >(val1);
33231 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33232 if (!SWIG_IsOK(res2)) {
33233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33234 }
33235 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33236 if (swig_obj[2]) {
33237 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33238 if (!SWIG_IsOK(res3)) {
33239 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33240 }
33241 if (!argp3) {
33242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33243 }
33244 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33245 }
33246 {
33247 PyThreadState* __tstate = wxPyBeginAllowThreads();
33248 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33249 wxPyEndAllowThreads(__tstate);
33250 if (PyErr_Occurred()) SWIG_fail;
33251 }
33252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33253 return resultobj;
33254fail:
33255 return NULL;
33256}
33257
33258
33259SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33260 int argc;
33261 PyObject *argv[4];
33262
33263 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33264 --argc;
33265 if ((argc >= 0) && (argc <= 2)) {
33266 int _v = 0;
33267 if (argc > 1) {
33268 {
33269 {
33270 int res = SWIG_AsVal_int(argv[1], NULL);
33271 _v = SWIG_CheckState(res);
33272 }
33273 }
33274 if (!_v) goto check_1;
33275 }
33276 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33277 }
33278check_1:
33279
33280 if ((argc >= 2) && (argc <= 3)) {
33281 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33282 }
33283
33284fail:
33285 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33286 return NULL;
33287}
33288
33289
0085ce49
RD
33290SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33291 PyObject *resultobj = 0;
33292 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33293 wxTreeItemId result;
33294 void *argp1 = 0 ;
33295 int res1 = 0 ;
33296 PyObject *swig_obj[1] ;
33297
33298 if (!args) SWIG_fail;
33299 swig_obj[0] = args;
33300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33301 if (!SWIG_IsOK(res1)) {
33302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33303 }
33304 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33305 {
33306 PyThreadState* __tstate = wxPyBeginAllowThreads();
33307 result = ((wxTreeEvent const *)arg1)->GetItem();
33308 wxPyEndAllowThreads(__tstate);
33309 if (PyErr_Occurred()) SWIG_fail;
33310 }
33311 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33312 return resultobj;
33313fail:
33314 return NULL;
33315}
33316
33317
33318SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33319 PyObject *resultobj = 0;
33320 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33321 wxTreeItemId *arg2 = 0 ;
33322 void *argp1 = 0 ;
33323 int res1 = 0 ;
33324 void *argp2 = 0 ;
33325 int res2 = 0 ;
33326 PyObject * obj0 = 0 ;
33327 PyObject * obj1 = 0 ;
33328 char * kwnames[] = {
33329 (char *) "self",(char *) "item", NULL
33330 };
33331
33332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33334 if (!SWIG_IsOK(res1)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33336 }
33337 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33339 if (!SWIG_IsOK(res2)) {
33340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33341 }
33342 if (!argp2) {
33343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33344 }
33345 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33346 {
33347 PyThreadState* __tstate = wxPyBeginAllowThreads();
33348 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33349 wxPyEndAllowThreads(__tstate);
33350 if (PyErr_Occurred()) SWIG_fail;
33351 }
33352 resultobj = SWIG_Py_Void();
33353 return resultobj;
33354fail:
33355 return NULL;
2ef75293
RD
33356}
33357
33358
0085ce49
RD
33359SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33360 PyObject *resultobj = 0;
33361 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33362 wxTreeItemId result;
33363 void *argp1 = 0 ;
33364 int res1 = 0 ;
33365 PyObject *swig_obj[1] ;
33366
33367 if (!args) SWIG_fail;
33368 swig_obj[0] = args;
33369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33370 if (!SWIG_IsOK(res1)) {
33371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33372 }
33373 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33374 {
33375 PyThreadState* __tstate = wxPyBeginAllowThreads();
33376 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33377 wxPyEndAllowThreads(__tstate);
33378 if (PyErr_Occurred()) SWIG_fail;
33379 }
33380 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33381 return resultobj;
33382fail:
33383 return NULL;
33384}
33385
33386
33387SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33388 PyObject *resultobj = 0;
33389 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33390 wxTreeItemId *arg2 = 0 ;
33391 void *argp1 = 0 ;
33392 int res1 = 0 ;
33393 void *argp2 = 0 ;
33394 int res2 = 0 ;
33395 PyObject * obj0 = 0 ;
33396 PyObject * obj1 = 0 ;
33397 char * kwnames[] = {
33398 (char *) "self",(char *) "item", NULL
33399 };
33400
33401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33403 if (!SWIG_IsOK(res1)) {
33404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33405 }
33406 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33407 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33408 if (!SWIG_IsOK(res2)) {
33409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33410 }
33411 if (!argp2) {
33412 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33413 }
33414 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33415 {
33416 PyThreadState* __tstate = wxPyBeginAllowThreads();
33417 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33418 wxPyEndAllowThreads(__tstate);
33419 if (PyErr_Occurred()) SWIG_fail;
33420 }
33421 resultobj = SWIG_Py_Void();
33422 return resultobj;
33423fail:
33424 return NULL;
2ef75293
RD
33425}
33426
33427
0085ce49
RD
33428SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33429 PyObject *resultobj = 0;
33430 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33431 wxPoint result;
33432 void *argp1 = 0 ;
33433 int res1 = 0 ;
33434 PyObject *swig_obj[1] ;
33435
33436 if (!args) SWIG_fail;
33437 swig_obj[0] = args;
33438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33439 if (!SWIG_IsOK(res1)) {
33440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33441 }
33442 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33443 {
33444 PyThreadState* __tstate = wxPyBeginAllowThreads();
33445 result = ((wxTreeEvent const *)arg1)->GetPoint();
33446 wxPyEndAllowThreads(__tstate);
33447 if (PyErr_Occurred()) SWIG_fail;
33448 }
33449 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33450 return resultobj;
33451fail:
33452 return NULL;
33453}
33454
33455
33456SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33457 PyObject *resultobj = 0;
33458 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33459 wxPoint *arg2 = 0 ;
33460 void *argp1 = 0 ;
33461 int res1 = 0 ;
33462 wxPoint temp2 ;
33463 PyObject * obj0 = 0 ;
33464 PyObject * obj1 = 0 ;
33465 char * kwnames[] = {
33466 (char *) "self",(char *) "pt", NULL
33467 };
33468
33469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33471 if (!SWIG_IsOK(res1)) {
33472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33473 }
33474 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33475 {
33476 arg2 = &temp2;
33477 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33478 }
33479 {
33480 PyThreadState* __tstate = wxPyBeginAllowThreads();
33481 (arg1)->SetPoint((wxPoint const &)*arg2);
33482 wxPyEndAllowThreads(__tstate);
33483 if (PyErr_Occurred()) SWIG_fail;
33484 }
33485 resultobj = SWIG_Py_Void();
33486 return resultobj;
33487fail:
33488 return NULL;
d14a1e28
RD
33489}
33490
33491
0085ce49
RD
33492SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33493 PyObject *resultobj = 0;
33494 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33495 wxKeyEvent *result = 0 ;
33496 void *argp1 = 0 ;
33497 int res1 = 0 ;
33498 PyObject *swig_obj[1] ;
33499
33500 if (!args) SWIG_fail;
33501 swig_obj[0] = args;
33502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33503 if (!SWIG_IsOK(res1)) {
33504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33505 }
33506 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33507 {
33508 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 33509 {
0085ce49
RD
33510 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33511 result = (wxKeyEvent *) &_result_ref;
d14a1e28 33512 }
0085ce49
RD
33513 wxPyEndAllowThreads(__tstate);
33514 if (PyErr_Occurred()) SWIG_fail;
33515 }
33516 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33517 return resultobj;
33518fail:
33519 return NULL;
d14a1e28
RD
33520}
33521
33522
0085ce49
RD
33523SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33524 PyObject *resultobj = 0;
33525 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33526 int result;
33527 void *argp1 = 0 ;
33528 int res1 = 0 ;
33529 PyObject *swig_obj[1] ;
33530
33531 if (!args) SWIG_fail;
33532 swig_obj[0] = args;
33533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33534 if (!SWIG_IsOK(res1)) {
33535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33536 }
33537 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33538 {
33539 PyThreadState* __tstate = wxPyBeginAllowThreads();
33540 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33541 wxPyEndAllowThreads(__tstate);
33542 if (PyErr_Occurred()) SWIG_fail;
33543 }
33544 resultobj = SWIG_From_int(static_cast< int >(result));
33545 return resultobj;
33546fail:
33547 return NULL;
33548}
33549
33550
33551SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33552 PyObject *resultobj = 0;
33553 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33554 wxKeyEvent *arg2 = 0 ;
33555 void *argp1 = 0 ;
33556 int res1 = 0 ;
33557 void *argp2 = 0 ;
33558 int res2 = 0 ;
33559 PyObject * obj0 = 0 ;
33560 PyObject * obj1 = 0 ;
33561 char * kwnames[] = {
33562 (char *) "self",(char *) "evt", NULL
33563 };
33564
33565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33567 if (!SWIG_IsOK(res1)) {
33568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33569 }
33570 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33571 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33572 if (!SWIG_IsOK(res2)) {
33573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33574 }
33575 if (!argp2) {
33576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33577 }
33578 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33579 {
33580 PyThreadState* __tstate = wxPyBeginAllowThreads();
33581 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33582 wxPyEndAllowThreads(__tstate);
33583 if (PyErr_Occurred()) SWIG_fail;
33584 }
33585 resultobj = SWIG_Py_Void();
33586 return resultobj;
33587fail:
33588 return NULL;
d14a1e28
RD
33589}
33590
33591
0085ce49
RD
33592SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33593 PyObject *resultobj = 0;
33594 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33595 wxString *result = 0 ;
33596 void *argp1 = 0 ;
33597 int res1 = 0 ;
33598 PyObject *swig_obj[1] ;
33599
33600 if (!args) SWIG_fail;
33601 swig_obj[0] = args;
33602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33603 if (!SWIG_IsOK(res1)) {
33604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33605 }
33606 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33607 {
33608 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 33609 {
0085ce49
RD
33610 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33611 result = (wxString *) &_result_ref;
093d3ff1 33612 }
0085ce49
RD
33613 wxPyEndAllowThreads(__tstate);
33614 if (PyErr_Occurred()) SWIG_fail;
33615 }
33616 {
33617#if wxUSE_UNICODE
33618 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33619#else
33620 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33621#endif
33622 }
33623 return resultobj;
33624fail:
33625 return NULL;
33626}
33627
33628
33629SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33630 PyObject *resultobj = 0;
33631 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33632 wxString *arg2 = 0 ;
33633 void *argp1 = 0 ;
33634 int res1 = 0 ;
33635 bool temp2 = false ;
33636 PyObject * obj0 = 0 ;
33637 PyObject * obj1 = 0 ;
33638 char * kwnames[] = {
33639 (char *) "self",(char *) "label", NULL
33640 };
33641
33642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33644 if (!SWIG_IsOK(res1)) {
33645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33646 }
33647 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33648 {
33649 arg2 = wxString_in_helper(obj1);
33650 if (arg2 == NULL) SWIG_fail;
33651 temp2 = true;
33652 }
33653 {
33654 PyThreadState* __tstate = wxPyBeginAllowThreads();
33655 (arg1)->SetLabel((wxString const &)*arg2);
33656 wxPyEndAllowThreads(__tstate);
33657 if (PyErr_Occurred()) SWIG_fail;
33658 }
33659 resultobj = SWIG_Py_Void();
33660 {
33661 if (temp2)
33662 delete arg2;
33663 }
33664 return resultobj;
33665fail:
33666 {
33667 if (temp2)
33668 delete arg2;
33669 }
33670 return NULL;
d14a1e28
RD
33671}
33672
33673
0085ce49
RD
33674SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33675 PyObject *resultobj = 0;
33676 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33677 bool result;
33678 void *argp1 = 0 ;
33679 int res1 = 0 ;
33680 PyObject *swig_obj[1] ;
33681
33682 if (!args) SWIG_fail;
33683 swig_obj[0] = args;
33684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33685 if (!SWIG_IsOK(res1)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33687 }
33688 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33689 {
33690 PyThreadState* __tstate = wxPyBeginAllowThreads();
33691 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33692 wxPyEndAllowThreads(__tstate);
33693 if (PyErr_Occurred()) SWIG_fail;
33694 }
33695 {
33696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33697 }
33698 return resultobj;
33699fail:
33700 return NULL;
33701}
33702
33703
33704SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33705 PyObject *resultobj = 0;
33706 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33707 bool arg2 ;
33708 void *argp1 = 0 ;
33709 int res1 = 0 ;
33710 bool val2 ;
33711 int ecode2 = 0 ;
33712 PyObject * obj0 = 0 ;
33713 PyObject * obj1 = 0 ;
33714 char * kwnames[] = {
33715 (char *) "self",(char *) "editCancelled", NULL
33716 };
33717
33718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33720 if (!SWIG_IsOK(res1)) {
33721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33722 }
33723 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33724 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33725 if (!SWIG_IsOK(ecode2)) {
33726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33727 }
33728 arg2 = static_cast< bool >(val2);
33729 {
33730 PyThreadState* __tstate = wxPyBeginAllowThreads();
33731 (arg1)->SetEditCanceled(arg2);
33732 wxPyEndAllowThreads(__tstate);
33733 if (PyErr_Occurred()) SWIG_fail;
33734 }
33735 resultobj = SWIG_Py_Void();
33736 return resultobj;
33737fail:
33738 return NULL;
33739}
33740
33741
33742SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33743 PyObject *resultobj = 0;
33744 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33745 wxString *arg2 = 0 ;
33746 void *argp1 = 0 ;
33747 int res1 = 0 ;
33748 bool temp2 = false ;
33749 PyObject * obj0 = 0 ;
33750 PyObject * obj1 = 0 ;
33751 char * kwnames[] = {
33752 (char *) "self",(char *) "toolTip", NULL
33753 };
33754
33755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33757 if (!SWIG_IsOK(res1)) {
33758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33759 }
33760 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33761 {
33762 arg2 = wxString_in_helper(obj1);
33763 if (arg2 == NULL) SWIG_fail;
33764 temp2 = true;
33765 }
33766 {
33767 PyThreadState* __tstate = wxPyBeginAllowThreads();
33768 (arg1)->SetToolTip((wxString const &)*arg2);
33769 wxPyEndAllowThreads(__tstate);
33770 if (PyErr_Occurred()) SWIG_fail;
33771 }
33772 resultobj = SWIG_Py_Void();
33773 {
33774 if (temp2)
33775 delete arg2;
33776 }
33777 return resultobj;
33778fail:
33779 {
33780 if (temp2)
33781 delete arg2;
33782 }
33783 return NULL;
d14a1e28
RD
33784}
33785
33786
0085ce49
RD
33787SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33788 PyObject *resultobj = 0;
33789 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33790 wxString result;
33791 void *argp1 = 0 ;
33792 int res1 = 0 ;
33793 PyObject *swig_obj[1] ;
33794
33795 if (!args) SWIG_fail;
33796 swig_obj[0] = args;
33797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33798 if (!SWIG_IsOK(res1)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33800 }
33801 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33802 {
33803 PyThreadState* __tstate = wxPyBeginAllowThreads();
33804 result = (arg1)->GetToolTip();
33805 wxPyEndAllowThreads(__tstate);
33806 if (PyErr_Occurred()) SWIG_fail;
33807 }
33808 {
33809#if wxUSE_UNICODE
33810 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33811#else
33812 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33813#endif
33814 }
33815 return resultobj;
33816fail:
33817 return NULL;
33818}
33819
33820
33821SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33822 PyObject *obj;
33823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33824 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33825 return SWIG_Py_Void();
33826}
33827
33828SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33829 return SWIG_Python_InitShadowInstance(args);
33830}
33831
33832SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33833 PyObject *resultobj = 0;
33834 wxWindow *arg1 = (wxWindow *) 0 ;
33835 int arg2 = (int) -1 ;
33836 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33837 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33838 wxSize const &arg4_defvalue = wxDefaultSize ;
33839 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33840 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33841 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33842 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33843 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33844 wxString *arg7 = (wxString *) &arg7_defvalue ;
33845 wxPyTreeCtrl *result = 0 ;
33846 void *argp1 = 0 ;
33847 int res1 = 0 ;
33848 int val2 ;
33849 int ecode2 = 0 ;
33850 wxPoint temp3 ;
33851 wxSize temp4 ;
33852 long val5 ;
33853 int ecode5 = 0 ;
33854 void *argp6 = 0 ;
33855 int res6 = 0 ;
33856 bool temp7 = false ;
33857 PyObject * obj0 = 0 ;
33858 PyObject * obj1 = 0 ;
33859 PyObject * obj2 = 0 ;
33860 PyObject * obj3 = 0 ;
33861 PyObject * obj4 = 0 ;
33862 PyObject * obj5 = 0 ;
33863 PyObject * obj6 = 0 ;
33864 char * kwnames[] = {
33865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33866 };
33867
33868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33870 if (!SWIG_IsOK(res1)) {
33871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33872 }
33873 arg1 = reinterpret_cast< wxWindow * >(argp1);
33874 if (obj1) {
33875 ecode2 = SWIG_AsVal_int(obj1, &val2);
33876 if (!SWIG_IsOK(ecode2)) {
33877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33878 }
33879 arg2 = static_cast< int >(val2);
33880 }
33881 if (obj2) {
d14a1e28 33882 {
0085ce49
RD
33883 arg3 = &temp3;
33884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 33885 }
0085ce49
RD
33886 }
33887 if (obj3) {
093d3ff1 33888 {
0085ce49
RD
33889 arg4 = &temp4;
33890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 33891 }
0085ce49
RD
33892 }
33893 if (obj4) {
33894 ecode5 = SWIG_AsVal_long(obj4, &val5);
33895 if (!SWIG_IsOK(ecode5)) {
33896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33897 }
33898 arg5 = static_cast< long >(val5);
33899 }
33900 if (obj5) {
33901 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33902 if (!SWIG_IsOK(res6)) {
33903 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 33904 }
0085ce49
RD
33905 if (!argp6) {
33906 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 33907 }
0085ce49
RD
33908 arg6 = reinterpret_cast< wxValidator * >(argp6);
33909 }
33910 if (obj6) {
4f89f6a3 33911 {
0085ce49
RD
33912 arg7 = wxString_in_helper(obj6);
33913 if (arg7 == NULL) SWIG_fail;
33914 temp7 = true;
4f89f6a3 33915 }
0085ce49
RD
33916 }
33917 {
33918 if (!wxPyCheckForApp()) SWIG_fail;
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33921 wxPyEndAllowThreads(__tstate);
33922 if (PyErr_Occurred()) SWIG_fail;
33923 }
33924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33925 {
33926 if (temp7)
33927 delete arg7;
33928 }
33929 return resultobj;
33930fail:
33931 {
33932 if (temp7)
33933 delete arg7;
33934 }
33935 return NULL;
d14a1e28
RD
33936}
33937
33938
0085ce49
RD
33939SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33940 PyObject *resultobj = 0;
33941 wxPyTreeCtrl *result = 0 ;
33942
33943 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33944 {
33945 if (!wxPyCheckForApp()) SWIG_fail;
33946 PyThreadState* __tstate = wxPyBeginAllowThreads();
33947 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33948 wxPyEndAllowThreads(__tstate);
33949 if (PyErr_Occurred()) SWIG_fail;
33950 }
33951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33952 return resultobj;
33953fail:
33954 return NULL;
33955}
33956
33957
33958SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33959 PyObject *resultobj = 0;
33960 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33961 wxWindow *arg2 = (wxWindow *) 0 ;
33962 int arg3 = (int) -1 ;
33963 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33964 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33965 wxSize const &arg5_defvalue = wxDefaultSize ;
33966 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33967 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33968 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33969 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33970 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33971 wxString *arg8 = (wxString *) &arg8_defvalue ;
33972 bool result;
33973 void *argp1 = 0 ;
33974 int res1 = 0 ;
33975 void *argp2 = 0 ;
33976 int res2 = 0 ;
33977 int val3 ;
33978 int ecode3 = 0 ;
33979 wxPoint temp4 ;
33980 wxSize temp5 ;
33981 long val6 ;
33982 int ecode6 = 0 ;
33983 void *argp7 = 0 ;
33984 int res7 = 0 ;
33985 bool temp8 = false ;
33986 PyObject * obj0 = 0 ;
33987 PyObject * obj1 = 0 ;
33988 PyObject * obj2 = 0 ;
33989 PyObject * obj3 = 0 ;
33990 PyObject * obj4 = 0 ;
33991 PyObject * obj5 = 0 ;
33992 PyObject * obj6 = 0 ;
33993 PyObject * obj7 = 0 ;
33994 char * kwnames[] = {
33995 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33996 };
33997
33998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34000 if (!SWIG_IsOK(res1)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34002 }
34003 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34005 if (!SWIG_IsOK(res2)) {
34006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34007 }
34008 arg2 = reinterpret_cast< wxWindow * >(argp2);
34009 if (obj2) {
34010 ecode3 = SWIG_AsVal_int(obj2, &val3);
34011 if (!SWIG_IsOK(ecode3)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34013 }
34014 arg3 = static_cast< int >(val3);
34015 }
34016 if (obj3) {
4f89f6a3 34017 {
0085ce49
RD
34018 arg4 = &temp4;
34019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 34020 }
0085ce49
RD
34021 }
34022 if (obj4) {
d14a1e28 34023 {
0085ce49
RD
34024 arg5 = &temp5;
34025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 34026 }
0085ce49
RD
34027 }
34028 if (obj5) {
34029 ecode6 = SWIG_AsVal_long(obj5, &val6);
34030 if (!SWIG_IsOK(ecode6)) {
34031 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34032 }
34033 arg6 = static_cast< long >(val6);
34034 }
34035 if (obj6) {
34036 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34037 if (!SWIG_IsOK(res7)) {
34038 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 34039 }
0085ce49
RD
34040 if (!argp7) {
34041 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 34042 }
0085ce49
RD
34043 arg7 = reinterpret_cast< wxValidator * >(argp7);
34044 }
34045 if (obj7) {
4276dc52 34046 {
0085ce49
RD
34047 arg8 = wxString_in_helper(obj7);
34048 if (arg8 == NULL) SWIG_fail;
34049 temp8 = true;
4276dc52 34050 }
0085ce49
RD
34051 }
34052 {
34053 PyThreadState* __tstate = wxPyBeginAllowThreads();
34054 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34055 wxPyEndAllowThreads(__tstate);
34056 if (PyErr_Occurred()) SWIG_fail;
34057 }
34058 {
34059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34060 }
34061 {
34062 if (temp8)
34063 delete arg8;
34064 }
34065 return resultobj;
34066fail:
34067 {
34068 if (temp8)
34069 delete arg8;
34070 }
34071 return NULL;
34072}
34073
34074
34075SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34076 PyObject *resultobj = 0;
34077 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34078 PyObject *arg2 = (PyObject *) 0 ;
34079 PyObject *arg3 = (PyObject *) 0 ;
34080 void *argp1 = 0 ;
34081 int res1 = 0 ;
34082 PyObject * obj0 = 0 ;
34083 PyObject * obj1 = 0 ;
34084 PyObject * obj2 = 0 ;
34085 char * kwnames[] = {
34086 (char *) "self",(char *) "self",(char *) "_class", NULL
34087 };
34088
34089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34091 if (!SWIG_IsOK(res1)) {
34092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34093 }
34094 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34095 arg2 = obj1;
34096 arg3 = obj2;
34097 {
34098 PyThreadState* __tstate = wxPyBeginAllowThreads();
34099 (arg1)->_setCallbackInfo(arg2,arg3);
34100 wxPyEndAllowThreads(__tstate);
34101 if (PyErr_Occurred()) SWIG_fail;
34102 }
34103 resultobj = SWIG_Py_Void();
34104 return resultobj;
34105fail:
34106 return NULL;
d14a1e28
RD
34107}
34108
34109
0085ce49
RD
34110SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34111 PyObject *resultobj = 0;
34112 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 34113 unsigned int result;
0085ce49
RD
34114 void *argp1 = 0 ;
34115 int res1 = 0 ;
34116 PyObject *swig_obj[1] ;
34117
34118 if (!args) SWIG_fail;
34119 swig_obj[0] = args;
34120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34121 if (!SWIG_IsOK(res1)) {
34122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34123 }
34124 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34125 {
34126 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 34127 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
0085ce49
RD
34128 wxPyEndAllowThreads(__tstate);
34129 if (PyErr_Occurred()) SWIG_fail;
34130 }
e9d6f3a4 34131 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
34132 return resultobj;
34133fail:
34134 return NULL;
d14a1e28
RD
34135}
34136
34137
0085ce49
RD
34138SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34139 PyObject *resultobj = 0;
34140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34141 unsigned int result;
34142 void *argp1 = 0 ;
34143 int res1 = 0 ;
34144 PyObject *swig_obj[1] ;
34145
34146 if (!args) SWIG_fail;
34147 swig_obj[0] = args;
34148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34149 if (!SWIG_IsOK(res1)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34151 }
34152 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34153 {
34154 PyThreadState* __tstate = wxPyBeginAllowThreads();
34155 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34156 wxPyEndAllowThreads(__tstate);
34157 if (PyErr_Occurred()) SWIG_fail;
34158 }
34159 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34160 return resultobj;
34161fail:
34162 return NULL;
34163}
34164
34165
34166SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34167 PyObject *resultobj = 0;
34168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34169 unsigned int arg2 ;
34170 void *argp1 = 0 ;
34171 int res1 = 0 ;
34172 unsigned int val2 ;
34173 int ecode2 = 0 ;
34174 PyObject * obj0 = 0 ;
34175 PyObject * obj1 = 0 ;
34176 char * kwnames[] = {
34177 (char *) "self",(char *) "indent", NULL
34178 };
34179
34180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34182 if (!SWIG_IsOK(res1)) {
34183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34184 }
34185 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34186 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34187 if (!SWIG_IsOK(ecode2)) {
34188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34189 }
34190 arg2 = static_cast< unsigned int >(val2);
34191 {
34192 PyThreadState* __tstate = wxPyBeginAllowThreads();
34193 (arg1)->SetIndent(arg2);
34194 wxPyEndAllowThreads(__tstate);
34195 if (PyErr_Occurred()) SWIG_fail;
34196 }
34197 resultobj = SWIG_Py_Void();
34198 return resultobj;
34199fail:
34200 return NULL;
d14a1e28
RD
34201}
34202
34203
0085ce49
RD
34204SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34205 PyObject *resultobj = 0;
34206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34207 unsigned int result;
34208 void *argp1 = 0 ;
34209 int res1 = 0 ;
34210 PyObject *swig_obj[1] ;
34211
34212 if (!args) SWIG_fail;
34213 swig_obj[0] = args;
34214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34215 if (!SWIG_IsOK(res1)) {
34216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34217 }
34218 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34219 {
34220 PyThreadState* __tstate = wxPyBeginAllowThreads();
34221 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34222 wxPyEndAllowThreads(__tstate);
34223 if (PyErr_Occurred()) SWIG_fail;
34224 }
34225 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34226 return resultobj;
34227fail:
34228 return NULL;
34229}
34230
34231
34232SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34233 PyObject *resultobj = 0;
34234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34235 unsigned int arg2 ;
34236 void *argp1 = 0 ;
34237 int res1 = 0 ;
34238 unsigned int val2 ;
34239 int ecode2 = 0 ;
34240 PyObject * obj0 = 0 ;
34241 PyObject * obj1 = 0 ;
34242 char * kwnames[] = {
34243 (char *) "self",(char *) "spacing", NULL
34244 };
34245
34246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",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_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34250 }
34251 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34252 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34253 if (!SWIG_IsOK(ecode2)) {
34254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34255 }
34256 arg2 = static_cast< unsigned int >(val2);
34257 {
34258 PyThreadState* __tstate = wxPyBeginAllowThreads();
34259 (arg1)->SetSpacing(arg2);
34260 wxPyEndAllowThreads(__tstate);
34261 if (PyErr_Occurred()) SWIG_fail;
34262 }
34263 resultobj = SWIG_Py_Void();
34264 return resultobj;
34265fail:
34266 return NULL;
d14a1e28
RD
34267}
34268
34269
0085ce49
RD
34270SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34271 PyObject *resultobj = 0;
34272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34273 wxImageList *result = 0 ;
34274 void *argp1 = 0 ;
34275 int res1 = 0 ;
34276 PyObject *swig_obj[1] ;
34277
34278 if (!args) SWIG_fail;
34279 swig_obj[0] = args;
34280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34281 if (!SWIG_IsOK(res1)) {
34282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34283 }
34284 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34285 {
34286 PyThreadState* __tstate = wxPyBeginAllowThreads();
34287 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34288 wxPyEndAllowThreads(__tstate);
34289 if (PyErr_Occurred()) SWIG_fail;
34290 }
3ecece7e
RD
34291 {
34292 resultobj = wxPyMake_wxObject(result, (bool)0);
34293 }
0085ce49
RD
34294 return resultobj;
34295fail:
34296 return NULL;
d14a1e28
RD
34297}
34298
34299
0085ce49
RD
34300SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34301 PyObject *resultobj = 0;
34302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34303 wxImageList *result = 0 ;
34304 void *argp1 = 0 ;
34305 int res1 = 0 ;
34306 PyObject *swig_obj[1] ;
34307
34308 if (!args) SWIG_fail;
34309 swig_obj[0] = args;
34310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34311 if (!SWIG_IsOK(res1)) {
34312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34313 }
34314 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34315 {
34316 PyThreadState* __tstate = wxPyBeginAllowThreads();
34317 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34318 wxPyEndAllowThreads(__tstate);
34319 if (PyErr_Occurred()) SWIG_fail;
34320 }
3ecece7e
RD
34321 {
34322 resultobj = wxPyMake_wxObject(result, (bool)0);
34323 }
0085ce49
RD
34324 return resultobj;
34325fail:
34326 return NULL;
34327}
34328
34329
34330SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34331 PyObject *resultobj = 0;
34332 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34333 wxImageList *arg2 = (wxImageList *) 0 ;
34334 void *argp1 = 0 ;
34335 int res1 = 0 ;
34336 void *argp2 = 0 ;
34337 int res2 = 0 ;
34338 PyObject * obj0 = 0 ;
34339 PyObject * obj1 = 0 ;
34340 char * kwnames[] = {
34341 (char *) "self",(char *) "imageList", NULL
34342 };
34343
34344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34346 if (!SWIG_IsOK(res1)) {
34347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34348 }
34349 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34351 if (!SWIG_IsOK(res2)) {
34352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34353 }
34354 arg2 = reinterpret_cast< wxImageList * >(argp2);
34355 {
34356 PyThreadState* __tstate = wxPyBeginAllowThreads();
34357 (arg1)->SetImageList(arg2);
34358 wxPyEndAllowThreads(__tstate);
34359 if (PyErr_Occurred()) SWIG_fail;
34360 }
34361 resultobj = SWIG_Py_Void();
34362 return resultobj;
34363fail:
34364 return NULL;
34365}
34366
34367
34368SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34369 PyObject *resultobj = 0;
34370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34371 wxImageList *arg2 = (wxImageList *) 0 ;
34372 void *argp1 = 0 ;
34373 int res1 = 0 ;
34374 void *argp2 = 0 ;
34375 int res2 = 0 ;
34376 PyObject * obj0 = 0 ;
34377 PyObject * obj1 = 0 ;
34378 char * kwnames[] = {
34379 (char *) "self",(char *) "imageList", NULL
34380 };
34381
34382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34384 if (!SWIG_IsOK(res1)) {
34385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34386 }
34387 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34389 if (!SWIG_IsOK(res2)) {
34390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34391 }
34392 arg2 = reinterpret_cast< wxImageList * >(argp2);
34393 {
34394 PyThreadState* __tstate = wxPyBeginAllowThreads();
34395 (arg1)->SetStateImageList(arg2);
34396 wxPyEndAllowThreads(__tstate);
34397 if (PyErr_Occurred()) SWIG_fail;
34398 }
34399 resultobj = SWIG_Py_Void();
34400 return resultobj;
34401fail:
34402 return NULL;
34403}
34404
34405
34406SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34407 PyObject *resultobj = 0;
34408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34409 wxImageList *arg2 = (wxImageList *) 0 ;
34410 void *argp1 = 0 ;
34411 int res1 = 0 ;
34412 int res2 = 0 ;
34413 PyObject * obj0 = 0 ;
34414 PyObject * obj1 = 0 ;
34415 char * kwnames[] = {
34416 (char *) "self",(char *) "imageList", NULL
34417 };
34418
34419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34421 if (!SWIG_IsOK(res1)) {
34422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34423 }
34424 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34425 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34426 if (!SWIG_IsOK(res2)) {
34427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34428 }
34429 {
34430 PyThreadState* __tstate = wxPyBeginAllowThreads();
34431 (arg1)->AssignImageList(arg2);
34432 wxPyEndAllowThreads(__tstate);
34433 if (PyErr_Occurred()) SWIG_fail;
34434 }
34435 resultobj = SWIG_Py_Void();
34436 return resultobj;
34437fail:
34438 return NULL;
34439}
34440
34441
34442SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34443 PyObject *resultobj = 0;
34444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34445 wxImageList *arg2 = (wxImageList *) 0 ;
34446 void *argp1 = 0 ;
34447 int res1 = 0 ;
34448 int res2 = 0 ;
34449 PyObject * obj0 = 0 ;
34450 PyObject * obj1 = 0 ;
34451 char * kwnames[] = {
34452 (char *) "self",(char *) "imageList", NULL
34453 };
34454
34455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34457 if (!SWIG_IsOK(res1)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34459 }
34460 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34461 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34462 if (!SWIG_IsOK(res2)) {
34463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34464 }
34465 {
34466 PyThreadState* __tstate = wxPyBeginAllowThreads();
34467 (arg1)->AssignStateImageList(arg2);
34468 wxPyEndAllowThreads(__tstate);
34469 if (PyErr_Occurred()) SWIG_fail;
34470 }
34471 resultobj = SWIG_Py_Void();
34472 return resultobj;
34473fail:
34474 return NULL;
34475}
34476
34477
34478SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34479 PyObject *resultobj = 0;
34480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34481 wxTreeItemId *arg2 = 0 ;
34482 wxString result;
34483 void *argp1 = 0 ;
34484 int res1 = 0 ;
34485 void *argp2 = 0 ;
34486 int res2 = 0 ;
34487 PyObject * obj0 = 0 ;
34488 PyObject * obj1 = 0 ;
34489 char * kwnames[] = {
34490 (char *) "self",(char *) "item", NULL
34491 };
34492
34493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34495 if (!SWIG_IsOK(res1)) {
34496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34497 }
34498 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34499 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34500 if (!SWIG_IsOK(res2)) {
34501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34502 }
34503 if (!argp2) {
34504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34505 }
34506 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34507 {
34508 PyThreadState* __tstate = wxPyBeginAllowThreads();
34509 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34510 wxPyEndAllowThreads(__tstate);
34511 if (PyErr_Occurred()) SWIG_fail;
34512 }
34513 {
d14a1e28 34514#if wxUSE_UNICODE
0085ce49 34515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 34516#else
0085ce49 34517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 34518#endif
0085ce49
RD
34519 }
34520 return resultobj;
34521fail:
34522 return NULL;
34523}
34524
34525
34526SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34527 PyObject *resultobj = 0;
34528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34529 wxTreeItemId *arg2 = 0 ;
34530 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34531 int result;
34532 void *argp1 = 0 ;
34533 int res1 = 0 ;
34534 void *argp2 = 0 ;
34535 int res2 = 0 ;
34536 int val3 ;
34537 int ecode3 = 0 ;
34538 PyObject * obj0 = 0 ;
34539 PyObject * obj1 = 0 ;
34540 PyObject * obj2 = 0 ;
34541 char * kwnames[] = {
34542 (char *) "self",(char *) "item",(char *) "which", NULL
34543 };
34544
34545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34547 if (!SWIG_IsOK(res1)) {
34548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34549 }
34550 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34551 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34552 if (!SWIG_IsOK(res2)) {
34553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34554 }
34555 if (!argp2) {
34556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34557 }
34558 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34559 if (obj2) {
34560 ecode3 = SWIG_AsVal_int(obj2, &val3);
34561 if (!SWIG_IsOK(ecode3)) {
34562 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34563 }
34564 arg3 = static_cast< wxTreeItemIcon >(val3);
34565 }
34566 {
34567 PyThreadState* __tstate = wxPyBeginAllowThreads();
34568 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34569 wxPyEndAllowThreads(__tstate);
34570 if (PyErr_Occurred()) SWIG_fail;
34571 }
34572 resultobj = SWIG_From_int(static_cast< int >(result));
34573 return resultobj;
34574fail:
34575 return NULL;
34576}
34577
34578
34579SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34580 PyObject *resultobj = 0;
34581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34582 wxTreeItemId *arg2 = 0 ;
34583 wxPyTreeItemData *result = 0 ;
34584 void *argp1 = 0 ;
34585 int res1 = 0 ;
34586 void *argp2 = 0 ;
34587 int res2 = 0 ;
34588 PyObject * obj0 = 0 ;
34589 PyObject * obj1 = 0 ;
34590 char * kwnames[] = {
34591 (char *) "self",(char *) "item", NULL
34592 };
34593
34594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34596 if (!SWIG_IsOK(res1)) {
34597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34598 }
34599 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34600 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34601 if (!SWIG_IsOK(res2)) {
34602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 }
34604 if (!argp2) {
34605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34606 }
34607 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34608 {
34609 PyThreadState* __tstate = wxPyBeginAllowThreads();
34610 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34611 wxPyEndAllowThreads(__tstate);
34612 if (PyErr_Occurred()) SWIG_fail;
34613 }
34614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34615 return resultobj;
34616fail:
34617 return NULL;
34618}
34619
34620
34621SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34622 PyObject *resultobj = 0;
34623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34624 wxTreeItemId *arg2 = 0 ;
34625 PyObject *result = 0 ;
34626 void *argp1 = 0 ;
34627 int res1 = 0 ;
34628 void *argp2 = 0 ;
34629 int res2 = 0 ;
34630 PyObject * obj0 = 0 ;
34631 PyObject * obj1 = 0 ;
34632 char * kwnames[] = {
34633 (char *) "self",(char *) "item", NULL
34634 };
34635
34636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34638 if (!SWIG_IsOK(res1)) {
34639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34640 }
34641 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34642 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34643 if (!SWIG_IsOK(res2)) {
34644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34645 }
34646 if (!argp2) {
34647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34648 }
34649 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34650 {
34651 PyThreadState* __tstate = wxPyBeginAllowThreads();
34652 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34653 wxPyEndAllowThreads(__tstate);
34654 if (PyErr_Occurred()) SWIG_fail;
34655 }
34656 resultobj = result;
34657 return resultobj;
34658fail:
34659 return NULL;
34660}
34661
34662
34663SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34664 PyObject *resultobj = 0;
34665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34666 wxTreeItemId *arg2 = 0 ;
34667 wxColour result;
34668 void *argp1 = 0 ;
34669 int res1 = 0 ;
34670 void *argp2 = 0 ;
34671 int res2 = 0 ;
34672 PyObject * obj0 = 0 ;
34673 PyObject * obj1 = 0 ;
34674 char * kwnames[] = {
34675 (char *) "self",(char *) "item", NULL
34676 };
34677
34678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34680 if (!SWIG_IsOK(res1)) {
34681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34682 }
34683 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34684 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34685 if (!SWIG_IsOK(res2)) {
34686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34687 }
34688 if (!argp2) {
34689 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34690 }
34691 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34692 {
34693 PyThreadState* __tstate = wxPyBeginAllowThreads();
34694 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34695 wxPyEndAllowThreads(__tstate);
34696 if (PyErr_Occurred()) SWIG_fail;
34697 }
34698 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34699 return resultobj;
34700fail:
34701 return NULL;
34702}
34703
34704
34705SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34706 PyObject *resultobj = 0;
34707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34708 wxTreeItemId *arg2 = 0 ;
34709 wxColour result;
34710 void *argp1 = 0 ;
34711 int res1 = 0 ;
34712 void *argp2 = 0 ;
34713 int res2 = 0 ;
34714 PyObject * obj0 = 0 ;
34715 PyObject * obj1 = 0 ;
34716 char * kwnames[] = {
34717 (char *) "self",(char *) "item", NULL
34718 };
34719
34720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34722 if (!SWIG_IsOK(res1)) {
34723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34724 }
34725 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34726 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34727 if (!SWIG_IsOK(res2)) {
34728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 }
34730 if (!argp2) {
34731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34732 }
34733 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34734 {
34735 PyThreadState* __tstate = wxPyBeginAllowThreads();
34736 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34737 wxPyEndAllowThreads(__tstate);
34738 if (PyErr_Occurred()) SWIG_fail;
34739 }
34740 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34741 return resultobj;
34742fail:
34743 return NULL;
34744}
34745
34746
34747SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34748 PyObject *resultobj = 0;
34749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34750 wxTreeItemId *arg2 = 0 ;
34751 wxFont result;
34752 void *argp1 = 0 ;
34753 int res1 = 0 ;
34754 void *argp2 = 0 ;
34755 int res2 = 0 ;
34756 PyObject * obj0 = 0 ;
34757 PyObject * obj1 = 0 ;
34758 char * kwnames[] = {
34759 (char *) "self",(char *) "item", NULL
34760 };
34761
34762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34764 if (!SWIG_IsOK(res1)) {
34765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34766 }
34767 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34768 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34769 if (!SWIG_IsOK(res2)) {
34770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34771 }
34772 if (!argp2) {
34773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34774 }
34775 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34776 {
34777 PyThreadState* __tstate = wxPyBeginAllowThreads();
34778 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34779 wxPyEndAllowThreads(__tstate);
34780 if (PyErr_Occurred()) SWIG_fail;
34781 }
34782 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34783 return resultobj;
34784fail:
34785 return NULL;
34786}
34787
34788
34789SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34790 PyObject *resultobj = 0;
34791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34792 wxTreeItemId *arg2 = 0 ;
34793 wxString *arg3 = 0 ;
34794 void *argp1 = 0 ;
34795 int res1 = 0 ;
34796 void *argp2 = 0 ;
34797 int res2 = 0 ;
34798 bool temp3 = false ;
34799 PyObject * obj0 = 0 ;
34800 PyObject * obj1 = 0 ;
34801 PyObject * obj2 = 0 ;
34802 char * kwnames[] = {
34803 (char *) "self",(char *) "item",(char *) "text", NULL
34804 };
34805
34806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34808 if (!SWIG_IsOK(res1)) {
34809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34810 }
34811 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34812 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34813 if (!SWIG_IsOK(res2)) {
34814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34815 }
34816 if (!argp2) {
34817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34818 }
34819 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34820 {
34821 arg3 = wxString_in_helper(obj2);
34822 if (arg3 == NULL) SWIG_fail;
34823 temp3 = true;
34824 }
34825 {
34826 PyThreadState* __tstate = wxPyBeginAllowThreads();
34827 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34828 wxPyEndAllowThreads(__tstate);
34829 if (PyErr_Occurred()) SWIG_fail;
34830 }
34831 resultobj = SWIG_Py_Void();
34832 {
34833 if (temp3)
34834 delete arg3;
34835 }
34836 return resultobj;
34837fail:
34838 {
34839 if (temp3)
34840 delete arg3;
34841 }
34842 return NULL;
34843}
34844
34845
34846SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34847 PyObject *resultobj = 0;
34848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34849 wxTreeItemId *arg2 = 0 ;
34850 int arg3 ;
34851 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34852 void *argp1 = 0 ;
34853 int res1 = 0 ;
34854 void *argp2 = 0 ;
34855 int res2 = 0 ;
34856 int val3 ;
34857 int ecode3 = 0 ;
34858 int val4 ;
34859 int ecode4 = 0 ;
34860 PyObject * obj0 = 0 ;
34861 PyObject * obj1 = 0 ;
34862 PyObject * obj2 = 0 ;
34863 PyObject * obj3 = 0 ;
34864 char * kwnames[] = {
34865 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34866 };
34867
34868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34870 if (!SWIG_IsOK(res1)) {
34871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34872 }
34873 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34874 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34875 if (!SWIG_IsOK(res2)) {
34876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34877 }
34878 if (!argp2) {
34879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34880 }
34881 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34882 ecode3 = SWIG_AsVal_int(obj2, &val3);
34883 if (!SWIG_IsOK(ecode3)) {
34884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34885 }
34886 arg3 = static_cast< int >(val3);
34887 if (obj3) {
34888 ecode4 = SWIG_AsVal_int(obj3, &val4);
34889 if (!SWIG_IsOK(ecode4)) {
34890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34891 }
34892 arg4 = static_cast< wxTreeItemIcon >(val4);
34893 }
34894 {
34895 PyThreadState* __tstate = wxPyBeginAllowThreads();
34896 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34897 wxPyEndAllowThreads(__tstate);
34898 if (PyErr_Occurred()) SWIG_fail;
34899 }
34900 resultobj = SWIG_Py_Void();
34901 return resultobj;
34902fail:
34903 return NULL;
34904}
34905
34906
34907SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34908 PyObject *resultobj = 0;
34909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34910 wxTreeItemId *arg2 = 0 ;
34911 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34912 void *argp1 = 0 ;
34913 int res1 = 0 ;
34914 void *argp2 = 0 ;
34915 int res2 = 0 ;
34916 int res3 = 0 ;
34917 PyObject * obj0 = 0 ;
34918 PyObject * obj1 = 0 ;
34919 PyObject * obj2 = 0 ;
34920 char * kwnames[] = {
34921 (char *) "self",(char *) "item",(char *) "data", NULL
34922 };
34923
34924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34926 if (!SWIG_IsOK(res1)) {
34927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34928 }
34929 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34930 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34931 if (!SWIG_IsOK(res2)) {
34932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34933 }
34934 if (!argp2) {
34935 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34936 }
34937 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34938 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34939 if (!SWIG_IsOK(res3)) {
34940 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34941 }
34942 {
34943 PyThreadState* __tstate = wxPyBeginAllowThreads();
34944 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34945 wxPyEndAllowThreads(__tstate);
34946 if (PyErr_Occurred()) SWIG_fail;
34947 }
34948 resultobj = SWIG_Py_Void();
34949 return resultobj;
34950fail:
34951 return NULL;
34952}
34953
34954
34955SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34956 PyObject *resultobj = 0;
34957 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34958 wxTreeItemId *arg2 = 0 ;
34959 PyObject *arg3 = (PyObject *) 0 ;
34960 void *argp1 = 0 ;
34961 int res1 = 0 ;
34962 void *argp2 = 0 ;
34963 int res2 = 0 ;
34964 PyObject * obj0 = 0 ;
34965 PyObject * obj1 = 0 ;
34966 PyObject * obj2 = 0 ;
34967 char * kwnames[] = {
34968 (char *) "self",(char *) "item",(char *) "obj", NULL
34969 };
34970
34971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34973 if (!SWIG_IsOK(res1)) {
34974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34975 }
34976 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34977 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34978 if (!SWIG_IsOK(res2)) {
34979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34980 }
34981 if (!argp2) {
34982 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34983 }
34984 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34985 arg3 = obj2;
34986 {
34987 PyThreadState* __tstate = wxPyBeginAllowThreads();
34988 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34989 wxPyEndAllowThreads(__tstate);
34990 if (PyErr_Occurred()) SWIG_fail;
34991 }
34992 resultobj = SWIG_Py_Void();
34993 return resultobj;
34994fail:
34995 return NULL;
34996}
34997
34998
34999SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35000 PyObject *resultobj = 0;
35001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35002 wxTreeItemId *arg2 = 0 ;
35003 bool arg3 = (bool) true ;
35004 void *argp1 = 0 ;
35005 int res1 = 0 ;
35006 void *argp2 = 0 ;
35007 int res2 = 0 ;
35008 bool val3 ;
35009 int ecode3 = 0 ;
35010 PyObject * obj0 = 0 ;
35011 PyObject * obj1 = 0 ;
35012 PyObject * obj2 = 0 ;
35013 char * kwnames[] = {
35014 (char *) "self",(char *) "item",(char *) "has", NULL
35015 };
35016
35017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35019 if (!SWIG_IsOK(res1)) {
35020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35021 }
35022 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35023 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35024 if (!SWIG_IsOK(res2)) {
35025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35026 }
35027 if (!argp2) {
35028 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35029 }
35030 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35031 if (obj2) {
35032 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35033 if (!SWIG_IsOK(ecode3)) {
35034 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35035 }
35036 arg3 = static_cast< bool >(val3);
35037 }
35038 {
35039 PyThreadState* __tstate = wxPyBeginAllowThreads();
35040 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35041 wxPyEndAllowThreads(__tstate);
35042 if (PyErr_Occurred()) SWIG_fail;
35043 }
35044 resultobj = SWIG_Py_Void();
35045 return resultobj;
35046fail:
35047 return NULL;
35048}
35049
35050
35051SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35052 PyObject *resultobj = 0;
35053 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35054 wxTreeItemId *arg2 = 0 ;
35055 bool arg3 = (bool) true ;
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 *) "bold", NULL
35067 };
35068
35069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",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_SetItemBold" "', 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_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35078 }
35079 if (!argp2) {
35080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', 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_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35087 }
35088 arg3 = static_cast< bool >(val3);
35089 }
35090 {
35091 PyThreadState* __tstate = wxPyBeginAllowThreads();
35092 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35093 wxPyEndAllowThreads(__tstate);
35094 if (PyErr_Occurred()) SWIG_fail;
35095 }
35096 resultobj = SWIG_Py_Void();
35097 return resultobj;
35098fail:
35099 return NULL;
35100}
35101
35102
35103SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35104 PyObject *resultobj = 0;
35105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35106 wxTreeItemId *arg2 = 0 ;
35107 bool arg3 = (bool) true ;
35108 void *argp1 = 0 ;
35109 int res1 = 0 ;
35110 void *argp2 = 0 ;
35111 int res2 = 0 ;
35112 bool val3 ;
35113 int ecode3 = 0 ;
35114 PyObject * obj0 = 0 ;
35115 PyObject * obj1 = 0 ;
35116 PyObject * obj2 = 0 ;
35117 char * kwnames[] = {
35118 (char *) "self",(char *) "item",(char *) "highlight", NULL
35119 };
35120
35121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35123 if (!SWIG_IsOK(res1)) {
35124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35125 }
35126 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35128 if (!SWIG_IsOK(res2)) {
35129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35130 }
35131 if (!argp2) {
35132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35133 }
35134 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35135 if (obj2) {
35136 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35137 if (!SWIG_IsOK(ecode3)) {
35138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35139 }
35140 arg3 = static_cast< bool >(val3);
35141 }
35142 {
35143 PyThreadState* __tstate = wxPyBeginAllowThreads();
35144 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35145 wxPyEndAllowThreads(__tstate);
35146 if (PyErr_Occurred()) SWIG_fail;
35147 }
35148 resultobj = SWIG_Py_Void();
35149 return resultobj;
35150fail:
35151 return NULL;
35152}
35153
35154
35155SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35156 PyObject *resultobj = 0;
35157 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35158 wxTreeItemId *arg2 = 0 ;
35159 wxColour *arg3 = 0 ;
35160 void *argp1 = 0 ;
35161 int res1 = 0 ;
35162 void *argp2 = 0 ;
35163 int res2 = 0 ;
35164 wxColour temp3 ;
35165 PyObject * obj0 = 0 ;
35166 PyObject * obj1 = 0 ;
35167 PyObject * obj2 = 0 ;
35168 char * kwnames[] = {
35169 (char *) "self",(char *) "item",(char *) "col", NULL
35170 };
35171
35172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35174 if (!SWIG_IsOK(res1)) {
35175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35176 }
35177 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35178 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35179 if (!SWIG_IsOK(res2)) {
35180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35181 }
35182 if (!argp2) {
35183 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35184 }
35185 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35186 {
35187 arg3 = &temp3;
35188 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35189 }
35190 {
35191 PyThreadState* __tstate = wxPyBeginAllowThreads();
35192 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35193 wxPyEndAllowThreads(__tstate);
35194 if (PyErr_Occurred()) SWIG_fail;
35195 }
35196 resultobj = SWIG_Py_Void();
35197 return resultobj;
35198fail:
35199 return NULL;
35200}
35201
35202
35203SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35204 PyObject *resultobj = 0;
35205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35206 wxTreeItemId *arg2 = 0 ;
35207 wxColour *arg3 = 0 ;
35208 void *argp1 = 0 ;
35209 int res1 = 0 ;
35210 void *argp2 = 0 ;
35211 int res2 = 0 ;
35212 wxColour temp3 ;
35213 PyObject * obj0 = 0 ;
35214 PyObject * obj1 = 0 ;
35215 PyObject * obj2 = 0 ;
35216 char * kwnames[] = {
35217 (char *) "self",(char *) "item",(char *) "col", NULL
35218 };
35219
35220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35222 if (!SWIG_IsOK(res1)) {
35223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35224 }
35225 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35226 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35227 if (!SWIG_IsOK(res2)) {
35228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35229 }
35230 if (!argp2) {
35231 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35232 }
35233 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35234 {
35235 arg3 = &temp3;
35236 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35237 }
35238 {
35239 PyThreadState* __tstate = wxPyBeginAllowThreads();
35240 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35241 wxPyEndAllowThreads(__tstate);
35242 if (PyErr_Occurred()) SWIG_fail;
35243 }
35244 resultobj = SWIG_Py_Void();
35245 return resultobj;
35246fail:
35247 return NULL;
35248}
35249
35250
35251SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35252 PyObject *resultobj = 0;
35253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35254 wxTreeItemId *arg2 = 0 ;
35255 wxFont *arg3 = 0 ;
35256 void *argp1 = 0 ;
35257 int res1 = 0 ;
35258 void *argp2 = 0 ;
35259 int res2 = 0 ;
35260 void *argp3 = 0 ;
35261 int res3 = 0 ;
35262 PyObject * obj0 = 0 ;
35263 PyObject * obj1 = 0 ;
35264 PyObject * obj2 = 0 ;
35265 char * kwnames[] = {
35266 (char *) "self",(char *) "item",(char *) "font", NULL
35267 };
35268
35269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35271 if (!SWIG_IsOK(res1)) {
35272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35273 }
35274 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35275 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35276 if (!SWIG_IsOK(res2)) {
35277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35278 }
35279 if (!argp2) {
35280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35281 }
35282 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35283 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35284 if (!SWIG_IsOK(res3)) {
35285 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35286 }
35287 if (!argp3) {
35288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35289 }
35290 arg3 = reinterpret_cast< wxFont * >(argp3);
35291 {
35292 PyThreadState* __tstate = wxPyBeginAllowThreads();
35293 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35294 wxPyEndAllowThreads(__tstate);
35295 if (PyErr_Occurred()) SWIG_fail;
35296 }
35297 resultobj = SWIG_Py_Void();
35298 return resultobj;
35299fail:
35300 return NULL;
35301}
35302
35303
35304SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35305 PyObject *resultobj = 0;
35306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35307 wxTreeItemId *arg2 = 0 ;
35308 bool result;
35309 void *argp1 = 0 ;
35310 int res1 = 0 ;
35311 void *argp2 = 0 ;
35312 int res2 = 0 ;
35313 PyObject * obj0 = 0 ;
35314 PyObject * obj1 = 0 ;
35315 char * kwnames[] = {
35316 (char *) "self",(char *) "item", NULL
35317 };
35318
35319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35321 if (!SWIG_IsOK(res1)) {
35322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35323 }
35324 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35325 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35326 if (!SWIG_IsOK(res2)) {
35327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35328 }
35329 if (!argp2) {
35330 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35331 }
35332 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35333 {
35334 PyThreadState* __tstate = wxPyBeginAllowThreads();
35335 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35336 wxPyEndAllowThreads(__tstate);
35337 if (PyErr_Occurred()) SWIG_fail;
35338 }
35339 {
35340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35341 }
35342 return resultobj;
35343fail:
35344 return NULL;
35345}
35346
35347
35348SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35349 PyObject *resultobj = 0;
35350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35351 wxTreeItemId *arg2 = 0 ;
35352 bool result;
35353 void *argp1 = 0 ;
35354 int res1 = 0 ;
35355 void *argp2 = 0 ;
35356 int res2 = 0 ;
35357 PyObject * obj0 = 0 ;
35358 PyObject * obj1 = 0 ;
35359 char * kwnames[] = {
35360 (char *) "self",(char *) "item", NULL
35361 };
35362
35363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35365 if (!SWIG_IsOK(res1)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35367 }
35368 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35369 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35370 if (!SWIG_IsOK(res2)) {
35371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35372 }
35373 if (!argp2) {
35374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35375 }
35376 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35377 {
35378 PyThreadState* __tstate = wxPyBeginAllowThreads();
35379 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35380 wxPyEndAllowThreads(__tstate);
35381 if (PyErr_Occurred()) SWIG_fail;
35382 }
35383 {
35384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35385 }
35386 return resultobj;
35387fail:
35388 return NULL;
35389}
35390
35391
35392SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35393 PyObject *resultobj = 0;
35394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35395 wxTreeItemId *arg2 = 0 ;
35396 bool result;
35397 void *argp1 = 0 ;
35398 int res1 = 0 ;
35399 void *argp2 = 0 ;
35400 int res2 = 0 ;
35401 PyObject * obj0 = 0 ;
35402 PyObject * obj1 = 0 ;
35403 char * kwnames[] = {
35404 (char *) "self",(char *) "item", NULL
35405 };
35406
35407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35409 if (!SWIG_IsOK(res1)) {
35410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35411 }
35412 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35413 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35414 if (!SWIG_IsOK(res2)) {
35415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35416 }
35417 if (!argp2) {
35418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35419 }
35420 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35421 {
35422 PyThreadState* __tstate = wxPyBeginAllowThreads();
35423 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35424 wxPyEndAllowThreads(__tstate);
35425 if (PyErr_Occurred()) SWIG_fail;
35426 }
35427 {
35428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35429 }
35430 return resultobj;
35431fail:
35432 return NULL;
35433}
35434
35435
35436SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35437 PyObject *resultobj = 0;
35438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35439 wxTreeItemId *arg2 = 0 ;
35440 bool result;
35441 void *argp1 = 0 ;
35442 int res1 = 0 ;
35443 void *argp2 = 0 ;
35444 int res2 = 0 ;
35445 PyObject * obj0 = 0 ;
35446 PyObject * obj1 = 0 ;
35447 char * kwnames[] = {
35448 (char *) "self",(char *) "item", NULL
35449 };
35450
35451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35453 if (!SWIG_IsOK(res1)) {
35454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35455 }
35456 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35457 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35458 if (!SWIG_IsOK(res2)) {
35459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35460 }
35461 if (!argp2) {
35462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35463 }
35464 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35465 {
35466 PyThreadState* __tstate = wxPyBeginAllowThreads();
35467 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35468 wxPyEndAllowThreads(__tstate);
35469 if (PyErr_Occurred()) SWIG_fail;
35470 }
35471 {
35472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35473 }
35474 return resultobj;
35475fail:
35476 return NULL;
35477}
35478
35479
35480SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35481 PyObject *resultobj = 0;
35482 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35483 wxTreeItemId *arg2 = 0 ;
35484 bool result;
35485 void *argp1 = 0 ;
35486 int res1 = 0 ;
35487 void *argp2 = 0 ;
35488 int res2 = 0 ;
35489 PyObject * obj0 = 0 ;
35490 PyObject * obj1 = 0 ;
35491 char * kwnames[] = {
35492 (char *) "self",(char *) "item", NULL
35493 };
35494
35495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35497 if (!SWIG_IsOK(res1)) {
35498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35499 }
35500 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35501 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35502 if (!SWIG_IsOK(res2)) {
35503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35504 }
35505 if (!argp2) {
35506 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35507 }
35508 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35509 {
35510 PyThreadState* __tstate = wxPyBeginAllowThreads();
35511 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35512 wxPyEndAllowThreads(__tstate);
35513 if (PyErr_Occurred()) SWIG_fail;
35514 }
35515 {
35516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35517 }
35518 return resultobj;
35519fail:
35520 return NULL;
35521}
35522
35523
35524SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35525 PyObject *resultobj = 0;
35526 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35527 wxTreeItemId *arg2 = 0 ;
35528 bool arg3 = (bool) true ;
35529 size_t result;
35530 void *argp1 = 0 ;
35531 int res1 = 0 ;
35532 void *argp2 = 0 ;
35533 int res2 = 0 ;
35534 bool val3 ;
35535 int ecode3 = 0 ;
35536 PyObject * obj0 = 0 ;
35537 PyObject * obj1 = 0 ;
35538 PyObject * obj2 = 0 ;
35539 char * kwnames[] = {
35540 (char *) "self",(char *) "item",(char *) "recursively", NULL
35541 };
35542
35543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35545 if (!SWIG_IsOK(res1)) {
35546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35547 }
35548 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35550 if (!SWIG_IsOK(res2)) {
35551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35552 }
35553 if (!argp2) {
35554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35555 }
35556 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35557 if (obj2) {
35558 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35559 if (!SWIG_IsOK(ecode3)) {
35560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35561 }
35562 arg3 = static_cast< bool >(val3);
35563 }
35564 {
35565 PyThreadState* __tstate = wxPyBeginAllowThreads();
35566 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35567 wxPyEndAllowThreads(__tstate);
35568 if (PyErr_Occurred()) SWIG_fail;
35569 }
35570 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35571 return resultobj;
35572fail:
35573 return NULL;
d14a1e28
RD
35574}
35575
35576
0085ce49
RD
35577SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35578 PyObject *resultobj = 0;
35579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35580 wxTreeItemId result;
35581 void *argp1 = 0 ;
35582 int res1 = 0 ;
35583 PyObject *swig_obj[1] ;
35584
35585 if (!args) SWIG_fail;
35586 swig_obj[0] = args;
35587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35588 if (!SWIG_IsOK(res1)) {
35589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35590 }
35591 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35592 {
35593 PyThreadState* __tstate = wxPyBeginAllowThreads();
35594 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35595 wxPyEndAllowThreads(__tstate);
35596 if (PyErr_Occurred()) SWIG_fail;
35597 }
35598 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35599 return resultobj;
35600fail:
35601 return NULL;
d14a1e28
RD
35602}
35603
35604
0085ce49
RD
35605SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35606 PyObject *resultobj = 0;
35607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35608 wxTreeItemId result;
35609 void *argp1 = 0 ;
35610 int res1 = 0 ;
35611 PyObject *swig_obj[1] ;
35612
35613 if (!args) SWIG_fail;
35614 swig_obj[0] = args;
35615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35616 if (!SWIG_IsOK(res1)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35618 }
35619 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35620 {
35621 PyThreadState* __tstate = wxPyBeginAllowThreads();
35622 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35623 wxPyEndAllowThreads(__tstate);
35624 if (PyErr_Occurred()) SWIG_fail;
35625 }
35626 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35627 return resultobj;
35628fail:
35629 return NULL;
d14a1e28
RD
35630}
35631
35632
0085ce49
RD
35633SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35634 PyObject *resultobj = 0;
35635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35636 PyObject *result = 0 ;
35637 void *argp1 = 0 ;
35638 int res1 = 0 ;
35639 PyObject *swig_obj[1] ;
35640
35641 if (!args) SWIG_fail;
35642 swig_obj[0] = args;
35643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35644 if (!SWIG_IsOK(res1)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35646 }
35647 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35648 {
35649 PyThreadState* __tstate = wxPyBeginAllowThreads();
35650 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35651 wxPyEndAllowThreads(__tstate);
35652 if (PyErr_Occurred()) SWIG_fail;
35653 }
35654 resultobj = result;
35655 return resultobj;
35656fail:
35657 return NULL;
35658}
35659
35660
35661SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35662 PyObject *resultobj = 0;
35663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35664 wxTreeItemId *arg2 = 0 ;
35665 wxTreeItemId result;
35666 void *argp1 = 0 ;
35667 int res1 = 0 ;
35668 void *argp2 = 0 ;
35669 int res2 = 0 ;
35670 PyObject * obj0 = 0 ;
35671 PyObject * obj1 = 0 ;
35672 char * kwnames[] = {
35673 (char *) "self",(char *) "item", NULL
35674 };
35675
35676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35678 if (!SWIG_IsOK(res1)) {
35679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35680 }
35681 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35683 if (!SWIG_IsOK(res2)) {
35684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35685 }
35686 if (!argp2) {
35687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35688 }
35689 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35690 {
35691 PyThreadState* __tstate = wxPyBeginAllowThreads();
35692 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35693 wxPyEndAllowThreads(__tstate);
35694 if (PyErr_Occurred()) SWIG_fail;
35695 }
35696 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35697 return resultobj;
35698fail:
35699 return NULL;
35700}
35701
35702
35703SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35704 PyObject *resultobj = 0;
35705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35706 wxTreeItemId *arg2 = 0 ;
35707 PyObject *result = 0 ;
35708 void *argp1 = 0 ;
35709 int res1 = 0 ;
35710 void *argp2 = 0 ;
35711 int res2 = 0 ;
35712 PyObject * obj0 = 0 ;
35713 PyObject * obj1 = 0 ;
35714 char * kwnames[] = {
35715 (char *) "self",(char *) "item", NULL
35716 };
35717
35718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35720 if (!SWIG_IsOK(res1)) {
35721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35722 }
35723 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35724 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35725 if (!SWIG_IsOK(res2)) {
35726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35727 }
35728 if (!argp2) {
35729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35730 }
35731 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35732 {
35733 PyThreadState* __tstate = wxPyBeginAllowThreads();
35734 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35735 wxPyEndAllowThreads(__tstate);
35736 if (PyErr_Occurred()) SWIG_fail;
35737 }
35738 resultobj = result;
35739 return resultobj;
35740fail:
35741 return NULL;
35742}
35743
35744
35745SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35746 PyObject *resultobj = 0;
35747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35748 wxTreeItemId *arg2 = 0 ;
35749 void *arg3 = (void *) 0 ;
35750 PyObject *result = 0 ;
35751 void *argp1 = 0 ;
35752 int res1 = 0 ;
35753 void *argp2 = 0 ;
35754 int res2 = 0 ;
35755 int res3 ;
35756 PyObject * obj0 = 0 ;
35757 PyObject * obj1 = 0 ;
35758 PyObject * obj2 = 0 ;
35759 char * kwnames[] = {
35760 (char *) "self",(char *) "item",(char *) "cookie", NULL
35761 };
35762
35763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35765 if (!SWIG_IsOK(res1)) {
35766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35767 }
35768 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35769 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35770 if (!SWIG_IsOK(res2)) {
35771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35772 }
35773 if (!argp2) {
35774 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35775 }
35776 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35777 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35778 if (!SWIG_IsOK(res3)) {
35779 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35780 }
35781 {
35782 PyThreadState* __tstate = wxPyBeginAllowThreads();
35783 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35784 wxPyEndAllowThreads(__tstate);
35785 if (PyErr_Occurred()) SWIG_fail;
35786 }
35787 resultobj = result;
35788 return resultobj;
35789fail:
35790 return NULL;
35791}
35792
35793
35794SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35795 PyObject *resultobj = 0;
35796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35797 wxTreeItemId *arg2 = 0 ;
35798 wxTreeItemId result;
35799 void *argp1 = 0 ;
35800 int res1 = 0 ;
35801 void *argp2 = 0 ;
35802 int res2 = 0 ;
35803 PyObject * obj0 = 0 ;
35804 PyObject * obj1 = 0 ;
35805 char * kwnames[] = {
35806 (char *) "self",(char *) "item", NULL
35807 };
35808
35809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35811 if (!SWIG_IsOK(res1)) {
35812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35813 }
35814 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35815 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35816 if (!SWIG_IsOK(res2)) {
35817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35818 }
35819 if (!argp2) {
35820 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35821 }
35822 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35823 {
35824 PyThreadState* __tstate = wxPyBeginAllowThreads();
35825 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35826 wxPyEndAllowThreads(__tstate);
35827 if (PyErr_Occurred()) SWIG_fail;
35828 }
35829 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35830 return resultobj;
35831fail:
35832 return NULL;
35833}
35834
35835
35836SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35837 PyObject *resultobj = 0;
35838 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35839 wxTreeItemId *arg2 = 0 ;
35840 wxTreeItemId result;
35841 void *argp1 = 0 ;
35842 int res1 = 0 ;
35843 void *argp2 = 0 ;
35844 int res2 = 0 ;
35845 PyObject * obj0 = 0 ;
35846 PyObject * obj1 = 0 ;
35847 char * kwnames[] = {
35848 (char *) "self",(char *) "item", NULL
35849 };
35850
35851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35853 if (!SWIG_IsOK(res1)) {
35854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35855 }
35856 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35857 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35858 if (!SWIG_IsOK(res2)) {
35859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35860 }
35861 if (!argp2) {
35862 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35863 }
35864 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35865 {
35866 PyThreadState* __tstate = wxPyBeginAllowThreads();
35867 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35868 wxPyEndAllowThreads(__tstate);
35869 if (PyErr_Occurred()) SWIG_fail;
35870 }
35871 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35872 return resultobj;
35873fail:
35874 return NULL;
35875}
35876
35877
35878SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35879 PyObject *resultobj = 0;
35880 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35881 wxTreeItemId *arg2 = 0 ;
35882 wxTreeItemId result;
35883 void *argp1 = 0 ;
35884 int res1 = 0 ;
35885 void *argp2 = 0 ;
35886 int res2 = 0 ;
35887 PyObject * obj0 = 0 ;
35888 PyObject * obj1 = 0 ;
35889 char * kwnames[] = {
35890 (char *) "self",(char *) "item", NULL
35891 };
35892
35893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35895 if (!SWIG_IsOK(res1)) {
35896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35897 }
35898 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35899 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35900 if (!SWIG_IsOK(res2)) {
35901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35902 }
35903 if (!argp2) {
35904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35905 }
35906 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35907 {
35908 PyThreadState* __tstate = wxPyBeginAllowThreads();
35909 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35910 wxPyEndAllowThreads(__tstate);
35911 if (PyErr_Occurred()) SWIG_fail;
35912 }
35913 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35914 return resultobj;
35915fail:
35916 return NULL;
d14a1e28
RD
35917}
35918
35919
0085ce49
RD
35920SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35921 PyObject *resultobj = 0;
35922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35923 wxTreeItemId result;
35924 void *argp1 = 0 ;
35925 int res1 = 0 ;
35926 PyObject *swig_obj[1] ;
35927
35928 if (!args) SWIG_fail;
35929 swig_obj[0] = args;
35930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35931 if (!SWIG_IsOK(res1)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35933 }
35934 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35935 {
35936 PyThreadState* __tstate = wxPyBeginAllowThreads();
35937 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35938 wxPyEndAllowThreads(__tstate);
35939 if (PyErr_Occurred()) SWIG_fail;
35940 }
35941 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35942 return resultobj;
35943fail:
35944 return NULL;
35945}
35946
35947
35948SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35949 PyObject *resultobj = 0;
35950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35951 wxTreeItemId *arg2 = 0 ;
35952 wxTreeItemId result;
35953 void *argp1 = 0 ;
35954 int res1 = 0 ;
35955 void *argp2 = 0 ;
35956 int res2 = 0 ;
35957 PyObject * obj0 = 0 ;
35958 PyObject * obj1 = 0 ;
35959 char * kwnames[] = {
35960 (char *) "self",(char *) "item", NULL
35961 };
35962
35963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35965 if (!SWIG_IsOK(res1)) {
35966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35967 }
35968 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35969 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35970 if (!SWIG_IsOK(res2)) {
35971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35972 }
35973 if (!argp2) {
35974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35975 }
35976 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35977 {
35978 PyThreadState* __tstate = wxPyBeginAllowThreads();
35979 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35980 wxPyEndAllowThreads(__tstate);
35981 if (PyErr_Occurred()) SWIG_fail;
35982 }
35983 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35984 return resultobj;
35985fail:
35986 return NULL;
35987}
35988
35989
35990SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35991 PyObject *resultobj = 0;
35992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35993 wxTreeItemId *arg2 = 0 ;
35994 wxTreeItemId result;
35995 void *argp1 = 0 ;
35996 int res1 = 0 ;
35997 void *argp2 = 0 ;
35998 int res2 = 0 ;
35999 PyObject * obj0 = 0 ;
36000 PyObject * obj1 = 0 ;
36001 char * kwnames[] = {
36002 (char *) "self",(char *) "item", NULL
36003 };
36004
36005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36007 if (!SWIG_IsOK(res1)) {
36008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36009 }
36010 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36012 if (!SWIG_IsOK(res2)) {
36013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36014 }
36015 if (!argp2) {
36016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 }
36018 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36019 {
36020 PyThreadState* __tstate = wxPyBeginAllowThreads();
36021 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36022 wxPyEndAllowThreads(__tstate);
36023 if (PyErr_Occurred()) SWIG_fail;
36024 }
36025 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36026 return resultobj;
36027fail:
36028 return NULL;
36029}
36030
36031
36032SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36033 PyObject *resultobj = 0;
36034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36035 wxString *arg2 = 0 ;
36036 int arg3 = (int) -1 ;
36037 int arg4 = (int) -1 ;
36038 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36039 wxTreeItemId result;
36040 void *argp1 = 0 ;
36041 int res1 = 0 ;
36042 bool temp2 = false ;
36043 int val3 ;
36044 int ecode3 = 0 ;
36045 int val4 ;
36046 int ecode4 = 0 ;
36047 int res5 = 0 ;
36048 PyObject * obj0 = 0 ;
36049 PyObject * obj1 = 0 ;
36050 PyObject * obj2 = 0 ;
36051 PyObject * obj3 = 0 ;
36052 PyObject * obj4 = 0 ;
36053 char * kwnames[] = {
36054 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36055 };
36056
36057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36059 if (!SWIG_IsOK(res1)) {
36060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36061 }
36062 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36063 {
36064 arg2 = wxString_in_helper(obj1);
36065 if (arg2 == NULL) SWIG_fail;
36066 temp2 = true;
36067 }
36068 if (obj2) {
36069 ecode3 = SWIG_AsVal_int(obj2, &val3);
36070 if (!SWIG_IsOK(ecode3)) {
36071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36072 }
36073 arg3 = static_cast< int >(val3);
36074 }
36075 if (obj3) {
36076 ecode4 = SWIG_AsVal_int(obj3, &val4);
36077 if (!SWIG_IsOK(ecode4)) {
36078 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36079 }
36080 arg4 = static_cast< int >(val4);
36081 }
36082 if (obj4) {
36083 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36084 if (!SWIG_IsOK(res5)) {
36085 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
3a04f143 36086 }
0085ce49
RD
36087 }
36088 {
36089 PyThreadState* __tstate = wxPyBeginAllowThreads();
36090 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36091 wxPyEndAllowThreads(__tstate);
36092 if (PyErr_Occurred()) SWIG_fail;
36093 }
36094 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36095 {
36096 if (temp2)
36097 delete arg2;
36098 }
36099 return resultobj;
36100fail:
36101 {
36102 if (temp2)
36103 delete arg2;
36104 }
36105 return NULL;
36106}
36107
36108
36109SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36110 PyObject *resultobj = 0;
36111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36112 wxTreeItemId *arg2 = 0 ;
36113 wxString *arg3 = 0 ;
36114 int arg4 = (int) -1 ;
36115 int arg5 = (int) -1 ;
36116 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36117 wxTreeItemId result;
36118 void *argp1 = 0 ;
36119 int res1 = 0 ;
36120 void *argp2 = 0 ;
36121 int res2 = 0 ;
36122 bool temp3 = false ;
36123 int val4 ;
36124 int ecode4 = 0 ;
36125 int val5 ;
36126 int ecode5 = 0 ;
36127 int res6 = 0 ;
36128 PyObject * obj0 = 0 ;
36129 PyObject * obj1 = 0 ;
36130 PyObject * obj2 = 0 ;
36131 PyObject * obj3 = 0 ;
36132 PyObject * obj4 = 0 ;
36133 PyObject * obj5 = 0 ;
36134 char * kwnames[] = {
36135 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36136 };
36137
36138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36140 if (!SWIG_IsOK(res1)) {
36141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36142 }
36143 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36144 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36145 if (!SWIG_IsOK(res2)) {
36146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36147 }
36148 if (!argp2) {
36149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36150 }
36151 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36152 {
36153 arg3 = wxString_in_helper(obj2);
36154 if (arg3 == NULL) SWIG_fail;
36155 temp3 = true;
36156 }
36157 if (obj3) {
36158 ecode4 = SWIG_AsVal_int(obj3, &val4);
36159 if (!SWIG_IsOK(ecode4)) {
36160 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36161 }
36162 arg4 = static_cast< int >(val4);
36163 }
36164 if (obj4) {
36165 ecode5 = SWIG_AsVal_int(obj4, &val5);
36166 if (!SWIG_IsOK(ecode5)) {
36167 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36168 }
36169 arg5 = static_cast< int >(val5);
36170 }
36171 if (obj5) {
36172 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36173 if (!SWIG_IsOK(res6)) {
36174 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
3a04f143 36175 }
0085ce49
RD
36176 }
36177 {
36178 PyThreadState* __tstate = wxPyBeginAllowThreads();
36179 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36180 wxPyEndAllowThreads(__tstate);
36181 if (PyErr_Occurred()) SWIG_fail;
36182 }
36183 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36184 {
36185 if (temp3)
36186 delete arg3;
36187 }
36188 return resultobj;
36189fail:
36190 {
36191 if (temp3)
36192 delete arg3;
36193 }
36194 return NULL;
36195}
36196
36197
36198SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36199 PyObject *resultobj = 0;
36200 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36201 wxTreeItemId *arg2 = 0 ;
36202 wxTreeItemId *arg3 = 0 ;
36203 wxString *arg4 = 0 ;
36204 int arg5 = (int) -1 ;
36205 int arg6 = (int) -1 ;
36206 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36207 wxTreeItemId result;
36208 void *argp1 = 0 ;
36209 int res1 = 0 ;
36210 void *argp2 = 0 ;
36211 int res2 = 0 ;
36212 void *argp3 = 0 ;
36213 int res3 = 0 ;
36214 bool temp4 = false ;
36215 int val5 ;
36216 int ecode5 = 0 ;
36217 int val6 ;
36218 int ecode6 = 0 ;
36219 int res7 = 0 ;
36220 PyObject * obj0 = 0 ;
36221 PyObject * obj1 = 0 ;
36222 PyObject * obj2 = 0 ;
36223 PyObject * obj3 = 0 ;
36224 PyObject * obj4 = 0 ;
36225 PyObject * obj5 = 0 ;
36226 PyObject * obj6 = 0 ;
36227 char * kwnames[] = {
36228 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36229 };
36230
36231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36233 if (!SWIG_IsOK(res1)) {
36234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36235 }
36236 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36237 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36238 if (!SWIG_IsOK(res2)) {
36239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36240 }
36241 if (!argp2) {
36242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36243 }
36244 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36245 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36246 if (!SWIG_IsOK(res3)) {
36247 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36248 }
36249 if (!argp3) {
36250 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36251 }
36252 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36253 {
36254 arg4 = wxString_in_helper(obj3);
36255 if (arg4 == NULL) SWIG_fail;
36256 temp4 = true;
36257 }
36258 if (obj4) {
36259 ecode5 = SWIG_AsVal_int(obj4, &val5);
36260 if (!SWIG_IsOK(ecode5)) {
36261 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36262 }
36263 arg5 = static_cast< int >(val5);
36264 }
36265 if (obj5) {
36266 ecode6 = SWIG_AsVal_int(obj5, &val6);
36267 if (!SWIG_IsOK(ecode6)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36269 }
36270 arg6 = static_cast< int >(val6);
36271 }
36272 if (obj6) {
36273 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36274 if (!SWIG_IsOK(res7)) {
36275 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36276 }
0085ce49
RD
36277 }
36278 {
36279 PyThreadState* __tstate = wxPyBeginAllowThreads();
36280 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36281 wxPyEndAllowThreads(__tstate);
36282 if (PyErr_Occurred()) SWIG_fail;
36283 }
36284 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36285 {
36286 if (temp4)
36287 delete arg4;
36288 }
36289 return resultobj;
36290fail:
36291 {
36292 if (temp4)
36293 delete arg4;
36294 }
36295 return NULL;
36296}
36297
36298
36299SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36300 PyObject *resultobj = 0;
36301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36302 wxTreeItemId *arg2 = 0 ;
36303 size_t arg3 ;
36304 wxString *arg4 = 0 ;
36305 int arg5 = (int) -1 ;
36306 int arg6 = (int) -1 ;
36307 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36308 wxTreeItemId result;
36309 void *argp1 = 0 ;
36310 int res1 = 0 ;
36311 void *argp2 = 0 ;
36312 int res2 = 0 ;
36313 size_t val3 ;
36314 int ecode3 = 0 ;
36315 bool temp4 = false ;
36316 int val5 ;
36317 int ecode5 = 0 ;
36318 int val6 ;
36319 int ecode6 = 0 ;
36320 int res7 = 0 ;
36321 PyObject * obj0 = 0 ;
36322 PyObject * obj1 = 0 ;
36323 PyObject * obj2 = 0 ;
36324 PyObject * obj3 = 0 ;
36325 PyObject * obj4 = 0 ;
36326 PyObject * obj5 = 0 ;
36327 PyObject * obj6 = 0 ;
36328 char * kwnames[] = {
36329 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36330 };
36331
36332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36334 if (!SWIG_IsOK(res1)) {
36335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36336 }
36337 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36339 if (!SWIG_IsOK(res2)) {
36340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36341 }
36342 if (!argp2) {
36343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36344 }
36345 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36346 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36347 if (!SWIG_IsOK(ecode3)) {
36348 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36349 }
36350 arg3 = static_cast< size_t >(val3);
36351 {
36352 arg4 = wxString_in_helper(obj3);
36353 if (arg4 == NULL) SWIG_fail;
36354 temp4 = true;
36355 }
36356 if (obj4) {
36357 ecode5 = SWIG_AsVal_int(obj4, &val5);
36358 if (!SWIG_IsOK(ecode5)) {
36359 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36360 }
36361 arg5 = static_cast< int >(val5);
36362 }
36363 if (obj5) {
36364 ecode6 = SWIG_AsVal_int(obj5, &val6);
36365 if (!SWIG_IsOK(ecode6)) {
36366 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36367 }
36368 arg6 = static_cast< int >(val6);
36369 }
36370 if (obj6) {
36371 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36372 if (!SWIG_IsOK(res7)) {
36373 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
3a04f143 36374 }
0085ce49
RD
36375 }
36376 {
36377 PyThreadState* __tstate = wxPyBeginAllowThreads();
36378 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36379 wxPyEndAllowThreads(__tstate);
36380 if (PyErr_Occurred()) SWIG_fail;
36381 }
36382 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36383 {
36384 if (temp4)
36385 delete arg4;
36386 }
36387 return resultobj;
36388fail:
36389 {
36390 if (temp4)
36391 delete arg4;
36392 }
36393 return NULL;
36394}
36395
36396
36397SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36398 PyObject *resultobj = 0;
36399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36400 wxTreeItemId *arg2 = 0 ;
36401 wxString *arg3 = 0 ;
36402 int arg4 = (int) -1 ;
36403 int arg5 = (int) -1 ;
36404 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36405 wxTreeItemId result;
36406 void *argp1 = 0 ;
36407 int res1 = 0 ;
36408 void *argp2 = 0 ;
36409 int res2 = 0 ;
36410 bool temp3 = false ;
36411 int val4 ;
36412 int ecode4 = 0 ;
36413 int val5 ;
36414 int ecode5 = 0 ;
36415 int res6 = 0 ;
36416 PyObject * obj0 = 0 ;
36417 PyObject * obj1 = 0 ;
36418 PyObject * obj2 = 0 ;
36419 PyObject * obj3 = 0 ;
36420 PyObject * obj4 = 0 ;
36421 PyObject * obj5 = 0 ;
36422 char * kwnames[] = {
36423 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36424 };
36425
36426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36428 if (!SWIG_IsOK(res1)) {
36429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36430 }
36431 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36432 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36433 if (!SWIG_IsOK(res2)) {
36434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36435 }
36436 if (!argp2) {
36437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36438 }
36439 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36440 {
36441 arg3 = wxString_in_helper(obj2);
36442 if (arg3 == NULL) SWIG_fail;
36443 temp3 = true;
36444 }
36445 if (obj3) {
36446 ecode4 = SWIG_AsVal_int(obj3, &val4);
36447 if (!SWIG_IsOK(ecode4)) {
36448 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36449 }
36450 arg4 = static_cast< int >(val4);
36451 }
36452 if (obj4) {
36453 ecode5 = SWIG_AsVal_int(obj4, &val5);
36454 if (!SWIG_IsOK(ecode5)) {
36455 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36456 }
36457 arg5 = static_cast< int >(val5);
36458 }
36459 if (obj5) {
36460 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36461 if (!SWIG_IsOK(res6)) {
36462 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
3a04f143 36463 }
0085ce49
RD
36464 }
36465 {
36466 PyThreadState* __tstate = wxPyBeginAllowThreads();
36467 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36468 wxPyEndAllowThreads(__tstate);
36469 if (PyErr_Occurred()) SWIG_fail;
36470 }
36471 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36472 {
36473 if (temp3)
36474 delete arg3;
36475 }
36476 return resultobj;
36477fail:
36478 {
36479 if (temp3)
36480 delete arg3;
36481 }
36482 return NULL;
36483}
36484
36485
36486SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36487 PyObject *resultobj = 0;
36488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36489 wxTreeItemId *arg2 = 0 ;
36490 void *argp1 = 0 ;
36491 int res1 = 0 ;
36492 void *argp2 = 0 ;
36493 int res2 = 0 ;
36494 PyObject * obj0 = 0 ;
36495 PyObject * obj1 = 0 ;
36496 char * kwnames[] = {
36497 (char *) "self",(char *) "item", NULL
36498 };
36499
36500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36502 if (!SWIG_IsOK(res1)) {
36503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36504 }
36505 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36506 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36507 if (!SWIG_IsOK(res2)) {
36508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36509 }
36510 if (!argp2) {
36511 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36512 }
36513 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36514 {
36515 PyThreadState* __tstate = wxPyBeginAllowThreads();
36516 (arg1)->Delete((wxTreeItemId const &)*arg2);
36517 wxPyEndAllowThreads(__tstate);
36518 if (PyErr_Occurred()) SWIG_fail;
36519 }
36520 resultobj = SWIG_Py_Void();
36521 return resultobj;
36522fail:
36523 return NULL;
36524}
36525
36526
36527SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36528 PyObject *resultobj = 0;
36529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36530 wxTreeItemId *arg2 = 0 ;
36531 void *argp1 = 0 ;
36532 int res1 = 0 ;
36533 void *argp2 = 0 ;
36534 int res2 = 0 ;
36535 PyObject * obj0 = 0 ;
36536 PyObject * obj1 = 0 ;
36537 char * kwnames[] = {
36538 (char *) "self",(char *) "item", NULL
36539 };
36540
36541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36543 if (!SWIG_IsOK(res1)) {
36544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36545 }
36546 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36547 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36548 if (!SWIG_IsOK(res2)) {
36549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36550 }
36551 if (!argp2) {
36552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36553 }
36554 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36555 {
36556 PyThreadState* __tstate = wxPyBeginAllowThreads();
36557 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36558 wxPyEndAllowThreads(__tstate);
36559 if (PyErr_Occurred()) SWIG_fail;
36560 }
36561 resultobj = SWIG_Py_Void();
36562 return resultobj;
36563fail:
36564 return NULL;
3a04f143
RD
36565}
36566
36567
0085ce49
RD
36568SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36569 PyObject *resultobj = 0;
36570 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36571 void *argp1 = 0 ;
36572 int res1 = 0 ;
36573 PyObject *swig_obj[1] ;
36574
36575 if (!args) SWIG_fail;
36576 swig_obj[0] = args;
36577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36578 if (!SWIG_IsOK(res1)) {
36579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36580 }
36581 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36582 {
36583 PyThreadState* __tstate = wxPyBeginAllowThreads();
36584 (arg1)->DeleteAllItems();
36585 wxPyEndAllowThreads(__tstate);
36586 if (PyErr_Occurred()) SWIG_fail;
36587 }
36588 resultobj = SWIG_Py_Void();
36589 return resultobj;
36590fail:
36591 return NULL;
36592}
36593
36594
36595SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36596 PyObject *resultobj = 0;
36597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36598 wxTreeItemId *arg2 = 0 ;
36599 void *argp1 = 0 ;
36600 int res1 = 0 ;
36601 void *argp2 = 0 ;
36602 int res2 = 0 ;
36603 PyObject * obj0 = 0 ;
36604 PyObject * obj1 = 0 ;
36605 char * kwnames[] = {
36606 (char *) "self",(char *) "item", NULL
36607 };
36608
36609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36611 if (!SWIG_IsOK(res1)) {
36612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36613 }
36614 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36616 if (!SWIG_IsOK(res2)) {
36617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36618 }
36619 if (!argp2) {
36620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36621 }
36622 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36623 {
36624 PyThreadState* __tstate = wxPyBeginAllowThreads();
36625 (arg1)->Expand((wxTreeItemId const &)*arg2);
36626 wxPyEndAllowThreads(__tstate);
36627 if (PyErr_Occurred()) SWIG_fail;
36628 }
36629 resultobj = SWIG_Py_Void();
36630 return resultobj;
36631fail:
36632 return NULL;
36633}
36634
36635
453fb36b
RD
36636SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36637 PyObject *resultobj = 0;
36638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36639 wxTreeItemId *arg2 = 0 ;
36640 void *argp1 = 0 ;
36641 int res1 = 0 ;
36642 void *argp2 = 0 ;
36643 int res2 = 0 ;
36644 PyObject * obj0 = 0 ;
36645 PyObject * obj1 = 0 ;
36646 char * kwnames[] = {
36647 (char *) "self",(char *) "item", NULL
36648 };
36649
36650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36652 if (!SWIG_IsOK(res1)) {
36653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36654 }
36655 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36657 if (!SWIG_IsOK(res2)) {
36658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36659 }
36660 if (!argp2) {
36661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36662 }
36663 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36664 {
36665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36666 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36667 wxPyEndAllowThreads(__tstate);
36668 if (PyErr_Occurred()) SWIG_fail;
36669 }
36670 resultobj = SWIG_Py_Void();
36671 return resultobj;
36672fail:
36673 return NULL;
36674}
36675
36676
36677SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36678 PyObject *resultobj = 0;
36679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36680 void *argp1 = 0 ;
36681 int res1 = 0 ;
36682 PyObject *swig_obj[1] ;
36683
36684 if (!args) SWIG_fail;
36685 swig_obj[0] = args;
36686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36687 if (!SWIG_IsOK(res1)) {
36688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36689 }
36690 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36691 {
36692 PyThreadState* __tstate = wxPyBeginAllowThreads();
36693 (arg1)->ExpandAll();
36694 wxPyEndAllowThreads(__tstate);
36695 if (PyErr_Occurred()) SWIG_fail;
36696 }
36697 resultobj = SWIG_Py_Void();
36698 return resultobj;
36699fail:
36700 return NULL;
36701}
36702
36703
0085ce49
RD
36704SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36705 PyObject *resultobj = 0;
36706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36707 wxTreeItemId *arg2 = 0 ;
36708 void *argp1 = 0 ;
36709 int res1 = 0 ;
36710 void *argp2 = 0 ;
36711 int res2 = 0 ;
36712 PyObject * obj0 = 0 ;
36713 PyObject * obj1 = 0 ;
36714 char * kwnames[] = {
36715 (char *) "self",(char *) "item", NULL
36716 };
36717
36718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36720 if (!SWIG_IsOK(res1)) {
36721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36722 }
36723 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36724 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36725 if (!SWIG_IsOK(res2)) {
36726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36727 }
36728 if (!argp2) {
36729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36730 }
36731 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36732 {
36733 PyThreadState* __tstate = wxPyBeginAllowThreads();
36734 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36735 wxPyEndAllowThreads(__tstate);
36736 if (PyErr_Occurred()) SWIG_fail;
36737 }
36738 resultobj = SWIG_Py_Void();
36739 return resultobj;
36740fail:
36741 return NULL;
36742}
36743
36744
36745SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36746 PyObject *resultobj = 0;
36747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36748 wxTreeItemId *arg2 = 0 ;
36749 void *argp1 = 0 ;
36750 int res1 = 0 ;
36751 void *argp2 = 0 ;
36752 int res2 = 0 ;
36753 PyObject * obj0 = 0 ;
36754 PyObject * obj1 = 0 ;
36755 char * kwnames[] = {
36756 (char *) "self",(char *) "item", NULL
36757 };
36758
36759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36761 if (!SWIG_IsOK(res1)) {
36762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36763 }
36764 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36765 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36766 if (!SWIG_IsOK(res2)) {
36767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36768 }
36769 if (!argp2) {
36770 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36771 }
36772 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36773 {
36774 PyThreadState* __tstate = wxPyBeginAllowThreads();
36775 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36776 wxPyEndAllowThreads(__tstate);
36777 if (PyErr_Occurred()) SWIG_fail;
36778 }
36779 resultobj = SWIG_Py_Void();
36780 return resultobj;
36781fail:
36782 return NULL;
36783}
36784
36785
36786SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36787 PyObject *resultobj = 0;
36788 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36789 wxTreeItemId *arg2 = 0 ;
36790 void *argp1 = 0 ;
36791 int res1 = 0 ;
36792 void *argp2 = 0 ;
36793 int res2 = 0 ;
36794 PyObject * obj0 = 0 ;
36795 PyObject * obj1 = 0 ;
36796 char * kwnames[] = {
36797 (char *) "self",(char *) "item", NULL
36798 };
36799
36800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36802 if (!SWIG_IsOK(res1)) {
36803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36804 }
36805 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36806 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36807 if (!SWIG_IsOK(res2)) {
36808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36809 }
36810 if (!argp2) {
36811 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36812 }
36813 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36814 {
36815 PyThreadState* __tstate = wxPyBeginAllowThreads();
36816 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36817 wxPyEndAllowThreads(__tstate);
36818 if (PyErr_Occurred()) SWIG_fail;
36819 }
36820 resultobj = SWIG_Py_Void();
36821 return resultobj;
36822fail:
36823 return NULL;
d14a1e28
RD
36824}
36825
36826
0085ce49
RD
36827SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36828 PyObject *resultobj = 0;
36829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36830 void *argp1 = 0 ;
36831 int res1 = 0 ;
36832 PyObject *swig_obj[1] ;
36833
36834 if (!args) SWIG_fail;
36835 swig_obj[0] = args;
36836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36837 if (!SWIG_IsOK(res1)) {
36838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36839 }
36840 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36841 {
36842 PyThreadState* __tstate = wxPyBeginAllowThreads();
36843 (arg1)->Unselect();
36844 wxPyEndAllowThreads(__tstate);
36845 if (PyErr_Occurred()) SWIG_fail;
36846 }
36847 resultobj = SWIG_Py_Void();
36848 return resultobj;
36849fail:
36850 return NULL;
36851}
36852
36853
36854SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36855 PyObject *resultobj = 0;
36856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36857 wxTreeItemId *arg2 = 0 ;
36858 void *argp1 = 0 ;
36859 int res1 = 0 ;
36860 void *argp2 = 0 ;
36861 int res2 = 0 ;
36862 PyObject * obj0 = 0 ;
36863 PyObject * obj1 = 0 ;
36864 char * kwnames[] = {
36865 (char *) "self",(char *) "item", NULL
36866 };
36867
36868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36870 if (!SWIG_IsOK(res1)) {
36871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36872 }
36873 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36874 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36875 if (!SWIG_IsOK(res2)) {
36876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36877 }
36878 if (!argp2) {
36879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36880 }
36881 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36882 {
36883 PyThreadState* __tstate = wxPyBeginAllowThreads();
36884 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36885 wxPyEndAllowThreads(__tstate);
36886 if (PyErr_Occurred()) SWIG_fail;
36887 }
36888 resultobj = SWIG_Py_Void();
36889 return resultobj;
36890fail:
36891 return NULL;
d14a1e28
RD
36892}
36893
36894
0085ce49
RD
36895SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36896 PyObject *resultobj = 0;
36897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36898 void *argp1 = 0 ;
36899 int res1 = 0 ;
36900 PyObject *swig_obj[1] ;
36901
36902 if (!args) SWIG_fail;
36903 swig_obj[0] = args;
36904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36905 if (!SWIG_IsOK(res1)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36907 }
36908 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36909 {
36910 PyThreadState* __tstate = wxPyBeginAllowThreads();
36911 (arg1)->UnselectAll();
36912 wxPyEndAllowThreads(__tstate);
36913 if (PyErr_Occurred()) SWIG_fail;
36914 }
36915 resultobj = SWIG_Py_Void();
36916 return resultobj;
36917fail:
36918 return NULL;
36919}
36920
36921
36922SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36923 PyObject *resultobj = 0;
36924 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36925 wxTreeItemId *arg2 = 0 ;
36926 bool arg3 = (bool) true ;
36927 void *argp1 = 0 ;
36928 int res1 = 0 ;
36929 void *argp2 = 0 ;
36930 int res2 = 0 ;
36931 bool val3 ;
36932 int ecode3 = 0 ;
36933 PyObject * obj0 = 0 ;
36934 PyObject * obj1 = 0 ;
36935 PyObject * obj2 = 0 ;
36936 char * kwnames[] = {
36937 (char *) "self",(char *) "item",(char *) "select", NULL
36938 };
36939
36940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36942 if (!SWIG_IsOK(res1)) {
36943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36944 }
36945 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36946 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36947 if (!SWIG_IsOK(res2)) {
36948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36949 }
36950 if (!argp2) {
36951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36952 }
36953 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36954 if (obj2) {
36955 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36956 if (!SWIG_IsOK(ecode3)) {
36957 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36958 }
36959 arg3 = static_cast< bool >(val3);
36960 }
36961 {
36962 PyThreadState* __tstate = wxPyBeginAllowThreads();
36963 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36964 wxPyEndAllowThreads(__tstate);
36965 if (PyErr_Occurred()) SWIG_fail;
36966 }
36967 resultobj = SWIG_Py_Void();
36968 return resultobj;
36969fail:
36970 return NULL;
36971}
36972
36973
36974SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36975 PyObject *resultobj = 0;
36976 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36977 wxTreeItemId *arg2 = 0 ;
36978 void *argp1 = 0 ;
36979 int res1 = 0 ;
36980 void *argp2 = 0 ;
36981 int res2 = 0 ;
36982 PyObject * obj0 = 0 ;
36983 PyObject * obj1 = 0 ;
36984 char * kwnames[] = {
36985 (char *) "self",(char *) "item", NULL
36986 };
36987
36988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36990 if (!SWIG_IsOK(res1)) {
36991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36992 }
36993 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36994 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36995 if (!SWIG_IsOK(res2)) {
36996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36997 }
36998 if (!argp2) {
36999 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37000 }
37001 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37002 {
37003 PyThreadState* __tstate = wxPyBeginAllowThreads();
37004 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37005 wxPyEndAllowThreads(__tstate);
37006 if (PyErr_Occurred()) SWIG_fail;
37007 }
37008 resultobj = SWIG_Py_Void();
37009 return resultobj;
37010fail:
37011 return NULL;
37012}
37013
37014
37015SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37016 PyObject *resultobj = 0;
37017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37018 wxTreeItemId *arg2 = 0 ;
37019 void *argp1 = 0 ;
37020 int res1 = 0 ;
37021 void *argp2 = 0 ;
37022 int res2 = 0 ;
37023 PyObject * obj0 = 0 ;
37024 PyObject * obj1 = 0 ;
37025 char * kwnames[] = {
37026 (char *) "self",(char *) "item", NULL
37027 };
37028
37029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37031 if (!SWIG_IsOK(res1)) {
37032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37033 }
37034 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37035 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37036 if (!SWIG_IsOK(res2)) {
37037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37038 }
37039 if (!argp2) {
37040 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37041 }
37042 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37043 {
37044 PyThreadState* __tstate = wxPyBeginAllowThreads();
37045 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37046 wxPyEndAllowThreads(__tstate);
37047 if (PyErr_Occurred()) SWIG_fail;
37048 }
37049 resultobj = SWIG_Py_Void();
37050 return resultobj;
37051fail:
37052 return NULL;
37053}
37054
37055
37056SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37057 PyObject *resultobj = 0;
37058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37059 wxTreeItemId *arg2 = 0 ;
37060 void *argp1 = 0 ;
37061 int res1 = 0 ;
37062 void *argp2 = 0 ;
37063 int res2 = 0 ;
37064 PyObject * obj0 = 0 ;
37065 PyObject * obj1 = 0 ;
37066 char * kwnames[] = {
37067 (char *) "self",(char *) "item", NULL
37068 };
37069
37070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37072 if (!SWIG_IsOK(res1)) {
37073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37074 }
37075 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37076 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37077 if (!SWIG_IsOK(res2)) {
37078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37079 }
37080 if (!argp2) {
37081 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37082 }
37083 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37084 {
37085 PyThreadState* __tstate = wxPyBeginAllowThreads();
37086 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37087 wxPyEndAllowThreads(__tstate);
37088 if (PyErr_Occurred()) SWIG_fail;
37089 }
37090 resultobj = SWIG_Py_Void();
37091 return resultobj;
37092fail:
37093 return NULL;
37094}
37095
37096
37097SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37098 PyObject *resultobj = 0;
37099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37100 wxTreeItemId *arg2 = 0 ;
37101 void *argp1 = 0 ;
37102 int res1 = 0 ;
37103 void *argp2 = 0 ;
37104 int res2 = 0 ;
37105 PyObject * obj0 = 0 ;
37106 PyObject * obj1 = 0 ;
37107 char * kwnames[] = {
37108 (char *) "self",(char *) "item", NULL
37109 };
37110
37111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37113 if (!SWIG_IsOK(res1)) {
37114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37115 }
37116 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37117 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37118 if (!SWIG_IsOK(res2)) {
37119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37120 }
37121 if (!argp2) {
37122 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37123 }
37124 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37125 {
37126 PyThreadState* __tstate = wxPyBeginAllowThreads();
37127 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37128 wxPyEndAllowThreads(__tstate);
37129 if (PyErr_Occurred()) SWIG_fail;
37130 }
37131 resultobj = SWIG_Py_Void();
37132 return resultobj;
37133fail:
37134 return NULL;
d14a1e28
RD
37135}
37136
37137
0085ce49
RD
37138SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37139 PyObject *resultobj = 0;
37140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37141 wxTextCtrl *result = 0 ;
37142 void *argp1 = 0 ;
37143 int res1 = 0 ;
37144 PyObject *swig_obj[1] ;
37145
37146 if (!args) SWIG_fail;
37147 swig_obj[0] = args;
37148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37149 if (!SWIG_IsOK(res1)) {
37150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37151 }
37152 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37153 {
37154 PyThreadState* __tstate = wxPyBeginAllowThreads();
37155 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37156 wxPyEndAllowThreads(__tstate);
37157 if (PyErr_Occurred()) SWIG_fail;
37158 }
37159 {
37160 resultobj = wxPyMake_wxObject(result, 0);
37161 }
37162 return resultobj;
37163fail:
37164 return NULL;
37165}
37166
37167
37168SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37169 PyObject *resultobj = 0;
37170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37171 wxTreeItemId *arg2 = 0 ;
37172 void *argp1 = 0 ;
37173 int res1 = 0 ;
37174 void *argp2 = 0 ;
37175 int res2 = 0 ;
37176 PyObject * obj0 = 0 ;
37177 PyObject * obj1 = 0 ;
37178 char * kwnames[] = {
37179 (char *) "self",(char *) "item", NULL
37180 };
37181
37182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37184 if (!SWIG_IsOK(res1)) {
37185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37186 }
37187 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37188 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37189 if (!SWIG_IsOK(res2)) {
37190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37191 }
37192 if (!argp2) {
37193 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37194 }
37195 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37196 {
37197 PyThreadState* __tstate = wxPyBeginAllowThreads();
37198 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37199 wxPyEndAllowThreads(__tstate);
37200 if (PyErr_Occurred()) SWIG_fail;
37201 }
37202 resultobj = SWIG_Py_Void();
37203 return resultobj;
37204fail:
37205 return NULL;
37206}
37207
37208
37209SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37210 PyObject *resultobj = 0;
37211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37212 wxPoint *arg2 = 0 ;
37213 int *arg3 = 0 ;
37214 wxTreeItemId result;
37215 void *argp1 = 0 ;
37216 int res1 = 0 ;
37217 wxPoint temp2 ;
37218 int temp3 ;
37219 int res3 = SWIG_TMPOBJ ;
37220 PyObject * obj0 = 0 ;
37221 PyObject * obj1 = 0 ;
37222 char * kwnames[] = {
37223 (char *) "self",(char *) "point", NULL
37224 };
37225
37226 arg3 = &temp3;
37227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37229 if (!SWIG_IsOK(res1)) {
37230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37231 }
37232 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37233 {
37234 arg2 = &temp2;
37235 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37236 }
37237 {
37238 PyThreadState* __tstate = wxPyBeginAllowThreads();
37239 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37240 wxPyEndAllowThreads(__tstate);
37241 if (PyErr_Occurred()) SWIG_fail;
37242 }
37243 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37244 if (SWIG_IsTmpObj(res3)) {
37245 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37246 } else {
37247 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37249 }
37250 return resultobj;
37251fail:
37252 return NULL;
37253}
37254
37255
37256SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37257 PyObject *resultobj = 0;
37258 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37259 wxTreeItemId *arg2 = 0 ;
37260 bool arg3 = (bool) false ;
37261 PyObject *result = 0 ;
37262 void *argp1 = 0 ;
37263 int res1 = 0 ;
37264 void *argp2 = 0 ;
37265 int res2 = 0 ;
37266 bool val3 ;
37267 int ecode3 = 0 ;
37268 PyObject * obj0 = 0 ;
37269 PyObject * obj1 = 0 ;
37270 PyObject * obj2 = 0 ;
37271 char * kwnames[] = {
37272 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37273 };
37274
37275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37277 if (!SWIG_IsOK(res1)) {
37278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37279 }
37280 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37281 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37282 if (!SWIG_IsOK(res2)) {
37283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37284 }
37285 if (!argp2) {
37286 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37287 }
37288 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37289 if (obj2) {
37290 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37291 if (!SWIG_IsOK(ecode3)) {
37292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37293 }
37294 arg3 = static_cast< bool >(val3);
37295 }
37296 {
37297 PyThreadState* __tstate = wxPyBeginAllowThreads();
37298 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37299 wxPyEndAllowThreads(__tstate);
37300 if (PyErr_Occurred()) SWIG_fail;
37301 }
37302 resultobj = result;
37303 return resultobj;
37304fail:
37305 return NULL;
37306}
37307
37308
37309SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37310 PyObject *resultobj = 0;
37311 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37312 SwigValueWrapper<wxVisualAttributes > result;
37313 int val1 ;
37314 int ecode1 = 0 ;
37315 PyObject * obj0 = 0 ;
37316 char * kwnames[] = {
37317 (char *) "variant", NULL
37318 };
37319
37320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37321 if (obj0) {
37322 ecode1 = SWIG_AsVal_int(obj0, &val1);
37323 if (!SWIG_IsOK(ecode1)) {
37324 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37325 }
37326 arg1 = static_cast< wxWindowVariant >(val1);
37327 }
37328 {
37329 if (!wxPyCheckForApp()) SWIG_fail;
37330 PyThreadState* __tstate = wxPyBeginAllowThreads();
37331 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37332 wxPyEndAllowThreads(__tstate);
37333 if (PyErr_Occurred()) SWIG_fail;
37334 }
37335 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37336 return resultobj;
37337fail:
37338 return NULL;
d14a1e28
RD
37339}
37340
37341
2131d850
RD
37342SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37343 PyObject *resultobj = 0;
37344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37345 bool arg2 ;
37346 void *argp1 = 0 ;
37347 int res1 = 0 ;
37348 bool val2 ;
37349 int ecode2 = 0 ;
37350 PyObject * obj0 = 0 ;
37351 PyObject * obj1 = 0 ;
37352 char * kwnames[] = {
37353 (char *) "self",(char *) "q", NULL
37354 };
37355
37356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37358 if (!SWIG_IsOK(res1)) {
37359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37360 }
37361 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37362 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37363 if (!SWIG_IsOK(ecode2)) {
37364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37365 }
37366 arg2 = static_cast< bool >(val2);
37367 {
37368 PyThreadState* __tstate = wxPyBeginAllowThreads();
37369 (arg1)->SetQuickBestSize(arg2);
37370 wxPyEndAllowThreads(__tstate);
37371 if (PyErr_Occurred()) SWIG_fail;
37372 }
37373 resultobj = SWIG_Py_Void();
37374 return resultobj;
37375fail:
37376 return NULL;
37377}
37378
37379
37380SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37381 PyObject *resultobj = 0;
37382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37383 bool result;
37384 void *argp1 = 0 ;
37385 int res1 = 0 ;
37386 PyObject *swig_obj[1] ;
37387
37388 if (!args) SWIG_fail;
37389 swig_obj[0] = args;
37390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37391 if (!SWIG_IsOK(res1)) {
37392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37393 }
37394 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37395 {
37396 PyThreadState* __tstate = wxPyBeginAllowThreads();
37397 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37398 wxPyEndAllowThreads(__tstate);
37399 if (PyErr_Occurred()) SWIG_fail;
37400 }
37401 {
37402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37403 }
37404 return resultobj;
37405fail:
37406 return NULL;
37407}
37408
37409
0085ce49
RD
37410SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37411 PyObject *obj;
37412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37413 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37414 return SWIG_Py_Void();
d14a1e28
RD
37415}
37416
0085ce49
RD
37417SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37418 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
37419}
37420
0085ce49
RD
37421SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37422 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37423 return 1;
d14a1e28
RD
37424}
37425
37426
0085ce49
RD
37427SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37428 PyObject *pyobj = 0;
37429
37430 {
37431#if wxUSE_UNICODE
37432 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37433#else
37434 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37435#endif
37436 }
37437 return pyobj;
37438}
37439
37440
37441SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37442 PyObject *resultobj = 0;
37443 wxWindow *arg1 = (wxWindow *) 0 ;
37444 int arg2 = (int) (int)-1 ;
37445 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37446 wxString *arg3 = (wxString *) &arg3_defvalue ;
37447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37449 wxSize const &arg5_defvalue = wxDefaultSize ;
37450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37451 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37452 wxString const &arg7_defvalue = wxPyEmptyString ;
37453 wxString *arg7 = (wxString *) &arg7_defvalue ;
37454 int arg8 = (int) 0 ;
37455 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37456 wxString *arg9 = (wxString *) &arg9_defvalue ;
37457 wxGenericDirCtrl *result = 0 ;
37458 void *argp1 = 0 ;
37459 int res1 = 0 ;
37460 int val2 ;
37461 int ecode2 = 0 ;
37462 bool temp3 = false ;
37463 wxPoint temp4 ;
37464 wxSize temp5 ;
37465 long val6 ;
37466 int ecode6 = 0 ;
37467 bool temp7 = false ;
37468 int val8 ;
37469 int ecode8 = 0 ;
37470 bool temp9 = false ;
37471 PyObject * obj0 = 0 ;
37472 PyObject * obj1 = 0 ;
37473 PyObject * obj2 = 0 ;
37474 PyObject * obj3 = 0 ;
37475 PyObject * obj4 = 0 ;
37476 PyObject * obj5 = 0 ;
37477 PyObject * obj6 = 0 ;
37478 PyObject * obj7 = 0 ;
37479 PyObject * obj8 = 0 ;
37480 char * kwnames[] = {
37481 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37482 };
37483
37484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37486 if (!SWIG_IsOK(res1)) {
37487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37488 }
37489 arg1 = reinterpret_cast< wxWindow * >(argp1);
37490 if (obj1) {
37491 ecode2 = SWIG_AsVal_int(obj1, &val2);
37492 if (!SWIG_IsOK(ecode2)) {
37493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37494 }
37495 arg2 = static_cast< int >(val2);
37496 }
37497 if (obj2) {
d14a1e28 37498 {
0085ce49
RD
37499 arg3 = wxString_in_helper(obj2);
37500 if (arg3 == NULL) SWIG_fail;
37501 temp3 = true;
d14a1e28 37502 }
0085ce49
RD
37503 }
37504 if (obj3) {
4f89f6a3 37505 {
0085ce49
RD
37506 arg4 = &temp4;
37507 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 37508 }
0085ce49
RD
37509 }
37510 if (obj4) {
093d3ff1 37511 {
0085ce49
RD
37512 arg5 = &temp5;
37513 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37514 }
0085ce49
RD
37515 }
37516 if (obj5) {
37517 ecode6 = SWIG_AsVal_long(obj5, &val6);
37518 if (!SWIG_IsOK(ecode6)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37520 }
37521 arg6 = static_cast< long >(val6);
37522 }
37523 if (obj6) {
093d3ff1 37524 {
0085ce49
RD
37525 arg7 = wxString_in_helper(obj6);
37526 if (arg7 == NULL) SWIG_fail;
37527 temp7 = true;
093d3ff1 37528 }
0085ce49
RD
37529 }
37530 if (obj7) {
37531 ecode8 = SWIG_AsVal_int(obj7, &val8);
37532 if (!SWIG_IsOK(ecode8)) {
37533 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37534 }
37535 arg8 = static_cast< int >(val8);
37536 }
37537 if (obj8) {
d14a1e28 37538 {
0085ce49
RD
37539 arg9 = wxString_in_helper(obj8);
37540 if (arg9 == NULL) SWIG_fail;
37541 temp9 = true;
d14a1e28 37542 }
0085ce49
RD
37543 }
37544 {
37545 if (!wxPyCheckForApp()) SWIG_fail;
37546 PyThreadState* __tstate = wxPyBeginAllowThreads();
37547 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37548 wxPyEndAllowThreads(__tstate);
37549 if (PyErr_Occurred()) SWIG_fail;
37550 }
37551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37552 {
37553 if (temp3)
37554 delete arg3;
37555 }
37556 {
37557 if (temp7)
37558 delete arg7;
37559 }
37560 {
37561 if (temp9)
37562 delete arg9;
37563 }
37564 return resultobj;
37565fail:
37566 {
37567 if (temp3)
37568 delete arg3;
37569 }
37570 {
37571 if (temp7)
37572 delete arg7;
37573 }
37574 {
37575 if (temp9)
37576 delete arg9;
37577 }
37578 return NULL;
d14a1e28
RD
37579}
37580
37581
0085ce49
RD
37582SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37583 PyObject *resultobj = 0;
37584 wxGenericDirCtrl *result = 0 ;
37585
37586 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37587 {
37588 if (!wxPyCheckForApp()) SWIG_fail;
37589 PyThreadState* __tstate = wxPyBeginAllowThreads();
37590 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37591 wxPyEndAllowThreads(__tstate);
37592 if (PyErr_Occurred()) SWIG_fail;
37593 }
37594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37595 return resultobj;
37596fail:
37597 return NULL;
37598}
37599
37600
37601SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37602 PyObject *resultobj = 0;
37603 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37604 wxWindow *arg2 = (wxWindow *) 0 ;
37605 int arg3 = (int) (int)-1 ;
37606 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37607 wxString *arg4 = (wxString *) &arg4_defvalue ;
37608 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37609 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37610 wxSize const &arg6_defvalue = wxDefaultSize ;
37611 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37612 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37613 wxString const &arg8_defvalue = wxPyEmptyString ;
37614 wxString *arg8 = (wxString *) &arg8_defvalue ;
37615 int arg9 = (int) 0 ;
37616 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37617 wxString *arg10 = (wxString *) &arg10_defvalue ;
37618 bool result;
37619 void *argp1 = 0 ;
37620 int res1 = 0 ;
37621 void *argp2 = 0 ;
37622 int res2 = 0 ;
37623 int val3 ;
37624 int ecode3 = 0 ;
37625 bool temp4 = false ;
37626 wxPoint temp5 ;
37627 wxSize temp6 ;
37628 long val7 ;
37629 int ecode7 = 0 ;
37630 bool temp8 = false ;
37631 int val9 ;
37632 int ecode9 = 0 ;
37633 bool temp10 = false ;
37634 PyObject * obj0 = 0 ;
37635 PyObject * obj1 = 0 ;
37636 PyObject * obj2 = 0 ;
37637 PyObject * obj3 = 0 ;
37638 PyObject * obj4 = 0 ;
37639 PyObject * obj5 = 0 ;
37640 PyObject * obj6 = 0 ;
37641 PyObject * obj7 = 0 ;
37642 PyObject * obj8 = 0 ;
37643 PyObject * obj9 = 0 ;
37644 char * kwnames[] = {
37645 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37646 };
37647
37648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37650 if (!SWIG_IsOK(res1)) {
37651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37652 }
37653 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37654 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37655 if (!SWIG_IsOK(res2)) {
37656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37657 }
37658 arg2 = reinterpret_cast< wxWindow * >(argp2);
37659 if (obj2) {
37660 ecode3 = SWIG_AsVal_int(obj2, &val3);
37661 if (!SWIG_IsOK(ecode3)) {
37662 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37663 }
37664 arg3 = static_cast< int >(val3);
37665 }
37666 if (obj3) {
093d3ff1 37667 {
0085ce49
RD
37668 arg4 = wxString_in_helper(obj3);
37669 if (arg4 == NULL) SWIG_fail;
37670 temp4 = true;
093d3ff1 37671 }
0085ce49
RD
37672 }
37673 if (obj4) {
093d3ff1 37674 {
0085ce49
RD
37675 arg5 = &temp5;
37676 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37677 }
0085ce49
RD
37678 }
37679 if (obj5) {
d14a1e28 37680 {
0085ce49
RD
37681 arg6 = &temp6;
37682 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 37683 }
0085ce49
RD
37684 }
37685 if (obj6) {
37686 ecode7 = SWIG_AsVal_long(obj6, &val7);
37687 if (!SWIG_IsOK(ecode7)) {
37688 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37689 }
37690 arg7 = static_cast< long >(val7);
37691 }
37692 if (obj7) {
093d3ff1 37693 {
0085ce49
RD
37694 arg8 = wxString_in_helper(obj7);
37695 if (arg8 == NULL) SWIG_fail;
37696 temp8 = true;
093d3ff1 37697 }
0085ce49
RD
37698 }
37699 if (obj8) {
37700 ecode9 = SWIG_AsVal_int(obj8, &val9);
37701 if (!SWIG_IsOK(ecode9)) {
37702 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37703 }
37704 arg9 = static_cast< int >(val9);
37705 }
37706 if (obj9) {
093d3ff1 37707 {
0085ce49
RD
37708 arg10 = wxString_in_helper(obj9);
37709 if (arg10 == NULL) SWIG_fail;
37710 temp10 = true;
093d3ff1 37711 }
0085ce49
RD
37712 }
37713 {
37714 PyThreadState* __tstate = wxPyBeginAllowThreads();
37715 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37716 wxPyEndAllowThreads(__tstate);
37717 if (PyErr_Occurred()) SWIG_fail;
37718 }
37719 {
37720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37721 }
37722 {
37723 if (temp4)
37724 delete arg4;
37725 }
37726 {
37727 if (temp8)
37728 delete arg8;
37729 }
37730 {
37731 if (temp10)
37732 delete arg10;
37733 }
37734 return resultobj;
37735fail:
37736 {
37737 if (temp4)
37738 delete arg4;
37739 }
37740 {
37741 if (temp8)
37742 delete arg8;
37743 }
37744 {
37745 if (temp10)
37746 delete arg10;
37747 }
37748 return NULL;
37749}
37750
37751
37752SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37753 PyObject *resultobj = 0;
37754 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37755 wxString *arg2 = 0 ;
37756 bool result;
37757 void *argp1 = 0 ;
37758 int res1 = 0 ;
37759 bool temp2 = false ;
37760 PyObject * obj0 = 0 ;
37761 PyObject * obj1 = 0 ;
37762 char * kwnames[] = {
37763 (char *) "self",(char *) "path", NULL
37764 };
37765
37766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37768 if (!SWIG_IsOK(res1)) {
37769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37770 }
37771 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37772 {
37773 arg2 = wxString_in_helper(obj1);
37774 if (arg2 == NULL) SWIG_fail;
37775 temp2 = true;
37776 }
37777 {
37778 PyThreadState* __tstate = wxPyBeginAllowThreads();
37779 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37780 wxPyEndAllowThreads(__tstate);
37781 if (PyErr_Occurred()) SWIG_fail;
37782 }
37783 {
37784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37785 }
37786 {
37787 if (temp2)
37788 delete arg2;
37789 }
37790 return resultobj;
37791fail:
37792 {
37793 if (temp2)
37794 delete arg2;
37795 }
37796 return NULL;
d14a1e28
RD
37797}
37798
37799
704eda0c
RD
37800SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37801 PyObject *resultobj = 0;
37802 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37803 wxString *arg2 = 0 ;
37804 bool result;
37805 void *argp1 = 0 ;
37806 int res1 = 0 ;
37807 bool temp2 = false ;
37808 PyObject * obj0 = 0 ;
37809 PyObject * obj1 = 0 ;
37810 char * kwnames[] = {
37811 (char *) "self",(char *) "path", NULL
37812 };
37813
37814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37816 if (!SWIG_IsOK(res1)) {
37817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37818 }
37819 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37820 {
37821 arg2 = wxString_in_helper(obj1);
37822 if (arg2 == NULL) SWIG_fail;
37823 temp2 = true;
37824 }
37825 {
37826 PyThreadState* __tstate = wxPyBeginAllowThreads();
37827 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37828 wxPyEndAllowThreads(__tstate);
37829 if (PyErr_Occurred()) SWIG_fail;
37830 }
37831 {
37832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37833 }
37834 {
37835 if (temp2)
37836 delete arg2;
37837 }
37838 return resultobj;
37839fail:
37840 {
37841 if (temp2)
37842 delete arg2;
37843 }
37844 return NULL;
37845}
37846
37847
0085ce49
RD
37848SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37849 PyObject *resultobj = 0;
37850 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37851 wxString result;
37852 void *argp1 = 0 ;
37853 int res1 = 0 ;
37854 PyObject *swig_obj[1] ;
37855
37856 if (!args) SWIG_fail;
37857 swig_obj[0] = args;
37858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37859 if (!SWIG_IsOK(res1)) {
37860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37861 }
37862 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37863 {
37864 PyThreadState* __tstate = wxPyBeginAllowThreads();
37865 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37866 wxPyEndAllowThreads(__tstate);
37867 if (PyErr_Occurred()) SWIG_fail;
37868 }
37869 {
37870#if wxUSE_UNICODE
37871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37872#else
37873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37874#endif
37875 }
37876 return resultobj;
37877fail:
37878 return NULL;
37879}
37880
37881
37882SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37883 PyObject *resultobj = 0;
37884 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37885 wxString *arg2 = 0 ;
37886 void *argp1 = 0 ;
37887 int res1 = 0 ;
37888 bool temp2 = false ;
37889 PyObject * obj0 = 0 ;
37890 PyObject * obj1 = 0 ;
37891 char * kwnames[] = {
37892 (char *) "self",(char *) "path", NULL
37893 };
37894
37895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37897 if (!SWIG_IsOK(res1)) {
37898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37899 }
37900 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37901 {
37902 arg2 = wxString_in_helper(obj1);
37903 if (arg2 == NULL) SWIG_fail;
37904 temp2 = true;
37905 }
37906 {
37907 PyThreadState* __tstate = wxPyBeginAllowThreads();
37908 (arg1)->SetDefaultPath((wxString const &)*arg2);
37909 wxPyEndAllowThreads(__tstate);
37910 if (PyErr_Occurred()) SWIG_fail;
37911 }
37912 resultobj = SWIG_Py_Void();
37913 {
37914 if (temp2)
37915 delete arg2;
37916 }
37917 return resultobj;
37918fail:
37919 {
37920 if (temp2)
37921 delete arg2;
37922 }
37923 return NULL;
d14a1e28
RD
37924}
37925
37926
0085ce49
RD
37927SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37928 PyObject *resultobj = 0;
37929 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37930 wxString result;
37931 void *argp1 = 0 ;
37932 int res1 = 0 ;
37933 PyObject *swig_obj[1] ;
37934
37935 if (!args) SWIG_fail;
37936 swig_obj[0] = args;
37937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37938 if (!SWIG_IsOK(res1)) {
37939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37940 }
37941 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37942 {
37943 PyThreadState* __tstate = wxPyBeginAllowThreads();
37944 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37945 wxPyEndAllowThreads(__tstate);
37946 if (PyErr_Occurred()) SWIG_fail;
37947 }
37948 {
37949#if wxUSE_UNICODE
37950 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37951#else
37952 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37953#endif
37954 }
37955 return resultobj;
37956fail:
37957 return NULL;
d14a1e28
RD
37958}
37959
37960
0085ce49
RD
37961SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37962 PyObject *resultobj = 0;
37963 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37964 wxString result;
37965 void *argp1 = 0 ;
37966 int res1 = 0 ;
37967 PyObject *swig_obj[1] ;
37968
37969 if (!args) SWIG_fail;
37970 swig_obj[0] = args;
37971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37972 if (!SWIG_IsOK(res1)) {
37973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37974 }
37975 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37976 {
37977 PyThreadState* __tstate = wxPyBeginAllowThreads();
37978 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37979 wxPyEndAllowThreads(__tstate);
37980 if (PyErr_Occurred()) SWIG_fail;
37981 }
37982 {
37983#if wxUSE_UNICODE
37984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37985#else
37986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37987#endif
37988 }
37989 return resultobj;
37990fail:
37991 return NULL;
37992}
37993
37994
37995SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37996 PyObject *resultobj = 0;
37997 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37998 wxString *arg2 = 0 ;
37999 void *argp1 = 0 ;
38000 int res1 = 0 ;
38001 bool temp2 = false ;
38002 PyObject * obj0 = 0 ;
38003 PyObject * obj1 = 0 ;
38004 char * kwnames[] = {
38005 (char *) "self",(char *) "path", NULL
38006 };
38007
38008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38010 if (!SWIG_IsOK(res1)) {
38011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38012 }
38013 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38014 {
38015 arg2 = wxString_in_helper(obj1);
38016 if (arg2 == NULL) SWIG_fail;
38017 temp2 = true;
38018 }
38019 {
38020 PyThreadState* __tstate = wxPyBeginAllowThreads();
38021 (arg1)->SetPath((wxString const &)*arg2);
38022 wxPyEndAllowThreads(__tstate);
38023 if (PyErr_Occurred()) SWIG_fail;
38024 }
38025 resultobj = SWIG_Py_Void();
38026 {
38027 if (temp2)
38028 delete arg2;
38029 }
38030 return resultobj;
38031fail:
38032 {
38033 if (temp2)
38034 delete arg2;
38035 }
38036 return NULL;
38037}
38038
38039
38040SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38041 PyObject *resultobj = 0;
38042 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38043 bool arg2 ;
38044 void *argp1 = 0 ;
38045 int res1 = 0 ;
38046 bool val2 ;
38047 int ecode2 = 0 ;
38048 PyObject * obj0 = 0 ;
38049 PyObject * obj1 = 0 ;
38050 char * kwnames[] = {
38051 (char *) "self",(char *) "show", NULL
38052 };
38053
38054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38056 if (!SWIG_IsOK(res1)) {
38057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38058 }
38059 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38060 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38061 if (!SWIG_IsOK(ecode2)) {
38062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38063 }
38064 arg2 = static_cast< bool >(val2);
38065 {
38066 PyThreadState* __tstate = wxPyBeginAllowThreads();
38067 (arg1)->ShowHidden(arg2);
38068 wxPyEndAllowThreads(__tstate);
38069 if (PyErr_Occurred()) SWIG_fail;
38070 }
38071 resultobj = SWIG_Py_Void();
38072 return resultobj;
38073fail:
38074 return NULL;
d14a1e28
RD
38075}
38076
38077
0085ce49
RD
38078SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38079 PyObject *resultobj = 0;
38080 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38081 bool result;
38082 void *argp1 = 0 ;
38083 int res1 = 0 ;
38084 PyObject *swig_obj[1] ;
38085
38086 if (!args) SWIG_fail;
38087 swig_obj[0] = args;
38088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38089 if (!SWIG_IsOK(res1)) {
38090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38091 }
38092 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38093 {
38094 PyThreadState* __tstate = wxPyBeginAllowThreads();
38095 result = (bool)(arg1)->GetShowHidden();
38096 wxPyEndAllowThreads(__tstate);
38097 if (PyErr_Occurred()) SWIG_fail;
38098 }
38099 {
38100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38101 }
38102 return resultobj;
38103fail:
38104 return NULL;
d14a1e28
RD
38105}
38106
38107
0085ce49
RD
38108SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38109 PyObject *resultobj = 0;
38110 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38111 wxString result;
38112 void *argp1 = 0 ;
38113 int res1 = 0 ;
38114 PyObject *swig_obj[1] ;
38115
38116 if (!args) SWIG_fail;
38117 swig_obj[0] = args;
38118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38119 if (!SWIG_IsOK(res1)) {
38120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38121 }
38122 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38123 {
38124 PyThreadState* __tstate = wxPyBeginAllowThreads();
38125 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38126 wxPyEndAllowThreads(__tstate);
38127 if (PyErr_Occurred()) SWIG_fail;
38128 }
38129 {
38130#if wxUSE_UNICODE
38131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38132#else
38133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38134#endif
38135 }
38136 return resultobj;
38137fail:
38138 return NULL;
38139}
38140
38141
38142SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38143 PyObject *resultobj = 0;
38144 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38145 wxString *arg2 = 0 ;
38146 void *argp1 = 0 ;
38147 int res1 = 0 ;
38148 bool temp2 = false ;
38149 PyObject * obj0 = 0 ;
38150 PyObject * obj1 = 0 ;
38151 char * kwnames[] = {
38152 (char *) "self",(char *) "filter", NULL
38153 };
38154
38155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38157 if (!SWIG_IsOK(res1)) {
38158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38159 }
38160 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38161 {
38162 arg2 = wxString_in_helper(obj1);
38163 if (arg2 == NULL) SWIG_fail;
38164 temp2 = true;
38165 }
38166 {
38167 PyThreadState* __tstate = wxPyBeginAllowThreads();
38168 (arg1)->SetFilter((wxString const &)*arg2);
38169 wxPyEndAllowThreads(__tstate);
38170 if (PyErr_Occurred()) SWIG_fail;
38171 }
38172 resultobj = SWIG_Py_Void();
38173 {
38174 if (temp2)
38175 delete arg2;
38176 }
38177 return resultobj;
38178fail:
38179 {
38180 if (temp2)
38181 delete arg2;
38182 }
38183 return NULL;
d14a1e28
RD
38184}
38185
38186
0085ce49
RD
38187SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38188 PyObject *resultobj = 0;
38189 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38190 int result;
38191 void *argp1 = 0 ;
38192 int res1 = 0 ;
38193 PyObject *swig_obj[1] ;
38194
38195 if (!args) SWIG_fail;
38196 swig_obj[0] = args;
38197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38198 if (!SWIG_IsOK(res1)) {
38199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38200 }
38201 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38202 {
38203 PyThreadState* __tstate = wxPyBeginAllowThreads();
38204 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38205 wxPyEndAllowThreads(__tstate);
38206 if (PyErr_Occurred()) SWIG_fail;
38207 }
38208 resultobj = SWIG_From_int(static_cast< int >(result));
38209 return resultobj;
38210fail:
38211 return NULL;
38212}
38213
38214
38215SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38216 PyObject *resultobj = 0;
38217 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38218 int arg2 ;
38219 void *argp1 = 0 ;
38220 int res1 = 0 ;
38221 int val2 ;
38222 int ecode2 = 0 ;
38223 PyObject * obj0 = 0 ;
38224 PyObject * obj1 = 0 ;
38225 char * kwnames[] = {
38226 (char *) "self",(char *) "n", NULL
38227 };
38228
38229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38231 if (!SWIG_IsOK(res1)) {
38232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38233 }
38234 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38235 ecode2 = SWIG_AsVal_int(obj1, &val2);
38236 if (!SWIG_IsOK(ecode2)) {
38237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38238 }
38239 arg2 = static_cast< int >(val2);
38240 {
38241 PyThreadState* __tstate = wxPyBeginAllowThreads();
38242 (arg1)->SetFilterIndex(arg2);
38243 wxPyEndAllowThreads(__tstate);
38244 if (PyErr_Occurred()) SWIG_fail;
38245 }
38246 resultobj = SWIG_Py_Void();
38247 return resultobj;
38248fail:
38249 return NULL;
d14a1e28
RD
38250}
38251
38252
0085ce49
RD
38253SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38254 PyObject *resultobj = 0;
38255 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38256 wxTreeItemId result;
38257 void *argp1 = 0 ;
38258 int res1 = 0 ;
38259 PyObject *swig_obj[1] ;
38260
38261 if (!args) SWIG_fail;
38262 swig_obj[0] = args;
38263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38264 if (!SWIG_IsOK(res1)) {
38265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38266 }
38267 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38268 {
38269 PyThreadState* __tstate = wxPyBeginAllowThreads();
38270 result = (arg1)->GetRootId();
38271 wxPyEndAllowThreads(__tstate);
38272 if (PyErr_Occurred()) SWIG_fail;
38273 }
38274 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38275 return resultobj;
38276fail:
38277 return NULL;
d14a1e28
RD
38278}
38279
38280
0085ce49
RD
38281SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38282 PyObject *resultobj = 0;
38283 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38284 wxPyTreeCtrl *result = 0 ;
38285 void *argp1 = 0 ;
38286 int res1 = 0 ;
38287 PyObject *swig_obj[1] ;
38288
38289 if (!args) SWIG_fail;
38290 swig_obj[0] = args;
38291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38292 if (!SWIG_IsOK(res1)) {
38293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38294 }
38295 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38296 {
38297 PyThreadState* __tstate = wxPyBeginAllowThreads();
38298 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38299 wxPyEndAllowThreads(__tstate);
38300 if (PyErr_Occurred()) SWIG_fail;
38301 }
38302 {
38303 resultobj = wxPyMake_wxObject(result, 0);
38304 }
38305 return resultobj;
38306fail:
38307 return NULL;
d14a1e28
RD
38308}
38309
38310
0085ce49
RD
38311SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38312 PyObject *resultobj = 0;
38313 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38314 wxDirFilterListCtrl *result = 0 ;
38315 void *argp1 = 0 ;
38316 int res1 = 0 ;
38317 PyObject *swig_obj[1] ;
38318
38319 if (!args) SWIG_fail;
38320 swig_obj[0] = args;
38321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38322 if (!SWIG_IsOK(res1)) {
38323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38324 }
38325 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38326 {
38327 PyThreadState* __tstate = wxPyBeginAllowThreads();
38328 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38329 wxPyEndAllowThreads(__tstate);
38330 if (PyErr_Occurred()) SWIG_fail;
38331 }
38332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38333 return resultobj;
38334fail:
38335 return NULL;
38336}
38337
38338
38339SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38340 PyObject *resultobj = 0;
38341 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38342 wxTreeItemId arg2 ;
38343 wxString *arg3 = 0 ;
38344 bool *arg4 = 0 ;
38345 wxTreeItemId result;
38346 void *argp1 = 0 ;
38347 int res1 = 0 ;
38348 void *argp2 ;
38349 int res2 = 0 ;
38350 bool temp3 = false ;
38351 bool temp4 ;
38352 int res4 = SWIG_TMPOBJ ;
38353 PyObject * obj0 = 0 ;
38354 PyObject * obj1 = 0 ;
38355 PyObject * obj2 = 0 ;
38356 char * kwnames[] = {
38357 (char *) "self",(char *) "parentId",(char *) "path", NULL
38358 };
38359
38360 arg4 = &temp4;
38361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38363 if (!SWIG_IsOK(res1)) {
38364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38365 }
38366 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38367 {
38368 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38369 if (!SWIG_IsOK(res2)) {
38370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38371 }
38372 if (!argp2) {
38373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38374 } else {
38375 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38376 arg2 = *temp;
38377 if (SWIG_IsNewObj(res2)) delete temp;
d14a1e28 38378 }
0085ce49
RD
38379 }
38380 {
38381 arg3 = wxString_in_helper(obj2);
38382 if (arg3 == NULL) SWIG_fail;
38383 temp3 = true;
38384 }
38385 {
38386 PyThreadState* __tstate = wxPyBeginAllowThreads();
38387 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38388 wxPyEndAllowThreads(__tstate);
38389 if (PyErr_Occurred()) SWIG_fail;
38390 }
38391 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38392 if (SWIG_IsTmpObj(res4)) {
38393 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38394 } else {
38395 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38397 }
38398 {
38399 if (temp3)
38400 delete arg3;
38401 }
38402 return resultobj;
38403fail:
38404 {
38405 if (temp3)
38406 delete arg3;
38407 }
38408 return NULL;
d14a1e28
RD
38409}
38410
38411
0085ce49
RD
38412SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38413 PyObject *resultobj = 0;
38414 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38415 void *argp1 = 0 ;
38416 int res1 = 0 ;
38417 PyObject *swig_obj[1] ;
38418
38419 if (!args) SWIG_fail;
38420 swig_obj[0] = args;
38421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38422 if (!SWIG_IsOK(res1)) {
38423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38424 }
38425 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38426 {
38427 PyThreadState* __tstate = wxPyBeginAllowThreads();
38428 (arg1)->DoResize();
38429 wxPyEndAllowThreads(__tstate);
38430 if (PyErr_Occurred()) SWIG_fail;
38431 }
38432 resultobj = SWIG_Py_Void();
38433 return resultobj;
38434fail:
38435 return NULL;
d14a1e28
RD
38436}
38437
38438
0085ce49
RD
38439SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38440 PyObject *resultobj = 0;
38441 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38442 void *argp1 = 0 ;
38443 int res1 = 0 ;
38444 PyObject *swig_obj[1] ;
38445
38446 if (!args) SWIG_fail;
38447 swig_obj[0] = args;
38448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38449 if (!SWIG_IsOK(res1)) {
38450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38451 }
38452 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38453 {
38454 PyThreadState* __tstate = wxPyBeginAllowThreads();
38455 (arg1)->ReCreateTree();
38456 wxPyEndAllowThreads(__tstate);
38457 if (PyErr_Occurred()) SWIG_fail;
38458 }
38459 resultobj = SWIG_Py_Void();
38460 return resultobj;
38461fail:
38462 return NULL;
38463}
38464
38465
38466SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38467 PyObject *obj;
38468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38469 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38470 return SWIG_Py_Void();
38471}
38472
38473SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38474 return SWIG_Python_InitShadowInstance(args);
38475}
38476
38477SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38478 PyObject *resultobj = 0;
38479 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38480 int arg2 = (int) (int)-1 ;
38481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38483 wxSize const &arg4_defvalue = wxDefaultSize ;
38484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38485 long arg5 = (long) 0 ;
38486 wxDirFilterListCtrl *result = 0 ;
38487 void *argp1 = 0 ;
38488 int res1 = 0 ;
38489 int val2 ;
38490 int ecode2 = 0 ;
38491 wxPoint temp3 ;
38492 wxSize temp4 ;
38493 long val5 ;
38494 int ecode5 = 0 ;
38495 PyObject * obj0 = 0 ;
38496 PyObject * obj1 = 0 ;
38497 PyObject * obj2 = 0 ;
38498 PyObject * obj3 = 0 ;
38499 PyObject * obj4 = 0 ;
38500 char * kwnames[] = {
38501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38502 };
38503
38504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38506 if (!SWIG_IsOK(res1)) {
38507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38508 }
38509 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38510 if (obj1) {
38511 ecode2 = SWIG_AsVal_int(obj1, &val2);
38512 if (!SWIG_IsOK(ecode2)) {
38513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38514 }
38515 arg2 = static_cast< int >(val2);
38516 }
38517 if (obj2) {
d14a1e28 38518 {
0085ce49
RD
38519 arg3 = &temp3;
38520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 38521 }
0085ce49
RD
38522 }
38523 if (obj3) {
d14a1e28 38524 {
0085ce49
RD
38525 arg4 = &temp4;
38526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 38527 }
0085ce49
RD
38528 }
38529 if (obj4) {
38530 ecode5 = SWIG_AsVal_long(obj4, &val5);
38531 if (!SWIG_IsOK(ecode5)) {
38532 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38533 }
38534 arg5 = static_cast< long >(val5);
38535 }
38536 {
38537 if (!wxPyCheckForApp()) SWIG_fail;
38538 PyThreadState* __tstate = wxPyBeginAllowThreads();
38539 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38540 wxPyEndAllowThreads(__tstate);
38541 if (PyErr_Occurred()) SWIG_fail;
38542 }
38543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38544 return resultobj;
38545fail:
38546 return NULL;
d14a1e28
RD
38547}
38548
38549
0085ce49
RD
38550SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38551 PyObject *resultobj = 0;
38552 wxDirFilterListCtrl *result = 0 ;
38553
38554 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38555 {
38556 if (!wxPyCheckForApp()) SWIG_fail;
38557 PyThreadState* __tstate = wxPyBeginAllowThreads();
38558 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38559 wxPyEndAllowThreads(__tstate);
38560 if (PyErr_Occurred()) SWIG_fail;
38561 }
38562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38563 return resultobj;
38564fail:
38565 return NULL;
38566}
38567
38568
38569SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38570 PyObject *resultobj = 0;
38571 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38572 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38573 int arg3 = (int) (int)-1 ;
38574 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38575 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38576 wxSize const &arg5_defvalue = wxDefaultSize ;
38577 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38578 long arg6 = (long) 0 ;
38579 bool result;
38580 void *argp1 = 0 ;
38581 int res1 = 0 ;
38582 void *argp2 = 0 ;
38583 int res2 = 0 ;
38584 int val3 ;
38585 int ecode3 = 0 ;
38586 wxPoint temp4 ;
38587 wxSize temp5 ;
38588 long val6 ;
38589 int ecode6 = 0 ;
38590 PyObject * obj0 = 0 ;
38591 PyObject * obj1 = 0 ;
38592 PyObject * obj2 = 0 ;
38593 PyObject * obj3 = 0 ;
38594 PyObject * obj4 = 0 ;
38595 PyObject * obj5 = 0 ;
38596 char * kwnames[] = {
38597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38598 };
38599
38600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38602 if (!SWIG_IsOK(res1)) {
38603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38604 }
38605 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38606 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38607 if (!SWIG_IsOK(res2)) {
38608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38609 }
38610 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38611 if (obj2) {
38612 ecode3 = SWIG_AsVal_int(obj2, &val3);
38613 if (!SWIG_IsOK(ecode3)) {
38614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38615 }
38616 arg3 = static_cast< int >(val3);
38617 }
38618 if (obj3) {
093d3ff1 38619 {
0085ce49
RD
38620 arg4 = &temp4;
38621 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38622 }
0085ce49
RD
38623 }
38624 if (obj4) {
d14a1e28 38625 {
0085ce49
RD
38626 arg5 = &temp5;
38627 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 38628 }
0085ce49
RD
38629 }
38630 if (obj5) {
38631 ecode6 = SWIG_AsVal_long(obj5, &val6);
38632 if (!SWIG_IsOK(ecode6)) {
38633 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38634 }
38635 arg6 = static_cast< long >(val6);
38636 }
38637 {
38638 PyThreadState* __tstate = wxPyBeginAllowThreads();
38639 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38640 wxPyEndAllowThreads(__tstate);
38641 if (PyErr_Occurred()) SWIG_fail;
38642 }
38643 {
38644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38645 }
38646 return resultobj;
38647fail:
38648 return NULL;
38649}
38650
38651
38652SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38653 PyObject *resultobj = 0;
38654 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38655 wxString *arg2 = 0 ;
38656 int arg3 ;
38657 void *argp1 = 0 ;
38658 int res1 = 0 ;
38659 bool temp2 = false ;
38660 int val3 ;
38661 int ecode3 = 0 ;
38662 PyObject * obj0 = 0 ;
38663 PyObject * obj1 = 0 ;
38664 PyObject * obj2 = 0 ;
38665 char * kwnames[] = {
38666 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38667 };
38668
38669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38671 if (!SWIG_IsOK(res1)) {
38672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38673 }
38674 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38675 {
38676 arg2 = wxString_in_helper(obj1);
38677 if (arg2 == NULL) SWIG_fail;
38678 temp2 = true;
38679 }
38680 ecode3 = SWIG_AsVal_int(obj2, &val3);
38681 if (!SWIG_IsOK(ecode3)) {
38682 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38683 }
38684 arg3 = static_cast< int >(val3);
38685 {
38686 PyThreadState* __tstate = wxPyBeginAllowThreads();
38687 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38688 wxPyEndAllowThreads(__tstate);
38689 if (PyErr_Occurred()) SWIG_fail;
38690 }
38691 resultobj = SWIG_Py_Void();
38692 {
38693 if (temp2)
38694 delete arg2;
38695 }
38696 return resultobj;
38697fail:
38698 {
38699 if (temp2)
38700 delete arg2;
38701 }
38702 return NULL;
38703}
38704
38705
38706SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38707 PyObject *obj;
38708 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38709 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38710 return SWIG_Py_Void();
38711}
38712
38713SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38714 return SWIG_Python_InitShadowInstance(args);
38715}
38716
38717SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38718 PyObject *resultobj = 0;
38719 wxWindow *arg1 = (wxWindow *) 0 ;
38720 int arg2 = (int) (int)-1 ;
38721 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38722 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38723 wxSize const &arg4_defvalue = wxDefaultSize ;
38724 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38725 long arg5 = (long) 0 ;
38726 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38727 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38728 wxString const &arg7_defvalue = wxPyControlNameStr ;
38729 wxString *arg7 = (wxString *) &arg7_defvalue ;
38730 wxPyControl *result = 0 ;
38731 void *argp1 = 0 ;
38732 int res1 = 0 ;
38733 int val2 ;
38734 int ecode2 = 0 ;
38735 wxPoint temp3 ;
38736 wxSize temp4 ;
38737 long val5 ;
38738 int ecode5 = 0 ;
38739 void *argp6 = 0 ;
38740 int res6 = 0 ;
38741 bool temp7 = false ;
38742 PyObject * obj0 = 0 ;
38743 PyObject * obj1 = 0 ;
38744 PyObject * obj2 = 0 ;
38745 PyObject * obj3 = 0 ;
38746 PyObject * obj4 = 0 ;
38747 PyObject * obj5 = 0 ;
38748 PyObject * obj6 = 0 ;
38749 char * kwnames[] = {
38750 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38751 };
38752
38753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38755 if (!SWIG_IsOK(res1)) {
38756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38757 }
38758 arg1 = reinterpret_cast< wxWindow * >(argp1);
38759 if (obj1) {
38760 ecode2 = SWIG_AsVal_int(obj1, &val2);
38761 if (!SWIG_IsOK(ecode2)) {
38762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38763 }
38764 arg2 = static_cast< int >(val2);
38765 }
38766 if (obj2) {
093d3ff1 38767 {
0085ce49
RD
38768 arg3 = &temp3;
38769 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 38770 }
0085ce49
RD
38771 }
38772 if (obj3) {
d14a1e28 38773 {
0085ce49
RD
38774 arg4 = &temp4;
38775 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 38776 }
0085ce49
RD
38777 }
38778 if (obj4) {
38779 ecode5 = SWIG_AsVal_long(obj4, &val5);
38780 if (!SWIG_IsOK(ecode5)) {
38781 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38782 }
38783 arg5 = static_cast< long >(val5);
38784 }
38785 if (obj5) {
38786 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38787 if (!SWIG_IsOK(res6)) {
38788 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38789 }
38790 if (!argp6) {
38791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 38792 }
0085ce49
RD
38793 arg6 = reinterpret_cast< wxValidator * >(argp6);
38794 }
38795 if (obj6) {
d14a1e28 38796 {
0085ce49
RD
38797 arg7 = wxString_in_helper(obj6);
38798 if (arg7 == NULL) SWIG_fail;
38799 temp7 = true;
d14a1e28 38800 }
0085ce49
RD
38801 }
38802 {
38803 if (!wxPyCheckForApp()) SWIG_fail;
38804 PyThreadState* __tstate = wxPyBeginAllowThreads();
38805 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38806 wxPyEndAllowThreads(__tstate);
38807 if (PyErr_Occurred()) SWIG_fail;
38808 }
38809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38810 {
38811 if (temp7)
38812 delete arg7;
38813 }
38814 return resultobj;
38815fail:
38816 {
38817 if (temp7)
38818 delete arg7;
38819 }
38820 return NULL;
d14a1e28
RD
38821}
38822
38823
0085ce49
RD
38824SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38825 PyObject *resultobj = 0;
38826 wxPyControl *result = 0 ;
38827
38828 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38829 {
38830 if (!wxPyCheckForApp()) SWIG_fail;
38831 PyThreadState* __tstate = wxPyBeginAllowThreads();
38832 result = (wxPyControl *)new wxPyControl();
38833 wxPyEndAllowThreads(__tstate);
38834 if (PyErr_Occurred()) SWIG_fail;
38835 }
38836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38837 return resultobj;
38838fail:
38839 return NULL;
38840}
38841
38842
38843SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38844 PyObject *resultobj = 0;
38845 wxPyControl *arg1 = (wxPyControl *) 0 ;
38846 PyObject *arg2 = (PyObject *) 0 ;
38847 PyObject *arg3 = (PyObject *) 0 ;
38848 void *argp1 = 0 ;
38849 int res1 = 0 ;
38850 PyObject * obj0 = 0 ;
38851 PyObject * obj1 = 0 ;
38852 PyObject * obj2 = 0 ;
38853 char * kwnames[] = {
38854 (char *) "self",(char *) "self",(char *) "_class", NULL
38855 };
38856
38857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38859 if (!SWIG_IsOK(res1)) {
38860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38861 }
38862 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38863 arg2 = obj1;
38864 arg3 = obj2;
38865 {
38866 PyThreadState* __tstate = wxPyBeginAllowThreads();
38867 (arg1)->_setCallbackInfo(arg2,arg3);
38868 wxPyEndAllowThreads(__tstate);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 }
38871 resultobj = SWIG_Py_Void();
38872 return resultobj;
38873fail:
38874 return NULL;
38875}
38876
38877
0085ce49
RD
38878SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38879 PyObject *resultobj = 0;
38880 wxPyControl *arg1 = (wxPyControl *) 0 ;
38881 wxDC *arg2 = (wxDC *) 0 ;
38882 bool result;
38883 void *argp1 = 0 ;
38884 int res1 = 0 ;
38885 void *argp2 = 0 ;
38886 int res2 = 0 ;
38887 PyObject * obj0 = 0 ;
38888 PyObject * obj1 = 0 ;
38889 char * kwnames[] = {
38890 (char *) "self",(char *) "dc", NULL
38891 };
38892
38893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38895 if (!SWIG_IsOK(res1)) {
38896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38897 }
38898 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38899 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38900 if (!SWIG_IsOK(res2)) {
38901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38902 }
38903 arg2 = reinterpret_cast< wxDC * >(argp2);
38904 {
38905 PyThreadState* __tstate = wxPyBeginAllowThreads();
38906 result = (bool)(arg1)->DoEraseBackground(arg2);
38907 wxPyEndAllowThreads(__tstate);
38908 if (PyErr_Occurred()) SWIG_fail;
38909 }
38910 {
38911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38912 }
38913 return resultobj;
38914fail:
38915 return NULL;
38916}
38917
38918
38919SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38920 PyObject *resultobj = 0;
38921 wxPyControl *arg1 = (wxPyControl *) 0 ;
38922 int arg2 ;
38923 int arg3 ;
38924 int arg4 ;
38925 int arg5 ;
38926 void *argp1 = 0 ;
38927 int res1 = 0 ;
38928 int val2 ;
38929 int ecode2 = 0 ;
38930 int val3 ;
38931 int ecode3 = 0 ;
38932 int val4 ;
38933 int ecode4 = 0 ;
38934 int val5 ;
38935 int ecode5 = 0 ;
38936 PyObject * obj0 = 0 ;
38937 PyObject * obj1 = 0 ;
38938 PyObject * obj2 = 0 ;
38939 PyObject * obj3 = 0 ;
38940 PyObject * obj4 = 0 ;
38941 char * kwnames[] = {
38942 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38943 };
38944
38945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38947 if (!SWIG_IsOK(res1)) {
38948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38949 }
38950 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38951 ecode2 = SWIG_AsVal_int(obj1, &val2);
38952 if (!SWIG_IsOK(ecode2)) {
38953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38954 }
38955 arg2 = static_cast< int >(val2);
38956 ecode3 = SWIG_AsVal_int(obj2, &val3);
38957 if (!SWIG_IsOK(ecode3)) {
38958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38959 }
38960 arg3 = static_cast< int >(val3);
38961 ecode4 = SWIG_AsVal_int(obj3, &val4);
38962 if (!SWIG_IsOK(ecode4)) {
38963 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38964 }
38965 arg4 = static_cast< int >(val4);
38966 ecode5 = SWIG_AsVal_int(obj4, &val5);
38967 if (!SWIG_IsOK(ecode5)) {
38968 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38969 }
38970 arg5 = static_cast< int >(val5);
38971 {
38972 PyThreadState* __tstate = wxPyBeginAllowThreads();
38973 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38974 wxPyEndAllowThreads(__tstate);
38975 if (PyErr_Occurred()) SWIG_fail;
38976 }
38977 resultobj = SWIG_Py_Void();
38978 return resultobj;
38979fail:
38980 return NULL;
38981}
38982
38983
38984SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38985 PyObject *resultobj = 0;
38986 wxPyControl *arg1 = (wxPyControl *) 0 ;
38987 int arg2 ;
38988 int arg3 ;
38989 int arg4 ;
38990 int arg5 ;
38991 int arg6 = (int) wxSIZE_AUTO ;
38992 void *argp1 = 0 ;
38993 int res1 = 0 ;
38994 int val2 ;
38995 int ecode2 = 0 ;
38996 int val3 ;
38997 int ecode3 = 0 ;
38998 int val4 ;
38999 int ecode4 = 0 ;
39000 int val5 ;
39001 int ecode5 = 0 ;
39002 int val6 ;
39003 int ecode6 = 0 ;
39004 PyObject * obj0 = 0 ;
39005 PyObject * obj1 = 0 ;
39006 PyObject * obj2 = 0 ;
39007 PyObject * obj3 = 0 ;
39008 PyObject * obj4 = 0 ;
39009 PyObject * obj5 = 0 ;
39010 char * kwnames[] = {
39011 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39012 };
39013
39014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39016 if (!SWIG_IsOK(res1)) {
39017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39018 }
39019 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39020 ecode2 = SWIG_AsVal_int(obj1, &val2);
39021 if (!SWIG_IsOK(ecode2)) {
39022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39023 }
39024 arg2 = static_cast< int >(val2);
39025 ecode3 = SWIG_AsVal_int(obj2, &val3);
39026 if (!SWIG_IsOK(ecode3)) {
39027 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39028 }
39029 arg3 = static_cast< int >(val3);
39030 ecode4 = SWIG_AsVal_int(obj3, &val4);
39031 if (!SWIG_IsOK(ecode4)) {
39032 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39033 }
39034 arg4 = static_cast< int >(val4);
39035 ecode5 = SWIG_AsVal_int(obj4, &val5);
39036 if (!SWIG_IsOK(ecode5)) {
39037 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39038 }
39039 arg5 = static_cast< int >(val5);
39040 if (obj5) {
39041 ecode6 = SWIG_AsVal_int(obj5, &val6);
39042 if (!SWIG_IsOK(ecode6)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39044 }
39045 arg6 = static_cast< int >(val6);
39046 }
39047 {
39048 PyThreadState* __tstate = wxPyBeginAllowThreads();
39049 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39050 wxPyEndAllowThreads(__tstate);
39051 if (PyErr_Occurred()) SWIG_fail;
39052 }
39053 resultobj = SWIG_Py_Void();
39054 return resultobj;
39055fail:
39056 return NULL;
39057}
39058
39059
39060SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39061 PyObject *resultobj = 0;
39062 wxPyControl *arg1 = (wxPyControl *) 0 ;
39063 int arg2 ;
39064 int arg3 ;
39065 void *argp1 = 0 ;
39066 int res1 = 0 ;
39067 int val2 ;
39068 int ecode2 = 0 ;
39069 int val3 ;
39070 int ecode3 = 0 ;
39071 PyObject * obj0 = 0 ;
39072 PyObject * obj1 = 0 ;
39073 PyObject * obj2 = 0 ;
39074 char * kwnames[] = {
39075 (char *) "self",(char *) "width",(char *) "height", NULL
39076 };
39077
39078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39080 if (!SWIG_IsOK(res1)) {
39081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39082 }
39083 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39084 ecode2 = SWIG_AsVal_int(obj1, &val2);
39085 if (!SWIG_IsOK(ecode2)) {
39086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39087 }
39088 arg2 = static_cast< int >(val2);
39089 ecode3 = SWIG_AsVal_int(obj2, &val3);
39090 if (!SWIG_IsOK(ecode3)) {
39091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39092 }
39093 arg3 = static_cast< int >(val3);
39094 {
39095 PyThreadState* __tstate = wxPyBeginAllowThreads();
39096 (arg1)->DoSetClientSize(arg2,arg3);
39097 wxPyEndAllowThreads(__tstate);
39098 if (PyErr_Occurred()) SWIG_fail;
39099 }
39100 resultobj = SWIG_Py_Void();
39101 return resultobj;
39102fail:
39103 return NULL;
39104}
39105
39106
39107SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39108 PyObject *resultobj = 0;
39109 wxPyControl *arg1 = (wxPyControl *) 0 ;
39110 int arg2 ;
39111 int arg3 ;
39112 void *argp1 = 0 ;
39113 int res1 = 0 ;
39114 int val2 ;
39115 int ecode2 = 0 ;
39116 int val3 ;
39117 int ecode3 = 0 ;
39118 PyObject * obj0 = 0 ;
39119 PyObject * obj1 = 0 ;
39120 PyObject * obj2 = 0 ;
39121 char * kwnames[] = {
39122 (char *) "self",(char *) "x",(char *) "y", NULL
39123 };
39124
39125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39127 if (!SWIG_IsOK(res1)) {
39128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39129 }
39130 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39131 ecode2 = SWIG_AsVal_int(obj1, &val2);
39132 if (!SWIG_IsOK(ecode2)) {
39133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39134 }
39135 arg2 = static_cast< int >(val2);
39136 ecode3 = SWIG_AsVal_int(obj2, &val3);
39137 if (!SWIG_IsOK(ecode3)) {
39138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39139 }
39140 arg3 = static_cast< int >(val3);
39141 {
39142 PyThreadState* __tstate = wxPyBeginAllowThreads();
39143 (arg1)->DoSetVirtualSize(arg2,arg3);
39144 wxPyEndAllowThreads(__tstate);
39145 if (PyErr_Occurred()) SWIG_fail;
39146 }
39147 resultobj = SWIG_Py_Void();
39148 return resultobj;
39149fail:
39150 return NULL;
39151}
39152
39153
39154SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39155 PyObject *resultobj = 0;
39156 wxPyControl *arg1 = (wxPyControl *) 0 ;
39157 int *arg2 = (int *) 0 ;
39158 int *arg3 = (int *) 0 ;
39159 void *argp1 = 0 ;
39160 int res1 = 0 ;
39161 int temp2 ;
39162 int res2 = SWIG_TMPOBJ ;
39163 int temp3 ;
39164 int res3 = SWIG_TMPOBJ ;
39165 PyObject *swig_obj[1] ;
39166
39167 arg2 = &temp2;
39168 arg3 = &temp3;
39169 if (!args) SWIG_fail;
39170 swig_obj[0] = args;
39171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39172 if (!SWIG_IsOK(res1)) {
39173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39174 }
39175 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39176 {
39177 PyThreadState* __tstate = wxPyBeginAllowThreads();
39178 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39179 wxPyEndAllowThreads(__tstate);
39180 if (PyErr_Occurred()) SWIG_fail;
39181 }
39182 resultobj = SWIG_Py_Void();
39183 if (SWIG_IsTmpObj(res2)) {
39184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39185 } else {
39186 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39188 }
39189 if (SWIG_IsTmpObj(res3)) {
39190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39191 } else {
39192 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39193 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39194 }
39195 return resultobj;
39196fail:
39197 return NULL;
39198}
39199
39200
39201SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39202 PyObject *resultobj = 0;
39203 wxPyControl *arg1 = (wxPyControl *) 0 ;
39204 int *arg2 = (int *) 0 ;
39205 int *arg3 = (int *) 0 ;
39206 void *argp1 = 0 ;
39207 int res1 = 0 ;
39208 int temp2 ;
39209 int res2 = SWIG_TMPOBJ ;
39210 int temp3 ;
39211 int res3 = SWIG_TMPOBJ ;
39212 PyObject *swig_obj[1] ;
39213
39214 arg2 = &temp2;
39215 arg3 = &temp3;
39216 if (!args) SWIG_fail;
39217 swig_obj[0] = args;
39218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39219 if (!SWIG_IsOK(res1)) {
39220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39221 }
39222 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39223 {
39224 PyThreadState* __tstate = wxPyBeginAllowThreads();
39225 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39226 wxPyEndAllowThreads(__tstate);
39227 if (PyErr_Occurred()) SWIG_fail;
39228 }
39229 resultobj = SWIG_Py_Void();
39230 if (SWIG_IsTmpObj(res2)) {
39231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39232 } else {
39233 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39234 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39235 }
39236 if (SWIG_IsTmpObj(res3)) {
39237 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39238 } else {
39239 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39240 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39241 }
39242 return resultobj;
39243fail:
39244 return NULL;
39245}
39246
39247
39248SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39249 PyObject *resultobj = 0;
39250 wxPyControl *arg1 = (wxPyControl *) 0 ;
39251 int *arg2 = (int *) 0 ;
39252 int *arg3 = (int *) 0 ;
39253 void *argp1 = 0 ;
39254 int res1 = 0 ;
39255 int temp2 ;
39256 int res2 = SWIG_TMPOBJ ;
39257 int temp3 ;
39258 int res3 = SWIG_TMPOBJ ;
39259 PyObject *swig_obj[1] ;
39260
39261 arg2 = &temp2;
39262 arg3 = &temp3;
39263 if (!args) SWIG_fail;
39264 swig_obj[0] = args;
39265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39266 if (!SWIG_IsOK(res1)) {
39267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39268 }
39269 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39270 {
39271 PyThreadState* __tstate = wxPyBeginAllowThreads();
39272 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39273 wxPyEndAllowThreads(__tstate);
39274 if (PyErr_Occurred()) SWIG_fail;
39275 }
39276 resultobj = SWIG_Py_Void();
39277 if (SWIG_IsTmpObj(res2)) {
39278 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39279 } else {
39280 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39281 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39282 }
39283 if (SWIG_IsTmpObj(res3)) {
39284 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39285 } else {
39286 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39287 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39288 }
39289 return resultobj;
39290fail:
39291 return NULL;
d14a1e28
RD
39292}
39293
39294
0085ce49
RD
39295SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39296 PyObject *resultobj = 0;
39297 wxPyControl *arg1 = (wxPyControl *) 0 ;
39298 wxSize result;
39299 void *argp1 = 0 ;
39300 int res1 = 0 ;
39301 PyObject *swig_obj[1] ;
39302
39303 if (!args) SWIG_fail;
39304 swig_obj[0] = args;
39305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39306 if (!SWIG_IsOK(res1)) {
39307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39308 }
39309 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39310 {
39311 PyThreadState* __tstate = wxPyBeginAllowThreads();
39312 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39313 wxPyEndAllowThreads(__tstate);
39314 if (PyErr_Occurred()) SWIG_fail;
39315 }
39316 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39317 return resultobj;
39318fail:
39319 return NULL;
d14a1e28
RD
39320}
39321
39322
0085ce49
RD
39323SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39324 PyObject *resultobj = 0;
39325 wxPyControl *arg1 = (wxPyControl *) 0 ;
39326 wxSize result;
39327 void *argp1 = 0 ;
39328 int res1 = 0 ;
39329 PyObject *swig_obj[1] ;
39330
39331 if (!args) SWIG_fail;
39332 swig_obj[0] = args;
39333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39334 if (!SWIG_IsOK(res1)) {
39335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39336 }
39337 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39338 {
39339 PyThreadState* __tstate = wxPyBeginAllowThreads();
39340 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39341 wxPyEndAllowThreads(__tstate);
39342 if (PyErr_Occurred()) SWIG_fail;
39343 }
39344 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39345 return resultobj;
39346fail:
39347 return NULL;
d14a1e28
RD
39348}
39349
39350
0085ce49
RD
39351SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39352 PyObject *resultobj = 0;
39353 wxPyControl *arg1 = (wxPyControl *) 0 ;
39354 SwigValueWrapper<wxVisualAttributes > result;
39355 void *argp1 = 0 ;
39356 int res1 = 0 ;
39357 PyObject *swig_obj[1] ;
39358
39359 if (!args) SWIG_fail;
39360 swig_obj[0] = args;
39361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39362 if (!SWIG_IsOK(res1)) {
39363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39364 }
39365 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39366 {
39367 PyThreadState* __tstate = wxPyBeginAllowThreads();
39368 result = (arg1)->GetDefaultAttributes();
39369 wxPyEndAllowThreads(__tstate);
39370 if (PyErr_Occurred()) SWIG_fail;
39371 }
39372 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39373 return resultobj;
39374fail:
39375 return NULL;
d14a1e28
RD
39376}
39377
39378
0085ce49
RD
39379SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39380 PyObject *resultobj = 0;
39381 wxPyControl *arg1 = (wxPyControl *) 0 ;
39382 void *argp1 = 0 ;
39383 int res1 = 0 ;
39384 PyObject *swig_obj[1] ;
39385
39386 if (!args) SWIG_fail;
39387 swig_obj[0] = args;
39388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39389 if (!SWIG_IsOK(res1)) {
39390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39391 }
39392 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39393 {
39394 PyThreadState* __tstate = wxPyBeginAllowThreads();
39395 (arg1)->OnInternalIdle();
39396 wxPyEndAllowThreads(__tstate);
39397 if (PyErr_Occurred()) SWIG_fail;
39398 }
39399 resultobj = SWIG_Py_Void();
39400 return resultobj;
39401fail:
39402 return NULL;
39403}
39404
39405
39406SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39407 PyObject *obj;
39408 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39410 return SWIG_Py_Void();
39411}
39412
39413SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39414 return SWIG_Python_InitShadowInstance(args);
39415}
39416
39417SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39418 PyObject *resultobj = 0;
39419 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39420 int arg2 = (int) 0 ;
39421 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39422 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39423 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
0085ce49
RD
39424 wxHelpEvent *result = 0 ;
39425 int val1 ;
39426 int ecode1 = 0 ;
39427 int val2 ;
39428 int ecode2 = 0 ;
39429 wxPoint temp3 ;
704eda0c
RD
39430 int val4 ;
39431 int ecode4 = 0 ;
0085ce49
RD
39432 PyObject * obj0 = 0 ;
39433 PyObject * obj1 = 0 ;
39434 PyObject * obj2 = 0 ;
704eda0c 39435 PyObject * obj3 = 0 ;
0085ce49 39436 char * kwnames[] = {
704eda0c 39437 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
0085ce49
RD
39438 };
39439
704eda0c 39440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
0085ce49
RD
39441 if (obj0) {
39442 ecode1 = SWIG_AsVal_int(obj0, &val1);
39443 if (!SWIG_IsOK(ecode1)) {
39444 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39445 }
39446 arg1 = static_cast< wxEventType >(val1);
39447 }
39448 if (obj1) {
39449 ecode2 = SWIG_AsVal_int(obj1, &val2);
39450 if (!SWIG_IsOK(ecode2)) {
39451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39452 }
39453 arg2 = static_cast< int >(val2);
39454 }
39455 if (obj2) {
d14a1e28 39456 {
0085ce49
RD
39457 arg3 = &temp3;
39458 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 39459 }
0085ce49 39460 }
704eda0c
RD
39461 if (obj3) {
39462 ecode4 = SWIG_AsVal_int(obj3, &val4);
39463 if (!SWIG_IsOK(ecode4)) {
39464 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39465 }
39466 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39467 }
0085ce49
RD
39468 {
39469 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39470 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
0085ce49
RD
39471 wxPyEndAllowThreads(__tstate);
39472 if (PyErr_Occurred()) SWIG_fail;
39473 }
39474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39475 return resultobj;
39476fail:
39477 return NULL;
d14a1e28
RD
39478}
39479
39480
0085ce49
RD
39481SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39482 PyObject *resultobj = 0;
39483 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39484 wxPoint result;
39485 void *argp1 = 0 ;
39486 int res1 = 0 ;
39487 PyObject *swig_obj[1] ;
39488
39489 if (!args) SWIG_fail;
39490 swig_obj[0] = args;
39491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39492 if (!SWIG_IsOK(res1)) {
39493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39494 }
39495 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39496 {
39497 PyThreadState* __tstate = wxPyBeginAllowThreads();
39498 result = ((wxHelpEvent const *)arg1)->GetPosition();
39499 wxPyEndAllowThreads(__tstate);
39500 if (PyErr_Occurred()) SWIG_fail;
39501 }
39502 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39503 return resultobj;
39504fail:
39505 return NULL;
39506}
39507
39508
39509SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39510 PyObject *resultobj = 0;
39511 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39512 wxPoint *arg2 = 0 ;
39513 void *argp1 = 0 ;
39514 int res1 = 0 ;
39515 wxPoint temp2 ;
39516 PyObject * obj0 = 0 ;
39517 PyObject * obj1 = 0 ;
39518 char * kwnames[] = {
39519 (char *) "self",(char *) "pos", NULL
39520 };
39521
39522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39524 if (!SWIG_IsOK(res1)) {
39525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39526 }
39527 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39528 {
39529 arg2 = &temp2;
39530 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39531 }
39532 {
39533 PyThreadState* __tstate = wxPyBeginAllowThreads();
39534 (arg1)->SetPosition((wxPoint const &)*arg2);
39535 wxPyEndAllowThreads(__tstate);
39536 if (PyErr_Occurred()) SWIG_fail;
39537 }
39538 resultobj = SWIG_Py_Void();
39539 return resultobj;
39540fail:
39541 return NULL;
d14a1e28
RD
39542}
39543
39544
0085ce49
RD
39545SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39546 PyObject *resultobj = 0;
39547 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39548 wxString *result = 0 ;
39549 void *argp1 = 0 ;
39550 int res1 = 0 ;
39551 PyObject *swig_obj[1] ;
39552
39553 if (!args) SWIG_fail;
39554 swig_obj[0] = args;
39555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39556 if (!SWIG_IsOK(res1)) {
39557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39558 }
39559 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39560 {
39561 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 39562 {
0085ce49
RD
39563 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39564 result = (wxString *) &_result_ref;
093d3ff1 39565 }
0085ce49
RD
39566 wxPyEndAllowThreads(__tstate);
39567 if (PyErr_Occurred()) SWIG_fail;
39568 }
39569 {
39570#if wxUSE_UNICODE
39571 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39572#else
39573 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39574#endif
39575 }
39576 return resultobj;
39577fail:
39578 return NULL;
39579}
39580
39581
39582SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39583 PyObject *resultobj = 0;
39584 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39585 wxString *arg2 = 0 ;
39586 void *argp1 = 0 ;
39587 int res1 = 0 ;
39588 bool temp2 = false ;
39589 PyObject * obj0 = 0 ;
39590 PyObject * obj1 = 0 ;
39591 char * kwnames[] = {
39592 (char *) "self",(char *) "link", NULL
39593 };
39594
39595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39597 if (!SWIG_IsOK(res1)) {
39598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39599 }
39600 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39601 {
39602 arg2 = wxString_in_helper(obj1);
39603 if (arg2 == NULL) SWIG_fail;
39604 temp2 = true;
39605 }
39606 {
39607 PyThreadState* __tstate = wxPyBeginAllowThreads();
39608 (arg1)->SetLink((wxString const &)*arg2);
39609 wxPyEndAllowThreads(__tstate);
39610 if (PyErr_Occurred()) SWIG_fail;
39611 }
39612 resultobj = SWIG_Py_Void();
39613 {
39614 if (temp2)
39615 delete arg2;
39616 }
39617 return resultobj;
39618fail:
39619 {
39620 if (temp2)
39621 delete arg2;
39622 }
39623 return NULL;
d14a1e28
RD
39624}
39625
39626
0085ce49
RD
39627SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39628 PyObject *resultobj = 0;
39629 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39630 wxString *result = 0 ;
39631 void *argp1 = 0 ;
39632 int res1 = 0 ;
39633 PyObject *swig_obj[1] ;
39634
39635 if (!args) SWIG_fail;
39636 swig_obj[0] = args;
39637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39638 if (!SWIG_IsOK(res1)) {
39639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39640 }
39641 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39642 {
39643 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 39644 {
0085ce49
RD
39645 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39646 result = (wxString *) &_result_ref;
d14a1e28 39647 }
0085ce49
RD
39648 wxPyEndAllowThreads(__tstate);
39649 if (PyErr_Occurred()) SWIG_fail;
39650 }
39651 {
39652#if wxUSE_UNICODE
39653 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39654#else
39655 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39656#endif
39657 }
39658 return resultobj;
39659fail:
39660 return NULL;
39661}
39662
39663
39664SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39665 PyObject *resultobj = 0;
39666 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39667 wxString *arg2 = 0 ;
39668 void *argp1 = 0 ;
39669 int res1 = 0 ;
39670 bool temp2 = false ;
39671 PyObject * obj0 = 0 ;
39672 PyObject * obj1 = 0 ;
39673 char * kwnames[] = {
39674 (char *) "self",(char *) "target", NULL
39675 };
39676
39677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39679 if (!SWIG_IsOK(res1)) {
39680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39681 }
39682 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39683 {
39684 arg2 = wxString_in_helper(obj1);
39685 if (arg2 == NULL) SWIG_fail;
39686 temp2 = true;
39687 }
39688 {
39689 PyThreadState* __tstate = wxPyBeginAllowThreads();
39690 (arg1)->SetTarget((wxString const &)*arg2);
39691 wxPyEndAllowThreads(__tstate);
39692 if (PyErr_Occurred()) SWIG_fail;
39693 }
39694 resultobj = SWIG_Py_Void();
39695 {
39696 if (temp2)
39697 delete arg2;
39698 }
39699 return resultobj;
39700fail:
39701 {
39702 if (temp2)
39703 delete arg2;
39704 }
39705 return NULL;
d14a1e28
RD
39706}
39707
39708
704eda0c
RD
39709SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39710 PyObject *resultobj = 0;
39711 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39712 wxHelpEvent::Origin result;
39713 void *argp1 = 0 ;
39714 int res1 = 0 ;
39715 PyObject *swig_obj[1] ;
39716
39717 if (!args) SWIG_fail;
39718 swig_obj[0] = args;
39719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39720 if (!SWIG_IsOK(res1)) {
39721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39722 }
39723 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39724 {
39725 PyThreadState* __tstate = wxPyBeginAllowThreads();
39726 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39727 wxPyEndAllowThreads(__tstate);
39728 if (PyErr_Occurred()) SWIG_fail;
39729 }
39730 resultobj = SWIG_From_int(static_cast< int >(result));
39731 return resultobj;
39732fail:
39733 return NULL;
39734}
39735
39736
39737SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39738 PyObject *resultobj = 0;
39739 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39740 wxHelpEvent::Origin arg2 ;
39741 void *argp1 = 0 ;
39742 int res1 = 0 ;
39743 int val2 ;
39744 int ecode2 = 0 ;
39745 PyObject * obj0 = 0 ;
39746 PyObject * obj1 = 0 ;
39747 char * kwnames[] = {
39748 (char *) "self",(char *) "origin", NULL
39749 };
39750
39751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39753 if (!SWIG_IsOK(res1)) {
39754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39755 }
39756 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39757 ecode2 = SWIG_AsVal_int(obj1, &val2);
39758 if (!SWIG_IsOK(ecode2)) {
39759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39760 }
39761 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39762 {
39763 PyThreadState* __tstate = wxPyBeginAllowThreads();
39764 (arg1)->SetOrigin(arg2);
39765 wxPyEndAllowThreads(__tstate);
39766 if (PyErr_Occurred()) SWIG_fail;
39767 }
39768 resultobj = SWIG_Py_Void();
39769 return resultobj;
39770fail:
39771 return NULL;
39772}
39773
39774
0085ce49
RD
39775SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39776 PyObject *obj;
39777 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39778 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39779 return SWIG_Py_Void();
d14a1e28
RD
39780}
39781
0085ce49
RD
39782SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39783 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
39784}
39785
0085ce49
RD
39786SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39787 PyObject *resultobj = 0;
39788 wxWindow *arg1 = (wxWindow *) NULL ;
39789 bool arg2 = (bool) true ;
39790 wxContextHelp *result = 0 ;
39791 void *argp1 = 0 ;
39792 int res1 = 0 ;
39793 bool val2 ;
39794 int ecode2 = 0 ;
39795 PyObject * obj0 = 0 ;
39796 PyObject * obj1 = 0 ;
39797 char * kwnames[] = {
39798 (char *) "window",(char *) "doNow", NULL
39799 };
39800
39801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39802 if (obj0) {
39803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39804 if (!SWIG_IsOK(res1)) {
39805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d14a1e28 39806 }
0085ce49
RD
39807 arg1 = reinterpret_cast< wxWindow * >(argp1);
39808 }
39809 if (obj1) {
39810 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39811 if (!SWIG_IsOK(ecode2)) {
39812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39813 }
39814 arg2 = static_cast< bool >(val2);
39815 }
39816 {
39817 if (!wxPyCheckForApp()) SWIG_fail;
39818 PyThreadState* __tstate = wxPyBeginAllowThreads();
39819 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39820 wxPyEndAllowThreads(__tstate);
39821 if (PyErr_Occurred()) SWIG_fail;
39822 }
39823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39824 return resultobj;
39825fail:
39826 return NULL;
d14a1e28
RD
39827}
39828
39829
0085ce49
RD
39830SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39831 PyObject *resultobj = 0;
39832 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39833 void *argp1 = 0 ;
39834 int res1 = 0 ;
39835 PyObject *swig_obj[1] ;
39836
39837 if (!args) SWIG_fail;
39838 swig_obj[0] = args;
39839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39840 if (!SWIG_IsOK(res1)) {
39841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39842 }
39843 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39844 {
39845 PyThreadState* __tstate = wxPyBeginAllowThreads();
39846 delete arg1;
3a04f143 39847
0085ce49
RD
39848 wxPyEndAllowThreads(__tstate);
39849 if (PyErr_Occurred()) SWIG_fail;
39850 }
39851 resultobj = SWIG_Py_Void();
39852 return resultobj;
39853fail:
39854 return NULL;
39855}
39856
39857
39858SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39859 PyObject *resultobj = 0;
39860 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39861 wxWindow *arg2 = (wxWindow *) NULL ;
39862 bool result;
39863 void *argp1 = 0 ;
39864 int res1 = 0 ;
39865 void *argp2 = 0 ;
39866 int res2 = 0 ;
39867 PyObject * obj0 = 0 ;
39868 PyObject * obj1 = 0 ;
39869 char * kwnames[] = {
39870 (char *) "self",(char *) "window", NULL
39871 };
39872
39873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39875 if (!SWIG_IsOK(res1)) {
39876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39877 }
39878 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39879 if (obj1) {
39880 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39881 if (!SWIG_IsOK(res2)) {
39882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
3a04f143 39883 }
0085ce49
RD
39884 arg2 = reinterpret_cast< wxWindow * >(argp2);
39885 }
39886 {
39887 PyThreadState* __tstate = wxPyBeginAllowThreads();
39888 result = (bool)(arg1)->BeginContextHelp(arg2);
39889 wxPyEndAllowThreads(__tstate);
39890 if (PyErr_Occurred()) SWIG_fail;
39891 }
39892 {
39893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39894 }
39895 return resultobj;
39896fail:
39897 return NULL;
3a04f143
RD
39898}
39899
39900
0085ce49
RD
39901SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39902 PyObject *resultobj = 0;
39903 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39904 bool result;
39905 void *argp1 = 0 ;
39906 int res1 = 0 ;
39907 PyObject *swig_obj[1] ;
39908
39909 if (!args) SWIG_fail;
39910 swig_obj[0] = args;
39911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39912 if (!SWIG_IsOK(res1)) {
39913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39914 }
39915 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39916 {
39917 PyThreadState* __tstate = wxPyBeginAllowThreads();
39918 result = (bool)(arg1)->EndContextHelp();
39919 wxPyEndAllowThreads(__tstate);
39920 if (PyErr_Occurred()) SWIG_fail;
39921 }
39922 {
39923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39924 }
39925 return resultobj;
39926fail:
39927 return NULL;
39928}
39929
39930
39931SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39932 PyObject *obj;
39933 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39934 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39935 return SWIG_Py_Void();
39936}
39937
39938SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39939 return SWIG_Python_InitShadowInstance(args);
39940}
39941
39942SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39943 PyObject *resultobj = 0;
39944 wxWindow *arg1 = (wxWindow *) 0 ;
39945 int arg2 = (int) wxID_CONTEXT_HELP ;
39946 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39947 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39948 wxSize const &arg4_defvalue = wxDefaultSize ;
39949 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39950 long arg5 = (long) wxBU_AUTODRAW ;
39951 wxContextHelpButton *result = 0 ;
39952 void *argp1 = 0 ;
39953 int res1 = 0 ;
39954 int val2 ;
39955 int ecode2 = 0 ;
39956 wxPoint temp3 ;
39957 wxSize temp4 ;
39958 long val5 ;
39959 int ecode5 = 0 ;
39960 PyObject * obj0 = 0 ;
39961 PyObject * obj1 = 0 ;
39962 PyObject * obj2 = 0 ;
39963 PyObject * obj3 = 0 ;
39964 PyObject * obj4 = 0 ;
39965 char * kwnames[] = {
39966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39967 };
39968
39969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39971 if (!SWIG_IsOK(res1)) {
39972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39973 }
39974 arg1 = reinterpret_cast< wxWindow * >(argp1);
39975 if (obj1) {
39976 ecode2 = SWIG_AsVal_int(obj1, &val2);
39977 if (!SWIG_IsOK(ecode2)) {
39978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39979 }
39980 arg2 = static_cast< int >(val2);
39981 }
39982 if (obj2) {
d14a1e28 39983 {
0085ce49
RD
39984 arg3 = &temp3;
39985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 39986 }
0085ce49
RD
39987 }
39988 if (obj3) {
4f89f6a3 39989 {
0085ce49
RD
39990 arg4 = &temp4;
39991 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 39992 }
0085ce49
RD
39993 }
39994 if (obj4) {
39995 ecode5 = SWIG_AsVal_long(obj4, &val5);
39996 if (!SWIG_IsOK(ecode5)) {
39997 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39998 }
39999 arg5 = static_cast< long >(val5);
40000 }
40001 {
40002 if (!wxPyCheckForApp()) SWIG_fail;
40003 PyThreadState* __tstate = wxPyBeginAllowThreads();
40004 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40005 wxPyEndAllowThreads(__tstate);
40006 if (PyErr_Occurred()) SWIG_fail;
40007 }
40008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40009 return resultobj;
40010fail:
40011 return NULL;
d14a1e28
RD
40012}
40013
40014
0085ce49
RD
40015SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40016 PyObject *obj;
40017 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40018 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40019 return SWIG_Py_Void();
d14a1e28
RD
40020}
40021
0085ce49
RD
40022SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40023 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
40024}
40025
f52cbe90
RD
40026SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40027 PyObject *resultobj = 0;
40028 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40029 void *argp1 = 0 ;
40030 int res1 = 0 ;
40031 PyObject *swig_obj[1] ;
40032
40033 if (!args) SWIG_fail;
40034 swig_obj[0] = args;
40035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40036 if (!SWIG_IsOK(res1)) {
40037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40038 }
40039 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40040 {
40041 PyThreadState* __tstate = wxPyBeginAllowThreads();
40042 delete arg1;
40043
40044 wxPyEndAllowThreads(__tstate);
40045 if (PyErr_Occurred()) SWIG_fail;
40046 }
40047 resultobj = SWIG_Py_Void();
40048 return resultobj;
40049fail:
40050 return NULL;
40051}
40052
40053
0085ce49
RD
40054SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40055 PyObject *resultobj = 0;
40056 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40057 wxHelpProvider *result = 0 ;
40058 int res1 = 0 ;
40059 PyObject * obj0 = 0 ;
40060 char * kwnames[] = {
40061 (char *) "helpProvider", NULL
40062 };
40063
40064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40065 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40066 if (!SWIG_IsOK(res1)) {
40067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40068 }
40069 {
40070 PyThreadState* __tstate = wxPyBeginAllowThreads();
40071 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40072 wxPyEndAllowThreads(__tstate);
40073 if (PyErr_Occurred()) SWIG_fail;
40074 }
40075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40076 return resultobj;
40077fail:
40078 return NULL;
d14a1e28
RD
40079}
40080
40081
0085ce49
RD
40082SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40083 PyObject *resultobj = 0;
40084 wxHelpProvider *result = 0 ;
40085
40086 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40087 {
40088 PyThreadState* __tstate = wxPyBeginAllowThreads();
40089 result = (wxHelpProvider *)wxHelpProvider::Get();
40090 wxPyEndAllowThreads(__tstate);
40091 if (PyErr_Occurred()) SWIG_fail;
40092 }
40093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40094 return resultobj;
40095fail:
40096 return NULL;
40097}
40098
40099
40100SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40101 PyObject *resultobj = 0;
40102 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40103 wxWindow *arg2 = (wxWindow *) 0 ;
40104 wxString result;
40105 void *argp1 = 0 ;
40106 int res1 = 0 ;
40107 void *argp2 = 0 ;
40108 int res2 = 0 ;
40109 PyObject * obj0 = 0 ;
40110 PyObject * obj1 = 0 ;
40111 char * kwnames[] = {
40112 (char *) "self",(char *) "window", NULL
40113 };
40114
40115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40117 if (!SWIG_IsOK(res1)) {
40118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40119 }
40120 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40121 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40122 if (!SWIG_IsOK(res2)) {
40123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40124 }
40125 arg2 = reinterpret_cast< wxWindow * >(argp2);
40126 {
40127 PyThreadState* __tstate = wxPyBeginAllowThreads();
40128 result = (arg1)->GetHelp((wxWindow const *)arg2);
40129 wxPyEndAllowThreads(__tstate);
40130 if (PyErr_Occurred()) SWIG_fail;
40131 }
40132 {
40133#if wxUSE_UNICODE
40134 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40135#else
40136 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40137#endif
40138 }
40139 return resultobj;
40140fail:
40141 return NULL;
40142}
40143
40144
40145SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40146 PyObject *resultobj = 0;
40147 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40148 wxWindow *arg2 = (wxWindow *) 0 ;
40149 bool result;
40150 void *argp1 = 0 ;
40151 int res1 = 0 ;
40152 void *argp2 = 0 ;
40153 int res2 = 0 ;
40154 PyObject * obj0 = 0 ;
40155 PyObject * obj1 = 0 ;
40156 char * kwnames[] = {
40157 (char *) "self",(char *) "window", NULL
40158 };
40159
40160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40162 if (!SWIG_IsOK(res1)) {
40163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40164 }
40165 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40167 if (!SWIG_IsOK(res2)) {
40168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40169 }
40170 arg2 = reinterpret_cast< wxWindow * >(argp2);
40171 {
40172 PyThreadState* __tstate = wxPyBeginAllowThreads();
40173 result = (bool)(arg1)->ShowHelp(arg2);
40174 wxPyEndAllowThreads(__tstate);
40175 if (PyErr_Occurred()) SWIG_fail;
40176 }
40177 {
40178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40179 }
40180 return resultobj;
40181fail:
40182 return NULL;
40183}
40184
40185
b850e7f3
RD
40186SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40187 PyObject *resultobj = 0;
40188 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40189 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40190 wxPoint *arg3 = 0 ;
40191 wxHelpEvent::Origin arg4 ;
40192 bool result;
40193 void *argp1 = 0 ;
40194 int res1 = 0 ;
40195 void *argp2 = 0 ;
40196 int res2 = 0 ;
40197 wxPoint temp3 ;
40198 int val4 ;
40199 int ecode4 = 0 ;
40200 PyObject * obj0 = 0 ;
40201 PyObject * obj1 = 0 ;
40202 PyObject * obj2 = 0 ;
40203 PyObject * obj3 = 0 ;
40204 char * kwnames[] = {
40205 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40206 };
40207
40208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40210 if (!SWIG_IsOK(res1)) {
40211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40212 }
40213 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40215 if (!SWIG_IsOK(res2)) {
40216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40217 }
40218 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40219 {
40220 arg3 = &temp3;
40221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40222 }
40223 ecode4 = SWIG_AsVal_int(obj3, &val4);
40224 if (!SWIG_IsOK(ecode4)) {
40225 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40226 }
40227 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40228 {
40229 PyThreadState* __tstate = wxPyBeginAllowThreads();
40230 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40231 wxPyEndAllowThreads(__tstate);
40232 if (PyErr_Occurred()) SWIG_fail;
40233 }
40234 {
40235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40236 }
40237 return resultobj;
40238fail:
40239 return NULL;
40240}
40241
40242
0085ce49
RD
40243SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40244 PyObject *resultobj = 0;
40245 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40246 wxWindow *arg2 = (wxWindow *) 0 ;
40247 wxString *arg3 = 0 ;
40248 void *argp1 = 0 ;
40249 int res1 = 0 ;
40250 void *argp2 = 0 ;
40251 int res2 = 0 ;
40252 bool temp3 = false ;
40253 PyObject * obj0 = 0 ;
40254 PyObject * obj1 = 0 ;
40255 PyObject * obj2 = 0 ;
40256 char * kwnames[] = {
40257 (char *) "self",(char *) "window",(char *) "text", NULL
40258 };
40259
40260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40262 if (!SWIG_IsOK(res1)) {
40263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40264 }
40265 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40266 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40267 if (!SWIG_IsOK(res2)) {
40268 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40269 }
40270 arg2 = reinterpret_cast< wxWindow * >(argp2);
40271 {
40272 arg3 = wxString_in_helper(obj2);
40273 if (arg3 == NULL) SWIG_fail;
40274 temp3 = true;
40275 }
40276 {
40277 PyThreadState* __tstate = wxPyBeginAllowThreads();
40278 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40279 wxPyEndAllowThreads(__tstate);
40280 if (PyErr_Occurred()) SWIG_fail;
40281 }
40282 resultobj = SWIG_Py_Void();
40283 {
40284 if (temp3)
40285 delete arg3;
40286 }
40287 return resultobj;
40288fail:
40289 {
40290 if (temp3)
40291 delete arg3;
40292 }
40293 return NULL;
40294}
40295
40296
40297SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40298 PyObject *resultobj = 0;
40299 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40300 int arg2 ;
40301 wxString *arg3 = 0 ;
40302 void *argp1 = 0 ;
40303 int res1 = 0 ;
40304 int val2 ;
40305 int ecode2 = 0 ;
40306 bool temp3 = false ;
40307 PyObject * obj0 = 0 ;
40308 PyObject * obj1 = 0 ;
40309 PyObject * obj2 = 0 ;
40310 char * kwnames[] = {
40311 (char *) "self",(char *) "id",(char *) "text", NULL
40312 };
40313
40314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40316 if (!SWIG_IsOK(res1)) {
40317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40318 }
40319 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40320 ecode2 = SWIG_AsVal_int(obj1, &val2);
40321 if (!SWIG_IsOK(ecode2)) {
40322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40323 }
40324 arg2 = static_cast< int >(val2);
40325 {
40326 arg3 = wxString_in_helper(obj2);
40327 if (arg3 == NULL) SWIG_fail;
40328 temp3 = true;
40329 }
40330 {
40331 PyThreadState* __tstate = wxPyBeginAllowThreads();
40332 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40333 wxPyEndAllowThreads(__tstate);
40334 if (PyErr_Occurred()) SWIG_fail;
40335 }
40336 resultobj = SWIG_Py_Void();
40337 {
40338 if (temp3)
40339 delete arg3;
40340 }
40341 return resultobj;
40342fail:
40343 {
40344 if (temp3)
40345 delete arg3;
40346 }
40347 return NULL;
40348}
40349
40350
40351SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40352 PyObject *resultobj = 0;
40353 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40354 wxWindow *arg2 = (wxWindow *) 0 ;
40355 void *argp1 = 0 ;
40356 int res1 = 0 ;
40357 void *argp2 = 0 ;
40358 int res2 = 0 ;
40359 PyObject * obj0 = 0 ;
40360 PyObject * obj1 = 0 ;
40361 char * kwnames[] = {
40362 (char *) "self",(char *) "window", NULL
40363 };
40364
40365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40367 if (!SWIG_IsOK(res1)) {
40368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40369 }
40370 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40371 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40372 if (!SWIG_IsOK(res2)) {
40373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40374 }
40375 arg2 = reinterpret_cast< wxWindow * >(argp2);
40376 {
40377 PyThreadState* __tstate = wxPyBeginAllowThreads();
40378 (arg1)->RemoveHelp(arg2);
40379 wxPyEndAllowThreads(__tstate);
40380 if (PyErr_Occurred()) SWIG_fail;
40381 }
40382 resultobj = SWIG_Py_Void();
40383 return resultobj;
40384fail:
40385 return NULL;
d14a1e28
RD
40386}
40387
40388
0085ce49
RD
40389SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40390 PyObject *resultobj = 0;
40391 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40392 void *argp1 = 0 ;
40393 int res1 = 0 ;
40394 PyObject *swig_obj[1] ;
40395
40396 if (!args) SWIG_fail;
40397 swig_obj[0] = args;
40398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40399 if (!SWIG_IsOK(res1)) {
40400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40401 }
40402 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40403 {
40404 PyThreadState* __tstate = wxPyBeginAllowThreads();
40405 wxHelpProvider_Destroy(arg1);
40406 wxPyEndAllowThreads(__tstate);
40407 if (PyErr_Occurred()) SWIG_fail;
40408 }
40409 resultobj = SWIG_Py_Void();
40410 return resultobj;
40411fail:
40412 return NULL;
22bfe96c
RD
40413}
40414
40415
0085ce49
RD
40416SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40417 PyObject *obj;
40418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40419 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40420 return SWIG_Py_Void();
b2dc1044
RD
40421}
40422
0085ce49
RD
40423SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40424 PyObject *resultobj = 0;
40425 wxSimpleHelpProvider *result = 0 ;
40426
40427 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40428 {
40429 PyThreadState* __tstate = wxPyBeginAllowThreads();
40430 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40431 wxPyEndAllowThreads(__tstate);
40432 if (PyErr_Occurred()) SWIG_fail;
40433 }
40434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40435 return resultobj;
40436fail:
40437 return NULL;
40438}
40439
40440
40441SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40442 PyObject *obj;
40443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40444 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40445 return SWIG_Py_Void();
40446}
40447
40448SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40449 return SWIG_Python_InitShadowInstance(args);
40450}
40451
40452SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40453 PyObject *resultobj = 0;
40454 wxBitmap *arg1 = 0 ;
40455 wxCursor const &arg2_defvalue = wxNullCursor ;
40456 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40457 wxGenericDragImage *result = 0 ;
40458 void *argp1 = 0 ;
40459 int res1 = 0 ;
40460 void *argp2 = 0 ;
40461 int res2 = 0 ;
40462 PyObject * obj0 = 0 ;
40463 PyObject * obj1 = 0 ;
40464 char * kwnames[] = {
40465 (char *) "image",(char *) "cursor", NULL
40466 };
40467
40468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40469 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40470 if (!SWIG_IsOK(res1)) {
40471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40472 }
40473 if (!argp1) {
40474 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40475 }
40476 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40477 if (obj1) {
40478 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40479 if (!SWIG_IsOK(res2)) {
40480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40481 }
0085ce49
RD
40482 if (!argp2) {
40483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40484 }
0085ce49
RD
40485 arg2 = reinterpret_cast< wxCursor * >(argp2);
40486 }
40487 {
40488 if (!wxPyCheckForApp()) SWIG_fail;
40489 PyThreadState* __tstate = wxPyBeginAllowThreads();
40490 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40491 wxPyEndAllowThreads(__tstate);
40492 if (PyErr_Occurred()) SWIG_fail;
40493 }
40494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40495 return resultobj;
40496fail:
40497 return NULL;
40498}
40499
40500
40501SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40502 PyObject *resultobj = 0;
40503 wxIcon *arg1 = 0 ;
40504 wxCursor const &arg2_defvalue = wxNullCursor ;
40505 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40506 wxGenericDragImage *result = 0 ;
40507 void *argp1 = 0 ;
40508 int res1 = 0 ;
40509 void *argp2 = 0 ;
40510 int res2 = 0 ;
40511 PyObject * obj0 = 0 ;
40512 PyObject * obj1 = 0 ;
40513 char * kwnames[] = {
40514 (char *) "image",(char *) "cursor", NULL
40515 };
40516
40517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40518 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40519 if (!SWIG_IsOK(res1)) {
40520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40521 }
40522 if (!argp1) {
40523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40524 }
40525 arg1 = reinterpret_cast< wxIcon * >(argp1);
40526 if (obj1) {
40527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40528 if (!SWIG_IsOK(res2)) {
40529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40530 }
0085ce49
RD
40531 if (!argp2) {
40532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40533 }
0085ce49
RD
40534 arg2 = reinterpret_cast< wxCursor * >(argp2);
40535 }
40536 {
40537 if (!wxPyCheckForApp()) SWIG_fail;
40538 PyThreadState* __tstate = wxPyBeginAllowThreads();
40539 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40540 wxPyEndAllowThreads(__tstate);
40541 if (PyErr_Occurred()) SWIG_fail;
40542 }
40543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40544 return resultobj;
40545fail:
40546 return NULL;
40547}
40548
40549
40550SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40551 PyObject *resultobj = 0;
40552 wxString *arg1 = 0 ;
40553 wxCursor const &arg2_defvalue = wxNullCursor ;
40554 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40555 wxGenericDragImage *result = 0 ;
40556 bool temp1 = false ;
40557 void *argp2 = 0 ;
40558 int res2 = 0 ;
40559 PyObject * obj0 = 0 ;
40560 PyObject * obj1 = 0 ;
40561 char * kwnames[] = {
40562 (char *) "str",(char *) "cursor", NULL
40563 };
40564
40565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40566 {
40567 arg1 = wxString_in_helper(obj0);
40568 if (arg1 == NULL) SWIG_fail;
40569 temp1 = true;
40570 }
40571 if (obj1) {
40572 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40573 if (!SWIG_IsOK(res2)) {
40574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40575 }
0085ce49
RD
40576 if (!argp2) {
40577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40578 }
40579 arg2 = reinterpret_cast< wxCursor * >(argp2);
40580 }
40581 {
40582 if (!wxPyCheckForApp()) SWIG_fail;
40583 PyThreadState* __tstate = wxPyBeginAllowThreads();
40584 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40585 wxPyEndAllowThreads(__tstate);
40586 if (PyErr_Occurred()) SWIG_fail;
40587 }
40588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40589 {
40590 if (temp1)
40591 delete arg1;
40592 }
40593 return resultobj;
40594fail:
40595 {
40596 if (temp1)
40597 delete arg1;
40598 }
40599 return NULL;
40600}
40601
40602
40603SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40604 PyObject *resultobj = 0;
40605 wxPyTreeCtrl *arg1 = 0 ;
40606 wxTreeItemId *arg2 = 0 ;
40607 wxGenericDragImage *result = 0 ;
40608 void *argp1 = 0 ;
40609 int res1 = 0 ;
40610 void *argp2 = 0 ;
40611 int res2 = 0 ;
40612 PyObject * obj0 = 0 ;
40613 PyObject * obj1 = 0 ;
40614 char * kwnames[] = {
40615 (char *) "treeCtrl",(char *) "id", NULL
40616 };
40617
40618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40619 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40620 if (!SWIG_IsOK(res1)) {
40621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40622 }
40623 if (!argp1) {
40624 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40625 }
40626 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40627 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40628 if (!SWIG_IsOK(res2)) {
40629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40630 }
40631 if (!argp2) {
40632 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40633 }
40634 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40635 {
40636 if (!wxPyCheckForApp()) SWIG_fail;
40637 PyThreadState* __tstate = wxPyBeginAllowThreads();
40638 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40639 wxPyEndAllowThreads(__tstate);
40640 if (PyErr_Occurred()) SWIG_fail;
40641 }
40642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40643 return resultobj;
40644fail:
40645 return NULL;
40646}
40647
40648
40649SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40650 PyObject *resultobj = 0;
40651 wxPyListCtrl *arg1 = 0 ;
40652 long arg2 ;
40653 wxGenericDragImage *result = 0 ;
40654 void *argp1 = 0 ;
40655 int res1 = 0 ;
40656 long val2 ;
40657 int ecode2 = 0 ;
40658 PyObject * obj0 = 0 ;
40659 PyObject * obj1 = 0 ;
40660 char * kwnames[] = {
40661 (char *) "listCtrl",(char *) "id", NULL
40662 };
40663
40664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40665 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40666 if (!SWIG_IsOK(res1)) {
40667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40668 }
40669 if (!argp1) {
40670 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40671 }
40672 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40673 ecode2 = SWIG_AsVal_long(obj1, &val2);
40674 if (!SWIG_IsOK(ecode2)) {
40675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40676 }
40677 arg2 = static_cast< long >(val2);
40678 {
40679 if (!wxPyCheckForApp()) SWIG_fail;
40680 PyThreadState* __tstate = wxPyBeginAllowThreads();
40681 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40682 wxPyEndAllowThreads(__tstate);
40683 if (PyErr_Occurred()) SWIG_fail;
40684 }
40685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40686 return resultobj;
40687fail:
40688 return NULL;
7e08d4ef
RD
40689}
40690
40691
0085ce49
RD
40692SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40693 PyObject *resultobj = 0;
40694 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40695 void *argp1 = 0 ;
40696 int res1 = 0 ;
40697 PyObject *swig_obj[1] ;
40698
40699 if (!args) SWIG_fail;
40700 swig_obj[0] = args;
40701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40702 if (!SWIG_IsOK(res1)) {
40703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40704 }
40705 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40706 {
40707 PyThreadState* __tstate = wxPyBeginAllowThreads();
40708 delete arg1;
d14a1e28 40709
0085ce49
RD
40710 wxPyEndAllowThreads(__tstate);
40711 if (PyErr_Occurred()) SWIG_fail;
40712 }
40713 resultobj = SWIG_Py_Void();
40714 return resultobj;
40715fail:
40716 return NULL;
40717}
40718
40719
40720SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40721 PyObject *resultobj = 0;
40722 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40723 wxBitmap *arg2 = (wxBitmap *) 0 ;
40724 void *argp1 = 0 ;
40725 int res1 = 0 ;
40726 void *argp2 = 0 ;
40727 int res2 = 0 ;
40728 PyObject * obj0 = 0 ;
40729 PyObject * obj1 = 0 ;
40730 char * kwnames[] = {
40731 (char *) "self",(char *) "bitmap", NULL
40732 };
40733
40734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40736 if (!SWIG_IsOK(res1)) {
40737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40738 }
40739 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40741 if (!SWIG_IsOK(res2)) {
40742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40743 }
40744 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40745 {
40746 PyThreadState* __tstate = wxPyBeginAllowThreads();
40747 (arg1)->SetBackingBitmap(arg2);
40748 wxPyEndAllowThreads(__tstate);
40749 if (PyErr_Occurred()) SWIG_fail;
40750 }
40751 resultobj = SWIG_Py_Void();
40752 return resultobj;
40753fail:
40754 return NULL;
40755}
40756
40757
40758SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40759 PyObject *resultobj = 0;
40760 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40761 wxPoint *arg2 = 0 ;
40762 wxWindow *arg3 = (wxWindow *) 0 ;
40763 bool arg4 = (bool) false ;
40764 wxRect *arg5 = (wxRect *) NULL ;
40765 bool result;
40766 void *argp1 = 0 ;
40767 int res1 = 0 ;
40768 wxPoint temp2 ;
40769 void *argp3 = 0 ;
40770 int res3 = 0 ;
40771 bool val4 ;
40772 int ecode4 = 0 ;
40773 void *argp5 = 0 ;
40774 int res5 = 0 ;
40775 PyObject * obj0 = 0 ;
40776 PyObject * obj1 = 0 ;
40777 PyObject * obj2 = 0 ;
40778 PyObject * obj3 = 0 ;
40779 PyObject * obj4 = 0 ;
40780 char * kwnames[] = {
40781 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40782 };
40783
40784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40786 if (!SWIG_IsOK(res1)) {
40787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40788 }
40789 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40790 {
40791 arg2 = &temp2;
40792 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40793 }
40794 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40795 if (!SWIG_IsOK(res3)) {
40796 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40797 }
40798 arg3 = reinterpret_cast< wxWindow * >(argp3);
40799 if (obj3) {
40800 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40801 if (!SWIG_IsOK(ecode4)) {
40802 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40803 }
40804 arg4 = static_cast< bool >(val4);
40805 }
40806 if (obj4) {
40807 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40808 if (!SWIG_IsOK(res5)) {
40809 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d14a1e28 40810 }
0085ce49
RD
40811 arg5 = reinterpret_cast< wxRect * >(argp5);
40812 }
40813 {
40814 PyThreadState* __tstate = wxPyBeginAllowThreads();
40815 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40816 wxPyEndAllowThreads(__tstate);
40817 if (PyErr_Occurred()) SWIG_fail;
40818 }
40819 {
40820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40821 }
40822 return resultobj;
40823fail:
40824 return NULL;
40825}
40826
40827
40828SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40829 PyObject *resultobj = 0;
40830 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40831 wxPoint *arg2 = 0 ;
40832 wxWindow *arg3 = (wxWindow *) 0 ;
40833 wxWindow *arg4 = (wxWindow *) 0 ;
40834 bool result;
40835 void *argp1 = 0 ;
40836 int res1 = 0 ;
40837 wxPoint temp2 ;
40838 void *argp3 = 0 ;
40839 int res3 = 0 ;
40840 void *argp4 = 0 ;
40841 int res4 = 0 ;
40842 PyObject * obj0 = 0 ;
40843 PyObject * obj1 = 0 ;
40844 PyObject * obj2 = 0 ;
40845 PyObject * obj3 = 0 ;
40846 char * kwnames[] = {
40847 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40848 };
40849
40850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40852 if (!SWIG_IsOK(res1)) {
40853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40854 }
40855 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40856 {
40857 arg2 = &temp2;
40858 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40859 }
40860 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40861 if (!SWIG_IsOK(res3)) {
40862 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40863 }
40864 arg3 = reinterpret_cast< wxWindow * >(argp3);
40865 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40866 if (!SWIG_IsOK(res4)) {
40867 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40868 }
40869 arg4 = reinterpret_cast< wxWindow * >(argp4);
40870 {
40871 PyThreadState* __tstate = wxPyBeginAllowThreads();
40872 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40873 wxPyEndAllowThreads(__tstate);
40874 if (PyErr_Occurred()) SWIG_fail;
40875 }
40876 {
40877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40878 }
40879 return resultobj;
40880fail:
40881 return NULL;
d14a1e28
RD
40882}
40883
40884
0085ce49
RD
40885SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40886 PyObject *resultobj = 0;
40887 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40888 bool result;
40889 void *argp1 = 0 ;
40890 int res1 = 0 ;
40891 PyObject *swig_obj[1] ;
40892
40893 if (!args) SWIG_fail;
40894 swig_obj[0] = args;
40895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40896 if (!SWIG_IsOK(res1)) {
40897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40898 }
40899 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40900 {
40901 PyThreadState* __tstate = wxPyBeginAllowThreads();
40902 result = (bool)(arg1)->EndDrag();
40903 wxPyEndAllowThreads(__tstate);
40904 if (PyErr_Occurred()) SWIG_fail;
40905 }
40906 {
40907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40908 }
40909 return resultobj;
40910fail:
40911 return NULL;
40912}
40913
40914
40915SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40916 PyObject *resultobj = 0;
40917 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40918 wxPoint *arg2 = 0 ;
40919 bool result;
40920 void *argp1 = 0 ;
40921 int res1 = 0 ;
40922 wxPoint temp2 ;
40923 PyObject * obj0 = 0 ;
40924 PyObject * obj1 = 0 ;
40925 char * kwnames[] = {
40926 (char *) "self",(char *) "pt", NULL
40927 };
40928
40929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40931 if (!SWIG_IsOK(res1)) {
40932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40933 }
40934 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40935 {
40936 arg2 = &temp2;
40937 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40938 }
40939 {
40940 PyThreadState* __tstate = wxPyBeginAllowThreads();
40941 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40942 wxPyEndAllowThreads(__tstate);
40943 if (PyErr_Occurred()) SWIG_fail;
40944 }
40945 {
40946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40947 }
40948 return resultobj;
40949fail:
40950 return NULL;
d14a1e28
RD
40951}
40952
40953
0085ce49
RD
40954SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40955 PyObject *resultobj = 0;
40956 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40957 bool result;
40958 void *argp1 = 0 ;
40959 int res1 = 0 ;
40960 PyObject *swig_obj[1] ;
40961
40962 if (!args) SWIG_fail;
40963 swig_obj[0] = args;
40964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40965 if (!SWIG_IsOK(res1)) {
40966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40967 }
40968 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40969 {
40970 PyThreadState* __tstate = wxPyBeginAllowThreads();
40971 result = (bool)(arg1)->Show();
40972 wxPyEndAllowThreads(__tstate);
40973 if (PyErr_Occurred()) SWIG_fail;
40974 }
40975 {
40976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40977 }
40978 return resultobj;
40979fail:
40980 return NULL;
d14a1e28
RD
40981}
40982
40983
0085ce49
RD
40984SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40985 PyObject *resultobj = 0;
40986 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40987 bool result;
40988 void *argp1 = 0 ;
40989 int res1 = 0 ;
40990 PyObject *swig_obj[1] ;
40991
40992 if (!args) SWIG_fail;
40993 swig_obj[0] = args;
40994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40995 if (!SWIG_IsOK(res1)) {
40996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40997 }
40998 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40999 {
41000 PyThreadState* __tstate = wxPyBeginAllowThreads();
41001 result = (bool)(arg1)->Hide();
41002 wxPyEndAllowThreads(__tstate);
41003 if (PyErr_Occurred()) SWIG_fail;
41004 }
41005 {
41006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41007 }
41008 return resultobj;
41009fail:
41010 return NULL;
41011}
41012
41013
41014SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41015 PyObject *resultobj = 0;
41016 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41017 wxPoint *arg2 = 0 ;
41018 wxRect result;
41019 void *argp1 = 0 ;
41020 int res1 = 0 ;
41021 wxPoint temp2 ;
41022 PyObject * obj0 = 0 ;
41023 PyObject * obj1 = 0 ;
41024 char * kwnames[] = {
41025 (char *) "self",(char *) "pos", NULL
41026 };
41027
41028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41030 if (!SWIG_IsOK(res1)) {
41031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41032 }
41033 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41034 {
41035 arg2 = &temp2;
41036 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41037 }
41038 {
41039 PyThreadState* __tstate = wxPyBeginAllowThreads();
41040 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41041 wxPyEndAllowThreads(__tstate);
41042 if (PyErr_Occurred()) SWIG_fail;
41043 }
41044 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41045 return resultobj;
41046fail:
41047 return NULL;
41048}
41049
41050
41051SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41052 PyObject *resultobj = 0;
41053 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41054 wxDC *arg2 = 0 ;
41055 wxPoint *arg3 = 0 ;
41056 bool result;
41057 void *argp1 = 0 ;
41058 int res1 = 0 ;
41059 void *argp2 = 0 ;
41060 int res2 = 0 ;
41061 wxPoint temp3 ;
41062 PyObject * obj0 = 0 ;
41063 PyObject * obj1 = 0 ;
41064 PyObject * obj2 = 0 ;
41065 char * kwnames[] = {
41066 (char *) "self",(char *) "dc",(char *) "pos", NULL
41067 };
41068
41069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41071 if (!SWIG_IsOK(res1)) {
41072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41073 }
41074 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41076 if (!SWIG_IsOK(res2)) {
41077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41078 }
41079 if (!argp2) {
41080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41081 }
41082 arg2 = reinterpret_cast< wxDC * >(argp2);
41083 {
41084 arg3 = &temp3;
41085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41086 }
41087 {
41088 PyThreadState* __tstate = wxPyBeginAllowThreads();
41089 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41090 wxPyEndAllowThreads(__tstate);
41091 if (PyErr_Occurred()) SWIG_fail;
41092 }
41093 {
41094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41095 }
41096 return resultobj;
41097fail:
41098 return NULL;
41099}
41100
41101
41102SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41103 PyObject *resultobj = 0;
41104 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41105 wxDC *arg2 = 0 ;
41106 wxMemoryDC *arg3 = 0 ;
41107 wxRect *arg4 = 0 ;
41108 wxRect *arg5 = 0 ;
41109 bool result;
41110 void *argp1 = 0 ;
41111 int res1 = 0 ;
41112 void *argp2 = 0 ;
41113 int res2 = 0 ;
41114 void *argp3 = 0 ;
41115 int res3 = 0 ;
41116 wxRect temp4 ;
41117 wxRect temp5 ;
41118 PyObject * obj0 = 0 ;
41119 PyObject * obj1 = 0 ;
41120 PyObject * obj2 = 0 ;
41121 PyObject * obj3 = 0 ;
41122 PyObject * obj4 = 0 ;
41123 char * kwnames[] = {
41124 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41125 };
41126
41127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41129 if (!SWIG_IsOK(res1)) {
41130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41131 }
41132 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41134 if (!SWIG_IsOK(res2)) {
41135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41136 }
41137 if (!argp2) {
41138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41139 }
41140 arg2 = reinterpret_cast< wxDC * >(argp2);
41141 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41142 if (!SWIG_IsOK(res3)) {
41143 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41144 }
41145 if (!argp3) {
41146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41147 }
41148 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41149 {
41150 arg4 = &temp4;
41151 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41152 }
41153 {
41154 arg5 = &temp5;
41155 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41156 }
41157 {
41158 PyThreadState* __tstate = wxPyBeginAllowThreads();
41159 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41160 wxPyEndAllowThreads(__tstate);
41161 if (PyErr_Occurred()) SWIG_fail;
41162 }
41163 {
41164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41165 }
41166 return resultobj;
41167fail:
41168 return NULL;
41169}
41170
41171
41172SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41173 PyObject *resultobj = 0;
41174 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41175 wxPoint *arg2 = 0 ;
41176 wxPoint *arg3 = 0 ;
41177 bool arg4 ;
41178 bool arg5 ;
41179 bool result;
41180 void *argp1 = 0 ;
41181 int res1 = 0 ;
41182 wxPoint temp2 ;
41183 wxPoint temp3 ;
41184 bool val4 ;
41185 int ecode4 = 0 ;
41186 bool val5 ;
41187 int ecode5 = 0 ;
41188 PyObject * obj0 = 0 ;
41189 PyObject * obj1 = 0 ;
41190 PyObject * obj2 = 0 ;
41191 PyObject * obj3 = 0 ;
41192 PyObject * obj4 = 0 ;
41193 char * kwnames[] = {
41194 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41195 };
41196
41197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41199 if (!SWIG_IsOK(res1)) {
41200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41201 }
41202 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41203 {
41204 arg2 = &temp2;
41205 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41206 }
41207 {
41208 arg3 = &temp3;
41209 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41210 }
41211 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41212 if (!SWIG_IsOK(ecode4)) {
41213 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41214 }
41215 arg4 = static_cast< bool >(val4);
41216 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41217 if (!SWIG_IsOK(ecode5)) {
41218 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41219 }
41220 arg5 = static_cast< bool >(val5);
41221 {
41222 PyThreadState* __tstate = wxPyBeginAllowThreads();
41223 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41224 wxPyEndAllowThreads(__tstate);
41225 if (PyErr_Occurred()) SWIG_fail;
41226 }
41227 {
41228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41229 }
41230 return resultobj;
41231fail:
41232 return NULL;
d14a1e28
RD
41233}
41234
41235
0085ce49
RD
41236SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41237 PyObject *obj;
41238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41239 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41240 return SWIG_Py_Void();
d14a1e28
RD
41241}
41242
0085ce49
RD
41243SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41244 return SWIG_Python_InitShadowInstance(args);
41245}
d14a1e28 41246
0085ce49
RD
41247SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41248 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41249 return 1;
d14a1e28
RD
41250}
41251
41252
0085ce49
RD
41253SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41254 PyObject *pyobj = 0;
41255
41256 {
41257#if wxUSE_UNICODE
41258 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41259#else
41260 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41261#endif
41262 }
41263 return pyobj;
41264}
41265
41266
41267SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41268 PyObject *resultobj = 0;
41269 wxWindow *arg1 = (wxWindow *) 0 ;
41270 int arg2 = (int) -1 ;
41271 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41272 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41273 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41274 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41275 wxSize const &arg5_defvalue = wxDefaultSize ;
41276 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41277 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41278 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41279 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41280 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41281 wxString *arg8 = (wxString *) &arg8_defvalue ;
41282 wxDatePickerCtrl *result = 0 ;
41283 void *argp1 = 0 ;
41284 int res1 = 0 ;
41285 int val2 ;
41286 int ecode2 = 0 ;
41287 void *argp3 = 0 ;
41288 int res3 = 0 ;
41289 wxPoint temp4 ;
41290 wxSize temp5 ;
41291 long val6 ;
41292 int ecode6 = 0 ;
41293 void *argp7 = 0 ;
41294 int res7 = 0 ;
41295 bool temp8 = false ;
41296 PyObject * obj0 = 0 ;
41297 PyObject * obj1 = 0 ;
41298 PyObject * obj2 = 0 ;
41299 PyObject * obj3 = 0 ;
41300 PyObject * obj4 = 0 ;
41301 PyObject * obj5 = 0 ;
41302 PyObject * obj6 = 0 ;
41303 PyObject * obj7 = 0 ;
41304 char * kwnames[] = {
41305 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41306 };
41307
41308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41310 if (!SWIG_IsOK(res1)) {
41311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41312 }
41313 arg1 = reinterpret_cast< wxWindow * >(argp1);
41314 if (obj1) {
41315 ecode2 = SWIG_AsVal_int(obj1, &val2);
41316 if (!SWIG_IsOK(ecode2)) {
41317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41318 }
41319 arg2 = static_cast< int >(val2);
41320 }
41321 if (obj2) {
41322 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41323 if (!SWIG_IsOK(res3)) {
41324 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d14a1e28 41325 }
0085ce49
RD
41326 if (!argp3) {
41327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d14a1e28 41328 }
0085ce49
RD
41329 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41330 }
41331 if (obj3) {
d14a1e28 41332 {
0085ce49
RD
41333 arg4 = &temp4;
41334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 41335 }
0085ce49
RD
41336 }
41337 if (obj4) {
d14a1e28 41338 {
0085ce49
RD
41339 arg5 = &temp5;
41340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 41341 }
0085ce49
RD
41342 }
41343 if (obj5) {
41344 ecode6 = SWIG_AsVal_long(obj5, &val6);
41345 if (!SWIG_IsOK(ecode6)) {
41346 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41347 }
41348 arg6 = static_cast< long >(val6);
41349 }
41350 if (obj6) {
41351 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41352 if (!SWIG_IsOK(res7)) {
41353 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41354 }
41355 if (!argp7) {
41356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 41357 }
0085ce49
RD
41358 arg7 = reinterpret_cast< wxValidator * >(argp7);
41359 }
41360 if (obj7) {
d14a1e28 41361 {
0085ce49
RD
41362 arg8 = wxString_in_helper(obj7);
41363 if (arg8 == NULL) SWIG_fail;
41364 temp8 = true;
d14a1e28 41365 }
0085ce49
RD
41366 }
41367 {
41368 if (!wxPyCheckForApp()) SWIG_fail;
41369 PyThreadState* __tstate = wxPyBeginAllowThreads();
41370 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41371 wxPyEndAllowThreads(__tstate);
41372 if (PyErr_Occurred()) SWIG_fail;
41373 }
41374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41375 {
41376 if (temp8)
41377 delete arg8;
41378 }
41379 return resultobj;
41380fail:
41381 {
41382 if (temp8)
41383 delete arg8;
41384 }
41385 return NULL;
d14a1e28
RD
41386}
41387
41388
0085ce49
RD
41389SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41390 PyObject *resultobj = 0;
41391 wxDatePickerCtrl *result = 0 ;
41392
41393 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41394 {
41395 if (!wxPyCheckForApp()) SWIG_fail;
41396 PyThreadState* __tstate = wxPyBeginAllowThreads();
41397 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41398 wxPyEndAllowThreads(__tstate);
41399 if (PyErr_Occurred()) SWIG_fail;
41400 }
41401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41402 return resultobj;
41403fail:
41404 return NULL;
41405}
41406
41407
41408SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41409 PyObject *resultobj = 0;
41410 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41411 wxWindow *arg2 = (wxWindow *) 0 ;
41412 int arg3 = (int) -1 ;
41413 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41414 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41415 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41416 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41417 wxSize const &arg6_defvalue = wxDefaultSize ;
41418 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41419 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41420 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41421 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41422 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41423 wxString *arg9 = (wxString *) &arg9_defvalue ;
41424 bool result;
41425 void *argp1 = 0 ;
41426 int res1 = 0 ;
41427 void *argp2 = 0 ;
41428 int res2 = 0 ;
41429 int val3 ;
41430 int ecode3 = 0 ;
41431 void *argp4 = 0 ;
41432 int res4 = 0 ;
41433 wxPoint temp5 ;
41434 wxSize temp6 ;
41435 long val7 ;
41436 int ecode7 = 0 ;
41437 void *argp8 = 0 ;
41438 int res8 = 0 ;
41439 bool temp9 = false ;
41440 PyObject * obj0 = 0 ;
41441 PyObject * obj1 = 0 ;
41442 PyObject * obj2 = 0 ;
41443 PyObject * obj3 = 0 ;
41444 PyObject * obj4 = 0 ;
41445 PyObject * obj5 = 0 ;
41446 PyObject * obj6 = 0 ;
41447 PyObject * obj7 = 0 ;
41448 PyObject * obj8 = 0 ;
41449 char * kwnames[] = {
41450 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41451 };
41452
41453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41455 if (!SWIG_IsOK(res1)) {
41456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41457 }
41458 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41460 if (!SWIG_IsOK(res2)) {
41461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41462 }
41463 arg2 = reinterpret_cast< wxWindow * >(argp2);
41464 if (obj2) {
41465 ecode3 = SWIG_AsVal_int(obj2, &val3);
41466 if (!SWIG_IsOK(ecode3)) {
41467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41468 }
41469 arg3 = static_cast< int >(val3);
41470 }
41471 if (obj3) {
41472 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41473 if (!SWIG_IsOK(res4)) {
41474 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
7e08d4ef 41475 }
0085ce49
RD
41476 if (!argp4) {
41477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
7e08d4ef 41478 }
0085ce49
RD
41479 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41480 }
41481 if (obj4) {
d14a1e28 41482 {
0085ce49
RD
41483 arg5 = &temp5;
41484 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 41485 }
0085ce49
RD
41486 }
41487 if (obj5) {
d14a1e28 41488 {
0085ce49
RD
41489 arg6 = &temp6;
41490 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41491 }
41492 }
41493 if (obj6) {
41494 ecode7 = SWIG_AsVal_long(obj6, &val7);
41495 if (!SWIG_IsOK(ecode7)) {
41496 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41497 }
41498 arg7 = static_cast< long >(val7);
41499 }
41500 if (obj7) {
41501 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41502 if (!SWIG_IsOK(res8)) {
41503 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41504 }
41505 if (!argp8) {
41506 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 41507 }
0085ce49
RD
41508 arg8 = reinterpret_cast< wxValidator * >(argp8);
41509 }
41510 if (obj8) {
d14a1e28 41511 {
0085ce49
RD
41512 arg9 = wxString_in_helper(obj8);
41513 if (arg9 == NULL) SWIG_fail;
41514 temp9 = true;
d14a1e28 41515 }
0085ce49
RD
41516 }
41517 {
41518 PyThreadState* __tstate = wxPyBeginAllowThreads();
41519 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41520 wxPyEndAllowThreads(__tstate);
41521 if (PyErr_Occurred()) SWIG_fail;
41522 }
41523 {
41524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41525 }
41526 {
41527 if (temp9)
41528 delete arg9;
41529 }
41530 return resultobj;
41531fail:
41532 {
41533 if (temp9)
41534 delete arg9;
41535 }
41536 return NULL;
41537}
41538
41539
41540SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41541 PyObject *resultobj = 0;
41542 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41543 wxDateTime *arg2 = 0 ;
41544 void *argp1 = 0 ;
41545 int res1 = 0 ;
41546 void *argp2 = 0 ;
41547 int res2 = 0 ;
41548 PyObject * obj0 = 0 ;
41549 PyObject * obj1 = 0 ;
41550 char * kwnames[] = {
41551 (char *) "self",(char *) "dt", NULL
41552 };
41553
41554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41556 if (!SWIG_IsOK(res1)) {
41557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41558 }
41559 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41560 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41561 if (!SWIG_IsOK(res2)) {
41562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41563 }
41564 if (!argp2) {
41565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41566 }
41567 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41568 {
41569 PyThreadState* __tstate = wxPyBeginAllowThreads();
41570 (arg1)->SetValue((wxDateTime const &)*arg2);
41571 wxPyEndAllowThreads(__tstate);
41572 if (PyErr_Occurred()) SWIG_fail;
41573 }
41574 resultobj = SWIG_Py_Void();
41575 return resultobj;
41576fail:
41577 return NULL;
d14a1e28
RD
41578}
41579
41580
0085ce49
RD
41581SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41582 PyObject *resultobj = 0;
41583 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41584 wxDateTime result;
41585 void *argp1 = 0 ;
41586 int res1 = 0 ;
41587 PyObject *swig_obj[1] ;
41588
41589 if (!args) SWIG_fail;
41590 swig_obj[0] = args;
41591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41592 if (!SWIG_IsOK(res1)) {
41593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41594 }
41595 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41596 {
41597 PyThreadState* __tstate = wxPyBeginAllowThreads();
41598 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41599 wxPyEndAllowThreads(__tstate);
41600 if (PyErr_Occurred()) SWIG_fail;
41601 }
41602 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41603 return resultobj;
41604fail:
41605 return NULL;
41606}
41607
41608
41609SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41610 PyObject *resultobj = 0;
41611 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41612 wxDateTime *arg2 = 0 ;
41613 wxDateTime *arg3 = 0 ;
41614 void *argp1 = 0 ;
41615 int res1 = 0 ;
41616 void *argp2 = 0 ;
41617 int res2 = 0 ;
41618 void *argp3 = 0 ;
41619 int res3 = 0 ;
41620 PyObject * obj0 = 0 ;
41621 PyObject * obj1 = 0 ;
41622 PyObject * obj2 = 0 ;
41623 char * kwnames[] = {
41624 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41625 };
41626
41627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41629 if (!SWIG_IsOK(res1)) {
41630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41631 }
41632 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41634 if (!SWIG_IsOK(res2)) {
41635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41636 }
41637 if (!argp2) {
41638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41639 }
41640 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41641 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41642 if (!SWIG_IsOK(res3)) {
41643 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41644 }
41645 if (!argp3) {
41646 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41647 }
41648 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41649 {
41650 PyThreadState* __tstate = wxPyBeginAllowThreads();
41651 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41652 wxPyEndAllowThreads(__tstate);
41653 if (PyErr_Occurred()) SWIG_fail;
41654 }
41655 resultobj = SWIG_Py_Void();
41656 return resultobj;
41657fail:
41658 return NULL;
d14a1e28
RD
41659}
41660
41661
0085ce49
RD
41662SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41663 PyObject *resultobj = 0;
41664 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41665 wxDateTime result;
41666 void *argp1 = 0 ;
41667 int res1 = 0 ;
41668 PyObject *swig_obj[1] ;
41669
41670 if (!args) SWIG_fail;
41671 swig_obj[0] = args;
41672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41673 if (!SWIG_IsOK(res1)) {
41674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41675 }
41676 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41677 {
41678 PyThreadState* __tstate = wxPyBeginAllowThreads();
41679 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41680 wxPyEndAllowThreads(__tstate);
41681 if (PyErr_Occurred()) SWIG_fail;
41682 }
41683 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41684 return resultobj;
41685fail:
41686 return NULL;
d14a1e28
RD
41687}
41688
41689
0085ce49
RD
41690SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41691 PyObject *resultobj = 0;
41692 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41693 wxDateTime result;
41694 void *argp1 = 0 ;
41695 int res1 = 0 ;
41696 PyObject *swig_obj[1] ;
41697
41698 if (!args) SWIG_fail;
41699 swig_obj[0] = args;
41700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41701 if (!SWIG_IsOK(res1)) {
41702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41703 }
41704 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41705 {
41706 PyThreadState* __tstate = wxPyBeginAllowThreads();
41707 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41708 wxPyEndAllowThreads(__tstate);
41709 if (PyErr_Occurred()) SWIG_fail;
41710 }
41711 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41712 return resultobj;
41713fail:
41714 return NULL;
d14a1e28
RD
41715}
41716
41717
0085ce49
RD
41718SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41719 PyObject *obj;
41720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41721 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41722 return SWIG_Py_Void();
d14a1e28
RD
41723}
41724
0085ce49
RD
41725SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41726 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
41727}
41728
704eda0c
RD
41729SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41730 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41731 return 1;
41732}
41733
41734
41735SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41736 PyObject *pyobj = 0;
41737
41738 {
41739#if wxUSE_UNICODE
41740 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41741#else
41742 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41743#endif
41744 }
41745 return pyobj;
41746}
41747
41748
41749SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41750 PyObject *resultobj = 0;
41751 wxWindow *arg1 = (wxWindow *) 0 ;
41752 int arg2 ;
41753 wxString *arg3 = 0 ;
41754 wxString *arg4 = 0 ;
41755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41757 wxSize const &arg6_defvalue = wxDefaultSize ;
41758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41759 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41760 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41761 wxString *arg8 = (wxString *) &arg8_defvalue ;
41762 wxHyperlinkCtrl *result = 0 ;
41763 void *argp1 = 0 ;
41764 int res1 = 0 ;
41765 int val2 ;
41766 int ecode2 = 0 ;
41767 bool temp3 = false ;
41768 bool temp4 = false ;
41769 wxPoint temp5 ;
41770 wxSize temp6 ;
41771 long val7 ;
41772 int ecode7 = 0 ;
41773 bool temp8 = false ;
41774 PyObject * obj0 = 0 ;
41775 PyObject * obj1 = 0 ;
41776 PyObject * obj2 = 0 ;
41777 PyObject * obj3 = 0 ;
41778 PyObject * obj4 = 0 ;
41779 PyObject * obj5 = 0 ;
41780 PyObject * obj6 = 0 ;
41781 PyObject * obj7 = 0 ;
41782 char * kwnames[] = {
41783 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41784 };
41785
41786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41788 if (!SWIG_IsOK(res1)) {
41789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41790 }
41791 arg1 = reinterpret_cast< wxWindow * >(argp1);
41792 ecode2 = SWIG_AsVal_int(obj1, &val2);
41793 if (!SWIG_IsOK(ecode2)) {
41794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41795 }
41796 arg2 = static_cast< int >(val2);
41797 {
41798 arg3 = wxString_in_helper(obj2);
41799 if (arg3 == NULL) SWIG_fail;
41800 temp3 = true;
41801 }
41802 {
41803 arg4 = wxString_in_helper(obj3);
41804 if (arg4 == NULL) SWIG_fail;
41805 temp4 = true;
41806 }
41807 if (obj4) {
41808 {
41809 arg5 = &temp5;
41810 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41811 }
41812 }
41813 if (obj5) {
41814 {
41815 arg6 = &temp6;
41816 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41817 }
41818 }
41819 if (obj6) {
41820 ecode7 = SWIG_AsVal_long(obj6, &val7);
41821 if (!SWIG_IsOK(ecode7)) {
41822 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41823 }
41824 arg7 = static_cast< long >(val7);
41825 }
41826 if (obj7) {
41827 {
41828 arg8 = wxString_in_helper(obj7);
41829 if (arg8 == NULL) SWIG_fail;
41830 temp8 = true;
41831 }
41832 }
41833 {
41834 if (!wxPyCheckForApp()) SWIG_fail;
41835 PyThreadState* __tstate = wxPyBeginAllowThreads();
41836 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41837 wxPyEndAllowThreads(__tstate);
41838 if (PyErr_Occurred()) SWIG_fail;
41839 }
41840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41841 {
41842 if (temp3)
41843 delete arg3;
41844 }
41845 {
41846 if (temp4)
41847 delete arg4;
41848 }
41849 {
41850 if (temp8)
41851 delete arg8;
41852 }
41853 return resultobj;
41854fail:
41855 {
41856 if (temp3)
41857 delete arg3;
41858 }
41859 {
41860 if (temp4)
41861 delete arg4;
41862 }
41863 {
41864 if (temp8)
41865 delete arg8;
41866 }
41867 return NULL;
41868}
41869
41870
41871SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41872 PyObject *resultobj = 0;
41873 wxHyperlinkCtrl *result = 0 ;
41874
41875 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41876 {
41877 if (!wxPyCheckForApp()) SWIG_fail;
41878 PyThreadState* __tstate = wxPyBeginAllowThreads();
41879 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41880 wxPyEndAllowThreads(__tstate);
41881 if (PyErr_Occurred()) SWIG_fail;
41882 }
41883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41884 return resultobj;
41885fail:
41886 return NULL;
41887}
41888
41889
41890SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41891 PyObject *resultobj = 0;
41892 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41893 wxWindow *arg2 = (wxWindow *) 0 ;
41894 int arg3 ;
41895 wxString *arg4 = 0 ;
41896 wxString *arg5 = 0 ;
41897 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41898 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41899 wxSize const &arg7_defvalue = wxDefaultSize ;
41900 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41901 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41902 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41903 wxString *arg9 = (wxString *) &arg9_defvalue ;
41904 bool result;
41905 void *argp1 = 0 ;
41906 int res1 = 0 ;
41907 void *argp2 = 0 ;
41908 int res2 = 0 ;
41909 int val3 ;
41910 int ecode3 = 0 ;
41911 bool temp4 = false ;
41912 bool temp5 = false ;
41913 wxPoint temp6 ;
41914 wxSize temp7 ;
41915 long val8 ;
41916 int ecode8 = 0 ;
41917 bool temp9 = false ;
41918 PyObject * obj0 = 0 ;
41919 PyObject * obj1 = 0 ;
41920 PyObject * obj2 = 0 ;
41921 PyObject * obj3 = 0 ;
41922 PyObject * obj4 = 0 ;
41923 PyObject * obj5 = 0 ;
41924 PyObject * obj6 = 0 ;
41925 PyObject * obj7 = 0 ;
41926 PyObject * obj8 = 0 ;
41927 char * kwnames[] = {
41928 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41929 };
41930
41931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41933 if (!SWIG_IsOK(res1)) {
41934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41935 }
41936 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41937 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41938 if (!SWIG_IsOK(res2)) {
41939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41940 }
41941 arg2 = reinterpret_cast< wxWindow * >(argp2);
41942 ecode3 = SWIG_AsVal_int(obj2, &val3);
41943 if (!SWIG_IsOK(ecode3)) {
41944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41945 }
41946 arg3 = static_cast< int >(val3);
41947 {
41948 arg4 = wxString_in_helper(obj3);
41949 if (arg4 == NULL) SWIG_fail;
41950 temp4 = true;
41951 }
41952 {
41953 arg5 = wxString_in_helper(obj4);
41954 if (arg5 == NULL) SWIG_fail;
41955 temp5 = true;
41956 }
41957 if (obj5) {
41958 {
41959 arg6 = &temp6;
41960 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41961 }
41962 }
41963 if (obj6) {
41964 {
41965 arg7 = &temp7;
41966 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41967 }
41968 }
41969 if (obj7) {
41970 ecode8 = SWIG_AsVal_long(obj7, &val8);
41971 if (!SWIG_IsOK(ecode8)) {
41972 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41973 }
41974 arg8 = static_cast< long >(val8);
41975 }
41976 if (obj8) {
41977 {
41978 arg9 = wxString_in_helper(obj8);
41979 if (arg9 == NULL) SWIG_fail;
41980 temp9 = true;
41981 }
41982 }
41983 {
41984 PyThreadState* __tstate = wxPyBeginAllowThreads();
41985 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41986 wxPyEndAllowThreads(__tstate);
41987 if (PyErr_Occurred()) SWIG_fail;
41988 }
41989 {
41990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41991 }
41992 {
41993 if (temp4)
41994 delete arg4;
41995 }
41996 {
41997 if (temp5)
41998 delete arg5;
41999 }
42000 {
42001 if (temp9)
42002 delete arg9;
42003 }
42004 return resultobj;
42005fail:
42006 {
42007 if (temp4)
42008 delete arg4;
42009 }
42010 {
42011 if (temp5)
42012 delete arg5;
42013 }
42014 {
42015 if (temp9)
42016 delete arg9;
42017 }
42018 return NULL;
42019}
42020
42021
42022SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42023 PyObject *resultobj = 0;
42024 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42025 wxColour result;
42026 void *argp1 = 0 ;
42027 int res1 = 0 ;
42028 PyObject *swig_obj[1] ;
42029
42030 if (!args) SWIG_fail;
42031 swig_obj[0] = args;
42032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42033 if (!SWIG_IsOK(res1)) {
42034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42035 }
42036 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42037 {
42038 PyThreadState* __tstate = wxPyBeginAllowThreads();
42039 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42040 wxPyEndAllowThreads(__tstate);
42041 if (PyErr_Occurred()) SWIG_fail;
42042 }
42043 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42044 return resultobj;
42045fail:
42046 return NULL;
42047}
42048
42049
42050SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42051 PyObject *resultobj = 0;
42052 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42053 wxColour *arg2 = 0 ;
42054 void *argp1 = 0 ;
42055 int res1 = 0 ;
42056 wxColour temp2 ;
42057 PyObject * obj0 = 0 ;
42058 PyObject * obj1 = 0 ;
42059 char * kwnames[] = {
42060 (char *) "self",(char *) "colour", NULL
42061 };
42062
42063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42065 if (!SWIG_IsOK(res1)) {
42066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42067 }
42068 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42069 {
42070 arg2 = &temp2;
42071 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42072 }
42073 {
42074 PyThreadState* __tstate = wxPyBeginAllowThreads();
42075 (arg1)->SetHoverColour((wxColour const &)*arg2);
42076 wxPyEndAllowThreads(__tstate);
42077 if (PyErr_Occurred()) SWIG_fail;
42078 }
42079 resultobj = SWIG_Py_Void();
42080 return resultobj;
42081fail:
42082 return NULL;
42083}
42084
42085
42086SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42087 PyObject *resultobj = 0;
42088 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42089 wxColour result;
42090 void *argp1 = 0 ;
42091 int res1 = 0 ;
42092 PyObject *swig_obj[1] ;
42093
42094 if (!args) SWIG_fail;
42095 swig_obj[0] = args;
42096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42097 if (!SWIG_IsOK(res1)) {
42098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42099 }
42100 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42101 {
42102 PyThreadState* __tstate = wxPyBeginAllowThreads();
42103 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42104 wxPyEndAllowThreads(__tstate);
42105 if (PyErr_Occurred()) SWIG_fail;
42106 }
42107 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42108 return resultobj;
42109fail:
42110 return NULL;
42111}
42112
42113
42114SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42115 PyObject *resultobj = 0;
42116 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42117 wxColour *arg2 = 0 ;
42118 void *argp1 = 0 ;
42119 int res1 = 0 ;
42120 wxColour temp2 ;
42121 PyObject * obj0 = 0 ;
42122 PyObject * obj1 = 0 ;
42123 char * kwnames[] = {
42124 (char *) "self",(char *) "colour", NULL
42125 };
42126
42127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42129 if (!SWIG_IsOK(res1)) {
42130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42131 }
42132 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42133 {
42134 arg2 = &temp2;
42135 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42136 }
42137 {
42138 PyThreadState* __tstate = wxPyBeginAllowThreads();
42139 (arg1)->SetNormalColour((wxColour const &)*arg2);
42140 wxPyEndAllowThreads(__tstate);
42141 if (PyErr_Occurred()) SWIG_fail;
42142 }
42143 resultobj = SWIG_Py_Void();
42144 return resultobj;
42145fail:
42146 return NULL;
42147}
42148
42149
42150SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42151 PyObject *resultobj = 0;
42152 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42153 wxColour result;
42154 void *argp1 = 0 ;
42155 int res1 = 0 ;
42156 PyObject *swig_obj[1] ;
42157
42158 if (!args) SWIG_fail;
42159 swig_obj[0] = args;
42160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42161 if (!SWIG_IsOK(res1)) {
42162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42163 }
42164 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42165 {
42166 PyThreadState* __tstate = wxPyBeginAllowThreads();
42167 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42168 wxPyEndAllowThreads(__tstate);
42169 if (PyErr_Occurred()) SWIG_fail;
42170 }
42171 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42172 return resultobj;
42173fail:
42174 return NULL;
42175}
42176
42177
42178SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42179 PyObject *resultobj = 0;
42180 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42181 wxColour *arg2 = 0 ;
42182 void *argp1 = 0 ;
42183 int res1 = 0 ;
42184 wxColour temp2 ;
42185 PyObject * obj0 = 0 ;
42186 PyObject * obj1 = 0 ;
42187 char * kwnames[] = {
42188 (char *) "self",(char *) "colour", NULL
42189 };
42190
42191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42193 if (!SWIG_IsOK(res1)) {
42194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42195 }
42196 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42197 {
42198 arg2 = &temp2;
42199 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42200 }
42201 {
42202 PyThreadState* __tstate = wxPyBeginAllowThreads();
42203 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42204 wxPyEndAllowThreads(__tstate);
42205 if (PyErr_Occurred()) SWIG_fail;
42206 }
42207 resultobj = SWIG_Py_Void();
42208 return resultobj;
42209fail:
42210 return NULL;
42211}
42212
42213
42214SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42215 PyObject *resultobj = 0;
42216 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42217 wxString result;
42218 void *argp1 = 0 ;
42219 int res1 = 0 ;
42220 PyObject *swig_obj[1] ;
42221
42222 if (!args) SWIG_fail;
42223 swig_obj[0] = args;
42224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42225 if (!SWIG_IsOK(res1)) {
42226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42227 }
42228 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42229 {
42230 PyThreadState* __tstate = wxPyBeginAllowThreads();
42231 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42232 wxPyEndAllowThreads(__tstate);
42233 if (PyErr_Occurred()) SWIG_fail;
42234 }
42235 {
42236#if wxUSE_UNICODE
42237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42238#else
42239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42240#endif
42241 }
42242 return resultobj;
42243fail:
42244 return NULL;
42245}
42246
42247
42248SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42249 PyObject *resultobj = 0;
42250 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42251 wxString *arg2 = 0 ;
42252 void *argp1 = 0 ;
42253 int res1 = 0 ;
42254 bool temp2 = false ;
42255 PyObject * obj0 = 0 ;
42256 PyObject * obj1 = 0 ;
42257 char * kwnames[] = {
42258 (char *) "self",(char *) "url", NULL
42259 };
42260
42261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42263 if (!SWIG_IsOK(res1)) {
42264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42265 }
42266 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42267 {
42268 arg2 = wxString_in_helper(obj1);
42269 if (arg2 == NULL) SWIG_fail;
42270 temp2 = true;
42271 }
42272 {
42273 PyThreadState* __tstate = wxPyBeginAllowThreads();
42274 (arg1)->SetURL((wxString const &)*arg2);
42275 wxPyEndAllowThreads(__tstate);
42276 if (PyErr_Occurred()) SWIG_fail;
42277 }
42278 resultobj = SWIG_Py_Void();
42279 {
42280 if (temp2)
42281 delete arg2;
42282 }
42283 return resultobj;
42284fail:
42285 {
42286 if (temp2)
42287 delete arg2;
42288 }
42289 return NULL;
42290}
42291
42292
42293SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42294 PyObject *resultobj = 0;
42295 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42296 bool arg2 = (bool) true ;
42297 void *argp1 = 0 ;
42298 int res1 = 0 ;
42299 bool val2 ;
42300 int ecode2 = 0 ;
42301 PyObject * obj0 = 0 ;
42302 PyObject * obj1 = 0 ;
42303 char * kwnames[] = {
42304 (char *) "self",(char *) "visited", NULL
42305 };
42306
42307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42309 if (!SWIG_IsOK(res1)) {
42310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42311 }
42312 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42313 if (obj1) {
42314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42315 if (!SWIG_IsOK(ecode2)) {
42316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42317 }
42318 arg2 = static_cast< bool >(val2);
42319 }
42320 {
42321 PyThreadState* __tstate = wxPyBeginAllowThreads();
42322 (arg1)->SetVisited(arg2);
42323 wxPyEndAllowThreads(__tstate);
42324 if (PyErr_Occurred()) SWIG_fail;
42325 }
42326 resultobj = SWIG_Py_Void();
42327 return resultobj;
42328fail:
42329 return NULL;
42330}
42331
42332
42333SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42334 PyObject *resultobj = 0;
42335 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42336 bool result;
42337 void *argp1 = 0 ;
42338 int res1 = 0 ;
42339 PyObject *swig_obj[1] ;
42340
42341 if (!args) SWIG_fail;
42342 swig_obj[0] = args;
42343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42344 if (!SWIG_IsOK(res1)) {
42345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42346 }
42347 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42348 {
42349 PyThreadState* __tstate = wxPyBeginAllowThreads();
42350 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42351 wxPyEndAllowThreads(__tstate);
42352 if (PyErr_Occurred()) SWIG_fail;
42353 }
42354 {
42355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42356 }
42357 return resultobj;
42358fail:
42359 return NULL;
42360}
42361
42362
42363SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42364 PyObject *obj;
42365 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42366 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42367 return SWIG_Py_Void();
42368}
42369
42370SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42371 return SWIG_Python_InitShadowInstance(args);
42372}
42373
42374SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42375 PyObject *resultobj = 0;
42376 wxObject *arg1 = (wxObject *) 0 ;
42377 int arg2 ;
42378 wxString *arg3 = 0 ;
42379 wxHyperlinkEvent *result = 0 ;
42380 void *argp1 = 0 ;
42381 int res1 = 0 ;
42382 int val2 ;
42383 int ecode2 = 0 ;
42384 bool temp3 = false ;
42385 PyObject * obj0 = 0 ;
42386 PyObject * obj1 = 0 ;
42387 PyObject * obj2 = 0 ;
42388 char * kwnames[] = {
42389 (char *) "generator",(char *) "id",(char *) "url", NULL
42390 };
42391
42392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42394 if (!SWIG_IsOK(res1)) {
42395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42396 }
42397 arg1 = reinterpret_cast< wxObject * >(argp1);
42398 ecode2 = SWIG_AsVal_int(obj1, &val2);
42399 if (!SWIG_IsOK(ecode2)) {
42400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42401 }
42402 arg2 = static_cast< int >(val2);
42403 {
42404 arg3 = wxString_in_helper(obj2);
42405 if (arg3 == NULL) SWIG_fail;
42406 temp3 = true;
42407 }
42408 {
42409 PyThreadState* __tstate = wxPyBeginAllowThreads();
42410 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42411 wxPyEndAllowThreads(__tstate);
42412 if (PyErr_Occurred()) SWIG_fail;
42413 }
42414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42415 {
42416 if (temp3)
42417 delete arg3;
42418 }
42419 return resultobj;
42420fail:
42421 {
42422 if (temp3)
42423 delete arg3;
42424 }
42425 return NULL;
42426}
42427
42428
42429SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42430 PyObject *resultobj = 0;
42431 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42432 wxString result;
42433 void *argp1 = 0 ;
42434 int res1 = 0 ;
42435 PyObject *swig_obj[1] ;
42436
42437 if (!args) SWIG_fail;
42438 swig_obj[0] = args;
42439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42440 if (!SWIG_IsOK(res1)) {
42441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42442 }
42443 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42444 {
42445 PyThreadState* __tstate = wxPyBeginAllowThreads();
42446 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42447 wxPyEndAllowThreads(__tstate);
42448 if (PyErr_Occurred()) SWIG_fail;
42449 }
42450 {
42451#if wxUSE_UNICODE
42452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42453#else
42454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42455#endif
42456 }
42457 return resultobj;
42458fail:
42459 return NULL;
42460}
42461
42462
42463SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42464 PyObject *resultobj = 0;
42465 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42466 wxString *arg2 = 0 ;
42467 void *argp1 = 0 ;
42468 int res1 = 0 ;
42469 bool temp2 = false ;
42470 PyObject * obj0 = 0 ;
42471 PyObject * obj1 = 0 ;
42472 char * kwnames[] = {
42473 (char *) "self",(char *) "url", NULL
42474 };
42475
42476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42478 if (!SWIG_IsOK(res1)) {
42479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42480 }
42481 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42482 {
42483 arg2 = wxString_in_helper(obj1);
42484 if (arg2 == NULL) SWIG_fail;
42485 temp2 = true;
42486 }
42487 {
42488 PyThreadState* __tstate = wxPyBeginAllowThreads();
42489 (arg1)->SetURL((wxString const &)*arg2);
42490 wxPyEndAllowThreads(__tstate);
42491 if (PyErr_Occurred()) SWIG_fail;
42492 }
42493 resultobj = SWIG_Py_Void();
42494 {
42495 if (temp2)
42496 delete arg2;
42497 }
42498 return resultobj;
42499fail:
42500 {
42501 if (temp2)
42502 delete arg2;
42503 }
42504 return NULL;
42505}
42506
42507
42508SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42509 PyObject *obj;
42510 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42511 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42512 return SWIG_Py_Void();
42513}
42514
42515SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42516 return SWIG_Python_InitShadowInstance(args);
42517}
42518
b850e7f3
RD
42519SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42520 PyObject *resultobj = 0;
42521 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42522 wxWindow *arg2 = (wxWindow *) 0 ;
42523 int arg3 ;
42524 wxString const &arg4_defvalue = wxEmptyString ;
42525 wxString *arg4 = (wxString *) &arg4_defvalue ;
42526 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42527 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42528 wxSize const &arg6_defvalue = wxDefaultSize ;
42529 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42530 long arg7 = (long) 0 ;
42531 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42532 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42533 wxString const &arg9_defvalue = wxButtonNameStr ;
42534 wxString *arg9 = (wxString *) &arg9_defvalue ;
42535 bool result;
42536 void *argp1 = 0 ;
42537 int res1 = 0 ;
42538 void *argp2 = 0 ;
42539 int res2 = 0 ;
42540 int val3 ;
42541 int ecode3 = 0 ;
42542 bool temp4 = false ;
42543 wxPoint temp5 ;
42544 wxSize temp6 ;
42545 long val7 ;
42546 int ecode7 = 0 ;
42547 void *argp8 = 0 ;
42548 int res8 = 0 ;
42549 bool temp9 = false ;
42550 PyObject * obj0 = 0 ;
42551 PyObject * obj1 = 0 ;
42552 PyObject * obj2 = 0 ;
42553 PyObject * obj3 = 0 ;
42554 PyObject * obj4 = 0 ;
42555 PyObject * obj5 = 0 ;
42556 PyObject * obj6 = 0 ;
42557 PyObject * obj7 = 0 ;
42558 PyObject * obj8 = 0 ;
42559 char * kwnames[] = {
42560 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42561 };
42562
42563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42565 if (!SWIG_IsOK(res1)) {
42566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42567 }
42568 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42569 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42570 if (!SWIG_IsOK(res2)) {
42571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42572 }
42573 arg2 = reinterpret_cast< wxWindow * >(argp2);
42574 ecode3 = SWIG_AsVal_int(obj2, &val3);
42575 if (!SWIG_IsOK(ecode3)) {
42576 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42577 }
42578 arg3 = static_cast< int >(val3);
42579 if (obj3) {
42580 {
42581 arg4 = wxString_in_helper(obj3);
42582 if (arg4 == NULL) SWIG_fail;
42583 temp4 = true;
42584 }
42585 }
42586 if (obj4) {
42587 {
42588 arg5 = &temp5;
42589 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42590 }
42591 }
42592 if (obj5) {
42593 {
42594 arg6 = &temp6;
42595 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42596 }
42597 }
42598 if (obj6) {
42599 ecode7 = SWIG_AsVal_long(obj6, &val7);
42600 if (!SWIG_IsOK(ecode7)) {
42601 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42602 }
42603 arg7 = static_cast< long >(val7);
42604 }
42605 if (obj7) {
42606 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42607 if (!SWIG_IsOK(res8)) {
42608 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42609 }
42610 if (!argp8) {
42611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42612 }
42613 arg8 = reinterpret_cast< wxValidator * >(argp8);
42614 }
42615 if (obj8) {
42616 {
42617 arg9 = wxString_in_helper(obj8);
42618 if (arg9 == NULL) SWIG_fail;
42619 temp9 = true;
42620 }
42621 }
42622 {
42623 PyThreadState* __tstate = wxPyBeginAllowThreads();
42624 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42625 wxPyEndAllowThreads(__tstate);
42626 if (PyErr_Occurred()) SWIG_fail;
42627 }
42628 {
42629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42630 }
42631 {
42632 if (temp4)
42633 delete arg4;
42634 }
42635 {
42636 if (temp9)
42637 delete arg9;
42638 }
42639 return resultobj;
42640fail:
42641 {
42642 if (temp4)
42643 delete arg4;
42644 }
42645 {
42646 if (temp9)
42647 delete arg9;
42648 }
42649 return NULL;
42650}
42651
42652
42653SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42654 PyObject *resultobj = 0;
42655 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42656 int arg2 ;
42657 void *argp1 = 0 ;
42658 int res1 = 0 ;
42659 int val2 ;
42660 int ecode2 = 0 ;
42661 PyObject * obj0 = 0 ;
42662 PyObject * obj1 = 0 ;
42663 char * kwnames[] = {
42664 (char *) "self",(char *) "newmargin", NULL
42665 };
42666
42667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42669 if (!SWIG_IsOK(res1)) {
42670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42671 }
42672 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42673 ecode2 = SWIG_AsVal_int(obj1, &val2);
42674 if (!SWIG_IsOK(ecode2)) {
42675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42676 }
42677 arg2 = static_cast< int >(val2);
42678 {
42679 PyThreadState* __tstate = wxPyBeginAllowThreads();
42680 (arg1)->SetInternalMargin(arg2);
42681 wxPyEndAllowThreads(__tstate);
42682 if (PyErr_Occurred()) SWIG_fail;
42683 }
42684 resultobj = SWIG_Py_Void();
42685 return resultobj;
42686fail:
42687 return NULL;
42688}
42689
42690
42691SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42692 PyObject *resultobj = 0;
42693 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42694 int result;
42695 void *argp1 = 0 ;
42696 int res1 = 0 ;
42697 PyObject *swig_obj[1] ;
42698
42699 if (!args) SWIG_fail;
42700 swig_obj[0] = args;
42701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42702 if (!SWIG_IsOK(res1)) {
42703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42704 }
42705 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42706 {
42707 PyThreadState* __tstate = wxPyBeginAllowThreads();
42708 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42709 wxPyEndAllowThreads(__tstate);
42710 if (PyErr_Occurred()) SWIG_fail;
42711 }
42712 resultobj = SWIG_From_int(static_cast< int >(result));
42713 return resultobj;
42714fail:
42715 return NULL;
42716}
42717
42718
42719SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42720 PyObject *resultobj = 0;
42721 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42722 int arg2 ;
42723 void *argp1 = 0 ;
42724 int res1 = 0 ;
42725 int val2 ;
42726 int ecode2 = 0 ;
42727 PyObject * obj0 = 0 ;
42728 PyObject * obj1 = 0 ;
42729 char * kwnames[] = {
42730 (char *) "self",(char *) "prop", NULL
42731 };
42732
42733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42735 if (!SWIG_IsOK(res1)) {
42736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42737 }
42738 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42739 ecode2 = SWIG_AsVal_int(obj1, &val2);
42740 if (!SWIG_IsOK(ecode2)) {
42741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42742 }
42743 arg2 = static_cast< int >(val2);
42744 {
42745 PyThreadState* __tstate = wxPyBeginAllowThreads();
42746 (arg1)->SetTextCtrlProportion(arg2);
42747 wxPyEndAllowThreads(__tstate);
42748 if (PyErr_Occurred()) SWIG_fail;
42749 }
42750 resultobj = SWIG_Py_Void();
42751 return resultobj;
42752fail:
42753 return NULL;
42754}
42755
42756
42757SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42758 PyObject *resultobj = 0;
42759 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42760 int result;
42761 void *argp1 = 0 ;
42762 int res1 = 0 ;
42763 PyObject *swig_obj[1] ;
42764
42765 if (!args) SWIG_fail;
42766 swig_obj[0] = args;
42767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42768 if (!SWIG_IsOK(res1)) {
42769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42770 }
42771 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42772 {
42773 PyThreadState* __tstate = wxPyBeginAllowThreads();
42774 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42775 wxPyEndAllowThreads(__tstate);
42776 if (PyErr_Occurred()) SWIG_fail;
42777 }
42778 resultobj = SWIG_From_int(static_cast< int >(result));
42779 return resultobj;
42780fail:
42781 return NULL;
42782}
42783
42784
10044bf1
RD
42785SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42786 PyObject *resultobj = 0;
42787 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42788 int arg2 ;
42789 void *argp1 = 0 ;
42790 int res1 = 0 ;
42791 int val2 ;
42792 int ecode2 = 0 ;
42793 PyObject * obj0 = 0 ;
42794 PyObject * obj1 = 0 ;
42795 char * kwnames[] = {
42796 (char *) "self",(char *) "prop", NULL
42797 };
42798
42799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42801 if (!SWIG_IsOK(res1)) {
42802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42803 }
42804 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42805 ecode2 = SWIG_AsVal_int(obj1, &val2);
42806 if (!SWIG_IsOK(ecode2)) {
42807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42808 }
42809 arg2 = static_cast< int >(val2);
42810 {
42811 PyThreadState* __tstate = wxPyBeginAllowThreads();
42812 (arg1)->SetPickerCtrlProportion(arg2);
42813 wxPyEndAllowThreads(__tstate);
42814 if (PyErr_Occurred()) SWIG_fail;
42815 }
42816 resultobj = SWIG_Py_Void();
42817 return resultobj;
42818fail:
42819 return NULL;
42820}
42821
42822
42823SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42824 PyObject *resultobj = 0;
42825 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42826 int result;
42827 void *argp1 = 0 ;
42828 int res1 = 0 ;
42829 PyObject *swig_obj[1] ;
42830
42831 if (!args) SWIG_fail;
42832 swig_obj[0] = args;
42833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42834 if (!SWIG_IsOK(res1)) {
42835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42836 }
42837 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42838 {
42839 PyThreadState* __tstate = wxPyBeginAllowThreads();
42840 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42841 wxPyEndAllowThreads(__tstate);
42842 if (PyErr_Occurred()) SWIG_fail;
42843 }
42844 resultobj = SWIG_From_int(static_cast< int >(result));
42845 return resultobj;
42846fail:
42847 return NULL;
42848}
42849
42850
b02396e8
RD
42851SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42852 PyObject *resultobj = 0;
42853 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42854 bool result;
42855 void *argp1 = 0 ;
42856 int res1 = 0 ;
42857 PyObject *swig_obj[1] ;
42858
42859 if (!args) SWIG_fail;
42860 swig_obj[0] = args;
42861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42862 if (!SWIG_IsOK(res1)) {
42863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42864 }
42865 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42866 {
42867 PyThreadState* __tstate = wxPyBeginAllowThreads();
42868 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
42869 wxPyEndAllowThreads(__tstate);
42870 if (PyErr_Occurred()) SWIG_fail;
42871 }
42872 {
42873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42874 }
42875 return resultobj;
42876fail:
42877 return NULL;
42878}
42879
42880
42881SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42882 PyObject *resultobj = 0;
42883 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42884 bool arg2 = (bool) true ;
42885 void *argp1 = 0 ;
42886 int res1 = 0 ;
42887 bool val2 ;
42888 int ecode2 = 0 ;
42889 PyObject * obj0 = 0 ;
42890 PyObject * obj1 = 0 ;
42891 char * kwnames[] = {
42892 (char *) "self",(char *) "grow", NULL
42893 };
42894
42895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42897 if (!SWIG_IsOK(res1)) {
42898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42899 }
42900 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42901 if (obj1) {
42902 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42903 if (!SWIG_IsOK(ecode2)) {
42904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42905 }
42906 arg2 = static_cast< bool >(val2);
42907 }
42908 {
42909 PyThreadState* __tstate = wxPyBeginAllowThreads();
42910 (arg1)->SetTextCtrlGrowable(arg2);
42911 wxPyEndAllowThreads(__tstate);
42912 if (PyErr_Occurred()) SWIG_fail;
42913 }
42914 resultobj = SWIG_Py_Void();
42915 return resultobj;
42916fail:
42917 return NULL;
42918}
42919
42920
42921SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42922 PyObject *resultobj = 0;
42923 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42924 bool result;
42925 void *argp1 = 0 ;
42926 int res1 = 0 ;
42927 PyObject *swig_obj[1] ;
42928
42929 if (!args) SWIG_fail;
42930 swig_obj[0] = args;
42931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42932 if (!SWIG_IsOK(res1)) {
42933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42934 }
42935 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42936 {
42937 PyThreadState* __tstate = wxPyBeginAllowThreads();
42938 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
42939 wxPyEndAllowThreads(__tstate);
42940 if (PyErr_Occurred()) SWIG_fail;
42941 }
42942 {
42943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42944 }
42945 return resultobj;
42946fail:
42947 return NULL;
42948}
42949
42950
42951SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42952 PyObject *resultobj = 0;
42953 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42954 bool arg2 = (bool) true ;
42955 void *argp1 = 0 ;
42956 int res1 = 0 ;
42957 bool val2 ;
42958 int ecode2 = 0 ;
42959 PyObject * obj0 = 0 ;
42960 PyObject * obj1 = 0 ;
42961 char * kwnames[] = {
42962 (char *) "self",(char *) "grow", NULL
42963 };
42964
42965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42967 if (!SWIG_IsOK(res1)) {
42968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42969 }
42970 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42971 if (obj1) {
42972 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42973 if (!SWIG_IsOK(ecode2)) {
42974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42975 }
42976 arg2 = static_cast< bool >(val2);
42977 }
42978 {
42979 PyThreadState* __tstate = wxPyBeginAllowThreads();
42980 (arg1)->SetPickerCtrlGrowable(arg2);
42981 wxPyEndAllowThreads(__tstate);
42982 if (PyErr_Occurred()) SWIG_fail;
42983 }
42984 resultobj = SWIG_Py_Void();
42985 return resultobj;
42986fail:
42987 return NULL;
42988}
42989
42990
b850e7f3
RD
42991SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42992 PyObject *resultobj = 0;
42993 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42994 bool result;
42995 void *argp1 = 0 ;
42996 int res1 = 0 ;
42997 PyObject *swig_obj[1] ;
42998
42999 if (!args) SWIG_fail;
43000 swig_obj[0] = args;
43001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43002 if (!SWIG_IsOK(res1)) {
43003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43004 }
43005 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43006 {
43007 PyThreadState* __tstate = wxPyBeginAllowThreads();
43008 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43009 wxPyEndAllowThreads(__tstate);
43010 if (PyErr_Occurred()) SWIG_fail;
43011 }
43012 {
43013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43014 }
43015 return resultobj;
43016fail:
43017 return NULL;
43018}
43019
43020
43021SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43022 PyObject *resultobj = 0;
43023 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43024 wxTextCtrl *result = 0 ;
43025 void *argp1 = 0 ;
43026 int res1 = 0 ;
43027 PyObject *swig_obj[1] ;
43028
43029 if (!args) SWIG_fail;
43030 swig_obj[0] = args;
43031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43032 if (!SWIG_IsOK(res1)) {
43033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43034 }
43035 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43036 {
43037 PyThreadState* __tstate = wxPyBeginAllowThreads();
43038 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43039 wxPyEndAllowThreads(__tstate);
43040 if (PyErr_Occurred()) SWIG_fail;
43041 }
43042 {
43043 resultobj = wxPyMake_wxObject(result, 0);
43044 }
43045 return resultobj;
43046fail:
43047 return NULL;
43048}
43049
43050
43051SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43052 PyObject *resultobj = 0;
43053 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43054 wxControl *result = 0 ;
43055 void *argp1 = 0 ;
43056 int res1 = 0 ;
43057 PyObject *swig_obj[1] ;
43058
43059 if (!args) SWIG_fail;
43060 swig_obj[0] = args;
43061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43062 if (!SWIG_IsOK(res1)) {
43063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43064 }
43065 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43066 {
43067 PyThreadState* __tstate = wxPyBeginAllowThreads();
43068 result = (wxControl *)(arg1)->GetPickerCtrl();
43069 wxPyEndAllowThreads(__tstate);
43070 if (PyErr_Occurred()) SWIG_fail;
43071 }
43072 {
43073 resultobj = wxPyMake_wxObject(result, 0);
43074 }
43075 return resultobj;
43076fail:
43077 return NULL;
43078}
43079
43080
43081SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43082 PyObject *obj;
43083 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43084 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43085 return SWIG_Py_Void();
43086}
43087
43088SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43089 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43090 return 1;
43091}
43092
43093
43094SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43095 PyObject *pyobj = 0;
43096
43097 {
43098#if wxUSE_UNICODE
43099 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43100#else
43101 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43102#endif
43103 }
43104 return pyobj;
43105}
43106
43107
43108SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43109 PyObject *resultobj = 0;
43110 wxWindow *arg1 = (wxWindow *) 0 ;
43111 int arg2 = (int) -1 ;
43112 wxColour const &arg3_defvalue = *wxBLACK ;
43113 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43116 wxSize const &arg5_defvalue = wxDefaultSize ;
43117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43118 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43119 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43120 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43121 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43122 wxString *arg8 = (wxString *) &arg8_defvalue ;
43123 wxColourPickerCtrl *result = 0 ;
43124 void *argp1 = 0 ;
43125 int res1 = 0 ;
43126 int val2 ;
43127 int ecode2 = 0 ;
43128 wxColour temp3 ;
43129 wxPoint temp4 ;
43130 wxSize temp5 ;
43131 long val6 ;
43132 int ecode6 = 0 ;
43133 void *argp7 = 0 ;
43134 int res7 = 0 ;
43135 bool temp8 = false ;
43136 PyObject * obj0 = 0 ;
43137 PyObject * obj1 = 0 ;
43138 PyObject * obj2 = 0 ;
43139 PyObject * obj3 = 0 ;
43140 PyObject * obj4 = 0 ;
43141 PyObject * obj5 = 0 ;
43142 PyObject * obj6 = 0 ;
43143 PyObject * obj7 = 0 ;
43144 char * kwnames[] = {
43145 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43146 };
43147
43148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43150 if (!SWIG_IsOK(res1)) {
43151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43152 }
43153 arg1 = reinterpret_cast< wxWindow * >(argp1);
43154 if (obj1) {
43155 ecode2 = SWIG_AsVal_int(obj1, &val2);
43156 if (!SWIG_IsOK(ecode2)) {
43157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43158 }
43159 arg2 = static_cast< int >(val2);
43160 }
43161 if (obj2) {
43162 {
43163 arg3 = &temp3;
43164 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43165 }
43166 }
43167 if (obj3) {
43168 {
43169 arg4 = &temp4;
43170 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43171 }
43172 }
43173 if (obj4) {
43174 {
43175 arg5 = &temp5;
43176 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43177 }
43178 }
43179 if (obj5) {
43180 ecode6 = SWIG_AsVal_long(obj5, &val6);
43181 if (!SWIG_IsOK(ecode6)) {
43182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43183 }
43184 arg6 = static_cast< long >(val6);
43185 }
43186 if (obj6) {
43187 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43188 if (!SWIG_IsOK(res7)) {
43189 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43190 }
43191 if (!argp7) {
43192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43193 }
43194 arg7 = reinterpret_cast< wxValidator * >(argp7);
43195 }
43196 if (obj7) {
43197 {
43198 arg8 = wxString_in_helper(obj7);
43199 if (arg8 == NULL) SWIG_fail;
43200 temp8 = true;
43201 }
43202 }
43203 {
43204 if (!wxPyCheckForApp()) SWIG_fail;
43205 PyThreadState* __tstate = wxPyBeginAllowThreads();
43206 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43207 wxPyEndAllowThreads(__tstate);
43208 if (PyErr_Occurred()) SWIG_fail;
43209 }
43210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43211 {
43212 if (temp8)
43213 delete arg8;
43214 }
43215 return resultobj;
43216fail:
43217 {
43218 if (temp8)
43219 delete arg8;
43220 }
43221 return NULL;
43222}
43223
43224
43225SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43226 PyObject *resultobj = 0;
43227 wxColourPickerCtrl *result = 0 ;
43228
43229 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43230 {
43231 if (!wxPyCheckForApp()) SWIG_fail;
43232 PyThreadState* __tstate = wxPyBeginAllowThreads();
43233 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43234 wxPyEndAllowThreads(__tstate);
43235 if (PyErr_Occurred()) SWIG_fail;
43236 }
43237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43238 return resultobj;
43239fail:
43240 return NULL;
43241}
43242
43243
43244SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43245 PyObject *resultobj = 0;
43246 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43247 wxWindow *arg2 = (wxWindow *) 0 ;
43248 int arg3 ;
43249 wxColour const &arg4_defvalue = *wxBLACK ;
43250 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43251 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43252 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43253 wxSize const &arg6_defvalue = wxDefaultSize ;
43254 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43255 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43256 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43257 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43258 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43259 wxString *arg9 = (wxString *) &arg9_defvalue ;
43260 bool result;
43261 void *argp1 = 0 ;
43262 int res1 = 0 ;
43263 void *argp2 = 0 ;
43264 int res2 = 0 ;
43265 int val3 ;
43266 int ecode3 = 0 ;
43267 wxColour temp4 ;
43268 wxPoint temp5 ;
43269 wxSize temp6 ;
43270 long val7 ;
43271 int ecode7 = 0 ;
43272 void *argp8 = 0 ;
43273 int res8 = 0 ;
43274 bool temp9 = false ;
43275 PyObject * obj0 = 0 ;
43276 PyObject * obj1 = 0 ;
43277 PyObject * obj2 = 0 ;
43278 PyObject * obj3 = 0 ;
43279 PyObject * obj4 = 0 ;
43280 PyObject * obj5 = 0 ;
43281 PyObject * obj6 = 0 ;
43282 PyObject * obj7 = 0 ;
43283 PyObject * obj8 = 0 ;
43284 char * kwnames[] = {
43285 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43286 };
43287
43288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43290 if (!SWIG_IsOK(res1)) {
43291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43292 }
43293 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43295 if (!SWIG_IsOK(res2)) {
43296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43297 }
43298 arg2 = reinterpret_cast< wxWindow * >(argp2);
43299 ecode3 = SWIG_AsVal_int(obj2, &val3);
43300 if (!SWIG_IsOK(ecode3)) {
43301 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43302 }
43303 arg3 = static_cast< int >(val3);
43304 if (obj3) {
43305 {
43306 arg4 = &temp4;
43307 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43308 }
43309 }
43310 if (obj4) {
43311 {
43312 arg5 = &temp5;
43313 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43314 }
43315 }
43316 if (obj5) {
43317 {
43318 arg6 = &temp6;
43319 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43320 }
43321 }
43322 if (obj6) {
43323 ecode7 = SWIG_AsVal_long(obj6, &val7);
43324 if (!SWIG_IsOK(ecode7)) {
43325 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43326 }
43327 arg7 = static_cast< long >(val7);
43328 }
43329 if (obj7) {
43330 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43331 if (!SWIG_IsOK(res8)) {
43332 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43333 }
43334 if (!argp8) {
43335 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43336 }
43337 arg8 = reinterpret_cast< wxValidator * >(argp8);
43338 }
43339 if (obj8) {
43340 {
43341 arg9 = wxString_in_helper(obj8);
43342 if (arg9 == NULL) SWIG_fail;
43343 temp9 = true;
43344 }
43345 }
43346 {
43347 PyThreadState* __tstate = wxPyBeginAllowThreads();
43348 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43349 wxPyEndAllowThreads(__tstate);
43350 if (PyErr_Occurred()) SWIG_fail;
43351 }
43352 {
43353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43354 }
43355 {
43356 if (temp9)
43357 delete arg9;
43358 }
43359 return resultobj;
43360fail:
43361 {
43362 if (temp9)
43363 delete arg9;
43364 }
43365 return NULL;
43366}
43367
43368
43369SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43370 PyObject *resultobj = 0;
43371 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43372 wxColour result;
43373 void *argp1 = 0 ;
43374 int res1 = 0 ;
43375 PyObject *swig_obj[1] ;
43376
43377 if (!args) SWIG_fail;
43378 swig_obj[0] = args;
43379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43380 if (!SWIG_IsOK(res1)) {
43381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43382 }
43383 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43384 {
43385 PyThreadState* __tstate = wxPyBeginAllowThreads();
43386 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43387 wxPyEndAllowThreads(__tstate);
43388 if (PyErr_Occurred()) SWIG_fail;
43389 }
43390 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43391 return resultobj;
43392fail:
43393 return NULL;
43394}
43395
43396
43397SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43398 PyObject *resultobj = 0;
43399 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43400 wxColour *arg2 = 0 ;
43401 void *argp1 = 0 ;
43402 int res1 = 0 ;
43403 wxColour temp2 ;
43404 PyObject * obj0 = 0 ;
43405 PyObject * obj1 = 0 ;
43406 char * kwnames[] = {
43407 (char *) "self",(char *) "col", NULL
43408 };
43409
43410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43412 if (!SWIG_IsOK(res1)) {
43413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43414 }
43415 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43416 {
43417 arg2 = &temp2;
43418 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43419 }
43420 {
43421 PyThreadState* __tstate = wxPyBeginAllowThreads();
43422 (arg1)->SetColour((wxColour const &)*arg2);
43423 wxPyEndAllowThreads(__tstate);
43424 if (PyErr_Occurred()) SWIG_fail;
43425 }
43426 resultobj = SWIG_Py_Void();
43427 return resultobj;
43428fail:
43429 return NULL;
43430}
43431
43432
43433SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43434 PyObject *obj;
43435 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43436 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43437 return SWIG_Py_Void();
43438}
43439
43440SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43441 return SWIG_Python_InitShadowInstance(args);
43442}
43443
43444SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43445 PyObject *resultobj = 0;
43446 wxObject *arg1 = (wxObject *) 0 ;
43447 int arg2 ;
43448 wxColour *arg3 = 0 ;
43449 wxColourPickerEvent *result = 0 ;
43450 void *argp1 = 0 ;
43451 int res1 = 0 ;
43452 int val2 ;
43453 int ecode2 = 0 ;
43454 wxColour temp3 ;
43455 PyObject * obj0 = 0 ;
43456 PyObject * obj1 = 0 ;
43457 PyObject * obj2 = 0 ;
43458 char * kwnames[] = {
43459 (char *) "generator",(char *) "id",(char *) "col", NULL
43460 };
43461
43462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43464 if (!SWIG_IsOK(res1)) {
43465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43466 }
43467 arg1 = reinterpret_cast< wxObject * >(argp1);
43468 ecode2 = SWIG_AsVal_int(obj1, &val2);
43469 if (!SWIG_IsOK(ecode2)) {
43470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43471 }
43472 arg2 = static_cast< int >(val2);
43473 {
43474 arg3 = &temp3;
43475 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43476 }
43477 {
43478 PyThreadState* __tstate = wxPyBeginAllowThreads();
43479 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43480 wxPyEndAllowThreads(__tstate);
43481 if (PyErr_Occurred()) SWIG_fail;
43482 }
43483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43484 return resultobj;
43485fail:
43486 return NULL;
43487}
43488
43489
43490SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43491 PyObject *resultobj = 0;
43492 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43493 wxColour result;
43494 void *argp1 = 0 ;
43495 int res1 = 0 ;
43496 PyObject *swig_obj[1] ;
43497
43498 if (!args) SWIG_fail;
43499 swig_obj[0] = args;
43500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43501 if (!SWIG_IsOK(res1)) {
43502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43503 }
43504 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43505 {
43506 PyThreadState* __tstate = wxPyBeginAllowThreads();
43507 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43508 wxPyEndAllowThreads(__tstate);
43509 if (PyErr_Occurred()) SWIG_fail;
43510 }
43511 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43512 return resultobj;
43513fail:
43514 return NULL;
43515}
43516
43517
43518SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43519 PyObject *resultobj = 0;
43520 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43521 wxColour *arg2 = 0 ;
43522 void *argp1 = 0 ;
43523 int res1 = 0 ;
43524 wxColour temp2 ;
43525 PyObject * obj0 = 0 ;
43526 PyObject * obj1 = 0 ;
43527 char * kwnames[] = {
43528 (char *) "self",(char *) "c", NULL
43529 };
43530
43531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43533 if (!SWIG_IsOK(res1)) {
43534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43535 }
43536 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43537 {
43538 arg2 = &temp2;
43539 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43540 }
43541 {
43542 PyThreadState* __tstate = wxPyBeginAllowThreads();
43543 (arg1)->SetColour((wxColour const &)*arg2);
43544 wxPyEndAllowThreads(__tstate);
43545 if (PyErr_Occurred()) SWIG_fail;
43546 }
43547 resultobj = SWIG_Py_Void();
43548 return resultobj;
43549fail:
43550 return NULL;
43551}
43552
43553
43554SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43555 PyObject *obj;
43556 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43557 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43558 return SWIG_Py_Void();
43559}
43560
43561SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43562 return SWIG_Python_InitShadowInstance(args);
43563}
43564
43565SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43566 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43567 return 1;
43568}
43569
43570
43571SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43572 PyObject *pyobj = 0;
43573
43574 {
43575#if wxUSE_UNICODE
43576 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43577#else
43578 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43579#endif
43580 }
43581 return pyobj;
43582}
43583
43584
43585SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43586 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43587 return 1;
43588}
43589
43590
43591SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43592 PyObject *pyobj = 0;
43593
43594 {
43595#if wxUSE_UNICODE
43596 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43597#else
43598 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43599#endif
43600 }
43601 return pyobj;
43602}
43603
43604
43605SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43606 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43607 return 1;
43608}
43609
43610
43611SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43612 PyObject *pyobj = 0;
43613
43614 {
43615#if wxUSE_UNICODE
43616 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43617#else
43618 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43619#endif
43620 }
43621 return pyobj;
43622}
43623
43624
43625SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43626 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43627 return 1;
43628}
43629
43630
43631SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43632 PyObject *pyobj = 0;
43633
43634 {
43635#if wxUSE_UNICODE
43636 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43637#else
43638 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43639#endif
43640 }
43641 return pyobj;
43642}
43643
43644
43645SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43646 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43647 return 1;
43648}
43649
43650
43651SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43652 PyObject *pyobj = 0;
43653
43654 {
43655#if wxUSE_UNICODE
43656 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43657#else
43658 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43659#endif
43660 }
43661 return pyobj;
43662}
43663
43664
43665SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43666 PyObject *resultobj = 0;
43667 wxWindow *arg1 = (wxWindow *) 0 ;
43668 int arg2 = (int) -1 ;
43669 wxString const &arg3_defvalue = wxPyEmptyString ;
43670 wxString *arg3 = (wxString *) &arg3_defvalue ;
43671 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43672 wxString *arg4 = (wxString *) &arg4_defvalue ;
43673 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43674 wxString *arg5 = (wxString *) &arg5_defvalue ;
43675 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43676 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43677 wxSize const &arg7_defvalue = wxDefaultSize ;
43678 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43679 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43680 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43681 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43682 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43683 wxString *arg10 = (wxString *) &arg10_defvalue ;
43684 wxFilePickerCtrl *result = 0 ;
43685 void *argp1 = 0 ;
43686 int res1 = 0 ;
43687 int val2 ;
43688 int ecode2 = 0 ;
43689 bool temp3 = false ;
43690 bool temp4 = false ;
43691 bool temp5 = false ;
43692 wxPoint temp6 ;
43693 wxSize temp7 ;
43694 long val8 ;
43695 int ecode8 = 0 ;
43696 void *argp9 = 0 ;
43697 int res9 = 0 ;
43698 bool temp10 = false ;
43699 PyObject * obj0 = 0 ;
43700 PyObject * obj1 = 0 ;
43701 PyObject * obj2 = 0 ;
43702 PyObject * obj3 = 0 ;
43703 PyObject * obj4 = 0 ;
43704 PyObject * obj5 = 0 ;
43705 PyObject * obj6 = 0 ;
43706 PyObject * obj7 = 0 ;
43707 PyObject * obj8 = 0 ;
43708 PyObject * obj9 = 0 ;
43709 char * kwnames[] = {
43710 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43711 };
43712
43713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43715 if (!SWIG_IsOK(res1)) {
43716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43717 }
43718 arg1 = reinterpret_cast< wxWindow * >(argp1);
43719 if (obj1) {
43720 ecode2 = SWIG_AsVal_int(obj1, &val2);
43721 if (!SWIG_IsOK(ecode2)) {
43722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43723 }
43724 arg2 = static_cast< int >(val2);
43725 }
43726 if (obj2) {
43727 {
43728 arg3 = wxString_in_helper(obj2);
43729 if (arg3 == NULL) SWIG_fail;
43730 temp3 = true;
43731 }
43732 }
43733 if (obj3) {
43734 {
43735 arg4 = wxString_in_helper(obj3);
43736 if (arg4 == NULL) SWIG_fail;
43737 temp4 = true;
43738 }
43739 }
43740 if (obj4) {
43741 {
43742 arg5 = wxString_in_helper(obj4);
43743 if (arg5 == NULL) SWIG_fail;
43744 temp5 = true;
43745 }
43746 }
43747 if (obj5) {
43748 {
43749 arg6 = &temp6;
43750 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43751 }
43752 }
43753 if (obj6) {
43754 {
43755 arg7 = &temp7;
43756 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43757 }
43758 }
43759 if (obj7) {
43760 ecode8 = SWIG_AsVal_long(obj7, &val8);
43761 if (!SWIG_IsOK(ecode8)) {
43762 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43763 }
43764 arg8 = static_cast< long >(val8);
43765 }
43766 if (obj8) {
43767 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43768 if (!SWIG_IsOK(res9)) {
43769 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43770 }
43771 if (!argp9) {
43772 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43773 }
43774 arg9 = reinterpret_cast< wxValidator * >(argp9);
43775 }
43776 if (obj9) {
43777 {
43778 arg10 = wxString_in_helper(obj9);
43779 if (arg10 == NULL) SWIG_fail;
43780 temp10 = true;
43781 }
43782 }
43783 {
43784 if (!wxPyCheckForApp()) SWIG_fail;
43785 PyThreadState* __tstate = wxPyBeginAllowThreads();
43786 result = (wxFilePickerCtrl *)new wxFilePickerCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
43787 wxPyEndAllowThreads(__tstate);
43788 if (PyErr_Occurred()) SWIG_fail;
43789 }
43790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43791 {
43792 if (temp3)
43793 delete arg3;
43794 }
43795 {
43796 if (temp4)
43797 delete arg4;
43798 }
43799 {
43800 if (temp5)
43801 delete arg5;
43802 }
43803 {
43804 if (temp10)
43805 delete arg10;
43806 }
43807 return resultobj;
43808fail:
43809 {
43810 if (temp3)
43811 delete arg3;
43812 }
43813 {
43814 if (temp4)
43815 delete arg4;
43816 }
43817 {
43818 if (temp5)
43819 delete arg5;
43820 }
43821 {
43822 if (temp10)
43823 delete arg10;
43824 }
43825 return NULL;
43826}
43827
43828
43829SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43830 PyObject *resultobj = 0;
43831 wxFilePickerCtrl *result = 0 ;
43832
43833 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43834 {
43835 if (!wxPyCheckForApp()) SWIG_fail;
43836 PyThreadState* __tstate = wxPyBeginAllowThreads();
43837 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43838 wxPyEndAllowThreads(__tstate);
43839 if (PyErr_Occurred()) SWIG_fail;
43840 }
43841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43842 return resultobj;
43843fail:
43844 return NULL;
43845}
43846
43847
43848SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43849 PyObject *resultobj = 0;
43850 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43851 wxWindow *arg2 = (wxWindow *) 0 ;
43852 int arg3 = (int) -1 ;
43853 wxString const &arg4_defvalue = wxPyEmptyString ;
43854 wxString *arg4 = (wxString *) &arg4_defvalue ;
43855 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43856 wxString *arg5 = (wxString *) &arg5_defvalue ;
43857 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43858 wxString *arg6 = (wxString *) &arg6_defvalue ;
43859 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43860 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43861 wxSize const &arg8_defvalue = wxDefaultSize ;
43862 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43863 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43864 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43865 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43866 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43867 wxString *arg11 = (wxString *) &arg11_defvalue ;
43868 bool result;
43869 void *argp1 = 0 ;
43870 int res1 = 0 ;
43871 void *argp2 = 0 ;
43872 int res2 = 0 ;
43873 int val3 ;
43874 int ecode3 = 0 ;
43875 bool temp4 = false ;
43876 bool temp5 = false ;
43877 bool temp6 = false ;
43878 wxPoint temp7 ;
43879 wxSize temp8 ;
43880 long val9 ;
43881 int ecode9 = 0 ;
43882 void *argp10 = 0 ;
43883 int res10 = 0 ;
43884 bool temp11 = false ;
43885 PyObject * obj0 = 0 ;
43886 PyObject * obj1 = 0 ;
43887 PyObject * obj2 = 0 ;
43888 PyObject * obj3 = 0 ;
43889 PyObject * obj4 = 0 ;
43890 PyObject * obj5 = 0 ;
43891 PyObject * obj6 = 0 ;
43892 PyObject * obj7 = 0 ;
43893 PyObject * obj8 = 0 ;
43894 PyObject * obj9 = 0 ;
43895 PyObject * obj10 = 0 ;
43896 char * kwnames[] = {
43897 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43898 };
43899
43900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43902 if (!SWIG_IsOK(res1)) {
43903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43904 }
43905 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43906 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43907 if (!SWIG_IsOK(res2)) {
43908 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43909 }
43910 arg2 = reinterpret_cast< wxWindow * >(argp2);
43911 if (obj2) {
43912 ecode3 = SWIG_AsVal_int(obj2, &val3);
43913 if (!SWIG_IsOK(ecode3)) {
43914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43915 }
43916 arg3 = static_cast< int >(val3);
43917 }
43918 if (obj3) {
43919 {
43920 arg4 = wxString_in_helper(obj3);
43921 if (arg4 == NULL) SWIG_fail;
43922 temp4 = true;
43923 }
43924 }
43925 if (obj4) {
43926 {
43927 arg5 = wxString_in_helper(obj4);
43928 if (arg5 == NULL) SWIG_fail;
43929 temp5 = true;
43930 }
43931 }
43932 if (obj5) {
43933 {
43934 arg6 = wxString_in_helper(obj5);
43935 if (arg6 == NULL) SWIG_fail;
43936 temp6 = true;
43937 }
43938 }
43939 if (obj6) {
43940 {
43941 arg7 = &temp7;
43942 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43943 }
43944 }
43945 if (obj7) {
43946 {
43947 arg8 = &temp8;
43948 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43949 }
43950 }
43951 if (obj8) {
43952 ecode9 = SWIG_AsVal_long(obj8, &val9);
43953 if (!SWIG_IsOK(ecode9)) {
43954 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43955 }
43956 arg9 = static_cast< long >(val9);
43957 }
43958 if (obj9) {
43959 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43960 if (!SWIG_IsOK(res10)) {
43961 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43962 }
43963 if (!argp10) {
43964 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43965 }
43966 arg10 = reinterpret_cast< wxValidator * >(argp10);
43967 }
43968 if (obj10) {
43969 {
43970 arg11 = wxString_in_helper(obj10);
43971 if (arg11 == NULL) SWIG_fail;
43972 temp11 = true;
43973 }
43974 }
43975 {
43976 PyThreadState* __tstate = wxPyBeginAllowThreads();
43977 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxString const &)*arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
43978 wxPyEndAllowThreads(__tstate);
43979 if (PyErr_Occurred()) SWIG_fail;
43980 }
43981 {
43982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43983 }
43984 {
43985 if (temp4)
43986 delete arg4;
43987 }
43988 {
43989 if (temp5)
43990 delete arg5;
43991 }
43992 {
43993 if (temp6)
43994 delete arg6;
43995 }
43996 {
43997 if (temp11)
43998 delete arg11;
43999 }
44000 return resultobj;
44001fail:
44002 {
44003 if (temp4)
44004 delete arg4;
44005 }
44006 {
44007 if (temp5)
44008 delete arg5;
44009 }
44010 {
44011 if (temp6)
44012 delete arg6;
44013 }
44014 {
44015 if (temp11)
44016 delete arg11;
44017 }
44018 return NULL;
44019}
44020
44021
44022SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44023 PyObject *resultobj = 0;
44024 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44025 wxString result;
44026 void *argp1 = 0 ;
44027 int res1 = 0 ;
44028 PyObject *swig_obj[1] ;
44029
44030 if (!args) SWIG_fail;
44031 swig_obj[0] = args;
44032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44033 if (!SWIG_IsOK(res1)) {
44034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44035 }
44036 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44037 {
44038 PyThreadState* __tstate = wxPyBeginAllowThreads();
44039 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44040 wxPyEndAllowThreads(__tstate);
44041 if (PyErr_Occurred()) SWIG_fail;
44042 }
44043 {
44044#if wxUSE_UNICODE
44045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44046#else
44047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44048#endif
44049 }
44050 return resultobj;
44051fail:
44052 return NULL;
44053}
44054
44055
44056SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44057 PyObject *resultobj = 0;
44058 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44059 wxString *arg2 = 0 ;
44060 void *argp1 = 0 ;
44061 int res1 = 0 ;
44062 bool temp2 = false ;
44063 PyObject * obj0 = 0 ;
44064 PyObject * obj1 = 0 ;
44065 char * kwnames[] = {
44066 (char *) "self",(char *) "str", NULL
44067 };
44068
44069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44071 if (!SWIG_IsOK(res1)) {
44072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44073 }
44074 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44075 {
44076 arg2 = wxString_in_helper(obj1);
44077 if (arg2 == NULL) SWIG_fail;
44078 temp2 = true;
44079 }
44080 {
44081 PyThreadState* __tstate = wxPyBeginAllowThreads();
44082 (arg1)->SetPath((wxString const &)*arg2);
44083 wxPyEndAllowThreads(__tstate);
44084 if (PyErr_Occurred()) SWIG_fail;
44085 }
44086 resultobj = SWIG_Py_Void();
44087 {
44088 if (temp2)
44089 delete arg2;
44090 }
44091 return resultobj;
44092fail:
44093 {
44094 if (temp2)
44095 delete arg2;
44096 }
44097 return NULL;
44098}
44099
44100
b02396e8
RD
44101SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44102 PyObject *resultobj = 0;
44103 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44104 wxString *arg2 = 0 ;
44105 bool result;
44106 void *argp1 = 0 ;
44107 int res1 = 0 ;
44108 bool temp2 = false ;
44109 PyObject * obj0 = 0 ;
44110 PyObject * obj1 = 0 ;
44111 char * kwnames[] = {
44112 (char *) "self",(char *) "path", NULL
44113 };
44114
44115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44117 if (!SWIG_IsOK(res1)) {
44118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44119 }
44120 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44121 {
44122 arg2 = wxString_in_helper(obj1);
44123 if (arg2 == NULL) SWIG_fail;
44124 temp2 = true;
44125 }
44126 {
44127 PyThreadState* __tstate = wxPyBeginAllowThreads();
44128 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44129 wxPyEndAllowThreads(__tstate);
44130 if (PyErr_Occurred()) SWIG_fail;
44131 }
44132 {
44133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44134 }
44135 {
44136 if (temp2)
44137 delete arg2;
44138 }
44139 return resultobj;
44140fail:
44141 {
44142 if (temp2)
44143 delete arg2;
44144 }
44145 return NULL;
44146}
44147
44148
44149SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44150 PyObject *resultobj = 0;
44151 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44152 wxString result;
44153 void *argp1 = 0 ;
44154 int res1 = 0 ;
44155 PyObject *swig_obj[1] ;
44156
44157 if (!args) SWIG_fail;
44158 swig_obj[0] = args;
44159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44160 if (!SWIG_IsOK(res1)) {
44161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44162 }
44163 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44164 {
44165 PyThreadState* __tstate = wxPyBeginAllowThreads();
44166 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44167 wxPyEndAllowThreads(__tstate);
44168 if (PyErr_Occurred()) SWIG_fail;
44169 }
44170 {
44171#if wxUSE_UNICODE
44172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44173#else
44174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44175#endif
44176 }
44177 return resultobj;
44178fail:
44179 return NULL;
44180}
44181
44182
b850e7f3
RD
44183SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44184 PyObject *obj;
44185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44186 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44187 return SWIG_Py_Void();
44188}
44189
44190SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44191 return SWIG_Python_InitShadowInstance(args);
44192}
44193
44194SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44195 PyObject *resultobj = 0;
44196 wxWindow *arg1 = (wxWindow *) 0 ;
44197 int arg2 = (int) -1 ;
44198 wxString const &arg3_defvalue = wxPyEmptyString ;
44199 wxString *arg3 = (wxString *) &arg3_defvalue ;
44200 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44201 wxString *arg4 = (wxString *) &arg4_defvalue ;
44202 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44203 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44204 wxSize const &arg6_defvalue = wxDefaultSize ;
44205 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44206 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44207 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44208 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44209 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44210 wxString *arg9 = (wxString *) &arg9_defvalue ;
44211 wxDirPickerCtrl *result = 0 ;
44212 void *argp1 = 0 ;
44213 int res1 = 0 ;
44214 int val2 ;
44215 int ecode2 = 0 ;
44216 bool temp3 = false ;
44217 bool temp4 = false ;
44218 wxPoint temp5 ;
44219 wxSize temp6 ;
44220 long val7 ;
44221 int ecode7 = 0 ;
44222 void *argp8 = 0 ;
44223 int res8 = 0 ;
44224 bool temp9 = false ;
44225 PyObject * obj0 = 0 ;
44226 PyObject * obj1 = 0 ;
44227 PyObject * obj2 = 0 ;
44228 PyObject * obj3 = 0 ;
44229 PyObject * obj4 = 0 ;
44230 PyObject * obj5 = 0 ;
44231 PyObject * obj6 = 0 ;
44232 PyObject * obj7 = 0 ;
44233 PyObject * obj8 = 0 ;
44234 char * kwnames[] = {
44235 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44236 };
44237
44238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44240 if (!SWIG_IsOK(res1)) {
44241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44242 }
44243 arg1 = reinterpret_cast< wxWindow * >(argp1);
44244 if (obj1) {
44245 ecode2 = SWIG_AsVal_int(obj1, &val2);
44246 if (!SWIG_IsOK(ecode2)) {
44247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44248 }
44249 arg2 = static_cast< int >(val2);
44250 }
44251 if (obj2) {
44252 {
44253 arg3 = wxString_in_helper(obj2);
44254 if (arg3 == NULL) SWIG_fail;
44255 temp3 = true;
44256 }
44257 }
44258 if (obj3) {
44259 {
44260 arg4 = wxString_in_helper(obj3);
44261 if (arg4 == NULL) SWIG_fail;
44262 temp4 = true;
44263 }
44264 }
44265 if (obj4) {
44266 {
44267 arg5 = &temp5;
44268 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44269 }
44270 }
44271 if (obj5) {
44272 {
44273 arg6 = &temp6;
44274 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44275 }
44276 }
44277 if (obj6) {
44278 ecode7 = SWIG_AsVal_long(obj6, &val7);
44279 if (!SWIG_IsOK(ecode7)) {
44280 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44281 }
44282 arg7 = static_cast< long >(val7);
44283 }
44284 if (obj7) {
44285 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44286 if (!SWIG_IsOK(res8)) {
44287 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44288 }
44289 if (!argp8) {
44290 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44291 }
44292 arg8 = reinterpret_cast< wxValidator * >(argp8);
44293 }
44294 if (obj8) {
44295 {
44296 arg9 = wxString_in_helper(obj8);
44297 if (arg9 == NULL) SWIG_fail;
44298 temp9 = true;
44299 }
44300 }
44301 {
44302 if (!wxPyCheckForApp()) SWIG_fail;
44303 PyThreadState* __tstate = wxPyBeginAllowThreads();
44304 result = (wxDirPickerCtrl *)new wxDirPickerCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
44305 wxPyEndAllowThreads(__tstate);
44306 if (PyErr_Occurred()) SWIG_fail;
44307 }
44308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44309 {
44310 if (temp3)
44311 delete arg3;
44312 }
44313 {
44314 if (temp4)
44315 delete arg4;
44316 }
44317 {
44318 if (temp9)
44319 delete arg9;
44320 }
44321 return resultobj;
44322fail:
44323 {
44324 if (temp3)
44325 delete arg3;
44326 }
44327 {
44328 if (temp4)
44329 delete arg4;
44330 }
44331 {
44332 if (temp9)
44333 delete arg9;
44334 }
44335 return NULL;
44336}
44337
44338
44339SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44340 PyObject *resultobj = 0;
44341 wxDirPickerCtrl *result = 0 ;
44342
44343 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44344 {
44345 if (!wxPyCheckForApp()) SWIG_fail;
44346 PyThreadState* __tstate = wxPyBeginAllowThreads();
44347 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44348 wxPyEndAllowThreads(__tstate);
44349 if (PyErr_Occurred()) SWIG_fail;
44350 }
44351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44352 return resultobj;
44353fail:
44354 return NULL;
44355}
44356
44357
44358SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44359 PyObject *resultobj = 0;
44360 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44361 wxWindow *arg2 = (wxWindow *) 0 ;
44362 int arg3 = (int) -1 ;
44363 wxString const &arg4_defvalue = wxPyEmptyString ;
44364 wxString *arg4 = (wxString *) &arg4_defvalue ;
44365 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44366 wxString *arg5 = (wxString *) &arg5_defvalue ;
44367 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44368 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44369 wxSize const &arg7_defvalue = wxDefaultSize ;
44370 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44371 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44372 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44373 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44374 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44375 wxString *arg10 = (wxString *) &arg10_defvalue ;
44376 bool result;
44377 void *argp1 = 0 ;
44378 int res1 = 0 ;
44379 void *argp2 = 0 ;
44380 int res2 = 0 ;
44381 int val3 ;
44382 int ecode3 = 0 ;
44383 bool temp4 = false ;
44384 bool temp5 = false ;
44385 wxPoint temp6 ;
44386 wxSize temp7 ;
44387 long val8 ;
44388 int ecode8 = 0 ;
44389 void *argp9 = 0 ;
44390 int res9 = 0 ;
44391 bool temp10 = false ;
44392 PyObject * obj0 = 0 ;
44393 PyObject * obj1 = 0 ;
44394 PyObject * obj2 = 0 ;
44395 PyObject * obj3 = 0 ;
44396 PyObject * obj4 = 0 ;
44397 PyObject * obj5 = 0 ;
44398 PyObject * obj6 = 0 ;
44399 PyObject * obj7 = 0 ;
44400 PyObject * obj8 = 0 ;
44401 PyObject * obj9 = 0 ;
44402 char * kwnames[] = {
44403 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44404 };
44405
44406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44408 if (!SWIG_IsOK(res1)) {
44409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44410 }
44411 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44412 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44413 if (!SWIG_IsOK(res2)) {
44414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44415 }
44416 arg2 = reinterpret_cast< wxWindow * >(argp2);
44417 if (obj2) {
44418 ecode3 = SWIG_AsVal_int(obj2, &val3);
44419 if (!SWIG_IsOK(ecode3)) {
44420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44421 }
44422 arg3 = static_cast< int >(val3);
44423 }
44424 if (obj3) {
44425 {
44426 arg4 = wxString_in_helper(obj3);
44427 if (arg4 == NULL) SWIG_fail;
44428 temp4 = true;
44429 }
44430 }
44431 if (obj4) {
44432 {
44433 arg5 = wxString_in_helper(obj4);
44434 if (arg5 == NULL) SWIG_fail;
44435 temp5 = true;
44436 }
44437 }
44438 if (obj5) {
44439 {
44440 arg6 = &temp6;
44441 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44442 }
44443 }
44444 if (obj6) {
44445 {
44446 arg7 = &temp7;
44447 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44448 }
44449 }
44450 if (obj7) {
44451 ecode8 = SWIG_AsVal_long(obj7, &val8);
44452 if (!SWIG_IsOK(ecode8)) {
44453 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44454 }
44455 arg8 = static_cast< long >(val8);
44456 }
44457 if (obj8) {
44458 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44459 if (!SWIG_IsOK(res9)) {
44460 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44461 }
44462 if (!argp9) {
44463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44464 }
44465 arg9 = reinterpret_cast< wxValidator * >(argp9);
44466 }
44467 if (obj9) {
44468 {
44469 arg10 = wxString_in_helper(obj9);
44470 if (arg10 == NULL) SWIG_fail;
44471 temp10 = true;
44472 }
44473 }
44474 {
44475 PyThreadState* __tstate = wxPyBeginAllowThreads();
44476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
44477 wxPyEndAllowThreads(__tstate);
44478 if (PyErr_Occurred()) SWIG_fail;
44479 }
44480 {
44481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44482 }
44483 {
44484 if (temp4)
44485 delete arg4;
44486 }
44487 {
44488 if (temp5)
44489 delete arg5;
44490 }
44491 {
44492 if (temp10)
44493 delete arg10;
44494 }
44495 return resultobj;
44496fail:
44497 {
44498 if (temp4)
44499 delete arg4;
44500 }
44501 {
44502 if (temp5)
44503 delete arg5;
44504 }
44505 {
44506 if (temp10)
44507 delete arg10;
44508 }
44509 return NULL;
44510}
44511
44512
44513SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44514 PyObject *resultobj = 0;
44515 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44516 wxString result;
44517 void *argp1 = 0 ;
44518 int res1 = 0 ;
44519 PyObject *swig_obj[1] ;
44520
44521 if (!args) SWIG_fail;
44522 swig_obj[0] = args;
44523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44524 if (!SWIG_IsOK(res1)) {
44525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44526 }
44527 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44528 {
44529 PyThreadState* __tstate = wxPyBeginAllowThreads();
44530 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44531 wxPyEndAllowThreads(__tstate);
44532 if (PyErr_Occurred()) SWIG_fail;
44533 }
44534 {
44535#if wxUSE_UNICODE
44536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44537#else
44538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44539#endif
44540 }
44541 return resultobj;
44542fail:
44543 return NULL;
44544}
44545
44546
44547SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44548 PyObject *resultobj = 0;
44549 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44550 wxString *arg2 = 0 ;
44551 void *argp1 = 0 ;
44552 int res1 = 0 ;
44553 bool temp2 = false ;
44554 PyObject * obj0 = 0 ;
44555 PyObject * obj1 = 0 ;
44556 char * kwnames[] = {
44557 (char *) "self",(char *) "str", NULL
44558 };
44559
44560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44562 if (!SWIG_IsOK(res1)) {
44563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44564 }
44565 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44566 {
44567 arg2 = wxString_in_helper(obj1);
44568 if (arg2 == NULL) SWIG_fail;
44569 temp2 = true;
44570 }
44571 {
44572 PyThreadState* __tstate = wxPyBeginAllowThreads();
44573 (arg1)->SetPath((wxString const &)*arg2);
44574 wxPyEndAllowThreads(__tstate);
44575 if (PyErr_Occurred()) SWIG_fail;
44576 }
44577 resultobj = SWIG_Py_Void();
44578 {
44579 if (temp2)
44580 delete arg2;
44581 }
44582 return resultobj;
44583fail:
44584 {
44585 if (temp2)
44586 delete arg2;
44587 }
44588 return NULL;
44589}
44590
44591
b02396e8
RD
44592SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44593 PyObject *resultobj = 0;
44594 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44595 wxString *arg2 = 0 ;
44596 bool result;
44597 void *argp1 = 0 ;
44598 int res1 = 0 ;
44599 bool temp2 = false ;
44600 PyObject * obj0 = 0 ;
44601 PyObject * obj1 = 0 ;
44602 char * kwnames[] = {
44603 (char *) "self",(char *) "path", NULL
44604 };
44605
44606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44608 if (!SWIG_IsOK(res1)) {
44609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44610 }
44611 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44612 {
44613 arg2 = wxString_in_helper(obj1);
44614 if (arg2 == NULL) SWIG_fail;
44615 temp2 = true;
44616 }
44617 {
44618 PyThreadState* __tstate = wxPyBeginAllowThreads();
44619 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44620 wxPyEndAllowThreads(__tstate);
44621 if (PyErr_Occurred()) SWIG_fail;
44622 }
44623 {
44624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44625 }
44626 {
44627 if (temp2)
44628 delete arg2;
44629 }
44630 return resultobj;
44631fail:
44632 {
44633 if (temp2)
44634 delete arg2;
44635 }
44636 return NULL;
44637}
44638
44639
44640SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44641 PyObject *resultobj = 0;
44642 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44643 wxString result;
44644 void *argp1 = 0 ;
44645 int res1 = 0 ;
44646 PyObject *swig_obj[1] ;
44647
44648 if (!args) SWIG_fail;
44649 swig_obj[0] = args;
44650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44651 if (!SWIG_IsOK(res1)) {
44652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44653 }
44654 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44655 {
44656 PyThreadState* __tstate = wxPyBeginAllowThreads();
44657 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44658 wxPyEndAllowThreads(__tstate);
44659 if (PyErr_Occurred()) SWIG_fail;
44660 }
44661 {
44662#if wxUSE_UNICODE
44663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44664#else
44665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44666#endif
44667 }
44668 return resultobj;
44669fail:
44670 return NULL;
44671}
44672
44673
b850e7f3
RD
44674SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44675 PyObject *obj;
44676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44677 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44678 return SWIG_Py_Void();
44679}
44680
44681SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44682 return SWIG_Python_InitShadowInstance(args);
44683}
44684
44685SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44686 PyObject *resultobj = 0;
44687 wxEventType arg1 ;
44688 wxObject *arg2 = (wxObject *) 0 ;
44689 int arg3 ;
44690 wxString *arg4 = 0 ;
44691 wxFileDirPickerEvent *result = 0 ;
44692 int val1 ;
44693 int ecode1 = 0 ;
44694 void *argp2 = 0 ;
44695 int res2 = 0 ;
44696 int val3 ;
44697 int ecode3 = 0 ;
44698 bool temp4 = false ;
44699 PyObject * obj0 = 0 ;
44700 PyObject * obj1 = 0 ;
44701 PyObject * obj2 = 0 ;
44702 PyObject * obj3 = 0 ;
44703 char * kwnames[] = {
44704 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44705 };
44706
44707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44708 ecode1 = SWIG_AsVal_int(obj0, &val1);
44709 if (!SWIG_IsOK(ecode1)) {
44710 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44711 }
44712 arg1 = static_cast< wxEventType >(val1);
44713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44714 if (!SWIG_IsOK(res2)) {
44715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44716 }
44717 arg2 = reinterpret_cast< wxObject * >(argp2);
44718 ecode3 = SWIG_AsVal_int(obj2, &val3);
44719 if (!SWIG_IsOK(ecode3)) {
44720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44721 }
44722 arg3 = static_cast< int >(val3);
44723 {
44724 arg4 = wxString_in_helper(obj3);
44725 if (arg4 == NULL) SWIG_fail;
44726 temp4 = true;
44727 }
44728 {
44729 PyThreadState* __tstate = wxPyBeginAllowThreads();
44730 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44731 wxPyEndAllowThreads(__tstate);
44732 if (PyErr_Occurred()) SWIG_fail;
44733 }
44734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44735 {
44736 if (temp4)
44737 delete arg4;
44738 }
44739 return resultobj;
44740fail:
44741 {
44742 if (temp4)
44743 delete arg4;
44744 }
44745 return NULL;
44746}
44747
44748
44749SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44750 PyObject *resultobj = 0;
44751 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44752 wxString result;
44753 void *argp1 = 0 ;
44754 int res1 = 0 ;
44755 PyObject *swig_obj[1] ;
44756
44757 if (!args) SWIG_fail;
44758 swig_obj[0] = args;
44759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44760 if (!SWIG_IsOK(res1)) {
44761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44762 }
44763 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44764 {
44765 PyThreadState* __tstate = wxPyBeginAllowThreads();
44766 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44767 wxPyEndAllowThreads(__tstate);
44768 if (PyErr_Occurred()) SWIG_fail;
44769 }
44770 {
44771#if wxUSE_UNICODE
44772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44773#else
44774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44775#endif
44776 }
44777 return resultobj;
44778fail:
44779 return NULL;
44780}
44781
44782
44783SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44784 PyObject *resultobj = 0;
44785 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44786 wxString *arg2 = 0 ;
44787 void *argp1 = 0 ;
44788 int res1 = 0 ;
44789 bool temp2 = false ;
44790 PyObject * obj0 = 0 ;
44791 PyObject * obj1 = 0 ;
44792 char * kwnames[] = {
44793 (char *) "self",(char *) "p", NULL
44794 };
44795
44796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44798 if (!SWIG_IsOK(res1)) {
44799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44800 }
44801 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44802 {
44803 arg2 = wxString_in_helper(obj1);
44804 if (arg2 == NULL) SWIG_fail;
44805 temp2 = true;
44806 }
44807 {
44808 PyThreadState* __tstate = wxPyBeginAllowThreads();
44809 (arg1)->SetPath((wxString const &)*arg2);
44810 wxPyEndAllowThreads(__tstate);
44811 if (PyErr_Occurred()) SWIG_fail;
44812 }
44813 resultobj = SWIG_Py_Void();
44814 {
44815 if (temp2)
44816 delete arg2;
44817 }
44818 return resultobj;
44819fail:
44820 {
44821 if (temp2)
44822 delete arg2;
44823 }
44824 return NULL;
44825}
44826
44827
44828SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44829 PyObject *obj;
44830 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44831 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44832 return SWIG_Py_Void();
44833}
44834
44835SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44836 return SWIG_Python_InitShadowInstance(args);
44837}
44838
44839SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44840 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44841 return 1;
44842}
44843
44844
44845SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44846 PyObject *pyobj = 0;
44847
44848 {
44849#if wxUSE_UNICODE
44850 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44851#else
44852 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44853#endif
44854 }
44855 return pyobj;
44856}
44857
44858
44859SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44860 PyObject *resultobj = 0;
44861 wxWindow *arg1 = (wxWindow *) 0 ;
44862 int arg2 = (int) -1 ;
f89238b9 44863 wxFont const &arg3_defvalue = wxNullFont ;
b850e7f3
RD
44864 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44867 wxSize const &arg5_defvalue = wxDefaultSize ;
44868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44869 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44870 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44871 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44872 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44873 wxString *arg8 = (wxString *) &arg8_defvalue ;
44874 wxFontPickerCtrl *result = 0 ;
44875 void *argp1 = 0 ;
44876 int res1 = 0 ;
44877 int val2 ;
44878 int ecode2 = 0 ;
44879 void *argp3 = 0 ;
44880 int res3 = 0 ;
44881 wxPoint temp4 ;
44882 wxSize temp5 ;
44883 long val6 ;
44884 int ecode6 = 0 ;
44885 void *argp7 = 0 ;
44886 int res7 = 0 ;
44887 bool temp8 = false ;
44888 PyObject * obj0 = 0 ;
44889 PyObject * obj1 = 0 ;
44890 PyObject * obj2 = 0 ;
44891 PyObject * obj3 = 0 ;
44892 PyObject * obj4 = 0 ;
44893 PyObject * obj5 = 0 ;
44894 PyObject * obj6 = 0 ;
44895 PyObject * obj7 = 0 ;
44896 char * kwnames[] = {
44897 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44898 };
44899
44900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44902 if (!SWIG_IsOK(res1)) {
44903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44904 }
44905 arg1 = reinterpret_cast< wxWindow * >(argp1);
44906 if (obj1) {
44907 ecode2 = SWIG_AsVal_int(obj1, &val2);
44908 if (!SWIG_IsOK(ecode2)) {
44909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44910 }
44911 arg2 = static_cast< int >(val2);
44912 }
44913 if (obj2) {
44914 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44915 if (!SWIG_IsOK(res3)) {
44916 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44917 }
44918 if (!argp3) {
44919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44920 }
44921 arg3 = reinterpret_cast< wxFont * >(argp3);
44922 }
44923 if (obj3) {
44924 {
44925 arg4 = &temp4;
44926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44927 }
44928 }
44929 if (obj4) {
44930 {
44931 arg5 = &temp5;
44932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44933 }
44934 }
44935 if (obj5) {
44936 ecode6 = SWIG_AsVal_long(obj5, &val6);
44937 if (!SWIG_IsOK(ecode6)) {
44938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44939 }
44940 arg6 = static_cast< long >(val6);
44941 }
44942 if (obj6) {
44943 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44944 if (!SWIG_IsOK(res7)) {
44945 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44946 }
44947 if (!argp7) {
44948 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44949 }
44950 arg7 = reinterpret_cast< wxValidator * >(argp7);
44951 }
44952 if (obj7) {
44953 {
44954 arg8 = wxString_in_helper(obj7);
44955 if (arg8 == NULL) SWIG_fail;
44956 temp8 = true;
44957 }
44958 }
44959 {
44960 if (!wxPyCheckForApp()) SWIG_fail;
44961 PyThreadState* __tstate = wxPyBeginAllowThreads();
44962 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44963 wxPyEndAllowThreads(__tstate);
44964 if (PyErr_Occurred()) SWIG_fail;
44965 }
44966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44967 {
44968 if (temp8)
44969 delete arg8;
44970 }
44971 return resultobj;
44972fail:
44973 {
44974 if (temp8)
44975 delete arg8;
44976 }
44977 return NULL;
44978}
44979
44980
44981SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44982 PyObject *resultobj = 0;
44983 wxFontPickerCtrl *result = 0 ;
44984
44985 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44986 {
44987 if (!wxPyCheckForApp()) SWIG_fail;
44988 PyThreadState* __tstate = wxPyBeginAllowThreads();
44989 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
44990 wxPyEndAllowThreads(__tstate);
44991 if (PyErr_Occurred()) SWIG_fail;
44992 }
44993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
44994 return resultobj;
44995fail:
44996 return NULL;
44997}
44998
44999
45000SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45001 PyObject *resultobj = 0;
45002 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45003 wxWindow *arg2 = (wxWindow *) 0 ;
45004 int arg3 = (int) -1 ;
f89238b9 45005 wxFont const &arg4_defvalue = wxNullFont ;
b850e7f3
RD
45006 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45007 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45008 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45009 wxSize const &arg6_defvalue = wxDefaultSize ;
45010 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45011 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45012 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45013 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45014 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45015 wxString *arg9 = (wxString *) &arg9_defvalue ;
45016 bool result;
45017 void *argp1 = 0 ;
45018 int res1 = 0 ;
45019 void *argp2 = 0 ;
45020 int res2 = 0 ;
45021 int val3 ;
45022 int ecode3 = 0 ;
45023 void *argp4 = 0 ;
45024 int res4 = 0 ;
45025 wxPoint temp5 ;
45026 wxSize temp6 ;
45027 long val7 ;
45028 int ecode7 = 0 ;
45029 void *argp8 = 0 ;
45030 int res8 = 0 ;
45031 bool temp9 = false ;
45032 PyObject * obj0 = 0 ;
45033 PyObject * obj1 = 0 ;
45034 PyObject * obj2 = 0 ;
45035 PyObject * obj3 = 0 ;
45036 PyObject * obj4 = 0 ;
45037 PyObject * obj5 = 0 ;
45038 PyObject * obj6 = 0 ;
45039 PyObject * obj7 = 0 ;
45040 PyObject * obj8 = 0 ;
45041 char * kwnames[] = {
45042 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45043 };
45044
45045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45047 if (!SWIG_IsOK(res1)) {
45048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45049 }
45050 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45051 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45052 if (!SWIG_IsOK(res2)) {
45053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45054 }
45055 arg2 = reinterpret_cast< wxWindow * >(argp2);
45056 if (obj2) {
45057 ecode3 = SWIG_AsVal_int(obj2, &val3);
45058 if (!SWIG_IsOK(ecode3)) {
45059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45060 }
45061 arg3 = static_cast< int >(val3);
45062 }
45063 if (obj3) {
45064 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45065 if (!SWIG_IsOK(res4)) {
45066 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45067 }
45068 if (!argp4) {
45069 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45070 }
45071 arg4 = reinterpret_cast< wxFont * >(argp4);
45072 }
45073 if (obj4) {
45074 {
45075 arg5 = &temp5;
45076 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45077 }
45078 }
45079 if (obj5) {
45080 {
45081 arg6 = &temp6;
45082 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45083 }
45084 }
45085 if (obj6) {
45086 ecode7 = SWIG_AsVal_long(obj6, &val7);
45087 if (!SWIG_IsOK(ecode7)) {
45088 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45089 }
45090 arg7 = static_cast< long >(val7);
45091 }
45092 if (obj7) {
45093 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45094 if (!SWIG_IsOK(res8)) {
45095 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45096 }
45097 if (!argp8) {
45098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45099 }
45100 arg8 = reinterpret_cast< wxValidator * >(argp8);
45101 }
45102 if (obj8) {
45103 {
45104 arg9 = wxString_in_helper(obj8);
45105 if (arg9 == NULL) SWIG_fail;
45106 temp9 = true;
45107 }
45108 }
45109 {
45110 PyThreadState* __tstate = wxPyBeginAllowThreads();
45111 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45112 wxPyEndAllowThreads(__tstate);
45113 if (PyErr_Occurred()) SWIG_fail;
45114 }
45115 {
45116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45117 }
45118 {
45119 if (temp9)
45120 delete arg9;
45121 }
45122 return resultobj;
45123fail:
45124 {
45125 if (temp9)
45126 delete arg9;
45127 }
45128 return NULL;
45129}
45130
45131
45132SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45133 PyObject *resultobj = 0;
45134 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45135 wxFont result;
45136 void *argp1 = 0 ;
45137 int res1 = 0 ;
45138 PyObject *swig_obj[1] ;
45139
45140 if (!args) SWIG_fail;
45141 swig_obj[0] = args;
45142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45143 if (!SWIG_IsOK(res1)) {
45144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45145 }
45146 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45147 {
45148 PyThreadState* __tstate = wxPyBeginAllowThreads();
45149 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45150 wxPyEndAllowThreads(__tstate);
45151 if (PyErr_Occurred()) SWIG_fail;
45152 }
45153 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45154 return resultobj;
45155fail:
45156 return NULL;
45157}
45158
45159
45160SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45161 PyObject *resultobj = 0;
45162 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45163 wxFont *arg2 = 0 ;
45164 void *argp1 = 0 ;
45165 int res1 = 0 ;
45166 void *argp2 = 0 ;
45167 int res2 = 0 ;
45168 PyObject * obj0 = 0 ;
45169 PyObject * obj1 = 0 ;
45170 char * kwnames[] = {
45171 (char *) "self",(char *) "f", NULL
45172 };
45173
45174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45176 if (!SWIG_IsOK(res1)) {
45177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45178 }
45179 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45180 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45181 if (!SWIG_IsOK(res2)) {
45182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45183 }
45184 if (!argp2) {
45185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45186 }
45187 arg2 = reinterpret_cast< wxFont * >(argp2);
45188 {
45189 PyThreadState* __tstate = wxPyBeginAllowThreads();
45190 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45191 wxPyEndAllowThreads(__tstate);
45192 if (PyErr_Occurred()) SWIG_fail;
45193 }
45194 resultobj = SWIG_Py_Void();
45195 return resultobj;
45196fail:
45197 return NULL;
45198}
45199
45200
45201SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45202 PyObject *resultobj = 0;
45203 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45204 unsigned int arg2 ;
45205 void *argp1 = 0 ;
45206 int res1 = 0 ;
45207 unsigned int val2 ;
45208 int ecode2 = 0 ;
45209 PyObject * obj0 = 0 ;
45210 PyObject * obj1 = 0 ;
45211 char * kwnames[] = {
45212 (char *) "self",(char *) "max", NULL
45213 };
45214
45215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45217 if (!SWIG_IsOK(res1)) {
45218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45219 }
45220 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45221 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45222 if (!SWIG_IsOK(ecode2)) {
45223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45224 }
45225 arg2 = static_cast< unsigned int >(val2);
45226 {
45227 PyThreadState* __tstate = wxPyBeginAllowThreads();
45228 (arg1)->SetMaxPointSize(arg2);
45229 wxPyEndAllowThreads(__tstate);
45230 if (PyErr_Occurred()) SWIG_fail;
45231 }
45232 resultobj = SWIG_Py_Void();
45233 return resultobj;
45234fail:
45235 return NULL;
45236}
45237
45238
45239SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45240 PyObject *resultobj = 0;
45241 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45242 unsigned int result;
45243 void *argp1 = 0 ;
45244 int res1 = 0 ;
45245 PyObject *swig_obj[1] ;
45246
45247 if (!args) SWIG_fail;
45248 swig_obj[0] = args;
45249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45250 if (!SWIG_IsOK(res1)) {
45251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45252 }
45253 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45254 {
45255 PyThreadState* __tstate = wxPyBeginAllowThreads();
45256 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45257 wxPyEndAllowThreads(__tstate);
45258 if (PyErr_Occurred()) SWIG_fail;
45259 }
45260 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45261 return resultobj;
45262fail:
45263 return NULL;
45264}
45265
45266
45267SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45268 PyObject *obj;
45269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45270 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45271 return SWIG_Py_Void();
45272}
45273
45274SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45275 return SWIG_Python_InitShadowInstance(args);
45276}
45277
45278SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45279 PyObject *resultobj = 0;
45280 wxObject *arg1 = (wxObject *) 0 ;
45281 int arg2 ;
45282 wxFont *arg3 = 0 ;
45283 wxFontPickerEvent *result = 0 ;
45284 void *argp1 = 0 ;
45285 int res1 = 0 ;
45286 int val2 ;
45287 int ecode2 = 0 ;
45288 void *argp3 = 0 ;
45289 int res3 = 0 ;
45290 PyObject * obj0 = 0 ;
45291 PyObject * obj1 = 0 ;
45292 PyObject * obj2 = 0 ;
45293 char * kwnames[] = {
45294 (char *) "generator",(char *) "id",(char *) "f", NULL
45295 };
45296
45297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45299 if (!SWIG_IsOK(res1)) {
45300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45301 }
45302 arg1 = reinterpret_cast< wxObject * >(argp1);
45303 ecode2 = SWIG_AsVal_int(obj1, &val2);
45304 if (!SWIG_IsOK(ecode2)) {
45305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45306 }
45307 arg2 = static_cast< int >(val2);
45308 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45309 if (!SWIG_IsOK(res3)) {
45310 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45311 }
45312 if (!argp3) {
45313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45314 }
45315 arg3 = reinterpret_cast< wxFont * >(argp3);
45316 {
45317 PyThreadState* __tstate = wxPyBeginAllowThreads();
45318 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45319 wxPyEndAllowThreads(__tstate);
45320 if (PyErr_Occurred()) SWIG_fail;
45321 }
45322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45323 return resultobj;
45324fail:
45325 return NULL;
45326}
45327
45328
45329SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45330 PyObject *resultobj = 0;
45331 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45332 wxFont result;
45333 void *argp1 = 0 ;
45334 int res1 = 0 ;
45335 PyObject *swig_obj[1] ;
45336
45337 if (!args) SWIG_fail;
45338 swig_obj[0] = args;
45339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45340 if (!SWIG_IsOK(res1)) {
45341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45342 }
45343 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45344 {
45345 PyThreadState* __tstate = wxPyBeginAllowThreads();
45346 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45347 wxPyEndAllowThreads(__tstate);
45348 if (PyErr_Occurred()) SWIG_fail;
45349 }
45350 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45351 return resultobj;
45352fail:
45353 return NULL;
45354}
45355
45356
45357SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45358 PyObject *resultobj = 0;
45359 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45360 wxFont *arg2 = 0 ;
45361 void *argp1 = 0 ;
45362 int res1 = 0 ;
45363 void *argp2 = 0 ;
45364 int res2 = 0 ;
45365 PyObject * obj0 = 0 ;
45366 PyObject * obj1 = 0 ;
45367 char * kwnames[] = {
45368 (char *) "self",(char *) "c", NULL
45369 };
45370
45371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45373 if (!SWIG_IsOK(res1)) {
45374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45375 }
45376 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45377 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45378 if (!SWIG_IsOK(res2)) {
45379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45380 }
45381 if (!argp2) {
45382 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45383 }
45384 arg2 = reinterpret_cast< wxFont * >(argp2);
45385 {
45386 PyThreadState* __tstate = wxPyBeginAllowThreads();
45387 (arg1)->SetFont((wxFont const &)*arg2);
45388 wxPyEndAllowThreads(__tstate);
45389 if (PyErr_Occurred()) SWIG_fail;
45390 }
45391 resultobj = SWIG_Py_Void();
45392 return resultobj;
45393fail:
45394 return NULL;
45395}
45396
45397
45398SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45399 PyObject *obj;
45400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45402 return SWIG_Py_Void();
45403}
45404
45405SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45406 return SWIG_Python_InitShadowInstance(args);
45407}
45408
45409static PyMethodDef SwigMethods[] = {
45410 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45411 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
45412 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45413 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
45414 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
45415 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45416 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
45417 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
45418 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
45419 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
45420 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45421 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
45422 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
45423 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
45424 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
45425 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
45426 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
45427 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45428 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45429 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45430 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
45431 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45432 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
45433 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
45434 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
45435 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
45436 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
45437 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
45438 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45439 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
45440 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
45441 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45442 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
45443 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
45444 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
45445 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
45446 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45447 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
45448 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
45449 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
45451 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
45453 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45454 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
45455 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
45456 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
45457 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
45458 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45459 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
45460 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45461 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
45462 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
45463 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
45464 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45465 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
45466 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
45467 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45468 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
45469 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
45470 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
45471 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45472 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45473 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45474 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
45475 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45476 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
45477 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
45478 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
45479 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
45480 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
45481 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
45482 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
45483 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
45484 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
45485 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45486 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
45487 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
45488 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
45489 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
45490 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45491 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45492 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
45493 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45494 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
ae5bc7f3 45495 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
b850e7f3
RD
45496 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
45497 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45498 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
45499 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
45500 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
45501 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45502 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
45503 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
45504 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
45505 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
45506 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45507 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45508 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
45509 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
45510 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
45511 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
45512 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45513 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
45514 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
45515 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45516 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
45517 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
45518 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
45519 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
45520 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45521 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
45522 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45523 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
45524 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
45525 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45526 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
45527 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45528 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
45529 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45530 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45531 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45532 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
45533 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
45534 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45535 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
45536 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45537 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
45538 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
45539 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45540 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45541 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45542 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45543 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
45544 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
45545 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45546 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
45547 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
45548 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
45549 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45550 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45551 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
45552 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45553 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45554 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45555 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45556 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45557 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
45558 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
45559 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45560 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
45561 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45562 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45563 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
45564 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
45565 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
45566 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
45567 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45568 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
45569 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
45570 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
45571 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45572 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45573 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45574 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
45575 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
45576 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45577 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45578 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45579 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
45580 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
45581 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
45582 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
45583 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
45584 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
45585 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
45586 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
45587 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
45588 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
45589 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
45590 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
45591 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
45592 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
45593 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
45594 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
45595 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
45596 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
45597 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
45598 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
45599 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
45600 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45601 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
45602 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45603 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
45604 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
45605 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
45606 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
45607 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45608 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
45609 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
45610 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
45611 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
45612 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
45613 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
45614 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
45615 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
45616 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
45617 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
45618 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45619 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45620 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45621 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45622 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
45623 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
b02396e8 45624 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
45625 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
45626 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
45627 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
45628 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
45629 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45630 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45631 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45632 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
45633 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45634 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
45635 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45636 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45637 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
45638 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
45639 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
45640 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
45641 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
45642 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
45643 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
45644 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
45645 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
45646 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
45647 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
45648 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45649 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
45650 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
45651 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
45652 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45653 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
45654 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 45655 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
b850e7f3
RD
45656 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
45657 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45658 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45659 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
45660 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
45661 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45662 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
45663 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
45664 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
45665 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
45666 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
45667 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
45668 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
45669 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45670 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
45671 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
45672 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
45673 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
45674 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
45675 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45676 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
45678 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
45679 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
45680 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
45681 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45682 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
45683 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
45684 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
45685 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45686 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45687 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45688 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45689 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
45690 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45691 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
45692 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
45693 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45694 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
45695 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45696 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
45697 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45698 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
45699 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45700 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
45701 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
45702 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45703 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45704 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
45705 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
45706 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45707 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
45708 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45709 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
45710 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
45711 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
45712 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
45713 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45714 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45715 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
45716 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
45717 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45718 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
45719 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
45720 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45721 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45722 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
45723 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
45724 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45725 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
45726 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
45727 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
45728 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45729 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45730 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45731 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45732 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45733 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45734 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
45735 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
45736 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
45737 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
45738 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45739 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
45740 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45741 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45742 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
45743 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
45744 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
45745 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
45746 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45747 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
45748 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45749 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45750 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
45751 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
45752 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45753 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
45755 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45756 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
45757 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
45758 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
45759 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
45760 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
45761 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
45762 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
45763 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
45764 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
45765 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
45766 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
45767 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45768 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
45770 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
45771 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
45772 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
45773 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45775 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
45776 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45777 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
45778 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
45779 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
45780 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
45781 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
45782 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
45783 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45784 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45785 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45786 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45787 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
45788 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
45789 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
45790 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45791 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
45792 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
45793 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 45794 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
45795 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
45796 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
0085ce49
RD
45797 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
45798 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 45799 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
0085ce49
RD
45800 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
45801 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
45802 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
45803 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
45804 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
45805 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 45806 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 45807 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45808 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45809 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45810 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
45811 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45812 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
45813 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45814 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
45815 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45816 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
45817 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
45818 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
45819 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
45820 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45821 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
45822 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
45823 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45824 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
45825 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
45826 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45827 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45828 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
45829 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
45830 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45831 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
45832 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
45833 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
45834 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
45835 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45836 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
45837 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
45838 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
45839 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45840 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
45841 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
45842 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
45843 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
45844 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45845 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
45846 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
45847 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
45848 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45849 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
45850 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
45851 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
45852 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
45853 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45854 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45855 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45856 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45857 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
45858 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
45859 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
45860 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
45861 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
45862 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
45863 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45864 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
45865 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
45866 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
45867 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
45868 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45869 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
45870 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
45871 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
45872 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
45873 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45874 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
45875 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
45876 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
45877 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
45878 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
45879 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
45880 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
45881 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
45882 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
45883 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
45884 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
45885 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
45886 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
45887 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
45888 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
45889 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
45890 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
45891 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
45892 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
45893 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
45894 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
45895 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45896 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45897 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45898 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45899 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45900 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45901 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
45902 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
45903 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
45904 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45905 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
45906 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
45907 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
45908 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45909 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45910 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
45911 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
45912 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
45913 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
45914 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
45915 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
45916 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
45917 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
45918 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
45919 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
45920 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
45921 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
45922 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45923 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45924 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45925 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
45926 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
45927 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45928 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45929 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45930 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45931 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45932 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
45933 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45934 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
45935 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
45936 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
45937 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
45938 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
45939 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
45940 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
45941 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
45942 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
45943 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
45944 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
45945 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
45946 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
45947 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45948 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
45949 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
45950 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
45951 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
45952 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
45953 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
45954 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45955 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45956 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
45957 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
45958 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45959 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
45960 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45961 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45962 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45963 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
45964 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
45965 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
45966 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
45967 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
45968 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
45969 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
45970 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
45971 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
45972 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
45973 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
45974 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
45975 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
45976 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
45977 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45978 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45979 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45980 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
45981 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
45982 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
45983 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
45984 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45985 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45986 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
45987 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45988 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45989 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45990 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
45991 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
45992 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
45993 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
45994 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
45995 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
45996 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
45997 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
45998 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
45999 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46000 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46001 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46002 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46003 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46004 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46005 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46006 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46007 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46008 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46009 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46010 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46011 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46012 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46013 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46014 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46015 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46016 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46017 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46018 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46019 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46020 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46021 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46022 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46023 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46024 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46025 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46026 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46027 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46028 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46029 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46030 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46031 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46032 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46033 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46034 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46035 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46036 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46037 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46038 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46039 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46040 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46041 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46042 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46043 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46044 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46045 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46046 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46047 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46048 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46049 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46050 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46051 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46052 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46053 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46054 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46055 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46056 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46057 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46058 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46059 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46060 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46061 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46062 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46063 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46064 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46065 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46066 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46067 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46068 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46070 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46071 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46073 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46076 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46077 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46078 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46079 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46080 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46081 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46082 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46083 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46084 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46085 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46086 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46087 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46089 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46090 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46091 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46092 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46093 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46094 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46095 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46096 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46097 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46098 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46099 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46100 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46101 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46102 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46103 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46105 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46106 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46107 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46108 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
46109 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46110 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46111 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46113 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46114 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46115 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46116 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46117 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46118 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46119 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46120 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46121 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46122 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46124 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46125 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46126 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46127 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46128 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46129 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46130 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46131 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46132 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46133 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46134 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46135 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46136 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46137 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46138 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46139 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46140 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46141 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46142 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46143 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46144 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46147 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46148 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46149 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46150 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46151 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46152 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46153 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46154 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46155 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46157 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46158 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
b02396e8 46159 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
0085ce49
RD
46160 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46161 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46163 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46164 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46165 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46166 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46167 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46168 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46169 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46170 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46171 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46172 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46174 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46175 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46176 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46177 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46178 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46179 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46180 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46181 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46182 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46183 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46184 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46185 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46186 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46187 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46188 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46189 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46190 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46191 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46192 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46193 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46194 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46195 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46196 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46197 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46198 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46199 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46200 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46202 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46204 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
46205 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
46206 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46208 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46210 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46213 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
46214 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
46215 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
46216 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
46217 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
46218 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
46219 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
46220 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
46221 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
46222 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
46225 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46226 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46227 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46229 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46230 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
46231 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46233 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46234 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
46235 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
453fb36b
RD
46236 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
0085ce49
RD
46238 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46239 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46241 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
46242 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46243 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
46244 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46245 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46246 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46247 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
46248 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46249 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
46250 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46251 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46252 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
46253 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
46254 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46255 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
0085ce49
RD
46256 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
46257 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
46258 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46259 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
46260 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46261 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46262 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
46263 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
46264 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
46265 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
46266 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
46267 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46268 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
46269 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
46270 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
46271 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
46273 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
46274 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
46275 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
46276 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
46277 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
46278 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
46279 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
46280 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
46281 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
46282 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46283 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
46284 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46285 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
46286 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
46287 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
46288 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
46290 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
46291 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46292 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46294 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46295 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46296 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
46297 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
46298 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
46299 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
46300 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
46301 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
46302 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
46303 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
46304 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
46305 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
46307 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46308 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
46309 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
46310 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
46311 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
46312 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
46313 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
46314 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
46315 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
46316 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
46318 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46319 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
46320 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
46321 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
46322 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
46324 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 46325 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
0085ce49
RD
46326 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
46328 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46329 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 46330 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
46331 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46332 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46334 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
46335 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
46336 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
46337 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
46338 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
46339 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
46340 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46341 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
46342 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
46345 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46346 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
46347 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
46348 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
46349 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46350 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
46351 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
46352 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
46353 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46354 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46356 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
46357 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
46358 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
46360 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46362 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
46363 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46364 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
46365 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
46366 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
46367 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
46368 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46369 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
46370 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
46372 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
46373 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
46374 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
46375 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
46376 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
46378 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46379 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
46381 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
46382 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
46383 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46384 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
46385 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46386 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
46387 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
46388 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
46389 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46390 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
46391 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
10044bf1
RD
46393 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
b02396e8
RD
46395 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
46396 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46397 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
46398 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46399 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
46400 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
46401 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
46402 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
46403 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
46405 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46406 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
46407 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46408 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
46409 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
46410 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46411 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
46412 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46413 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
46414 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
46415 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46416 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
46417 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46418 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
46419 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
46420 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
46422 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
46423 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
46424 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
46426 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46427 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
46428 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
46429 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46430 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
46431 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
46432 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
46433 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
46435 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
46437 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
46438 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46439 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
46440 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
46442 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
46445 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
46446 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
46447 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
46449 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
46451 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
0085ce49
RD
46452 { NULL, NULL, 0, NULL }
46453};
46454
46455
46456/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46457
46458static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
46460}
46461static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
46462 return (void *)((wxEvent *) ((wxMenuEvent *) x));
46463}
46464static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
46465 return (void *)((wxEvent *) ((wxCloseEvent *) x));
46466}
46467static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
46468 return (void *)((wxEvent *) ((wxMouseEvent *) x));
46469}
46470static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
46471 return (void *)((wxEvent *) ((wxEraseEvent *) x));
46472}
46473static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
46474 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46475}
46476static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
46477 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46478}
46479static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
46480 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
46481}
b850e7f3
RD
46482static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
46483 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
46484}
46485static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
46486 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46487}
46488static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
46489 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
46490}
0085ce49
RD
46491static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
46492 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
46493}
46494static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
46495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
46496}
46497static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
46498 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
46499}
0085ce49
RD
46500static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
46501 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
46502}
34e0a3bb
RD
46503static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
46504 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
46505}
2131d850
RD
46506static void *_p_wxPyEventTo_p_wxEvent(void *x) {
46507 return (void *)((wxEvent *) ((wxPyEvent *) x));
46508}
0085ce49
RD
46509static void *_p_wxListEventTo_p_wxEvent(void *x) {
46510 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46511}
46512static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
46513 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46514}
46515static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
46516 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46517}
46518static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
46519 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46520}
46521static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
46522 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46523}
46524static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
46525 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46526}
46527static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
46528 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
46529}
46530static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
46531 return (void *)((wxEvent *) ((wxIdleEvent *) x));
46532}
46533static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
46534 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
46535}
46536static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
46537 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
46538}
46539static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
46540 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
46541}
46542static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
46543 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
46544}
46545static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
46546 return (void *)((wxEvent *) ((wxActivateEvent *) x));
46547}
46548static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
46549 return (void *)((wxEvent *) ((wxSizeEvent *) x));
46550}
46551static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
46552 return (void *)((wxEvent *) ((wxMoveEvent *) x));
46553}
46554static void *_p_wxDateEventTo_p_wxEvent(void *x) {
46555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
46556}
46557static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
46558 return (void *)((wxEvent *) ((wxPaintEvent *) x));
46559}
46560static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
46561 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
46562}
34e0a3bb
RD
46563static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
46564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
46565}
0085ce49
RD
46566static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
46567 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
46568}
46569static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
46570 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
46571}
46572static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
46573 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
46574}
46575static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
46576 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46577}
46578static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
46579 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
46580}
704eda0c
RD
46581static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
46582 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
46583}
0085ce49
RD
46584static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
46585 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
46586}
46587static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
46588 return (void *)((wxEvent *) ((wxFocusEvent *) x));
46589}
46590static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
46591 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
46592}
46593static void *_p_wxShowEventTo_p_wxEvent(void *x) {
46594 return (void *)((wxEvent *) ((wxShowEvent *) x));
46595}
46596static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
46597 return (void *)((wxEvent *) ((wxCommandEvent *) x));
46598}
46599static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
46600 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
46601}
46602static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
46603 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46604}
46605static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
46606 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
46607}
46608static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
46609 return (void *)((wxEvent *) ((wxKeyEvent *) x));
46610}
46611static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
46612 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
46613}
46614static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
46615 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46616}
b850e7f3
RD
46617static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
46618 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
46619}
46620static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
46621 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
46622}
46623static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
46624 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
46625}
46626static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
46627 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
46628}
0085ce49
RD
46629static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
46630 return (void *)((wxItemContainer *) ((wxComboBox *) x));
46631}
46632static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
46633 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46634}
46635static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
46636 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
46637}
46638static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46639 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46640}
46641static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
46642 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
46643}
46644static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
46645 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46646}
46647static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
46648 return (void *)((wxPyListCtrl *) ((wxListView *) x));
46649}
46650static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
46651 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
46652}
46653static void *_p_wxToolBarTo_p_wxControl(void *x) {
46654 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
46655}
b850e7f3
RD
46656static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
46657 return (void *)((wxControl *) ((wxPickerBase *) x));
46658}
0085ce49
RD
46659static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
46660 return (void *)((wxControl *) ((wxToggleButton *) x));
46661}
46662static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
46663 return (void *)((wxControl *) ((wxRadioButton *) x));
46664}
46665static void *_p_wxToolbookTo_p_wxControl(void *x) {
46666 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
46667}
46668static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
46669 return (void *)((wxControl *) ((wxToolBarBase *) x));
46670}
46671static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
46672 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46673}
46674static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
46675 return (void *)((wxControl *) ((wxPyListCtrl *) x));
46676}
46677static void *_p_wxComboBoxTo_p_wxControl(void *x) {
46678 return (void *)((wxControl *) ((wxComboBox *) x));
46679}
46680static void *_p_wxPyControlTo_p_wxControl(void *x) {
46681 return (void *)((wxControl *) ((wxPyControl *) x));
46682}
46683static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
46684 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
46685}
46686static void *_p_wxScrollBarTo_p_wxControl(void *x) {
46687 return (void *)((wxControl *) ((wxScrollBar *) x));
46688}
46689static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46690 return (void *)((wxControl *) ((wxControlWithItems *) x));
46691}
46692static void *_p_wxGaugeTo_p_wxControl(void *x) {
46693 return (void *)((wxControl *) ((wxGauge *) x));
46694}
46695static void *_p_wxStaticLineTo_p_wxControl(void *x) {
46696 return (void *)((wxControl *) ((wxStaticLine *) x));
46697}
46698static void *_p_wxChoicebookTo_p_wxControl(void *x) {
46699 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
46700}
46701static void *_p_wxListbookTo_p_wxControl(void *x) {
46702 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
46703}
704eda0c
RD
46704static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
46705 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
46706}
0085ce49
RD
46707static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
46708 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
46709}
46710static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
46711 return (void *)((wxControl *) ((wxCheckBox *) x));
46712}
46713static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
46714 return (void *)((wxControl *) ((wxRadioBox *) x));
46715}
46716static void *_p_wxChoiceTo_p_wxControl(void *x) {
46717 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
46718}
46719static void *_p_wxListBoxTo_p_wxControl(void *x) {
46720 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
46721}
46722static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
46723 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46724}
46725static void *_p_wxListViewTo_p_wxControl(void *x) {
46726 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
46727}
46728static void *_p_wxNotebookTo_p_wxControl(void *x) {
46729 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
46730}
46731static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
46732 return (void *)((wxControl *) ((wxStaticBitmap *) x));
46733}
46734static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
46735 return (void *)((wxControl *) ((wxSpinCtrl *) x));
46736}
46737static void *_p_wxStaticTextTo_p_wxControl(void *x) {
46738 return (void *)((wxControl *) ((wxStaticText *) x));
46739}
46740static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
46741 return (void *)((wxControl *) ((wxStaticBox *) x));
46742}
46743static void *_p_wxSliderTo_p_wxControl(void *x) {
46744 return (void *)((wxControl *) ((wxSlider *) x));
46745}
46746static void *_p_wxTreebookTo_p_wxControl(void *x) {
46747 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
46748}
46749static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
46750 return (void *)((wxControl *) ((wxSpinButton *) x));
46751}
46752static void *_p_wxButtonTo_p_wxControl(void *x) {
46753 return (void *)((wxControl *) ((wxButton *) x));
46754}
46755static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
46756 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
46757}
46758static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
46759 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46760}
46761static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
46762 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
46763}
b850e7f3
RD
46764static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
46765 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
46766}
46767static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
46768 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
46769}
46770static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
46771 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
46772}
46773static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
46774 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
46775}
0085ce49
RD
46776static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
46777 return (void *)((wxControl *) ((wxTextCtrl *) x));
46778}
46779static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
46780 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
46781}
46782static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
46783 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
46784}
46785static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
46786 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46787}
46788static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
46789 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
46790}
46791static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
46792 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
46793}
46794static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
46795 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
46796}
46797static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
46798 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46799}
46800static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
46801 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46802}
46803static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
46804 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46805}
46806static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
46807 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46808}
46809static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
46810 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46811}
46812static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
46813 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
46814}
46815static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
46816 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
46817}
46818static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
46819 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
46820}
46821static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
46822 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
46823}
46824static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
46825 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
46826}
46827static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
46828 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
46829}
46830static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
46831 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
46832}
46833static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
46834 return (void *)((wxEvtHandler *) ((wxValidator *) x));
46835}
46836static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
46837 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
46838}
46839static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
46840 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46841}
b850e7f3
RD
46842static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
46843 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
46844}
0085ce49
RD
46845static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
46846 return (void *)((wxEvtHandler *) ((wxMenu *) x));
46847}
46848static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
46849 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
46850}
46851static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
46852 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
46853}
46854static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
46855 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46856}
46857static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
46858 return (void *)((wxEvtHandler *) ((wxWindow *) x));
46859}
46860static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
46861 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
46862}
46863static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
46864 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
46865}
46866static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
46867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46868}
46869static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
46870 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46871}
46872static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
46873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46874}
46875static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
46876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
46877}
46878static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
46879 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
46880}
46881static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
46882 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46883}
46884static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
46885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
46886}
46887static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
46888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46889}
46890static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
46891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
46892}
46893static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
46894 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
46895}
46896static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
46897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46898}
46899static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
46900 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46901}
704eda0c
RD
46902static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
46903 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46904}
0085ce49
RD
46905static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
46906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46907}
46908static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
46909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
46910}
46911static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
46912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
46913}
46914static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
46915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46916}
46917static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
46918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46919}
46920static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
46921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46922}
46923static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
46924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46925}
46926static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
46927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46928}
46929static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
46930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46931}
46932static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
46933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46934}
46935static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
46936 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
46937}
46938static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
46939 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
46940}
46941static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
46942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
46943}
46944static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
46945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46946}
46947static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
46948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
46949}
46950static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
46951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
46952}
46953static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
46954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46955}
46956static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
46957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46958}
46959static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
46960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46961}
b850e7f3
RD
46962static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
46963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46964}
46965static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
46966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46967}
46968static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
46969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46970}
46971static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
46972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46973}
0085ce49
RD
46974static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
46975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46976}
46977static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
46978 return (void *)((wxListBox *) ((wxCheckListBox *) x));
46979}
46980static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
46981 return (void *)((wxButton *) ((wxBitmapButton *) x));
46982}
46983static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
46984 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
46985}
46986static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
46987 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
46988}
46989static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
46990 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
46991}
46992static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
46993 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
46994}
46995static void *_p_wxToolbookTo_p_wxObject(void *x) {
46996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46997}
0085ce49
RD
46998static void *_p_wxSizerItemTo_p_wxObject(void *x) {
46999 return (void *)((wxObject *) ((wxSizerItem *) x));
47000}
34e0a3bb
RD
47001static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47002 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47003}
0085ce49
RD
47004static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47006}
47007static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47008 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47009}
47010static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47011 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47012}
47013static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47014 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47015}
47016static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47017 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47018}
47019static void *_p_wxSizerTo_p_wxObject(void *x) {
47020 return (void *)((wxObject *) ((wxSizer *) x));
47021}
47022static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47023 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47024}
47025static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47027}
47028static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47030}
47031static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47033}
47034static void *_p_wxEventTo_p_wxObject(void *x) {
47035 return (void *)((wxObject *) ((wxEvent *) x));
47036}
47037static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47038 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47039}
47040static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47041 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47042}
47043static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47044 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47045}
47046static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47048}
b850e7f3
RD
47049static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47051}
0085ce49
RD
47052static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47054}
47055static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47057}
2131d850
RD
47058static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47059 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47060}
0085ce49
RD
47061static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47062 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47063}
47064static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47065 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47066}
47067static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47068 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47069}
47070static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47071 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47072}
47073static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47074 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47075}
47076static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47077 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47078}
47079static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47081}
47082static void *_p_wxControlTo_p_wxObject(void *x) {
47083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47084}
47085static void *_p_wxPyControlTo_p_wxObject(void *x) {
47086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47087}
47088static void *_p_wxGaugeTo_p_wxObject(void *x) {
47089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47090}
47091static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47093}
47094static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47096}
47097static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47099}
47100static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47101 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47102}
b850e7f3
RD
47103static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47105}
47106static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47107 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47108}
47109static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47111}
0085ce49
RD
47112static void *_p_wxChoiceTo_p_wxObject(void *x) {
47113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47114}
47115static void *_p_wxFSFileTo_p_wxObject(void *x) {
47116 return (void *)((wxObject *) ((wxFSFile *) x));
47117}
47118static void *_p_wxPySizerTo_p_wxObject(void *x) {
47119 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47120}
47121static void *_p_wxTreebookTo_p_wxObject(void *x) {
47122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47123}
47124static void *_p_wxListViewTo_p_wxObject(void *x) {
47125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47126}
704eda0c
RD
47127static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47129}
0085ce49
RD
47130static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47132}
47133static void *_p_wxNotebookTo_p_wxObject(void *x) {
47134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47135}
47136static void *_p_wxPyEventTo_p_wxObject(void *x) {
47137 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47138}
47139static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47140 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47141}
47142static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47144}
47145static void *_p_wxListbookTo_p_wxObject(void *x) {
47146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47147}
47148static void *_p_wxShowEventTo_p_wxObject(void *x) {
47149 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47150}
47151static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47153}
47154static void *_p_wxSliderTo_p_wxObject(void *x) {
47155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47156}
47157static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47158 return (void *)((wxObject *) ((wxMenuItem *) x));
47159}
47160static void *_p_wxDateEventTo_p_wxObject(void *x) {
47161 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47162}
47163static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47164 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47165}
47166static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47168}
47169static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47170 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47171}
47172static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47173 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47174}
47175static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47176 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47177}
47178static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47179 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47180}
47181static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47182 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47183}
47184static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47185 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47186}
47187static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
47188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
47189}
47190static void *_p_wxContextHelpTo_p_wxObject(void *x) {
47191 return (void *)((wxObject *) ((wxContextHelp *) x));
47192}
47193static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
47194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47195}
47196static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47197 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47198}
47199static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47200 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47201}
47202static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47203 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47204}
47205static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47206 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47207}
47208static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47209 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47210}
47211static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47212 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47213}
47214static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47215 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47216}
47217static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47218 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47219}
47220static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47221 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47222}
47223static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
47224 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
47225}
47226static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47227 return (void *)((wxObject *) ((wxImageHandler *) x));
47228}
47229static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47230 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47231}
47232static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47233 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47234}
580080c5
RD
47235static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
47236 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
47237}
0085ce49
RD
47238static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47239 return (void *)((wxObject *) ((wxEvtHandler *) x));
47240}
34e0a3bb
RD
47241static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
47242 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
47243}
0085ce49
RD
47244static void *_p_wxListEventTo_p_wxObject(void *x) {
47245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47246}
47247static void *_p_wxListBoxTo_p_wxObject(void *x) {
47248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47249}
47250static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
47251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47252}
47253static void *_p_wxButtonTo_p_wxObject(void *x) {
47254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
47255}
47256static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
47257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47258}
47259static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
47260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
47261}
47262static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
47263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47264}
0085ce49
RD
47265static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47266 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47267}
580080c5
RD
47268static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47269 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47270}
0085ce49
RD
47271static void *_p_wxScrollBarTo_p_wxObject(void *x) {
47272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
47273}
47274static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
47275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
47276}
47277static void *_p_wxComboBoxTo_p_wxObject(void *x) {
47278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
47279}
47280static void *_p_wxHelpEventTo_p_wxObject(void *x) {
47281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
47282}
47283static void *_p_wxListItemTo_p_wxObject(void *x) {
47284 return (void *)((wxObject *) ((wxListItem *) x));
47285}
47286static void *_p_wxImageTo_p_wxObject(void *x) {
47287 return (void *)((wxObject *) ((wxImage *) x));
47288}
47289static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47290 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47291}
47292static void *_p_wxSpinEventTo_p_wxObject(void *x) {
47293 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47294}
47295static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
47296 return (void *)((wxObject *) ((wxGenericDragImage *) x));
47297}
47298static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
47299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47300}
47301static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
47302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47303}
47304static void *_p_wxListbookEventTo_p_wxObject(void *x) {
47305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47306}
47307static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
47308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47309}
47310static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
47311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47312}
47313static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
47314 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47315}
47316static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47318}
47319static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47320 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47321}
47322static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47323 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47324}
47325static void *_p_wxWindowTo_p_wxObject(void *x) {
47326 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47327}
47328static void *_p_wxMenuTo_p_wxObject(void *x) {
47329 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47330}
47331static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47333}
47334static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47335 return (void *)((wxObject *) ((wxFileSystem *) x));
47336}
47337static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47338 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47339}
47340static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47341 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47342}
47343static void *_p_wxPyAppTo_p_wxObject(void *x) {
47344 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47345}
47346static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47347 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47348}
47349static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47350 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47351}
47352static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47353 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47354}
47355static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
47356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47357}
47358static void *_p_wxTreeEventTo_p_wxObject(void *x) {
47359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47360}
47361static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47363}
47364static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47365 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47366}
47367static void *_p_wxStaticTextTo_p_wxObject(void *x) {
47368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
47369}
47370static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47371 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
47372}
47373static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47374 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
47375}
47376static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
47378}
47379static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
47380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47381}
b850e7f3
RD
47382static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
47383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47384}
47385static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
47386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47387}
47388static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
47389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47390}
47391static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
47392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47393}
0085ce49
RD
47394static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47396}
704eda0c
RD
47397static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
47398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47399}
0085ce49
RD
47400static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
47401 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
47402}
47403static void *_p_wxToolBarTo_p_wxObject(void *x) {
47404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47405}
47406static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47407 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
47408}
47409static void *_p_wxValidatorTo_p_wxObject(void *x) {
47410 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
47411}
47412static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47413 return (void *)((wxWindow *) ((wxMenuBar *) x));
47414}
47415static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
47416 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
47417}
47418static void *_p_wxToolBarTo_p_wxWindow(void *x) {
47419 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47420}
b850e7f3
RD
47421static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
47422 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
47423}
0085ce49
RD
47424static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
47425 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
47426}
47427static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
47428 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
47429}
47430static void *_p_wxToolbookTo_p_wxWindow(void *x) {
47431 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47432}
47433static void *_p_wxControlTo_p_wxWindow(void *x) {
47434 return (void *)((wxWindow *) ((wxControl *) x));
47435}
47436static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
47437 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
47438}
47439static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
47440 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
47441}
47442static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
47443 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
47444}
47445static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
47446 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47447}
47448static void *_p_wxPyControlTo_p_wxWindow(void *x) {
47449 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
47450}
47451static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
47452 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
47453}
47454static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
47455 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
47456}
47457static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
47458 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
47459}
47460static void *_p_wxGaugeTo_p_wxWindow(void *x) {
47461 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
47462}
47463static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
47464 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
47465}
47466static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
47467 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47468}
47469static void *_p_wxListbookTo_p_wxWindow(void *x) {
47470 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47471}
704eda0c
RD
47472static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
47473 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
47474}
0085ce49
RD
47475static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
47476 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
47477}
47478static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
47479 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
47480}
47481static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
47482 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
47483}
47484static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
47485 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47486}
47487static void *_p_wxChoiceTo_p_wxWindow(void *x) {
47488 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47489}
47490static void *_p_wxListBoxTo_p_wxWindow(void *x) {
47491 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47492}
47493static void *_p_wxListViewTo_p_wxWindow(void *x) {
47494 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47495}
47496static void *_p_wxNotebookTo_p_wxWindow(void *x) {
47497 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47498}
47499static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
47500 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
47501}
47502static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
47503 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
47504}
47505static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
47506 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
47507}
47508static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
47509 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
47510}
47511static void *_p_wxSliderTo_p_wxWindow(void *x) {
47512 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
47513}
47514static void *_p_wxTreebookTo_p_wxWindow(void *x) {
47515 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47516}
47517static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
47518 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
47519}
47520static void *_p_wxButtonTo_p_wxWindow(void *x) {
47521 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
47522}
47523static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
47524 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
47525}
47526static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
47527 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47528}
47529static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
47530 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
47531}
b850e7f3
RD
47532static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
47533 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47534}
47535static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
47536 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47537}
47538static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
47539 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47540}
47541static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
47542 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47543}
0085ce49
RD
47544static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
47545 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
47546}
47547static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47548 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47549}
47550static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47551 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47552}
47553static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47554 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47555}
47556static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47557 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47558}
47559static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47560 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47561}
47562static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
47563 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47564}
704eda0c
RD
47565static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
47566 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
47567}
2131d850
RD
47568static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
47569 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
47570}
b850e7f3
RD
47571static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
47572 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
47573}
47574static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
47575 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47576}
47577static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
47578 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
47579}
0085ce49
RD
47580static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
47581 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
47582}
47583static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
47584 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
47585}
47586static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
47587 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
47588}
47589static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
47590 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
47591}
47592static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
47593 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
47594}
0085ce49
RD
47595static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
47596 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47597}
2131d850
RD
47598static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
47599 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47600}
0085ce49
RD
47601static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
47602 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47603}
47604static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
47605 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47606}
47607static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
47608 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47609}
47610static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
47611 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
47612}
47613static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
47614 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
47615}
47616static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
47617 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
47618}
47619static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
47620 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47621}
47622static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
47623 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
47624}
47625static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
47626 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
47627}
47628static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
47629 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
47630}
47631static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47632 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47633}
47634static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47635 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47636}
47637static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
47638 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
47639}
47640static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
47641 return (void *)((wxControlWithItems *) ((wxChoice *) x));
47642}
47643static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
47644 return (void *)((wxControlWithItems *) ((wxListBox *) x));
47645}
47646static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
47647 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
47648}
47649static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47650 return (void *)((wxValidator *) ((wxPyValidator *) x));
47651}
47652static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47653static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
47654static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
47655static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
47656static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
47657static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47658static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47659static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47660static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
47661static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47662static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47663static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47664static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47665static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47666static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47667static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47668static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47669static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47670static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47671static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47672static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47673static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
47674static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47675static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
47676static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47677static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47678static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 47679static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
47680static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47681static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47682static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47683static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47684static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47685static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47686static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47687static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47688static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47689static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47690static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47691static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47692static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47693static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47694static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47695static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 47696static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
0085ce49
RD
47697static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47698static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47699static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47700static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47701static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47702static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47703static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47704static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 47705static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
0085ce49
RD
47706static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47707static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47708static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47709static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47710static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47711static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
34e0a3bb 47712static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
0085ce49
RD
47713static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47714static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47715static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47716static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47717static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47718static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47719static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47720static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47721static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47722static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47723static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47724static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47725static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47726static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47727static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
47728static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
b850e7f3
RD
47729static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47730static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
0085ce49 47731static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
47732static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47733static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
47734static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47735static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47736static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47737static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47738static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
47739static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47740static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
47741static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47742static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47743static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47744static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47745static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47746static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47747static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47748static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47749static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47750static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47751static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47752static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47753static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47754static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47755static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47756static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47757static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47758static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
0085ce49 47759static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 47760static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
0085ce49
RD
47761static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47762static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47763static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47764static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
47765static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47766static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47767static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47768static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
47769static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
47770static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
0085ce49
RD
47771static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47772static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47773static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47774static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47775static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
47776static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47777static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47778static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47779static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 47780static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 47781static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
0085ce49
RD
47782static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47783static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 47784static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
0085ce49 47785static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
580080c5 47786static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
0085ce49
RD
47787static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
47788static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47789static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 47790static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
0085ce49
RD
47791static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47792static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47793static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47794static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47795static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47796static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47797static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47798static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47799static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47800static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47801static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47802static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47803static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47804static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47805static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47806static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47807static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47808static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47809static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47810static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47811static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47812static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47813static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47814static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47815static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47816static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47817static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47818static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47819static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
47820static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47821static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47822static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47823static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47824static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47825static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47826static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 47827static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
0085ce49
RD
47828
47829static swig_type_info *swig_type_initial[] = {
47830 &_swigt__p_bool,
47831 &_swigt__p_char,
47832 &_swigt__p_form_ops_t,
47833 &_swigt__p_int,
47834 &_swigt__p_long,
47835 &_swigt__p_unsigned_char,
47836 &_swigt__p_unsigned_int,
47837 &_swigt__p_unsigned_long,
47838 &_swigt__p_void,
47839 &_swigt__p_wxANIHandler,
47840 &_swigt__p_wxAcceleratorTable,
47841 &_swigt__p_wxActivateEvent,
47842 &_swigt__p_wxArrayInt,
47843 &_swigt__p_wxArrayString,
47844 &_swigt__p_wxBMPHandler,
47845 &_swigt__p_wxBitmap,
47846 &_swigt__p_wxBitmapButton,
47847 &_swigt__p_wxBookCtrlBase,
47848 &_swigt__p_wxBookCtrlBaseEvent,
47849 &_swigt__p_wxBoxSizer,
47850 &_swigt__p_wxButton,
47851 &_swigt__p_wxCURHandler,
47852 &_swigt__p_wxCheckBox,
47853 &_swigt__p_wxCheckListBox,
47854 &_swigt__p_wxChildFocusEvent,
47855 &_swigt__p_wxChoice,
47856 &_swigt__p_wxChoicebook,
47857 &_swigt__p_wxChoicebookEvent,
2131d850 47858 &_swigt__p_wxClipboardTextEvent,
0085ce49
RD
47859 &_swigt__p_wxCloseEvent,
47860 &_swigt__p_wxColour,
b850e7f3
RD
47861 &_swigt__p_wxColourPickerCtrl,
47862 &_swigt__p_wxColourPickerEvent,
0085ce49
RD
47863 &_swigt__p_wxComboBox,
47864 &_swigt__p_wxCommandEvent,
47865 &_swigt__p_wxContextHelp,
47866 &_swigt__p_wxContextHelpButton,
47867 &_swigt__p_wxContextMenuEvent,
47868 &_swigt__p_wxControl,
47869 &_swigt__p_wxControlWithItems,
47870 &_swigt__p_wxCursor,
47871 &_swigt__p_wxDC,
47872 &_swigt__p_wxDateEvent,
47873 &_swigt__p_wxDatePickerCtrl,
47874 &_swigt__p_wxDateTime,
47875 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 47876 &_swigt__p_wxDirPickerCtrl,
0085ce49
RD
47877 &_swigt__p_wxDisplayChangedEvent,
47878 &_swigt__p_wxDropFilesEvent,
47879 &_swigt__p_wxDuplexMode,
47880 &_swigt__p_wxEraseEvent,
47881 &_swigt__p_wxEvent,
47882 &_swigt__p_wxEvtHandler,
47883 &_swigt__p_wxFSFile,
b850e7f3
RD
47884 &_swigt__p_wxFileDirPickerEvent,
47885 &_swigt__p_wxFilePickerCtrl,
0085ce49
RD
47886 &_swigt__p_wxFileSystem,
47887 &_swigt__p_wxFlexGridSizer,
47888 &_swigt__p_wxFocusEvent,
47889 &_swigt__p_wxFont,
b850e7f3
RD
47890 &_swigt__p_wxFontPickerCtrl,
47891 &_swigt__p_wxFontPickerEvent,
0085ce49
RD
47892 &_swigt__p_wxGBSizerItem,
47893 &_swigt__p_wxGIFHandler,
47894 &_swigt__p_wxGauge,
47895 &_swigt__p_wxGenericDirCtrl,
47896 &_swigt__p_wxGenericDragImage,
47897 &_swigt__p_wxGridBagSizer,
47898 &_swigt__p_wxGridSizer,
47899 &_swigt__p_wxHelpEvent,
47900 &_swigt__p_wxHelpProvider,
704eda0c
RD
47901 &_swigt__p_wxHyperlinkCtrl,
47902 &_swigt__p_wxHyperlinkEvent,
0085ce49
RD
47903 &_swigt__p_wxICOHandler,
47904 &_swigt__p_wxIcon,
47905 &_swigt__p_wxIconizeEvent,
47906 &_swigt__p_wxIdleEvent,
47907 &_swigt__p_wxImage,
47908 &_swigt__p_wxImageHandler,
47909 &_swigt__p_wxImageList,
47910 &_swigt__p_wxIndividualLayoutConstraint,
47911 &_swigt__p_wxInitDialogEvent,
47912 &_swigt__p_wxItemContainer,
47913 &_swigt__p_wxJPEGHandler,
47914 &_swigt__p_wxKeyEvent,
47915 &_swigt__p_wxLayoutConstraints,
47916 &_swigt__p_wxListBox,
47917 &_swigt__p_wxListEvent,
47918 &_swigt__p_wxListItem,
47919 &_swigt__p_wxListItemAttr,
47920 &_swigt__p_wxListView,
47921 &_swigt__p_wxListbook,
47922 &_swigt__p_wxListbookEvent,
47923 &_swigt__p_wxMaximizeEvent,
47924 &_swigt__p_wxMemoryDC,
47925 &_swigt__p_wxMenu,
47926 &_swigt__p_wxMenuBar,
47927 &_swigt__p_wxMenuEvent,
47928 &_swigt__p_wxMenuItem,
47929 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 47930 &_swigt__p_wxMouseCaptureLostEvent,
0085ce49
RD
47931 &_swigt__p_wxMouseEvent,
47932 &_swigt__p_wxMoveEvent,
47933 &_swigt__p_wxNavigationKeyEvent,
47934 &_swigt__p_wxNcPaintEvent,
47935 &_swigt__p_wxNotebook,
47936 &_swigt__p_wxNotebookEvent,
47937 &_swigt__p_wxNotifyEvent,
47938 &_swigt__p_wxObject,
47939 &_swigt__p_wxPCXHandler,
47940 &_swigt__p_wxPNGHandler,
47941 &_swigt__p_wxPNMHandler,
47942 &_swigt__p_wxPaintEvent,
47943 &_swigt__p_wxPaletteChangedEvent,
47944 &_swigt__p_wxPaperSize,
b850e7f3 47945 &_swigt__p_wxPickerBase,
0085ce49
RD
47946 &_swigt__p_wxPoint,
47947 &_swigt__p_wxPyApp,
47948 &_swigt__p_wxPyCommandEvent,
47949 &_swigt__p_wxPyControl,
47950 &_swigt__p_wxPyEvent,
47951 &_swigt__p_wxPyImageHandler,
47952 &_swigt__p_wxPyListCtrl,
47953 &_swigt__p_wxPySizer,
47954 &_swigt__p_wxPyTreeCtrl,
47955 &_swigt__p_wxPyTreeItemData,
47956 &_swigt__p_wxPyValidator,
47957 &_swigt__p_wxQueryNewPaletteEvent,
47958 &_swigt__p_wxRadioBox,
47959 &_swigt__p_wxRadioButton,
47960 &_swigt__p_wxRect,
47961 &_swigt__p_wxScrollBar,
47962 &_swigt__p_wxScrollEvent,
47963 &_swigt__p_wxScrollWinEvent,
47964 &_swigt__p_wxSetCursorEvent,
47965 &_swigt__p_wxShowEvent,
47966 &_swigt__p_wxSimpleHelpProvider,
47967 &_swigt__p_wxSize,
47968 &_swigt__p_wxSizeEvent,
47969 &_swigt__p_wxSizer,
47970 &_swigt__p_wxSizerItem,
47971 &_swigt__p_wxSlider,
47972 &_swigt__p_wxSpinButton,
47973 &_swigt__p_wxSpinCtrl,
47974 &_swigt__p_wxSpinEvent,
47975 &_swigt__p_wxStaticBitmap,
47976 &_swigt__p_wxStaticBox,
47977 &_swigt__p_wxStaticBoxSizer,
47978 &_swigt__p_wxStaticLine,
47979 &_swigt__p_wxStaticText,
47980 &_swigt__p_wxStdDialogButtonSizer,
47981 &_swigt__p_wxString,
47982 &_swigt__p_wxSysColourChangedEvent,
580080c5 47983 &_swigt__p_wxTGAHandler,
0085ce49
RD
47984 &_swigt__p_wxTIFFHandler,
47985 &_swigt__p_wxTextAttr,
47986 &_swigt__p_wxTextCtrl,
47987 &_swigt__p_wxTextUrlEvent,
47988 &_swigt__p_wxToggleButton,
47989 &_swigt__p_wxToolBar,
47990 &_swigt__p_wxToolBarBase,
47991 &_swigt__p_wxToolBarToolBase,
47992 &_swigt__p_wxToolbook,
47993 &_swigt__p_wxToolbookEvent,
0085ce49
RD
47994 &_swigt__p_wxTreeEvent,
47995 &_swigt__p_wxTreeItemId,
47996 &_swigt__p_wxTreebook,
47997 &_swigt__p_wxTreebookEvent,
47998 &_swigt__p_wxUpdateUIEvent,
47999 &_swigt__p_wxValidator,
48000 &_swigt__p_wxVisualAttributes,
48001 &_swigt__p_wxWindow,
b850e7f3 48002 &_swigt__p_wxWindowBase,
0085ce49
RD
48003 &_swigt__p_wxWindowCreateEvent,
48004 &_swigt__p_wxWindowDestroyEvent,
48005 &_swigt__p_wxXPMHandler,
48006};
48007
48008static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48009static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48010static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48011static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48012static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48013static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48014static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48015static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48016static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48017static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48018static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48019static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48020static 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}};
48021static 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}};
48022static 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}};
48023static 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}};
48024static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48025static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48026static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
48027static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48028static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48029static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48030static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48031static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48032static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48033static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 48034static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48035static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48036static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48037static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48038static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48039static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48040static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48041static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48042static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48043static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48044static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48045static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48046static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
48047static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48048static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48049static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48050static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48051static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48052static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48053static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48054static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48055static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48056static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48057static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48058static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48059static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48060static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48061static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48062static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48063static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48064static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48065static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48066static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48067static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48068static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48069static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48070static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48071static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48072static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48073static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48074static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48075static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48076static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48077static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48078static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48079static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48080static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48081static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48082static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48083static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48084static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
48085static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48086static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 48087static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48088static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48089static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48090static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48091static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48092static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48093static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48094static 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
48095static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48096static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48097static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48098static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48099static 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}};
48100static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48101static 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}};
48102static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48103static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48104static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48105static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48106static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48107static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48108static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48109static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48110static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48111static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48112static 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}};
48113static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 48114static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 48115static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48116static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48117static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48118static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48119static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48120static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48121static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48122static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48123static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48124static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48125static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48126static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
48127static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48128static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48129static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48130static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48131static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48132static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48133static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48134static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 48135static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 48136static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48137static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48138static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48139static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 48140static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48141static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48142static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48143static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48144static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
0085ce49 48145static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48146static swig_cast_info _swigc__p_wxPickerBase[] = { {&_swigt__p_wxPickerBase, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxPickerBase, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48147static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48148static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48149static 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}};
48150static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
48151static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
48152static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
48153static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
48154static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48155static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
48156static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
48157static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48158static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
48159static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
48160static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
48161static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
48162static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
48163static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48164static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
48165static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
48166static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
48167static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
48168static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
48169static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
48170static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
48171static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
48172static 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}};
48173static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
48174static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
48175static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48176static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
48177static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
48178static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
48179static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48180static 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}};
48181static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48182static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
48183static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
48184
48185static swig_cast_info *swig_cast_initial[] = {
48186 _swigc__p_bool,
48187 _swigc__p_char,
48188 _swigc__p_form_ops_t,
48189 _swigc__p_int,
48190 _swigc__p_long,
48191 _swigc__p_unsigned_char,
48192 _swigc__p_unsigned_int,
48193 _swigc__p_unsigned_long,
48194 _swigc__p_void,
48195 _swigc__p_wxANIHandler,
48196 _swigc__p_wxAcceleratorTable,
48197 _swigc__p_wxActivateEvent,
48198 _swigc__p_wxArrayInt,
48199 _swigc__p_wxArrayString,
48200 _swigc__p_wxBMPHandler,
48201 _swigc__p_wxBitmap,
48202 _swigc__p_wxBitmapButton,
48203 _swigc__p_wxBookCtrlBase,
48204 _swigc__p_wxBookCtrlBaseEvent,
48205 _swigc__p_wxBoxSizer,
48206 _swigc__p_wxButton,
48207 _swigc__p_wxCURHandler,
48208 _swigc__p_wxCheckBox,
48209 _swigc__p_wxCheckListBox,
48210 _swigc__p_wxChildFocusEvent,
48211 _swigc__p_wxChoice,
48212 _swigc__p_wxChoicebook,
48213 _swigc__p_wxChoicebookEvent,
2131d850 48214 _swigc__p_wxClipboardTextEvent,
0085ce49
RD
48215 _swigc__p_wxCloseEvent,
48216 _swigc__p_wxColour,
b850e7f3
RD
48217 _swigc__p_wxColourPickerCtrl,
48218 _swigc__p_wxColourPickerEvent,
0085ce49
RD
48219 _swigc__p_wxComboBox,
48220 _swigc__p_wxCommandEvent,
48221 _swigc__p_wxContextHelp,
48222 _swigc__p_wxContextHelpButton,
48223 _swigc__p_wxContextMenuEvent,
48224 _swigc__p_wxControl,
48225 _swigc__p_wxControlWithItems,
48226 _swigc__p_wxCursor,
48227 _swigc__p_wxDC,
48228 _swigc__p_wxDateEvent,
48229 _swigc__p_wxDatePickerCtrl,
48230 _swigc__p_wxDateTime,
48231 _swigc__p_wxDirFilterListCtrl,
b850e7f3 48232 _swigc__p_wxDirPickerCtrl,
0085ce49
RD
48233 _swigc__p_wxDisplayChangedEvent,
48234 _swigc__p_wxDropFilesEvent,
48235 _swigc__p_wxDuplexMode,
48236 _swigc__p_wxEraseEvent,
48237 _swigc__p_wxEvent,
48238 _swigc__p_wxEvtHandler,
48239 _swigc__p_wxFSFile,
b850e7f3
RD
48240 _swigc__p_wxFileDirPickerEvent,
48241 _swigc__p_wxFilePickerCtrl,
0085ce49
RD
48242 _swigc__p_wxFileSystem,
48243 _swigc__p_wxFlexGridSizer,
48244 _swigc__p_wxFocusEvent,
48245 _swigc__p_wxFont,
b850e7f3
RD
48246 _swigc__p_wxFontPickerCtrl,
48247 _swigc__p_wxFontPickerEvent,
0085ce49
RD
48248 _swigc__p_wxGBSizerItem,
48249 _swigc__p_wxGIFHandler,
48250 _swigc__p_wxGauge,
48251 _swigc__p_wxGenericDirCtrl,
48252 _swigc__p_wxGenericDragImage,
48253 _swigc__p_wxGridBagSizer,
48254 _swigc__p_wxGridSizer,
48255 _swigc__p_wxHelpEvent,
48256 _swigc__p_wxHelpProvider,
704eda0c
RD
48257 _swigc__p_wxHyperlinkCtrl,
48258 _swigc__p_wxHyperlinkEvent,
0085ce49
RD
48259 _swigc__p_wxICOHandler,
48260 _swigc__p_wxIcon,
48261 _swigc__p_wxIconizeEvent,
48262 _swigc__p_wxIdleEvent,
48263 _swigc__p_wxImage,
48264 _swigc__p_wxImageHandler,
48265 _swigc__p_wxImageList,
48266 _swigc__p_wxIndividualLayoutConstraint,
48267 _swigc__p_wxInitDialogEvent,
48268 _swigc__p_wxItemContainer,
48269 _swigc__p_wxJPEGHandler,
48270 _swigc__p_wxKeyEvent,
48271 _swigc__p_wxLayoutConstraints,
48272 _swigc__p_wxListBox,
48273 _swigc__p_wxListEvent,
48274 _swigc__p_wxListItem,
48275 _swigc__p_wxListItemAttr,
48276 _swigc__p_wxListView,
48277 _swigc__p_wxListbook,
48278 _swigc__p_wxListbookEvent,
48279 _swigc__p_wxMaximizeEvent,
48280 _swigc__p_wxMemoryDC,
48281 _swigc__p_wxMenu,
48282 _swigc__p_wxMenuBar,
48283 _swigc__p_wxMenuEvent,
48284 _swigc__p_wxMenuItem,
48285 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 48286 _swigc__p_wxMouseCaptureLostEvent,
0085ce49
RD
48287 _swigc__p_wxMouseEvent,
48288 _swigc__p_wxMoveEvent,
48289 _swigc__p_wxNavigationKeyEvent,
48290 _swigc__p_wxNcPaintEvent,
48291 _swigc__p_wxNotebook,
48292 _swigc__p_wxNotebookEvent,
48293 _swigc__p_wxNotifyEvent,
48294 _swigc__p_wxObject,
48295 _swigc__p_wxPCXHandler,
48296 _swigc__p_wxPNGHandler,
48297 _swigc__p_wxPNMHandler,
48298 _swigc__p_wxPaintEvent,
48299 _swigc__p_wxPaletteChangedEvent,
48300 _swigc__p_wxPaperSize,
b850e7f3 48301 _swigc__p_wxPickerBase,
0085ce49
RD
48302 _swigc__p_wxPoint,
48303 _swigc__p_wxPyApp,
48304 _swigc__p_wxPyCommandEvent,
48305 _swigc__p_wxPyControl,
48306 _swigc__p_wxPyEvent,
48307 _swigc__p_wxPyImageHandler,
48308 _swigc__p_wxPyListCtrl,
48309 _swigc__p_wxPySizer,
48310 _swigc__p_wxPyTreeCtrl,
48311 _swigc__p_wxPyTreeItemData,
48312 _swigc__p_wxPyValidator,
48313 _swigc__p_wxQueryNewPaletteEvent,
48314 _swigc__p_wxRadioBox,
48315 _swigc__p_wxRadioButton,
48316 _swigc__p_wxRect,
48317 _swigc__p_wxScrollBar,
48318 _swigc__p_wxScrollEvent,
48319 _swigc__p_wxScrollWinEvent,
48320 _swigc__p_wxSetCursorEvent,
48321 _swigc__p_wxShowEvent,
48322 _swigc__p_wxSimpleHelpProvider,
48323 _swigc__p_wxSize,
48324 _swigc__p_wxSizeEvent,
48325 _swigc__p_wxSizer,
48326 _swigc__p_wxSizerItem,
48327 _swigc__p_wxSlider,
48328 _swigc__p_wxSpinButton,
48329 _swigc__p_wxSpinCtrl,
48330 _swigc__p_wxSpinEvent,
48331 _swigc__p_wxStaticBitmap,
48332 _swigc__p_wxStaticBox,
48333 _swigc__p_wxStaticBoxSizer,
48334 _swigc__p_wxStaticLine,
48335 _swigc__p_wxStaticText,
48336 _swigc__p_wxStdDialogButtonSizer,
48337 _swigc__p_wxString,
48338 _swigc__p_wxSysColourChangedEvent,
580080c5 48339 _swigc__p_wxTGAHandler,
0085ce49
RD
48340 _swigc__p_wxTIFFHandler,
48341 _swigc__p_wxTextAttr,
48342 _swigc__p_wxTextCtrl,
48343 _swigc__p_wxTextUrlEvent,
48344 _swigc__p_wxToggleButton,
48345 _swigc__p_wxToolBar,
48346 _swigc__p_wxToolBarBase,
48347 _swigc__p_wxToolBarToolBase,
48348 _swigc__p_wxToolbook,
48349 _swigc__p_wxToolbookEvent,
0085ce49
RD
48350 _swigc__p_wxTreeEvent,
48351 _swigc__p_wxTreeItemId,
48352 _swigc__p_wxTreebook,
48353 _swigc__p_wxTreebookEvent,
48354 _swigc__p_wxUpdateUIEvent,
48355 _swigc__p_wxValidator,
48356 _swigc__p_wxVisualAttributes,
48357 _swigc__p_wxWindow,
b850e7f3 48358 _swigc__p_wxWindowBase,
0085ce49
RD
48359 _swigc__p_wxWindowCreateEvent,
48360 _swigc__p_wxWindowDestroyEvent,
48361 _swigc__p_wxXPMHandler,
48362};
48363
48364
48365/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48366
48367static swig_const_info swig_const_table[] = {
48368{0, 0, 0, 0.0, 0, 0}};
48369
48370#ifdef __cplusplus
48371}
48372#endif
48373/* -----------------------------------------------------------------------------
48374 * Type initialization:
48375 * This problem is tough by the requirement that no dynamic
48376 * memory is used. Also, since swig_type_info structures store pointers to
48377 * swig_cast_info structures and swig_cast_info structures store pointers back
48378 * to swig_type_info structures, we need some lookup code at initialization.
48379 * The idea is that swig generates all the structures that are needed.
48380 * The runtime then collects these partially filled structures.
48381 * The SWIG_InitializeModule function takes these initial arrays out of
48382 * swig_module, and does all the lookup, filling in the swig_module.types
48383 * array with the correct data and linking the correct swig_cast_info
48384 * structures together.
48385 *
48386 * The generated swig_type_info structures are assigned staticly to an initial
48387 * array. We just loop though that array, and handle each type individually.
48388 * First we lookup if this type has been already loaded, and if so, use the
48389 * loaded structure instead of the generated one. Then we have to fill in the
48390 * cast linked list. The cast data is initially stored in something like a
48391 * two-dimensional array. Each row corresponds to a type (there are the same
48392 * number of rows as there are in the swig_type_initial array). Each entry in
48393 * a column is one of the swig_cast_info structures for that type.
48394 * The cast_initial array is actually an array of arrays, because each row has
48395 * a variable number of columns. So to actually build the cast linked list,
48396 * we find the array of casts associated with the type, and loop through it
48397 * adding the casts to the list. The one last trick we need to do is making
48398 * sure the type pointer in the swig_cast_info struct is correct.
48399 *
48400 * First off, we lookup the cast->type name to see if it is already loaded.
48401 * There are three cases to handle:
48402 * 1) If the cast->type has already been loaded AND the type we are adding
48403 * casting info to has not been loaded (it is in this module), THEN we
48404 * replace the cast->type pointer with the type pointer that has already
48405 * been loaded.
48406 * 2) If BOTH types (the one we are adding casting info to, and the
48407 * cast->type) are loaded, THEN the cast info has already been loaded by
48408 * the previous module so we just ignore it.
48409 * 3) Finally, if cast->type has not already been loaded, then we add that
48410 * swig_cast_info to the linked list (because the cast->type) pointer will
48411 * be correct.
48412 * ----------------------------------------------------------------------------- */
48413
48414#ifdef __cplusplus
48415extern "C" {
48416#if 0
48417} /* c-mode */
48418#endif
48419#endif
48420
48421#if 0
48422#define SWIGRUNTIME_DEBUG
48423#endif
48424
48425SWIGRUNTIME void
48426SWIG_InitializeModule(void *clientdata) {
48427 size_t i;
48428 swig_module_info *module_head;
48429 static int init_run = 0;
48430
48431 clientdata = clientdata;
48432
48433 if (init_run) return;
48434 init_run = 1;
48435
48436 /* Initialize the swig_module */
48437 swig_module.type_initial = swig_type_initial;
48438 swig_module.cast_initial = swig_cast_initial;
48439
48440 /* Try and load any already created modules */
48441 module_head = SWIG_GetModule(clientdata);
48442 if (module_head) {
48443 swig_module.next = module_head->next;
48444 module_head->next = &swig_module;
48445 } else {
48446 /* This is the first module loaded */
48447 swig_module.next = &swig_module;
48448 SWIG_SetModule(clientdata, &swig_module);
48449 }
48450
48451 /* Now work on filling in swig_module.types */
48452#ifdef SWIGRUNTIME_DEBUG
48453 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
48454#endif
48455 for (i = 0; i < swig_module.size; ++i) {
48456 swig_type_info *type = 0;
48457 swig_type_info *ret;
48458 swig_cast_info *cast;
d14a1e28 48459
0085ce49
RD
48460#ifdef SWIGRUNTIME_DEBUG
48461 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48462#endif
d14a1e28 48463
0085ce49
RD
48464 /* if there is another module already loaded */
48465 if (swig_module.next != &swig_module) {
48466 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 48467 }
0085ce49
RD
48468 if (type) {
48469 /* Overwrite clientdata field */
48470#ifdef SWIGRUNTIME_DEBUG
48471 printf("SWIG_InitializeModule: found type %s\n", type->name);
48472#endif
48473 if (swig_module.type_initial[i]->clientdata) {
48474 type->clientdata = swig_module.type_initial[i]->clientdata;
48475#ifdef SWIGRUNTIME_DEBUG
48476 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
48477#endif
48478 }
48479 } else {
48480 type = swig_module.type_initial[i];
093d3ff1 48481 }
d14a1e28 48482
0085ce49
RD
48483 /* Insert casting types */
48484 cast = swig_module.cast_initial[i];
48485 while (cast->type) {
48486 /* Don't need to add information already in the list */
48487 ret = 0;
48488#ifdef SWIGRUNTIME_DEBUG
48489 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
48490#endif
48491 if (swig_module.next != &swig_module) {
48492 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
48493#ifdef SWIGRUNTIME_DEBUG
48494 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
48495#endif
48496 }
48497 if (ret) {
48498 if (type == swig_module.type_initial[i]) {
48499#ifdef SWIGRUNTIME_DEBUG
48500 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
48501#endif
48502 cast->type = ret;
48503 ret = 0;
48504 } else {
48505 /* Check for casting already in the list */
48506 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
48507#ifdef SWIGRUNTIME_DEBUG
48508 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
48509#endif
48510 if (!ocast) ret = 0;
48511 }
48512 }
48513
48514 if (!ret) {
48515#ifdef SWIGRUNTIME_DEBUG
48516 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
48517#endif
48518 if (type->cast) {
48519 type->cast->prev = cast;
48520 cast->next = type->cast;
48521 }
48522 type->cast = cast;
48523 }
48524 cast++;
093d3ff1 48525 }
0085ce49
RD
48526 /* Set entry in modules->types array equal to the type */
48527 swig_module.types[i] = type;
48528 }
48529 swig_module.types[i] = 0;
48530
48531#ifdef SWIGRUNTIME_DEBUG
48532 printf("**** SWIG_InitializeModule: Cast List ******\n");
48533 for (i = 0; i < swig_module.size; ++i) {
48534 int j = 0;
48535 swig_cast_info *cast = swig_module.cast_initial[i];
48536 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48537 while (cast->type) {
48538 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
48539 cast++;
48540 ++j;
48541 }
48542 printf("---- Total casts: %d\n",j);
48543 }
48544 printf("**** SWIG_InitializeModule: Cast List ******\n");
48545#endif
48546}
48547
48548/* This function will propagate the clientdata field of type to
48549* any new swig_type_info structures that have been added into the list
48550* of equivalent types. It is like calling
48551* SWIG_TypeClientData(type, clientdata) a second time.
48552*/
48553SWIGRUNTIME void
48554SWIG_PropagateClientData(void) {
48555 size_t i;
48556 swig_cast_info *equiv;
48557 static int init_run = 0;
48558
48559 if (init_run) return;
48560 init_run = 1;
48561
48562 for (i = 0; i < swig_module.size; i++) {
48563 if (swig_module.types[i]->clientdata) {
48564 equiv = swig_module.types[i]->cast;
48565 while (equiv) {
48566 if (!equiv->converter) {
48567 if (equiv->type && !equiv->type->clientdata)
48568 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
48569 }
48570 equiv = equiv->next;
48571 }
093d3ff1 48572 }
0085ce49
RD
48573 }
48574}
48575
48576#ifdef __cplusplus
48577#if 0
48578{
48579 /* c-mode */
48580#endif
48581}
48582#endif
48583
48584
48585
48586#ifdef __cplusplus
48587extern "C" {
48588#endif
48589
48590 /* Python-specific SWIG API */
48591#define SWIG_newvarlink() SWIG_Python_newvarlink()
48592#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48593#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48594
48595 /* -----------------------------------------------------------------------------
48596 * global variable support code.
48597 * ----------------------------------------------------------------------------- */
48598
48599 typedef struct swig_globalvar {
48600 char *name; /* Name of global variable */
48601 PyObject *(*get_attr)(void); /* Return the current value */
48602 int (*set_attr)(PyObject *); /* Set the value */
48603 struct swig_globalvar *next;
48604 } swig_globalvar;
48605
48606 typedef struct swig_varlinkobject {
48607 PyObject_HEAD
48608 swig_globalvar *vars;
48609 } swig_varlinkobject;
48610
48611 SWIGINTERN PyObject *
48612 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
48613 return PyString_FromString("<Swig global variables>");
48614 }
48615
48616 SWIGINTERN PyObject *
48617 swig_varlink_str(swig_varlinkobject *v) {
48618 PyObject *str = PyString_FromString("(");
48619 swig_globalvar *var;
48620 for (var = v->vars; var; var=var->next) {
48621 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
48622 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
48623 }
48624 PyString_ConcatAndDel(&str,PyString_FromString(")"));
48625 return str;
48626 }
48627
48628 SWIGINTERN int
48629 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
48630 PyObject *str = swig_varlink_str(v);
48631 fprintf(fp,"Swig global variables ");
48632 fprintf(fp,"%s\n", PyString_AsString(str));
48633 Py_DECREF(str);
48634 return 0;
48635 }
48636
48637 SWIGINTERN void
48638 swig_varlink_dealloc(swig_varlinkobject *v) {
48639 swig_globalvar *var = v->vars;
48640 while (var) {
48641 swig_globalvar *n = var->next;
48642 free(var->name);
48643 free(var);
48644 var = n;
093d3ff1 48645 }
0085ce49
RD
48646 }
48647
48648 SWIGINTERN PyObject *
48649 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
48650 PyObject *res = NULL;
48651 swig_globalvar *var = v->vars;
48652 while (var) {
48653 if (strcmp(var->name,n) == 0) {
48654 res = (*var->get_attr)();
48655 break;
48656 }
48657 var = var->next;
093d3ff1 48658 }
0085ce49
RD
48659 if (res == NULL && !PyErr_Occurred()) {
48660 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 48661 }
0085ce49
RD
48662 return res;
48663 }
48664
48665 SWIGINTERN int
48666 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
48667 int res = 1;
48668 swig_globalvar *var = v->vars;
48669 while (var) {
48670 if (strcmp(var->name,n) == 0) {
48671 res = (*var->set_attr)(p);
48672 break;
48673 }
48674 var = var->next;
093d3ff1 48675 }
0085ce49
RD
48676 if (res == 1 && !PyErr_Occurred()) {
48677 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 48678 }
0085ce49
RD
48679 return res;
48680 }
48681
48682 SWIGINTERN PyTypeObject*
48683 swig_varlink_type(void) {
48684 static char varlink__doc__[] = "Swig var link object";
48685 static PyTypeObject varlink_type;
48686 static int type_init = 0;
48687 if (!type_init) {
48688 const PyTypeObject tmp
48689 = {
48690 PyObject_HEAD_INIT(NULL)
48691 0, /* Number of items in variable part (ob_size) */
48692 (char *)"swigvarlink", /* Type name (tp_name) */
48693 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
48694 0, /* Itemsize (tp_itemsize) */
48695 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
48696 (printfunc) swig_varlink_print, /* Print (tp_print) */
48697 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
48698 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
48699 0, /* tp_compare */
48700 (reprfunc) swig_varlink_repr, /* tp_repr */
48701 0, /* tp_as_number */
48702 0, /* tp_as_sequence */
48703 0, /* tp_as_mapping */
48704 0, /* tp_hash */
48705 0, /* tp_call */
48706 (reprfunc)swig_varlink_str, /* tp_str */
48707 0, /* tp_getattro */
48708 0, /* tp_setattro */
48709 0, /* tp_as_buffer */
48710 0, /* tp_flags */
48711 varlink__doc__, /* tp_doc */
48712 0, /* tp_traverse */
48713 0, /* tp_clear */
48714 0, /* tp_richcompare */
48715 0, /* tp_weaklistoffset */
48716#if PY_VERSION_HEX >= 0x02020000
48717 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48718#endif
48719#if PY_VERSION_HEX >= 0x02030000
48720 0, /* tp_del */
48721#endif
48722#ifdef COUNT_ALLOCS
48723 0,0,0,0 /* tp_alloc -> tp_next */
48724#endif
48725 };
48726 varlink_type = tmp;
48727 varlink_type.ob_type = &PyType_Type;
48728 type_init = 1;
53aa7709 48729 }
0085ce49
RD
48730 return &varlink_type;
48731 }
48732
48733 /* Create a variable linking object for use later */
48734 SWIGINTERN PyObject *
48735 SWIG_Python_newvarlink(void) {
48736 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
48737 if (result) {
48738 result->vars = 0;
48739 }
48740 return ((PyObject*) result);
48741 }
48742
48743 SWIGINTERN void
48744 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
48745 swig_varlinkobject *v = (swig_varlinkobject *) p;
48746 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
48747 if (gv) {
48748 size_t size = strlen(name)+1;
48749 gv->name = (char *)malloc(size);
48750 if (gv->name) {
48751 strncpy(gv->name,name,size);
48752 gv->get_attr = get_attr;
48753 gv->set_attr = set_attr;
48754 gv->next = v->vars;
48755 }
53aa7709 48756 }
0085ce49
RD
48757 v->vars = gv;
48758 }
48759
48760 SWIGINTERN PyObject *
48761 SWIG_globals() {
48762 static PyObject *_SWIG_globals = 0;
48763 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
48764 return _SWIG_globals;
48765 }
48766
48767 /* -----------------------------------------------------------------------------
48768 * constants/methods manipulation
48769 * ----------------------------------------------------------------------------- */
48770
48771 /* Install Constants */
48772 SWIGINTERN void
48773 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
48774 PyObject *obj = 0;
48775 size_t i;
48776 for (i = 0; constants[i].type; ++i) {
48777 switch(constants[i].type) {
48778 case SWIG_PY_POINTER:
48779 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
48780 break;
48781 case SWIG_PY_BINARY:
48782 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
48783 break;
48784 default:
48785 obj = 0;
48786 break;
48787 }
48788 if (obj) {
48789 PyDict_SetItemString(d, constants[i].name, obj);
48790 Py_DECREF(obj);
48791 }
53aa7709 48792 }
0085ce49
RD
48793 }
48794
48795 /* -----------------------------------------------------------------------------*/
48796 /* Fix SwigMethods to carry the callback ptrs when needed */
48797 /* -----------------------------------------------------------------------------*/
48798
48799 SWIGINTERN void
48800 SWIG_Python_FixMethods(PyMethodDef *methods,
48801 swig_const_info *const_table,
48802 swig_type_info **types,
48803 swig_type_info **types_initial) {
48804 size_t i;
48805 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 48806 const char *c = methods[i].ml_doc;
0085ce49
RD
48807 if (c && (c = strstr(c, "swig_ptr: "))) {
48808 int j;
48809 swig_const_info *ci = 0;
453fb36b 48810 const char *name = c + 10;
0085ce49
RD
48811 for (j = 0; const_table[j].type; ++j) {
48812 if (strncmp(const_table[j].name, name,
48813 strlen(const_table[j].name)) == 0) {
48814 ci = &(const_table[j]);
48815 break;
48816 }
48817 }
48818 if (ci) {
48819 size_t shift = (ci->ptype) - types;
48820 swig_type_info *ty = types_initial[shift];
48821 size_t ldoc = (c - methods[i].ml_doc);
48822 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
48823 char *ndoc = (char*)malloc(ldoc + lptr + 10);
48824 if (ndoc) {
48825 char *buff = ndoc;
48826 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
48827 if (ptr) {
48828 strncpy(buff, methods[i].ml_doc, ldoc);
48829 buff += ldoc;
48830 strncpy(buff, "swig_ptr: ", 10);
48831 buff += 10;
48832 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
48833 methods[i].ml_doc = ndoc;
48834 }
48835 }
48836 }
48837 }
53aa7709 48838 }
0085ce49
RD
48839 }
48840
48841#ifdef __cplusplus
48842}
48843#endif
48844
48845/* -----------------------------------------------------------------------------*
48846 * Partial Init method
48847 * -----------------------------------------------------------------------------*/
48848
48849#ifdef __cplusplus
48850extern "C"
48851#endif
48852SWIGEXPORT void SWIG_init(void) {
48853 PyObject *m, *d;
48854
48855 /* Fix SwigMethods to carry the callback ptrs when needed */
48856 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
48857
48858 m = Py_InitModule((char *) SWIG_name, SwigMethods);
48859 d = PyModule_GetDict(m);
48860
48861 SWIG_InitializeModule(0);
48862 SWIG_InstallConstants(d,swig_const_table);
48863
48864
48865 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
48866 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
48867 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
48868 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
48869 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
48870 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
48871 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
48872 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
48873 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
48874 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
48875 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
48876 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
48877 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
48878 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
48879 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
48880 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
48881 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
48882 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
48883 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
48884 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
48885 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
48886 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
0085ce49
RD
48887 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
48888 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
48889 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
48890 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
48891 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
48892 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
48893 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
48894 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
48895 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
48896 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
48897 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
48898 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
48899 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
48900 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
48901 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
48902 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
48903 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
48904 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
48905 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
48906 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
48907 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
48908 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
48909 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
0085ce49
RD
48910 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
48911 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
48912 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
48913 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
48914 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
48915 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
48916 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
48917 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
48918 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
48919 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
48920 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
48921 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
48922 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
48923 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
48924 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
48925 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
48926 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
48927 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
48928 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
48929 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
48930 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
48931 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
48932 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
48933 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
48934 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
48935 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
48936 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
f5263701 48937 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
0085ce49
RD
48938 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
48939 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
48940 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
48941 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
48942 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
48943 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
48944 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
48945 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
48946 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
48947 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
48948 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
48949 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
48950 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
48951 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
48952 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
48953 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
48954 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
48955 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
48956 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
48957 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
48958 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
48959 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
48960 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
48961 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
48962 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
48963 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
48964 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
48965 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
48966 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
48967 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
48968 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
48969 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
48970 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
48971 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
48972 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
48973 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 48974 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
110fa173
RD
48975 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
48976 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
48977 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
48978 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
48979 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
0085ce49
RD
48980 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
48981 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
48982 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
48983 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
48984 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
48985 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
48986 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
48987 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
48988 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
48989 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
48990 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
b02396e8 48991 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
0085ce49
RD
48992 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
48993 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
48994 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
48995 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
48996 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
48997 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
48998 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
48999 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49000 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49001 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49002 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49003 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49004 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49005 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49006 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49007 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49008 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49009 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49010 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49011 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49012 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49013 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49014 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49015 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49016 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49017 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49018 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49019 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49020 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
8f514ab4
RD
49021 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
49022 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
49023 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49024 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
0085ce49
RD
49025 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49026 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49027 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49028 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49029 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49030 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49031 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49032 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49033 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 49034 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
0085ce49
RD
49035 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49036 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49037 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49038 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49039 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49040 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49041 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49042 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49043 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49044 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49045 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49046 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49047 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49048 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49049 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49050 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49051 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49052 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49053 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49054 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49055 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49056 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49057 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49058 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49059 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49060 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49061 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49062 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49063 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49064 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49065 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49066 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49067 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49068 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49069 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49070 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49071 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49072 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49073 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49074 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49075 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49076 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49077 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49078 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49079 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49080 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49081 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 49082 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
0085ce49
RD
49083 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49084 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49085 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49086 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49087 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49088 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49089 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49090 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49091 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49092 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49093 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49094 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49095 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49096 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49097 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49098 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49099 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49100 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49101 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49102 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49103 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49104 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49105 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49106 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49107 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49108 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49109 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49110 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49111 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49112 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49113 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49114 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49115 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49116 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49117 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49118 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49119 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49120 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49121 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49122 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49123 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49124 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49125
49126 // Map renamed classes back to their common name for OOR
49127 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49128
49129 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49130 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49131 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49132 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49133 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49134 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49135 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49136 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49137 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49138 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49139 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49140 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49141 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49142 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49143 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
0085ce49
RD
49144 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49145 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49146 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49147 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49148 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
49149 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
49150 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
49151 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
49152 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
49153 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
49154 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
49155 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
49156 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
49157 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
49158 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
49159 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
49160 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
49161 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
49162 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
49163 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
49164 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
49165 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
49166 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
49167 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
49168 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
49169 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
49170 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
49171 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
49172 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
49173 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
49174 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
49175 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
49176 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
49177 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
49178 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
49179 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
49180 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
49181 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
49182 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
49183 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
b02396e8 49184 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
0085ce49
RD
49185
49186 // Map renamed classes back to their common name for OOR
49187 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49188 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49189
49190 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
49191 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
49192 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
49193 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
49194 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
49195 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
0085ce49
RD
49196 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
49197 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
49198 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
49199 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
49200 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
0085ce49
RD
49201
49202 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49203
49204 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
49205 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
49206 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
49207 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
49208 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
49209 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
49210 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
49211 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
33d6fd3b
RD
49212 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
49213 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
49214 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
704eda0c
RD
49215 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
49216 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
49217 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
49218 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
49219 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
49220 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
49221 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
49222 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
49223 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
49224 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
49225 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
49226 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
49227 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
49228 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
49229 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
49230 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
49231 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
49232 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
49233 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
49234 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
49235 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
49236 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
49237 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
49238 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
49239 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
49240 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
49241 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
49242 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
49243 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
49244 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
49245 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
49246 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
d14a1e28
RD
49247}
49248