]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
update the text of a read-only combobox (and hence wxChoice) when selection is change...
[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]
5172800e
RD
2496#define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498#define SWIGTYPE_p_wxColour swig_types[32]
2499#define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500#define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501#define SWIGTYPE_p_wxComboBox swig_types[35]
2502#define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503#define SWIGTYPE_p_wxContextHelp swig_types[37]
2504#define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505#define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506#define SWIGTYPE_p_wxControl swig_types[40]
2507#define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508#define SWIGTYPE_p_wxCursor swig_types[42]
2509#define SWIGTYPE_p_wxDC swig_types[43]
2510#define SWIGTYPE_p_wxDateEvent swig_types[44]
2511#define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDateTime swig_types[46]
2513#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514#define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516#define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517#define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518#define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519#define SWIGTYPE_p_wxEvent swig_types[53]
2520#define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521#define SWIGTYPE_p_wxFSFile swig_types[55]
2522#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523#define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524#define SWIGTYPE_p_wxFileSystem swig_types[58]
2525#define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526#define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527#define SWIGTYPE_p_wxFont swig_types[61]
2528#define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529#define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530#define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531#define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532#define SWIGTYPE_p_wxGauge swig_types[66]
2533#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534#define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535#define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536#define SWIGTYPE_p_wxGridSizer swig_types[70]
2537#define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538#define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540#define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541#define SWIGTYPE_p_wxICOHandler swig_types[75]
2542#define SWIGTYPE_p_wxIcon swig_types[76]
2543#define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544#define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545#define SWIGTYPE_p_wxImage swig_types[79]
2546#define SWIGTYPE_p_wxImageHandler swig_types[80]
2547#define SWIGTYPE_p_wxImageList swig_types[81]
2548#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549#define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550#define SWIGTYPE_p_wxItemContainer swig_types[84]
2551#define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552#define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553#define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554#define SWIGTYPE_p_wxListBox swig_types[88]
2555#define SWIGTYPE_p_wxListEvent swig_types[89]
2556#define SWIGTYPE_p_wxListItem swig_types[90]
2557#define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558#define SWIGTYPE_p_wxListView swig_types[92]
2559#define SWIGTYPE_p_wxListbook swig_types[93]
2560#define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561#define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562#define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563#define SWIGTYPE_p_wxMenu swig_types[97]
2564#define SWIGTYPE_p_wxMenuBar swig_types[98]
2565#define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566#define SWIGTYPE_p_wxMenuItem swig_types[100]
2567#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569#define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570#define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572#define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573#define SWIGTYPE_p_wxNotebook swig_types[107]
2574#define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575#define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576#define SWIGTYPE_p_wxObject swig_types[110]
2577#define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578#define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579#define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580#define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582#define SWIGTYPE_p_wxPaperSize swig_types[116]
2583#define SWIGTYPE_p_wxPickerBase swig_types[117]
2584#define SWIGTYPE_p_wxPoint swig_types[118]
2585#define SWIGTYPE_p_wxPyApp swig_types[119]
2586#define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587#define SWIGTYPE_p_wxPyControl swig_types[121]
2588#define SWIGTYPE_p_wxPyEvent swig_types[122]
2589#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590#define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591#define SWIGTYPE_p_wxPySizer swig_types[125]
2592#define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593#define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594#define SWIGTYPE_p_wxPyValidator swig_types[128]
2595#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596#define SWIGTYPE_p_wxRadioBox swig_types[130]
2597#define SWIGTYPE_p_wxRadioButton swig_types[131]
2598#define SWIGTYPE_p_wxRect swig_types[132]
2599#define SWIGTYPE_p_wxScrollBar swig_types[133]
2600#define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
3f7f284d
RD
2602#define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603#define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604#define SWIGTYPE_p_wxShowEvent swig_types[138]
2605#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606#define SWIGTYPE_p_wxSize swig_types[140]
2607#define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608#define SWIGTYPE_p_wxSizer swig_types[142]
2609#define SWIGTYPE_p_wxSizerItem swig_types[143]
2610#define SWIGTYPE_p_wxSlider swig_types[144]
2611#define SWIGTYPE_p_wxSpinButton swig_types[145]
2612#define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613#define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614#define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615#define SWIGTYPE_p_wxStaticBox swig_types[149]
2616#define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617#define SWIGTYPE_p_wxStaticLine swig_types[151]
2618#define SWIGTYPE_p_wxStaticText swig_types[152]
2619#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620#define SWIGTYPE_p_wxString swig_types[154]
2621#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622#define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623#define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624#define SWIGTYPE_p_wxTextAttr swig_types[158]
2625#define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626#define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627#define SWIGTYPE_p_wxToggleButton swig_types[161]
2628#define SWIGTYPE_p_wxToolBar swig_types[162]
2629#define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630#define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631#define SWIGTYPE_p_wxToolbook swig_types[165]
2632#define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633#define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634#define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635#define SWIGTYPE_p_wxTreebook swig_types[169]
2636#define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637#define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638#define SWIGTYPE_p_wxValidator swig_types[172]
2639#define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640#define SWIGTYPE_p_wxWindow swig_types[174]
2641#define SWIGTYPE_p_wxWindowBase swig_types[175]
2642#define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644#define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645static swig_type_info *swig_types[180];
2646static swig_module_info swig_module = {swig_types, 179, 0, 0, 0, 0};
32fe5131
RD
2647#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2649
2650/* -------- TYPES TABLE (END) -------- */
2651
0085ce49
RD
2652#if (PY_VERSION_HEX <= 0x02000000)
2653# if !defined(SWIG_PYTHON_CLASSIC)
2654# error "This python version requires to use swig with the '-classic' option"
2655# endif
2656#endif
2657#if (PY_VERSION_HEX <= 0x02020000)
2658# error "This python version requires to use swig with the '-nomodern' option"
2659#endif
2660#if (PY_VERSION_HEX <= 0x02020000)
2661# error "This python version requires to use swig with the '-nomodernargs' option"
2662#endif
2663#ifndef METH_O
2664# error "This python version requires to use swig with the '-nofastunpack' option"
2665#endif
093d3ff1
RD
2666
2667/*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670#define SWIG_init init_controls_
2671
2672#define SWIG_name "_controls_"
2673
0085ce49
RD
2674#define SWIGVERSION 0x010329
2675
2676
2677#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2679
2680
2681#include <stdexcept>
2682
2683
2684namespace swig {
2685 class PyObject_ptr {
2686 protected:
2687 PyObject *_obj;
2688
2689 public:
2690 PyObject_ptr() :_obj(0)
2691 {
2692 }
2693
2694 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2695 {
2696 Py_XINCREF(_obj);
2697 }
2698
2699 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2700 {
2701 if (initial_ref) Py_XINCREF(_obj);
2702 }
2703
2704 PyObject_ptr & operator=(const PyObject_ptr& item)
2705 {
2706 Py_XINCREF(item._obj);
2707 Py_XDECREF(_obj);
2708 _obj = item._obj;
2709 return *this;
2710 }
2711
2712 ~PyObject_ptr()
2713 {
2714 Py_XDECREF(_obj);
2715 }
2716
2717 operator PyObject *() const
2718 {
2719 return _obj;
2720 }
2721
2722 PyObject *operator->() const
2723 {
2724 return _obj;
2725 }
2726 };
2727}
2728
2729
2730namespace swig {
2731 struct PyObject_var : PyObject_ptr {
2732 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2733
2734 PyObject_var & operator = (PyObject* obj)
2735 {
2736 Py_XDECREF(_obj);
2737 _obj = obj;
2738 return *this;
2739 }
2740 };
2741}
2742
2743
093d3ff1
RD
2744#include "wx/wxPython/wxPython.h"
2745#include "wx/wxPython/pyclasses.h"
2746
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2748 static const wxString wxPyEmptyString(wxEmptyString);
2749 static const wxString wxPyControlNameStr(wxControlNameStr);
2750
2751 const wxArrayString wxPyEmptyStringArray;
2752
2753 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2754
0085ce49 2755 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2756
2757
0085ce49
RD
2758SWIGINTERNINLINE PyObject *
2759SWIG_From_int (int value)
2760{
2761 return SWIG_From_long (value);
2762}
093d3ff1
RD
2763
2764
0085ce49
RD
2765#include <limits.h>
2766#ifndef LLONG_MIN
2767# define LLONG_MIN LONG_LONG_MIN
2768#endif
2769#ifndef LLONG_MAX
2770# define LLONG_MAX LONG_LONG_MAX
2771#endif
2772#ifndef ULLONG_MAX
2773# define ULLONG_MAX ULONG_LONG_MAX
2774#endif
093d3ff1
RD
2775
2776
2777SWIGINTERN int
0085ce49 2778SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2779{
2780 if (PyNumber_Check(obj)) {
2781 if (val) *val = PyInt_AsLong(obj);
0085ce49 2782 return SWIG_OK;
093d3ff1 2783 }
0085ce49 2784 return SWIG_TypeError;
093d3ff1
RD
2785}
2786
2787
093d3ff1 2788SWIGINTERN int
0085ce49
RD
2789SWIG_AsVal_int (PyObject * obj, int *val)
2790{
093d3ff1 2791 long v;
0085ce49
RD
2792 int res = SWIG_AsVal_long (obj, &v);
2793 if (SWIG_IsOK(res)) {
2794 if ((v < INT_MIN || v > INT_MAX)) {
2795 return SWIG_OverflowError;
093d3ff1 2796 } else {
0085ce49 2797 if (val) *val = static_cast< int >(v);
093d3ff1 2798 }
0085ce49
RD
2799 }
2800 return res;
994141e6
RD
2801}
2802
c32bde28 2803 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0 2804
093d3ff1 2805SWIGINTERN int
0085ce49 2806SWIG_AsVal_bool (PyObject *obj, bool *val)
15afbcd0 2807{
c32bde28
RD
2808 if (obj == Py_True) {
2809 if (val) *val = true;
0085ce49
RD
2810 return SWIG_OK;
2811 } else if (obj == Py_False) {
c32bde28 2812 if (val) *val = false;
0085ce49 2813 return SWIG_OK;
093d3ff1 2814 } else {
0085ce49
RD
2815 long v = 0;
2816 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2817 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2818 return res;
c32bde28 2819 }
15afbcd0
RD
2820}
2821
b2dc1044
RD
2822 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2823 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2824 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2825 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2826 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2827 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
3f7f284d 2828 static const wxString wxPyStaticLineNameStr(wxStaticLineNameStr);
d14a1e28
RD
2829
2830#include <wx/checklst.h>
d14a1e28 2831
b2dc1044 2832 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
0085ce49 2833SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2834 if (clientData)
2835 {
d14a1e28
RD
2836 wxPyClientData* data = new wxPyClientData(clientData);
2837 self->Insert(item, pos, data);
e9d6f3a4
RD
2838 }
2839 else
d14a1e28
RD
2840 self->Insert(item, pos);
2841 }
50f151d7
RD
2842
2843SWIGINTERN int
2844SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2845{
2846 long v = 0;
2847 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2848 return SWIG_TypeError;
2849 }
2850 else if (val)
2851 *val = (unsigned long)v;
2852 return SWIG_OK;
2853}
2854
2855
2856SWIGINTERN int
2857SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2858{
2859 unsigned long v;
2860 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2861 if (SWIG_IsOK(res)) {
2862 if ((v > UINT_MAX)) {
2863 return SWIG_OverflowError;
2864 } else {
2865 if (val) *val = static_cast< unsigned int >(v);
2866 }
2867 }
2868 return res;
2869}
2870
0085ce49 2871SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2872 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2873 wxArrayInt lst;
2874 self->GetSelections(lst);
2875 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2876 for (size_t i=0; i<lst.GetCount(); i++)
2877 {
7e08d4ef
RD
2878 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2879 }
e9d6f3a4 2880 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2881 return tup;
2882 }
0085ce49 2883SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
2884 #ifdef __WXMSW__
2885 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2886 self->GetItem(item)->SetTextColour(c);
2887 #endif
2888 }
0085ce49 2889SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
2890 #ifdef __WXMSW__
2891 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2892 self->GetItem(item)->SetBackgroundColour(c);
2893 #endif
2894 }
0085ce49 2895SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
c3eb6258
RD
2896 #ifdef __WXMSW__
2897 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2898 self->GetItem(item)->SetFont(f);
2899 #endif
2900 }
b2dc1044 2901 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d7645bfd 2902SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
0085ce49 2903SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d14a1e28
RD
2904 self->AppendText(text);
2905 }
0085ce49 2906SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d14a1e28
RD
2907 return self->GetValue().Mid(from, to - from);
2908 }
b2dc1044
RD
2909 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2910 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 2911 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
2912 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2913 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
75219dcb
RD
2914
2915SWIGINTERNINLINE PyObject*
2916SWIG_From_unsigned_SS_long (unsigned long value)
2917{
2918 return (value > LONG_MAX) ?
2919 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2920}
2921
2922
2923SWIGINTERNINLINE PyObject *
2924SWIG_From_size_t (size_t value)
2925{
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2927}
2928
50f151d7
RD
2929
2930SWIGINTERNINLINE PyObject *
2931SWIG_From_unsigned_SS_int (unsigned int value)
2932{
2933 return SWIG_From_unsigned_SS_long (value);
2934}
2935
d14a1e28
RD
2936
2937#include <wx/slider.h>
2938
d14a1e28 2939
b2dc1044 2940 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 2941 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 2942
15afbcd0
RD
2943#if !wxUSE_TOGGLEBTN
2944// implement dummy items for platforms that don't have this class
d14a1e28
RD
2945
2946#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947
2948class wxToggleButton : public wxControl
2949{
2950public:
2951 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2952 const wxPoint&, const wxSize&, long,
2953 const wxValidator&, const wxString&)
39f61e25 2954 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
2955
2956 wxToggleButton()
39f61e25 2957 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
2958};
2959#endif
2960
51b83b37 2961 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
994141e6 2962
7e08d4ef 2963SWIGINTERNINLINE int
0085ce49 2964SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2965{
7e08d4ef 2966 unsigned long v;
0085ce49
RD
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
7e08d4ef 2970}
7e08d4ef 2971
b2dc1044 2972 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
0085ce49 2973SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d14a1e28
RD
2974 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2975 if (udata) {
2976 Py_INCREF(udata->m_obj);
2977 return udata->m_obj;
2978 } else {
2979 Py_INCREF(Py_None);
2980 return Py_None;
2981 }
2982 }
0085ce49 2983SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d14a1e28
RD
2984 self->SetClientData(new wxPyUserData(clientData));
2985 }
0085ce49 2986SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d14a1e28
RD
2987 wxPyUserData* udata = NULL;
2988 if (clientData && clientData != Py_None)
2989 udata = new wxPyUserData(clientData);
2990 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2991 shortHelp, longHelp, udata);
2992 }
0085ce49 2993SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d14a1e28
RD
2994 wxPyUserData* udata = NULL;
2995 if (clientData && clientData != Py_None)
2996 udata = new wxPyUserData(clientData);
2997 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2998 shortHelp, longHelp, udata);
2999 }
0085ce49 3000SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d14a1e28
RD
3001 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3002 if (udata) {
3003 Py_INCREF(udata->m_obj);
3004 return udata->m_obj;
3005 } else {
3006 Py_INCREF(Py_None);
3007 return Py_None;
3008 }
3009 }
0085ce49 3010SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d14a1e28
RD
3011 self->SetToolClientData(id, new wxPyUserData(clientData));
3012 }
3013
3014#include <wx/listctrl.h>
3015
7557b9b5 3016 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
0085ce49 3017SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d14a1e28
RD
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3020 int retval = 0;
3021 PyObject* func = (PyObject*)funcPtr;
5a446332 3022 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3023
3024 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3025 PyObject* result = PyEval_CallObject(func, args);
3026 Py_DECREF(args);
3027 if (result) {
3028 retval = PyInt_AsLong(result);
3029 Py_DECREF(result);
3030 }
3031
4f89f6a3 3032 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3033 return retval;
3034 }
3035
3036 // C++ Version of a Python aware class
3037class wxPyListCtrl : public wxListCtrl {
32fe5131 3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d14a1e28
RD
3039public:
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3042 const wxPoint& pos,
3043 const wxSize& size,
3044 long style,
3045 const wxValidator& validator,
3046 const wxString& name) :
3047 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3048
3049 bool Create(wxWindow* parent, wxWindowID id,
3050 const wxPoint& pos,
3051 const wxSize& size,
3052 long style,
3053 const wxValidator& validator,
3054 const wxString& name) {
3055 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3056 }
3057
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d14a1e28
RD
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3060
84f85550
RD
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3064
d14a1e28
RD
3065 PYPRIVATE;
3066};
3067
3068IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3069
3070IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 3071IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3072IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
c25f90f6 3073IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
7e08d4ef 3074
d14a1e28 3075
0085ce49 3076SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d14a1e28
RD
3077 wxListItem item;
3078 item.SetMask( wxLIST_MASK_STATE |
3079 wxLIST_MASK_TEXT |
3080 wxLIST_MASK_IMAGE |
3081 wxLIST_MASK_DATA |
3082 wxLIST_SET_ITEM |
3083 wxLIST_MASK_WIDTH |
3084 wxLIST_MASK_FORMAT
3085 );
3086 if (self->GetColumn(col, item))
3087 return new wxListItem(item);
3088 else
3089 return NULL;
3090 }
0085ce49 3091SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d14a1e28
RD
3092 wxListItem* info = new wxListItem;
3093 info->m_itemId = itemId;
3094 info->m_col = col;
3095 info->m_mask = 0xFFFF;
3096 self->GetItem(*info);
3097 return info;
3098 }
0085ce49 3099SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d14a1e28
RD
3100 wxPoint pos;
3101 self->GetItemPosition(item, pos);
3102 return pos;
3103 }
0085ce49 3104SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d14a1e28
RD
3105 wxRect rect;
3106 self->GetItemRect(item, rect, code);
3107 return rect;
3108 }
0085ce49 3109SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d14a1e28 3110 if (!PyCallable_Check(func))
ae8162c8 3111 return false;
d14a1e28
RD
3112 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3113 }
0085ce49 3114SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d14a1e28
RD
3115
3116
3117
3118 return (wxWindow*)self->m_mainWin;
3119
3120 }
3121
3122#include <wx/treectrl.h>
3123#include "wx/wxPython/pytree.h"
d14a1e28 3124
33b885b9 3125 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
0085ce49
RD
3126SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3127SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3128SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
b02396e8
RD
3129
3130 static wxTreeItemId wxNullTreeItemId;
3131
d14a1e28
RD
3132 // C++ version of Python aware wxTreeCtrl
3133class wxPyTreeCtrl : public wxTreeCtrl {
32fe5131 3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d14a1e28
RD
3135public:
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3138 const wxPoint& pos,
3139 const wxSize& size,
3140 long style,
3141 const wxValidator& validator,
3142 const wxString& name) :
3143 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3144
3145 bool Create(wxWindow *parent, wxWindowID id,
3146 const wxPoint& pos,
3147 const wxSize& size,
3148 long style,
3149 const wxValidator& validator,
3150 const wxString& name) {
3151 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3152 }
3153
3154
3155 int OnCompareItems(const wxTreeItemId& item1,
3156 const wxTreeItemId& item2) {
3157 int rval = 0;
3158 bool found;
5a446332 3159 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3160 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3161 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3162 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d14a1e28
RD
3163 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3164 Py_DECREF(o1);
3165 Py_DECREF(o2);
3166 }
4f89f6a3 3167 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3168 if (! found)
3169 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3170 return rval;
3171 }
3172 PYPRIVATE;
3173};
3174
3175IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3176
3177
0085ce49 3178SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
3179 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3180 if (data == NULL) {
3181 data = new wxPyTreeItemData();
3182 data->SetId(item); // set the id
3183 self->SetItemData(item, data);
3184 }
3185 return data;
3186 }
0085ce49 3187SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
3188 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3189 if (data == NULL) {
3190 data = new wxPyTreeItemData();
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 }
3194 return data->GetData();
3195 }
0085ce49 3196SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d14a1e28
RD
3197 data->SetId(item); // set the id
3198 self->SetItemData(item, data);
3199 }
0085ce49 3200SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d14a1e28
RD
3201 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3202 if (data == NULL) {
3203 data = new wxPyTreeItemData(obj);
3204 data->SetId(item); // set the id
3205 self->SetItemData(item, data);
3206 } else
3207 data->SetData(obj);
3208 }
0085ce49 3209SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3211 PyObject* rval = PyList_New(0);
3212 wxArrayTreeItemIds array;
3213 size_t num, x;
3214 num = self->GetSelections(array);
3215 for (x=0; x < num; x++) {
3216 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3217 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d14a1e28 3218 PyList_Append(rval, item);
1a10c483 3219 Py_DECREF(item);
d14a1e28 3220 }
4f89f6a3 3221 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3222 return rval;
3223 }
0085ce49 3224SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
3225 void* cookie = 0;
3226 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3227 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3228 PyObject* tup = PyTuple_New(2);
ae8162c8 3229 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 3230 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3231 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3232 return tup;
3233 }
0085ce49 3234SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
58203fa6 3235 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3236 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3237 PyObject* tup = PyTuple_New(2);
ae8162c8 3238 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 3239 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3240 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3241 return tup;
3242 }
0085ce49 3243SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d14a1e28
RD
3244 wxRect rect;
3245 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3246 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3247 wxRect* r = new wxRect(rect);
ae8162c8 3248 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 3249 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3250 return val;
3251 }
3252 else
3253 RETURN_NONE();
3254 }
b2dc1044 3255 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3256
32fe5131 3257SWIGINTERNINLINE PyObject*
0085ce49 3258 SWIG_From_bool (bool value)
c32bde28 3259{
0085ce49 3260 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3261}
3262
d14a1e28
RD
3263 // C++ version of Python aware wxControl
3264class wxPyControl : public wxControl
3265{
3266 DECLARE_DYNAMIC_CLASS(wxPyControl)
3267public:
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxValidator& validator=wxDefaultValidator,
3274 const wxString& name = wxPyControlNameStr)
3275 : wxControl(parent, id, pos, size, style, validator, name) {}
3276
3277
976dbff5
RD
3278 bool DoEraseBackground(wxDC* dc) {
3279#ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281#else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285#endif
3286 }
3287
d14a1e28
RD
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
db3e571a 3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3314
51b83b37
RD
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
8d38bd1d
RD
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
d14a1e28
RD
3319 PYPRIVATE;
3320};
3321
3322IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3323
3324IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3325IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3326IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3327IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3328
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3331IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3332
3333IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3334IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3335
3336IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3337IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3338IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3339IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3340
3341IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3342IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3343IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3344
3345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3346IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3347
db3e571a 3348IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
db3e571a 3349IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28 3350
51b83b37 3351IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3352
3353IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3354
d14a1e28
RD
3355
3356
0085ce49 3357SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
3358
3359#include <wx/generic/dragimgg.h>
3360
53aa7709 3361 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
0085ce49 3362SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3363 wxDateTime rv;
3364 self->GetRange(&rv, NULL);
3365 return rv;
3366 }
0085ce49 3367SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3368 wxDateTime rv;
3369 self->GetRange(NULL, &rv);
3370 return rv;
3371 }
704eda0c 3372 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3373 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3374 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3375 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3376 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3377 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3378 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3379 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
5172800e 3380 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3f7f284d 3381 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
62358578
RD
3382
3383#if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384// define a dummy class for builds that don't have wxSearchCtrl
3385
3386enum {
4ed51f4d
RD
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
62358578
RD
3389};
3390
3391class wxSearchCtrl : public wxTextCtrl
3392{
3393public:
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow*, wxWindowID,
3396 const wxString&,
3397 const wxPoint&,
3398 const wxSize&,
3399 long style,
3400 const wxValidator&,
3401 const wxString& name)
3402 { wxPyRaiseNotImplemented(); }
3403
3404 bool Create( wxWindow*, wxWindowID,
3405 const wxString&,
3406 const wxPoint&,
3407 const wxSize&,
3408 long style,
3409 const wxValidator&,
3410 const wxString& name) {}
3411
3412 virtual void SetMenu( wxMenu* ) {}
3413 virtual wxMenu* GetMenu() { return NULL; }
3414
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3419
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
6646ca90
RD
3422
3423 virtual void SetDescriptiveText(const wxString& text);
3424 virtual wxString GetDescriptiveText() const;
62358578
RD
3425};
3426#endif
3427
d14a1e28
RD
3428#ifdef __cplusplus
3429extern "C" {
3430#endif
0085ce49
RD
3431SWIGINTERN int ButtonNameStr_set(PyObject *) {
3432 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3433 return 1;
b2dc1044
RD
3434}
3435
3436
0085ce49
RD
3437SWIGINTERN PyObject *ButtonNameStr_get(void) {
3438 PyObject *pyobj = 0;
3439
3440 {
b2dc1044 3441#if wxUSE_UNICODE
0085ce49 3442 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
b2dc1044 3443#else
0085ce49 3444 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
b2dc1044 3445#endif
0085ce49
RD
3446 }
3447 return pyobj;
3448}
3449
3450
3451SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj = 0;
3453 wxWindow *arg1 = (wxWindow *) 0 ;
3454 int arg2 = (int) -1 ;
3455 wxString const &arg3_defvalue = wxPyEmptyString ;
3456 wxString *arg3 = (wxString *) &arg3_defvalue ;
3457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3459 wxSize const &arg5_defvalue = wxDefaultSize ;
3460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3461 long arg6 = (long) 0 ;
3462 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3463 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3464 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3465 wxString *arg8 = (wxString *) &arg8_defvalue ;
3466 wxButton *result = 0 ;
3467 void *argp1 = 0 ;
3468 int res1 = 0 ;
3469 int val2 ;
3470 int ecode2 = 0 ;
3471 bool temp3 = false ;
3472 wxPoint temp4 ;
3473 wxSize temp5 ;
3474 long val6 ;
3475 int ecode6 = 0 ;
3476 void *argp7 = 0 ;
3477 int res7 = 0 ;
3478 bool temp8 = false ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 PyObject * obj2 = 0 ;
3482 PyObject * obj3 = 0 ;
3483 PyObject * obj4 = 0 ;
3484 PyObject * obj5 = 0 ;
3485 PyObject * obj6 = 0 ;
3486 PyObject * obj7 = 0 ;
3487 char * kwnames[] = {
3488 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3489 };
3490
3491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3495 }
3496 arg1 = reinterpret_cast< wxWindow * >(argp1);
3497 if (obj1) {
3498 ecode2 = SWIG_AsVal_int(obj1, &val2);
3499 if (!SWIG_IsOK(ecode2)) {
3500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3501 }
3502 arg2 = static_cast< int >(val2);
3503 }
3504 if (obj2) {
d14a1e28 3505 {
0085ce49
RD
3506 arg3 = wxString_in_helper(obj2);
3507 if (arg3 == NULL) SWIG_fail;
3508 temp3 = true;
d14a1e28 3509 }
0085ce49
RD
3510 }
3511 if (obj3) {
d14a1e28 3512 {
0085ce49
RD
3513 arg4 = &temp4;
3514 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3515 }
0085ce49
RD
3516 }
3517 if (obj4) {
d14a1e28 3518 {
0085ce49
RD
3519 arg5 = &temp5;
3520 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3521 }
0085ce49
RD
3522 }
3523 if (obj5) {
3524 ecode6 = SWIG_AsVal_long(obj5, &val6);
3525 if (!SWIG_IsOK(ecode6)) {
3526 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3527 }
3528 arg6 = static_cast< long >(val6);
3529 }
3530 if (obj6) {
3531 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3532 if (!SWIG_IsOK(res7)) {
3533 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 3534 }
0085ce49
RD
3535 if (!argp7) {
3536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 3537 }
0085ce49
RD
3538 arg7 = reinterpret_cast< wxValidator * >(argp7);
3539 }
3540 if (obj7) {
d14a1e28 3541 {
0085ce49
RD
3542 arg8 = wxString_in_helper(obj7);
3543 if (arg8 == NULL) SWIG_fail;
3544 temp8 = true;
d14a1e28 3545 }
0085ce49
RD
3546 }
3547 {
3548 if (!wxPyCheckForApp()) SWIG_fail;
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3555 {
3556 if (temp3)
3557 delete arg3;
3558 }
3559 {
3560 if (temp8)
3561 delete arg8;
3562 }
3563 return resultobj;
3564fail:
3565 {
3566 if (temp3)
3567 delete arg3;
3568 }
3569 {
3570 if (temp8)
3571 delete arg8;
3572 }
3573 return NULL;
d14a1e28
RD
3574}
3575
3576
0085ce49
RD
3577SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3578 PyObject *resultobj = 0;
3579 wxButton *result = 0 ;
3580
3581 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3582 {
3583 if (!wxPyCheckForApp()) SWIG_fail;
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (wxButton *)new wxButton();
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3590 return resultobj;
3591fail:
3592 return NULL;
3593}
3594
3595
3596SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj = 0;
3598 wxButton *arg1 = (wxButton *) 0 ;
3599 wxWindow *arg2 = (wxWindow *) 0 ;
3600 int arg3 = (int) -1 ;
3601 wxString const &arg4_defvalue = wxPyEmptyString ;
3602 wxString *arg4 = (wxString *) &arg4_defvalue ;
3603 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3604 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3605 wxSize const &arg6_defvalue = wxDefaultSize ;
3606 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3607 long arg7 = (long) 0 ;
3608 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3609 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3610 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3611 wxString *arg9 = (wxString *) &arg9_defvalue ;
3612 bool result;
3613 void *argp1 = 0 ;
3614 int res1 = 0 ;
3615 void *argp2 = 0 ;
3616 int res2 = 0 ;
3617 int val3 ;
3618 int ecode3 = 0 ;
3619 bool temp4 = false ;
3620 wxPoint temp5 ;
3621 wxSize temp6 ;
3622 long val7 ;
3623 int ecode7 = 0 ;
3624 void *argp8 = 0 ;
3625 int res8 = 0 ;
3626 bool temp9 = false ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 PyObject * obj2 = 0 ;
3630 PyObject * obj3 = 0 ;
3631 PyObject * obj4 = 0 ;
3632 PyObject * obj5 = 0 ;
3633 PyObject * obj6 = 0 ;
3634 PyObject * obj7 = 0 ;
3635 PyObject * obj8 = 0 ;
3636 char * kwnames[] = {
3637 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3638 };
3639
3640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3642 if (!SWIG_IsOK(res1)) {
3643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3644 }
3645 arg1 = reinterpret_cast< wxButton * >(argp1);
3646 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3647 if (!SWIG_IsOK(res2)) {
3648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3649 }
3650 arg2 = reinterpret_cast< wxWindow * >(argp2);
3651 if (obj2) {
3652 ecode3 = SWIG_AsVal_int(obj2, &val3);
3653 if (!SWIG_IsOK(ecode3)) {
3654 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3655 }
3656 arg3 = static_cast< int >(val3);
3657 }
3658 if (obj3) {
d14a1e28 3659 {
0085ce49
RD
3660 arg4 = wxString_in_helper(obj3);
3661 if (arg4 == NULL) SWIG_fail;
3662 temp4 = true;
d14a1e28 3663 }
0085ce49
RD
3664 }
3665 if (obj4) {
4f89f6a3 3666 {
0085ce49
RD
3667 arg5 = &temp5;
3668 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 3669 }
0085ce49
RD
3670 }
3671 if (obj5) {
d14a1e28 3672 {
0085ce49
RD
3673 arg6 = &temp6;
3674 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 3675 }
0085ce49
RD
3676 }
3677 if (obj6) {
3678 ecode7 = SWIG_AsVal_long(obj6, &val7);
3679 if (!SWIG_IsOK(ecode7)) {
3680 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3681 }
3682 arg7 = static_cast< long >(val7);
3683 }
3684 if (obj7) {
3685 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3686 if (!SWIG_IsOK(res8)) {
3687 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 3688 }
0085ce49
RD
3689 if (!argp8) {
3690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 3691 }
0085ce49
RD
3692 arg8 = reinterpret_cast< wxValidator * >(argp8);
3693 }
3694 if (obj8) {
d14a1e28 3695 {
0085ce49
RD
3696 arg9 = wxString_in_helper(obj8);
3697 if (arg9 == NULL) SWIG_fail;
3698 temp9 = true;
d14a1e28 3699 }
0085ce49
RD
3700 }
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 {
3708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3709 }
3710 {
3711 if (temp4)
3712 delete arg4;
3713 }
3714 {
3715 if (temp9)
3716 delete arg9;
3717 }
3718 return resultobj;
3719fail:
3720 {
3721 if (temp4)
3722 delete arg4;
3723 }
3724 {
3725 if (temp9)
3726 delete arg9;
3727 }
3728 return NULL;
d14a1e28
RD
3729}
3730
3731
0085ce49
RD
3732SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3733 PyObject *resultobj = 0;
3734 wxButton *arg1 = (wxButton *) 0 ;
3735 void *argp1 = 0 ;
3736 int res1 = 0 ;
3737 PyObject *swig_obj[1] ;
3738
3739 if (!args) SWIG_fail;
3740 swig_obj[0] = args;
3741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3742 if (!SWIG_IsOK(res1)) {
3743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3744 }
3745 arg1 = reinterpret_cast< wxButton * >(argp1);
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 (arg1)->SetDefault();
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 resultobj = SWIG_Py_Void();
3753 return resultobj;
3754fail:
3755 return NULL;
d14a1e28
RD
3756}
3757
3758
0085ce49
RD
3759SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3760 PyObject *resultobj = 0;
3761 wxSize result;
3762
3763 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = wxButton::GetDefaultSize();
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3771 return resultobj;
3772fail:
3773 return NULL;
3774}
3775
3776
3777SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3778 PyObject *resultobj = 0;
3779 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3780 SwigValueWrapper<wxVisualAttributes > result;
3781 int val1 ;
3782 int ecode1 = 0 ;
3783 PyObject * obj0 = 0 ;
3784 char * kwnames[] = {
3785 (char *) "variant", NULL
3786 };
3787
3788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3789 if (obj0) {
3790 ecode1 = SWIG_AsVal_int(obj0, &val1);
3791 if (!SWIG_IsOK(ecode1)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3793 }
3794 arg1 = static_cast< wxWindowVariant >(val1);
3795 }
3796 {
3797 if (!wxPyCheckForApp()) SWIG_fail;
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = wxButton::GetClassDefaultAttributes(arg1);
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3804 return resultobj;
3805fail:
3806 return NULL;
3807}
3808
3809
3810SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3811 PyObject *obj;
3812 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3813 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3814 return SWIG_Py_Void();
3815}
3816
3817SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3818 return SWIG_Python_InitShadowInstance(args);
3819}
3820
3821SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj = 0;
3823 wxWindow *arg1 = (wxWindow *) 0 ;
3824 int arg2 = (int) -1 ;
3825 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3826 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3829 wxSize const &arg5_defvalue = wxDefaultSize ;
3830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3831 long arg6 = (long) wxBU_AUTODRAW ;
3832 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3833 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3834 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3835 wxString *arg8 = (wxString *) &arg8_defvalue ;
3836 wxBitmapButton *result = 0 ;
3837 void *argp1 = 0 ;
3838 int res1 = 0 ;
3839 int val2 ;
3840 int ecode2 = 0 ;
3841 void *argp3 = 0 ;
3842 int res3 = 0 ;
3843 wxPoint temp4 ;
3844 wxSize temp5 ;
3845 long val6 ;
3846 int ecode6 = 0 ;
3847 void *argp7 = 0 ;
3848 int res7 = 0 ;
3849 bool temp8 = false ;
3850 PyObject * obj0 = 0 ;
3851 PyObject * obj1 = 0 ;
3852 PyObject * obj2 = 0 ;
3853 PyObject * obj3 = 0 ;
3854 PyObject * obj4 = 0 ;
3855 PyObject * obj5 = 0 ;
3856 PyObject * obj6 = 0 ;
3857 PyObject * obj7 = 0 ;
3858 char * kwnames[] = {
3859 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3860 };
3861
3862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3864 if (!SWIG_IsOK(res1)) {
3865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3866 }
3867 arg1 = reinterpret_cast< wxWindow * >(argp1);
3868 if (obj1) {
3869 ecode2 = SWIG_AsVal_int(obj1, &val2);
3870 if (!SWIG_IsOK(ecode2)) {
3871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3872 }
3873 arg2 = static_cast< int >(val2);
3874 }
3875 if (obj2) {
3876 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3877 if (!SWIG_IsOK(res3)) {
3878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3879 }
3880 if (!argp3) {
3881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3882 }
3883 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3884 }
3885 if (obj3) {
d14a1e28 3886 {
0085ce49
RD
3887 arg4 = &temp4;
3888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3889 }
0085ce49
RD
3890 }
3891 if (obj4) {
d14a1e28 3892 {
0085ce49
RD
3893 arg5 = &temp5;
3894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3895 }
0085ce49
RD
3896 }
3897 if (obj5) {
3898 ecode6 = SWIG_AsVal_long(obj5, &val6);
3899 if (!SWIG_IsOK(ecode6)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3901 }
3902 arg6 = static_cast< long >(val6);
3903 }
3904 if (obj6) {
3905 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3906 if (!SWIG_IsOK(res7)) {
3907 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
22bfe96c 3908 }
0085ce49
RD
3909 if (!argp7) {
3910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
22bfe96c 3911 }
0085ce49
RD
3912 arg7 = reinterpret_cast< wxValidator * >(argp7);
3913 }
3914 if (obj7) {
22bfe96c 3915 {
0085ce49
RD
3916 arg8 = wxString_in_helper(obj7);
3917 if (arg8 == NULL) SWIG_fail;
3918 temp8 = true;
22bfe96c 3919 }
0085ce49
RD
3920 }
3921 {
3922 if (!wxPyCheckForApp()) SWIG_fail;
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3929 {
3930 if (temp8)
3931 delete arg8;
3932 }
3933 return resultobj;
3934fail:
3935 {
3936 if (temp8)
3937 delete arg8;
3938 }
3939 return NULL;
22bfe96c
RD
3940}
3941
3942
0085ce49
RD
3943SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3944 PyObject *resultobj = 0;
3945 wxBitmapButton *result = 0 ;
3946
3947 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3948 {
3949 if (!wxPyCheckForApp()) SWIG_fail;
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (wxBitmapButton *)new wxBitmapButton();
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3956 return resultobj;
3957fail:
3958 return NULL;
3959}
3960
3961
3962SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3963 PyObject *resultobj = 0;
3964 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3965 wxWindow *arg2 = (wxWindow *) 0 ;
3966 int arg3 = (int) -1 ;
3967 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3968 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3969 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3970 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3971 wxSize const &arg6_defvalue = wxDefaultSize ;
3972 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3973 long arg7 = (long) wxBU_AUTODRAW ;
3974 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3975 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3976 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3977 wxString *arg9 = (wxString *) &arg9_defvalue ;
3978 bool result;
3979 void *argp1 = 0 ;
3980 int res1 = 0 ;
3981 void *argp2 = 0 ;
3982 int res2 = 0 ;
3983 int val3 ;
3984 int ecode3 = 0 ;
3985 void *argp4 = 0 ;
3986 int res4 = 0 ;
3987 wxPoint temp5 ;
3988 wxSize temp6 ;
3989 long val7 ;
3990 int ecode7 = 0 ;
3991 void *argp8 = 0 ;
3992 int res8 = 0 ;
3993 bool temp9 = false ;
3994 PyObject * obj0 = 0 ;
3995 PyObject * obj1 = 0 ;
3996 PyObject * obj2 = 0 ;
3997 PyObject * obj3 = 0 ;
3998 PyObject * obj4 = 0 ;
3999 PyObject * obj5 = 0 ;
4000 PyObject * obj6 = 0 ;
4001 PyObject * obj7 = 0 ;
4002 PyObject * obj8 = 0 ;
4003 char * kwnames[] = {
4004 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4005 };
4006
4007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4009 if (!SWIG_IsOK(res1)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4011 }
4012 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4014 if (!SWIG_IsOK(res2)) {
4015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4016 }
4017 arg2 = reinterpret_cast< wxWindow * >(argp2);
4018 if (obj2) {
4019 ecode3 = SWIG_AsVal_int(obj2, &val3);
4020 if (!SWIG_IsOK(ecode3)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4022 }
4023 arg3 = static_cast< int >(val3);
4024 }
4025 if (obj3) {
4026 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
4027 if (!SWIG_IsOK(res4)) {
4028 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d14a1e28 4029 }
0085ce49
RD
4030 if (!argp4) {
4031 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d14a1e28 4032 }
0085ce49
RD
4033 arg4 = reinterpret_cast< wxBitmap * >(argp4);
4034 }
4035 if (obj4) {
d14a1e28 4036 {
0085ce49
RD
4037 arg5 = &temp5;
4038 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4039 }
0085ce49
RD
4040 }
4041 if (obj5) {
d14a1e28 4042 {
0085ce49
RD
4043 arg6 = &temp6;
4044 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4045 }
4046 }
4047 if (obj6) {
4048 ecode7 = SWIG_AsVal_long(obj6, &val7);
4049 if (!SWIG_IsOK(ecode7)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4051 }
4052 arg7 = static_cast< long >(val7);
4053 }
4054 if (obj7) {
4055 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4056 if (!SWIG_IsOK(res8)) {
4057 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4058 }
4059 if (!argp8) {
4060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 4061 }
0085ce49
RD
4062 arg8 = reinterpret_cast< wxValidator * >(argp8);
4063 }
4064 if (obj8) {
d14a1e28 4065 {
0085ce49
RD
4066 arg9 = wxString_in_helper(obj8);
4067 if (arg9 == NULL) SWIG_fail;
4068 temp9 = true;
d14a1e28 4069 }
0085ce49
RD
4070 }
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 {
4078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4079 }
4080 {
4081 if (temp9)
4082 delete arg9;
4083 }
4084 return resultobj;
4085fail:
4086 {
4087 if (temp9)
4088 delete arg9;
4089 }
4090 return NULL;
d14a1e28
RD
4091}
4092
4093
0085ce49
RD
4094SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4095 PyObject *resultobj = 0;
4096 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4097 wxBitmap result;
4098 void *argp1 = 0 ;
4099 int res1 = 0 ;
4100 PyObject *swig_obj[1] ;
4101
4102 if (!args) SWIG_fail;
4103 swig_obj[0] = args;
4104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4105 if (!SWIG_IsOK(res1)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 }
4108 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 result = (arg1)->GetBitmapLabel();
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4116 return resultobj;
4117fail:
4118 return NULL;
d14a1e28
RD
4119}
4120
4121
0085ce49
RD
4122SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4123 PyObject *resultobj = 0;
4124 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4125 wxBitmap result;
4126 void *argp1 = 0 ;
4127 int res1 = 0 ;
4128 PyObject *swig_obj[1] ;
4129
4130 if (!args) SWIG_fail;
4131 swig_obj[0] = args;
4132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4133 if (!SWIG_IsOK(res1)) {
4134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 }
4136 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (arg1)->GetBitmapDisabled();
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4144 return resultobj;
4145fail:
4146 return NULL;
d14a1e28
RD
4147}
4148
4149
0085ce49
RD
4150SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4151 PyObject *resultobj = 0;
4152 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4153 wxBitmap result;
4154 void *argp1 = 0 ;
4155 int res1 = 0 ;
4156 PyObject *swig_obj[1] ;
4157
4158 if (!args) SWIG_fail;
4159 swig_obj[0] = args;
4160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4161 if (!SWIG_IsOK(res1)) {
4162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 }
4164 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 result = (arg1)->GetBitmapFocus();
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4172 return resultobj;
4173fail:
4174 return NULL;
d14a1e28
RD
4175}
4176
4177
0085ce49
RD
4178SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4179 PyObject *resultobj = 0;
4180 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4181 wxBitmap result;
4182 void *argp1 = 0 ;
4183 int res1 = 0 ;
4184 PyObject *swig_obj[1] ;
4185
4186 if (!args) SWIG_fail;
4187 swig_obj[0] = args;
4188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4189 if (!SWIG_IsOK(res1)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4191 }
4192 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 result = (arg1)->GetBitmapSelected();
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4200 return resultobj;
4201fail:
4202 return NULL;
d14a1e28
RD
4203}
4204
4205
0085ce49
RD
4206SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4207 PyObject *resultobj = 0;
4208 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4209 wxBitmap result;
4210 void *argp1 = 0 ;
4211 int res1 = 0 ;
4212 PyObject *swig_obj[1] ;
4213
4214 if (!args) SWIG_fail;
4215 swig_obj[0] = args;
4216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4217 if (!SWIG_IsOK(res1)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4219 }
4220 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 result = (arg1)->GetBitmapHover();
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4228 return resultobj;
4229fail:
4230 return NULL;
4231}
4232
4233
4234SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj = 0;
4236 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4237 wxBitmap *arg2 = 0 ;
4238 void *argp1 = 0 ;
4239 int res1 = 0 ;
4240 void *argp2 = 0 ;
4241 int res2 = 0 ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char * kwnames[] = {
4245 (char *) "self",(char *) "bitmap", NULL
4246 };
4247
4248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4250 if (!SWIG_IsOK(res1)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4252 }
4253 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4254 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4255 if (!SWIG_IsOK(res2)) {
4256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4257 }
4258 if (!argp2) {
4259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 }
4261 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 resultobj = SWIG_Py_Void();
4269 return resultobj;
4270fail:
4271 return NULL;
4272}
4273
4274
4275SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj = 0;
4277 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4278 wxBitmap *arg2 = 0 ;
4279 void *argp1 = 0 ;
4280 int res1 = 0 ;
4281 void *argp2 = 0 ;
4282 int res2 = 0 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 char * kwnames[] = {
4286 (char *) "self",(char *) "bitmap", NULL
4287 };
4288
4289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4291 if (!SWIG_IsOK(res1)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4293 }
4294 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4295 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4296 if (!SWIG_IsOK(res2)) {
4297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4298 }
4299 if (!argp2) {
4300 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 }
4302 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 resultobj = SWIG_Py_Void();
4310 return resultobj;
4311fail:
4312 return NULL;
4313}
4314
4315
4316SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj = 0;
4318 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4319 wxBitmap *arg2 = 0 ;
4320 void *argp1 = 0 ;
4321 int res1 = 0 ;
4322 void *argp2 = 0 ;
4323 int res2 = 0 ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4326 char * kwnames[] = {
4327 (char *) "self",(char *) "bitmap", NULL
4328 };
4329
4330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4332 if (!SWIG_IsOK(res1)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4334 }
4335 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4336 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4337 if (!SWIG_IsOK(res2)) {
4338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4339 }
4340 if (!argp2) {
4341 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 }
4343 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = SWIG_Py_Void();
4351 return resultobj;
4352fail:
4353 return NULL;
4354}
4355
4356
4357SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj = 0;
4359 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4360 wxBitmap *arg2 = 0 ;
4361 void *argp1 = 0 ;
4362 int res1 = 0 ;
4363 void *argp2 = 0 ;
4364 int res2 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "bitmap", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4375 }
4376 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4377 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4378 if (!SWIG_IsOK(res2)) {
4379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4380 }
4381 if (!argp2) {
4382 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4383 }
4384 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4391 resultobj = SWIG_Py_Void();
4392 return resultobj;
4393fail:
4394 return NULL;
4395}
4396
4397
4398SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj = 0;
4400 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4401 wxBitmap *arg2 = 0 ;
4402 void *argp1 = 0 ;
4403 int res1 = 0 ;
4404 void *argp2 = 0 ;
4405 int res2 = 0 ;
4406 PyObject * obj0 = 0 ;
4407 PyObject * obj1 = 0 ;
4408 char * kwnames[] = {
4409 (char *) "self",(char *) "hover", NULL
4410 };
4411
4412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4414 if (!SWIG_IsOK(res1)) {
4415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4416 }
4417 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4418 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4419 if (!SWIG_IsOK(res2)) {
4420 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4421 }
4422 if (!argp2) {
4423 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4424 }
4425 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_Py_Void();
4433 return resultobj;
4434fail:
4435 return NULL;
4436}
4437
4438
4439SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj = 0;
4441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4442 int arg2 ;
4443 int arg3 ;
4444 void *argp1 = 0 ;
4445 int res1 = 0 ;
4446 int val2 ;
4447 int ecode2 = 0 ;
4448 int val3 ;
4449 int ecode3 = 0 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 PyObject * obj2 = 0 ;
4453 char * kwnames[] = {
4454 (char *) "self",(char *) "x",(char *) "y", NULL
4455 };
4456
4457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4459 if (!SWIG_IsOK(res1)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4461 }
4462 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4463 ecode2 = SWIG_AsVal_int(obj1, &val2);
4464 if (!SWIG_IsOK(ecode2)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4466 }
4467 arg2 = static_cast< int >(val2);
4468 ecode3 = SWIG_AsVal_int(obj2, &val3);
4469 if (!SWIG_IsOK(ecode3)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4471 }
4472 arg3 = static_cast< int >(val3);
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 (arg1)->SetMargins(arg2,arg3);
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_Py_Void();
4480 return resultobj;
4481fail:
4482 return NULL;
d14a1e28
RD
4483}
4484
4485
0085ce49
RD
4486SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4487 PyObject *resultobj = 0;
4488 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4489 int result;
4490 void *argp1 = 0 ;
4491 int res1 = 0 ;
4492 PyObject *swig_obj[1] ;
4493
4494 if (!args) SWIG_fail;
4495 swig_obj[0] = args;
4496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4497 if (!SWIG_IsOK(res1)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4499 }
4500 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 resultobj = SWIG_From_int(static_cast< int >(result));
4508 return resultobj;
4509fail:
4510 return NULL;
d14a1e28
RD
4511}
4512
4513
0085ce49
RD
4514SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4515 PyObject *resultobj = 0;
4516 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4517 int result;
4518 void *argp1 = 0 ;
4519 int res1 = 0 ;
4520 PyObject *swig_obj[1] ;
4521
4522 if (!args) SWIG_fail;
4523 swig_obj[0] = args;
4524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4525 if (!SWIG_IsOK(res1)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4527 }
4528 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_From_int(static_cast< int >(result));
4536 return resultobj;
4537fail:
4538 return NULL;
b1fcee84
RD
4539}
4540
4541
0085ce49
RD
4542SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4543 PyObject *obj;
4544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4545 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4546 return SWIG_Py_Void();
d14a1e28
RD
4547}
4548
0085ce49
RD
4549SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4550 return SWIG_Python_InitShadowInstance(args);
4551}
d14a1e28 4552
0085ce49
RD
4553SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4554 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4555 return 1;
d14a1e28
RD
4556}
4557
4558
0085ce49
RD
4559SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4560 PyObject *pyobj = 0;
4561
4562 {
4563#if wxUSE_UNICODE
4564 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4565#else
4566 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4567#endif
4568 }
4569 return pyobj;
4570}
4571
4572
4573SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxWindow *arg1 = (wxWindow *) 0 ;
4576 int arg2 = (int) -1 ;
4577 wxString const &arg3_defvalue = wxPyEmptyString ;
4578 wxString *arg3 = (wxString *) &arg3_defvalue ;
4579 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4580 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4581 wxSize const &arg5_defvalue = wxDefaultSize ;
4582 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4583 long arg6 = (long) 0 ;
4584 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4585 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4586 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4587 wxString *arg8 = (wxString *) &arg8_defvalue ;
4588 wxCheckBox *result = 0 ;
4589 void *argp1 = 0 ;
4590 int res1 = 0 ;
4591 int val2 ;
4592 int ecode2 = 0 ;
4593 bool temp3 = false ;
4594 wxPoint temp4 ;
4595 wxSize temp5 ;
4596 long val6 ;
4597 int ecode6 = 0 ;
4598 void *argp7 = 0 ;
4599 int res7 = 0 ;
4600 bool temp8 = false ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 PyObject * obj3 = 0 ;
4605 PyObject * obj4 = 0 ;
4606 PyObject * obj5 = 0 ;
4607 PyObject * obj6 = 0 ;
4608 PyObject * obj7 = 0 ;
4609 char * kwnames[] = {
4610 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4611 };
4612
4613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4615 if (!SWIG_IsOK(res1)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4617 }
4618 arg1 = reinterpret_cast< wxWindow * >(argp1);
4619 if (obj1) {
4620 ecode2 = SWIG_AsVal_int(obj1, &val2);
4621 if (!SWIG_IsOK(ecode2)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4623 }
4624 arg2 = static_cast< int >(val2);
4625 }
4626 if (obj2) {
d14a1e28 4627 {
0085ce49
RD
4628 arg3 = wxString_in_helper(obj2);
4629 if (arg3 == NULL) SWIG_fail;
4630 temp3 = true;
d14a1e28 4631 }
0085ce49
RD
4632 }
4633 if (obj3) {
4634 {
4635 arg4 = &temp4;
4636 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 4637 }
0085ce49
RD
4638 }
4639 if (obj4) {
d14a1e28 4640 {
0085ce49
RD
4641 arg5 = &temp5;
4642 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4643 }
0085ce49
RD
4644 }
4645 if (obj5) {
4646 ecode6 = SWIG_AsVal_long(obj5, &val6);
4647 if (!SWIG_IsOK(ecode6)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4649 }
4650 arg6 = static_cast< long >(val6);
4651 }
4652 if (obj6) {
4653 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4654 if (!SWIG_IsOK(res7)) {
4655 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4656 }
0085ce49
RD
4657 if (!argp7) {
4658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4659 }
4660 arg7 = reinterpret_cast< wxValidator * >(argp7);
4661 }
4662 if (obj7) {
b1fcee84 4663 {
0085ce49
RD
4664 arg8 = wxString_in_helper(obj7);
4665 if (arg8 == NULL) SWIG_fail;
4666 temp8 = true;
b1fcee84 4667 }
0085ce49
RD
4668 }
4669 {
4670 if (!wxPyCheckForApp()) SWIG_fail;
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4677 {
4678 if (temp3)
4679 delete arg3;
4680 }
4681 {
4682 if (temp8)
4683 delete arg8;
4684 }
4685 return resultobj;
4686fail:
4687 {
4688 if (temp3)
4689 delete arg3;
4690 }
4691 {
4692 if (temp8)
4693 delete arg8;
4694 }
4695 return NULL;
b1fcee84
RD
4696}
4697
4698
0085ce49
RD
4699SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4700 PyObject *resultobj = 0;
4701 wxCheckBox *result = 0 ;
4702
4703 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4704 {
4705 if (!wxPyCheckForApp()) SWIG_fail;
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (wxCheckBox *)new wxCheckBox();
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4712 return resultobj;
4713fail:
4714 return NULL;
4715}
4716
4717
4718SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj = 0;
4720 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4721 wxWindow *arg2 = (wxWindow *) 0 ;
4722 int arg3 = (int) -1 ;
4723 wxString const &arg4_defvalue = wxPyEmptyString ;
4724 wxString *arg4 = (wxString *) &arg4_defvalue ;
4725 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4726 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4727 wxSize const &arg6_defvalue = wxDefaultSize ;
4728 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4729 long arg7 = (long) 0 ;
4730 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4731 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4732 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4733 wxString *arg9 = (wxString *) &arg9_defvalue ;
4734 bool result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 void *argp2 = 0 ;
4738 int res2 = 0 ;
4739 int val3 ;
4740 int ecode3 = 0 ;
4741 bool temp4 = false ;
4742 wxPoint temp5 ;
4743 wxSize temp6 ;
4744 long val7 ;
4745 int ecode7 = 0 ;
4746 void *argp8 = 0 ;
4747 int res8 = 0 ;
4748 bool temp9 = false ;
4749 PyObject * obj0 = 0 ;
4750 PyObject * obj1 = 0 ;
4751 PyObject * obj2 = 0 ;
4752 PyObject * obj3 = 0 ;
4753 PyObject * obj4 = 0 ;
4754 PyObject * obj5 = 0 ;
4755 PyObject * obj6 = 0 ;
4756 PyObject * obj7 = 0 ;
4757 PyObject * obj8 = 0 ;
4758 char * kwnames[] = {
4759 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4760 };
4761
4762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4764 if (!SWIG_IsOK(res1)) {
4765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4766 }
4767 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4769 if (!SWIG_IsOK(res2)) {
4770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4771 }
4772 arg2 = reinterpret_cast< wxWindow * >(argp2);
4773 if (obj2) {
4774 ecode3 = SWIG_AsVal_int(obj2, &val3);
4775 if (!SWIG_IsOK(ecode3)) {
4776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4777 }
4778 arg3 = static_cast< int >(val3);
4779 }
4780 if (obj3) {
093d3ff1 4781 {
0085ce49
RD
4782 arg4 = wxString_in_helper(obj3);
4783 if (arg4 == NULL) SWIG_fail;
4784 temp4 = true;
093d3ff1 4785 }
0085ce49
RD
4786 }
4787 if (obj4) {
093d3ff1 4788 {
0085ce49
RD
4789 arg5 = &temp5;
4790 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4791 }
0085ce49
RD
4792 }
4793 if (obj5) {
d14a1e28 4794 {
0085ce49
RD
4795 arg6 = &temp6;
4796 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 4797 }
0085ce49
RD
4798 }
4799 if (obj6) {
4800 ecode7 = SWIG_AsVal_long(obj6, &val7);
4801 if (!SWIG_IsOK(ecode7)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4803 }
4804 arg7 = static_cast< long >(val7);
4805 }
4806 if (obj7) {
4807 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4808 if (!SWIG_IsOK(res8)) {
4809 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 4810 }
0085ce49
RD
4811 if (!argp8) {
4812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4813 }
4814 arg8 = reinterpret_cast< wxValidator * >(argp8);
4815 }
4816 if (obj8) {
093d3ff1 4817 {
0085ce49
RD
4818 arg9 = wxString_in_helper(obj8);
4819 if (arg9 == NULL) SWIG_fail;
4820 temp9 = true;
093d3ff1 4821 }
0085ce49
RD
4822 }
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 {
4830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4831 }
4832 {
4833 if (temp4)
4834 delete arg4;
4835 }
4836 {
4837 if (temp9)
4838 delete arg9;
4839 }
4840 return resultobj;
4841fail:
4842 {
4843 if (temp4)
4844 delete arg4;
4845 }
4846 {
4847 if (temp9)
4848 delete arg9;
4849 }
4850 return NULL;
d14a1e28
RD
4851}
4852
4853
0085ce49
RD
4854SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4855 PyObject *resultobj = 0;
4856 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4857 bool result;
4858 void *argp1 = 0 ;
4859 int res1 = 0 ;
4860 PyObject *swig_obj[1] ;
4861
4862 if (!args) SWIG_fail;
4863 swig_obj[0] = args;
4864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4865 if (!SWIG_IsOK(res1)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4867 }
4868 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (bool)(arg1)->GetValue();
4872 wxPyEndAllowThreads(__tstate);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 {
4876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4877 }
4878 return resultobj;
4879fail:
4880 return NULL;
d14a1e28
RD
4881}
4882
4883
0085ce49
RD
4884SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4885 PyObject *resultobj = 0;
4886 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4887 bool result;
4888 void *argp1 = 0 ;
4889 int res1 = 0 ;
4890 PyObject *swig_obj[1] ;
4891
4892 if (!args) SWIG_fail;
4893 swig_obj[0] = args;
4894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4895 if (!SWIG_IsOK(res1)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4897 }
4898 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 result = (bool)(arg1)->IsChecked();
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 {
4906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4907 }
4908 return resultobj;
4909fail:
4910 return NULL;
4911}
4912
4913
4914SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4915 PyObject *resultobj = 0;
4916 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4917 bool arg2 ;
4918 void *argp1 = 0 ;
4919 int res1 = 0 ;
4920 bool val2 ;
4921 int ecode2 = 0 ;
4922 PyObject * obj0 = 0 ;
4923 PyObject * obj1 = 0 ;
4924 char * kwnames[] = {
4925 (char *) "self",(char *) "state", NULL
4926 };
4927
4928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4930 if (!SWIG_IsOK(res1)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4932 }
4933 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4934 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4935 if (!SWIG_IsOK(ecode2)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4937 }
4938 arg2 = static_cast< bool >(val2);
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 (arg1)->SetValue(arg2);
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 resultobj = SWIG_Py_Void();
4946 return resultobj;
4947fail:
4948 return NULL;
d14a1e28 4949}
0085ce49
RD
4950
4951
4952SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4953 PyObject *resultobj = 0;
4954 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4955 wxCheckBoxState result;
4956 void *argp1 = 0 ;
4957 int res1 = 0 ;
4958 PyObject *swig_obj[1] ;
4959
4960 if (!args) SWIG_fail;
4961 swig_obj[0] = args;
4962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4963 if (!SWIG_IsOK(res1)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4965 }
4966 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 resultobj = SWIG_From_int(static_cast< int >(result));
4974 return resultobj;
4975fail:
4976 return NULL;
4977}
4978
4979
4980SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4981 PyObject *resultobj = 0;
4982 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4983 wxCheckBoxState arg2 ;
4984 void *argp1 = 0 ;
4985 int res1 = 0 ;
4986 int val2 ;
4987 int ecode2 = 0 ;
4988 PyObject * obj0 = 0 ;
4989 PyObject * obj1 = 0 ;
4990 char * kwnames[] = {
4991 (char *) "self",(char *) "state", NULL
4992 };
4993
4994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4996 if (!SWIG_IsOK(res1)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4998 }
4999 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5000 ecode2 = SWIG_AsVal_int(obj1, &val2);
5001 if (!SWIG_IsOK(ecode2)) {
5002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5003 }
5004 arg2 = static_cast< wxCheckBoxState >(val2);
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->Set3StateValue(arg2);
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = SWIG_Py_Void();
5012 return resultobj;
5013fail:
5014 return NULL;
b2dc1044
RD
5015}
5016
5017
0085ce49
RD
5018SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5019 PyObject *resultobj = 0;
5020 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5021 bool result;
5022 void *argp1 = 0 ;
5023 int res1 = 0 ;
5024 PyObject *swig_obj[1] ;
5025
5026 if (!args) SWIG_fail;
5027 swig_obj[0] = args;
5028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5029 if (!SWIG_IsOK(res1)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5031 }
5032 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 result = (bool)((wxCheckBox const *)arg1)->Is3State();
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 {
5040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5041 }
5042 return resultobj;
5043fail:
5044 return NULL;
d14a1e28
RD
5045}
5046
5047
0085ce49
RD
5048SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5049 PyObject *resultobj = 0;
5050 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5051 bool result;
5052 void *argp1 = 0 ;
5053 int res1 = 0 ;
5054 PyObject *swig_obj[1] ;
5055
5056 if (!args) SWIG_fail;
5057 swig_obj[0] = args;
5058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5059 if (!SWIG_IsOK(res1)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5061 }
5062 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 {
5070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5071 }
5072 return resultobj;
5073fail:
5074 return NULL;
d14a1e28
RD
5075}
5076
5077
0085ce49
RD
5078SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj = 0;
5080 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5081 SwigValueWrapper<wxVisualAttributes > result;
5082 int val1 ;
5083 int ecode1 = 0 ;
5084 PyObject * obj0 = 0 ;
5085 char * kwnames[] = {
5086 (char *) "variant", NULL
5087 };
5088
5089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5090 if (obj0) {
5091 ecode1 = SWIG_AsVal_int(obj0, &val1);
5092 if (!SWIG_IsOK(ecode1)) {
5093 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5094 }
5095 arg1 = static_cast< wxWindowVariant >(val1);
5096 }
5097 {
5098 if (!wxPyCheckForApp()) SWIG_fail;
5099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5100 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5105 return resultobj;
5106fail:
5107 return NULL;
d14a1e28
RD
5108}
5109
5110
0085ce49
RD
5111SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5112 PyObject *obj;
5113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5114 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5115 return SWIG_Py_Void();
d14a1e28
RD
5116}
5117
0085ce49
RD
5118SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5119 return SWIG_Python_InitShadowInstance(args);
5120}
d14a1e28 5121
0085ce49
RD
5122SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5123 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5124 return 1;
d14a1e28
RD
5125}
5126
5127
0085ce49
RD
5128SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5129 PyObject *pyobj = 0;
5130
5131 {
5132#if wxUSE_UNICODE
5133 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5134#else
5135 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5136#endif
5137 }
5138 return pyobj;
5139}
5140
5141
5142SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj = 0;
5144 wxWindow *arg1 = (wxWindow *) 0 ;
5145 int arg2 = (int) -1 ;
5146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5148 wxSize const &arg4_defvalue = wxDefaultSize ;
5149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5150 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5151 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5152 long arg6 = (long) 0 ;
5153 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5154 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5155 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5156 wxString *arg8 = (wxString *) &arg8_defvalue ;
5157 wxChoice *result = 0 ;
5158 void *argp1 = 0 ;
5159 int res1 = 0 ;
5160 int val2 ;
5161 int ecode2 = 0 ;
5162 wxPoint temp3 ;
5163 wxSize temp4 ;
5164 bool temp5 = false ;
5165 long val6 ;
5166 int ecode6 = 0 ;
5167 void *argp7 = 0 ;
5168 int res7 = 0 ;
5169 bool temp8 = false ;
5170 PyObject * obj0 = 0 ;
5171 PyObject * obj1 = 0 ;
5172 PyObject * obj2 = 0 ;
5173 PyObject * obj3 = 0 ;
5174 PyObject * obj4 = 0 ;
5175 PyObject * obj5 = 0 ;
5176 PyObject * obj6 = 0 ;
5177 PyObject * obj7 = 0 ;
5178 char * kwnames[] = {
5179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5180 };
5181
5182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5184 if (!SWIG_IsOK(res1)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5186 }
5187 arg1 = reinterpret_cast< wxWindow * >(argp1);
5188 if (obj1) {
5189 ecode2 = SWIG_AsVal_int(obj1, &val2);
5190 if (!SWIG_IsOK(ecode2)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5192 }
5193 arg2 = static_cast< int >(val2);
5194 }
5195 if (obj2) {
093d3ff1 5196 {
0085ce49
RD
5197 arg3 = &temp3;
5198 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5199 }
0085ce49
RD
5200 }
5201 if (obj3) {
d14a1e28 5202 {
0085ce49
RD
5203 arg4 = &temp4;
5204 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5205 }
0085ce49
RD
5206 }
5207 if (obj4) {
d14a1e28 5208 {
0085ce49
RD
5209 if (! PySequence_Check(obj4)) {
5210 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5211 SWIG_fail;
5212 }
5213 arg5 = new wxArrayString;
5214 temp5 = true;
5215 int i, len=PySequence_Length(obj4);
5216 for (i=0; i<len; i++) {
5217 PyObject* item = PySequence_GetItem(obj4, i);
5218 wxString* s = wxString_in_helper(item);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 arg5->Add(*s);
5221 delete s;
5222 Py_DECREF(item);
5223 }
d14a1e28 5224 }
0085ce49
RD
5225 }
5226 if (obj5) {
5227 ecode6 = SWIG_AsVal_long(obj5, &val6);
5228 if (!SWIG_IsOK(ecode6)) {
5229 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5230 }
5231 arg6 = static_cast< long >(val6);
5232 }
5233 if (obj6) {
5234 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5235 if (!SWIG_IsOK(res7)) {
5236 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5237 }
0085ce49
RD
5238 if (!argp7) {
5239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5240 }
5241 arg7 = reinterpret_cast< wxValidator * >(argp7);
5242 }
5243 if (obj7) {
d14a1e28 5244 {
0085ce49
RD
5245 arg8 = wxString_in_helper(obj7);
5246 if (arg8 == NULL) SWIG_fail;
5247 temp8 = true;
d14a1e28 5248 }
0085ce49
RD
5249 }
5250 {
5251 if (!wxPyCheckForApp()) SWIG_fail;
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5258 {
5259 if (temp5) delete arg5;
5260 }
5261 {
5262 if (temp8)
5263 delete arg8;
5264 }
5265 return resultobj;
5266fail:
5267 {
5268 if (temp5) delete arg5;
5269 }
5270 {
5271 if (temp8)
5272 delete arg8;
5273 }
5274 return NULL;
d14a1e28
RD
5275}
5276
5277
0085ce49
RD
5278SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5279 PyObject *resultobj = 0;
5280 wxChoice *result = 0 ;
5281
5282 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5283 {
5284 if (!wxPyCheckForApp()) SWIG_fail;
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (wxChoice *)new wxChoice();
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5291 return resultobj;
5292fail:
5293 return NULL;
5294}
5295
5296
5297SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj = 0;
5299 wxChoice *arg1 = (wxChoice *) 0 ;
5300 wxWindow *arg2 = (wxWindow *) 0 ;
5301 int arg3 = (int) -1 ;
5302 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5303 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5304 wxSize const &arg5_defvalue = wxDefaultSize ;
5305 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5306 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5307 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5308 long arg7 = (long) 0 ;
5309 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5310 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5311 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5312 wxString *arg9 = (wxString *) &arg9_defvalue ;
5313 bool result;
5314 void *argp1 = 0 ;
5315 int res1 = 0 ;
5316 void *argp2 = 0 ;
5317 int res2 = 0 ;
5318 int val3 ;
5319 int ecode3 = 0 ;
5320 wxPoint temp4 ;
5321 wxSize temp5 ;
5322 bool temp6 = false ;
5323 long val7 ;
5324 int ecode7 = 0 ;
5325 void *argp8 = 0 ;
5326 int res8 = 0 ;
5327 bool temp9 = false ;
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 PyObject * obj2 = 0 ;
5331 PyObject * obj3 = 0 ;
5332 PyObject * obj4 = 0 ;
5333 PyObject * obj5 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 PyObject * obj7 = 0 ;
5336 PyObject * obj8 = 0 ;
5337 char * kwnames[] = {
5338 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5339 };
5340
5341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5343 if (!SWIG_IsOK(res1)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5345 }
5346 arg1 = reinterpret_cast< wxChoice * >(argp1);
5347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5348 if (!SWIG_IsOK(res2)) {
5349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5350 }
5351 arg2 = reinterpret_cast< wxWindow * >(argp2);
5352 if (obj2) {
5353 ecode3 = SWIG_AsVal_int(obj2, &val3);
5354 if (!SWIG_IsOK(ecode3)) {
5355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5356 }
5357 arg3 = static_cast< int >(val3);
5358 }
5359 if (obj3) {
d14a1e28 5360 {
0085ce49
RD
5361 arg4 = &temp4;
5362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5363 }
0085ce49
RD
5364 }
5365 if (obj4) {
4f89f6a3 5366 {
0085ce49
RD
5367 arg5 = &temp5;
5368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 5369 }
0085ce49
RD
5370 }
5371 if (obj5) {
d14a1e28 5372 {
0085ce49
RD
5373 if (! PySequence_Check(obj5)) {
5374 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5375 SWIG_fail;
5376 }
5377 arg6 = new wxArrayString;
5378 temp6 = true;
5379 int i, len=PySequence_Length(obj5);
5380 for (i=0; i<len; i++) {
5381 PyObject* item = PySequence_GetItem(obj5, i);
5382 wxString* s = wxString_in_helper(item);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 arg6->Add(*s);
5385 delete s;
5386 Py_DECREF(item);
5387 }
5388 }
5389 }
5390 if (obj6) {
5391 ecode7 = SWIG_AsVal_long(obj6, &val7);
5392 if (!SWIG_IsOK(ecode7)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5394 }
5395 arg7 = static_cast< long >(val7);
5396 }
5397 if (obj7) {
5398 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5399 if (!SWIG_IsOK(res8)) {
5400 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 5401 }
0085ce49
RD
5402 if (!argp8) {
5403 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5404 }
5405 arg8 = reinterpret_cast< wxValidator * >(argp8);
5406 }
5407 if (obj8) {
4f89f6a3 5408 {
0085ce49
RD
5409 arg9 = wxString_in_helper(obj8);
5410 if (arg9 == NULL) SWIG_fail;
5411 temp9 = true;
4f89f6a3 5412 }
0085ce49
RD
5413 }
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 {
5421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5422 }
5423 {
5424 if (temp6) delete arg6;
5425 }
5426 {
5427 if (temp9)
5428 delete arg9;
5429 }
5430 return resultobj;
5431fail:
5432 {
5433 if (temp6) delete arg6;
5434 }
5435 {
5436 if (temp9)
5437 delete arg9;
5438 }
5439 return NULL;
d14a1e28
RD
5440}
5441
5442
0085ce49
RD
5443SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5444 PyObject *resultobj = 0;
5445 wxChoice *arg1 = (wxChoice *) 0 ;
5446 int result;
5447 void *argp1 = 0 ;
5448 int res1 = 0 ;
5449 PyObject *swig_obj[1] ;
5450
5451 if (!args) SWIG_fail;
5452 swig_obj[0] = args;
5453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5454 if (!SWIG_IsOK(res1)) {
5455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5456 }
5457 arg1 = reinterpret_cast< wxChoice * >(argp1);
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 resultobj = SWIG_From_int(static_cast< int >(result));
5465 return resultobj;
5466fail:
5467 return NULL;
5468}
5469
5470
5471SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj = 0;
5473 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5474 SwigValueWrapper<wxVisualAttributes > result;
5475 int val1 ;
5476 int ecode1 = 0 ;
5477 PyObject * obj0 = 0 ;
5478 char * kwnames[] = {
5479 (char *) "variant", NULL
5480 };
5481
5482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5483 if (obj0) {
5484 ecode1 = SWIG_AsVal_int(obj0, &val1);
5485 if (!SWIG_IsOK(ecode1)) {
5486 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5487 }
5488 arg1 = static_cast< wxWindowVariant >(val1);
5489 }
5490 {
5491 if (!wxPyCheckForApp()) SWIG_fail;
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = wxChoice::GetClassDefaultAttributes(arg1);
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5498 return resultobj;
5499fail:
5500 return NULL;
22bfe96c
RD
5501}
5502
5503
0085ce49
RD
5504SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5505 PyObject *obj;
5506 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5507 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5508 return SWIG_Py_Void();
d14a1e28 5509}
0085ce49
RD
5510
5511SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5512 return SWIG_Python_InitShadowInstance(args);
5513}
5514
5515SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5516 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5517 return 1;
b2dc1044
RD
5518}
5519
5520
0085ce49
RD
5521SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5522 PyObject *pyobj = 0;
5523
5524 {
b2dc1044 5525#if wxUSE_UNICODE
0085ce49 5526 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
b2dc1044 5527#else
0085ce49 5528 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
b2dc1044 5529#endif
0085ce49
RD
5530 }
5531 return pyobj;
5532}
5533
5534
5535SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5536 PyObject *resultobj = 0;
5537 wxWindow *arg1 = (wxWindow *) 0 ;
5538 int arg2 = (int) -1 ;
5539 wxString const &arg3_defvalue = wxPyEmptyString ;
5540 wxString *arg3 = (wxString *) &arg3_defvalue ;
5541 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5542 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5543 wxSize const &arg5_defvalue = wxDefaultSize ;
5544 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5545 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5546 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5547 long arg7 = (long) 0 ;
5548 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5549 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5550 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5551 wxString *arg9 = (wxString *) &arg9_defvalue ;
5552 wxComboBox *result = 0 ;
5553 void *argp1 = 0 ;
5554 int res1 = 0 ;
5555 int val2 ;
5556 int ecode2 = 0 ;
5557 bool temp3 = false ;
5558 wxPoint temp4 ;
5559 wxSize temp5 ;
5560 bool temp6 = false ;
5561 long val7 ;
5562 int ecode7 = 0 ;
5563 void *argp8 = 0 ;
5564 int res8 = 0 ;
5565 bool temp9 = false ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 PyObject * obj2 = 0 ;
5569 PyObject * obj3 = 0 ;
5570 PyObject * obj4 = 0 ;
5571 PyObject * obj5 = 0 ;
5572 PyObject * obj6 = 0 ;
5573 PyObject * obj7 = 0 ;
5574 PyObject * obj8 = 0 ;
5575 char * kwnames[] = {
5576 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5577 };
5578
5579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5581 if (!SWIG_IsOK(res1)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5583 }
5584 arg1 = reinterpret_cast< wxWindow * >(argp1);
5585 if (obj1) {
5586 ecode2 = SWIG_AsVal_int(obj1, &val2);
5587 if (!SWIG_IsOK(ecode2)) {
5588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5589 }
5590 arg2 = static_cast< int >(val2);
5591 }
5592 if (obj2) {
d14a1e28 5593 {
0085ce49
RD
5594 arg3 = wxString_in_helper(obj2);
5595 if (arg3 == NULL) SWIG_fail;
5596 temp3 = true;
d14a1e28 5597 }
0085ce49
RD
5598 }
5599 if (obj3) {
d14a1e28 5600 {
0085ce49
RD
5601 arg4 = &temp4;
5602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5603 }
0085ce49
RD
5604 }
5605 if (obj4) {
d14a1e28 5606 {
0085ce49
RD
5607 arg5 = &temp5;
5608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 5609 }
0085ce49
RD
5610 }
5611 if (obj5) {
d14a1e28 5612 {
0085ce49
RD
5613 if (! PySequence_Check(obj5)) {
5614 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5615 SWIG_fail;
5616 }
5617 arg6 = new wxArrayString;
5618 temp6 = true;
5619 int i, len=PySequence_Length(obj5);
5620 for (i=0; i<len; i++) {
5621 PyObject* item = PySequence_GetItem(obj5, i);
5622 wxString* s = wxString_in_helper(item);
5623 if (PyErr_Occurred()) SWIG_fail;
5624 arg6->Add(*s);
5625 delete s;
5626 Py_DECREF(item);
5627 }
d14a1e28 5628 }
0085ce49
RD
5629 }
5630 if (obj6) {
5631 ecode7 = SWIG_AsVal_long(obj6, &val7);
5632 if (!SWIG_IsOK(ecode7)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5634 }
5635 arg7 = static_cast< long >(val7);
5636 }
5637 if (obj7) {
5638 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5639 if (!SWIG_IsOK(res8)) {
5640 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5641 }
5642 if (!argp8) {
5643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5644 }
5645 arg8 = reinterpret_cast< wxValidator * >(argp8);
5646 }
5647 if (obj8) {
d14a1e28 5648 {
0085ce49
RD
5649 arg9 = wxString_in_helper(obj8);
5650 if (arg9 == NULL) SWIG_fail;
5651 temp9 = true;
d14a1e28 5652 }
0085ce49
RD
5653 }
5654 {
5655 if (!wxPyCheckForApp()) SWIG_fail;
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 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);
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5662 {
5663 if (temp3)
5664 delete arg3;
5665 }
5666 {
5667 if (temp6) delete arg6;
5668 }
5669 {
5670 if (temp9)
5671 delete arg9;
5672 }
5673 return resultobj;
5674fail:
5675 {
5676 if (temp3)
5677 delete arg3;
5678 }
5679 {
5680 if (temp6) delete arg6;
5681 }
5682 {
5683 if (temp9)
5684 delete arg9;
5685 }
5686 return NULL;
d14a1e28
RD
5687}
5688
5689
0085ce49
RD
5690SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5691 PyObject *resultobj = 0;
5692 wxComboBox *result = 0 ;
5693
5694 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5695 {
5696 if (!wxPyCheckForApp()) SWIG_fail;
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (wxComboBox *)new wxComboBox();
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5703 return resultobj;
5704fail:
5705 return NULL;
5706}
5707
5708
5709SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj = 0;
5711 wxComboBox *arg1 = (wxComboBox *) 0 ;
5712 wxWindow *arg2 = (wxWindow *) 0 ;
5713 int arg3 = (int) -1 ;
5714 wxString const &arg4_defvalue = wxPyEmptyString ;
5715 wxString *arg4 = (wxString *) &arg4_defvalue ;
5716 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5717 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5718 wxSize const &arg6_defvalue = wxDefaultSize ;
5719 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5720 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5721 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5722 long arg8 = (long) 0 ;
5723 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5724 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5725 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5726 wxString *arg10 = (wxString *) &arg10_defvalue ;
5727 bool result;
5728 void *argp1 = 0 ;
5729 int res1 = 0 ;
5730 void *argp2 = 0 ;
5731 int res2 = 0 ;
5732 int val3 ;
5733 int ecode3 = 0 ;
5734 bool temp4 = false ;
5735 wxPoint temp5 ;
5736 wxSize temp6 ;
5737 bool temp7 = false ;
5738 long val8 ;
5739 int ecode8 = 0 ;
5740 void *argp9 = 0 ;
5741 int res9 = 0 ;
5742 bool temp10 = false ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 PyObject * obj2 = 0 ;
5746 PyObject * obj3 = 0 ;
5747 PyObject * obj4 = 0 ;
5748 PyObject * obj5 = 0 ;
5749 PyObject * obj6 = 0 ;
5750 PyObject * obj7 = 0 ;
5751 PyObject * obj8 = 0 ;
5752 PyObject * obj9 = 0 ;
5753 char * kwnames[] = {
5754 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5755 };
5756
5757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5759 if (!SWIG_IsOK(res1)) {
5760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5761 }
5762 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5764 if (!SWIG_IsOK(res2)) {
5765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5766 }
5767 arg2 = reinterpret_cast< wxWindow * >(argp2);
5768 if (obj2) {
5769 ecode3 = SWIG_AsVal_int(obj2, &val3);
5770 if (!SWIG_IsOK(ecode3)) {
5771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5772 }
5773 arg3 = static_cast< int >(val3);
5774 }
5775 if (obj3) {
4f89f6a3 5776 {
0085ce49
RD
5777 arg4 = wxString_in_helper(obj3);
5778 if (arg4 == NULL) SWIG_fail;
5779 temp4 = true;
4f89f6a3 5780 }
0085ce49
RD
5781 }
5782 if (obj4) {
d14a1e28 5783 {
0085ce49
RD
5784 arg5 = &temp5;
5785 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 5786 }
0085ce49
RD
5787 }
5788 if (obj5) {
d14a1e28 5789 {
0085ce49
RD
5790 arg6 = &temp6;
5791 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 5792 }
0085ce49
RD
5793 }
5794 if (obj6) {
d14a1e28 5795 {
0085ce49
RD
5796 if (! PySequence_Check(obj6)) {
5797 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5798 SWIG_fail;
5799 }
5800 arg7 = new wxArrayString;
5801 temp7 = true;
5802 int i, len=PySequence_Length(obj6);
5803 for (i=0; i<len; i++) {
5804 PyObject* item = PySequence_GetItem(obj6, i);
5805 wxString* s = wxString_in_helper(item);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 arg7->Add(*s);
5808 delete s;
5809 Py_DECREF(item);
5810 }
d14a1e28 5811 }
0085ce49
RD
5812 }
5813 if (obj7) {
5814 ecode8 = SWIG_AsVal_long(obj7, &val8);
5815 if (!SWIG_IsOK(ecode8)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5817 }
5818 arg8 = static_cast< long >(val8);
5819 }
5820 if (obj8) {
5821 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5822 if (!SWIG_IsOK(res9)) {
5823 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 5824 }
0085ce49
RD
5825 if (!argp9) {
5826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 5827 }
0085ce49
RD
5828 arg9 = reinterpret_cast< wxValidator * >(argp9);
5829 }
5830 if (obj9) {
d14a1e28 5831 {
0085ce49
RD
5832 arg10 = wxString_in_helper(obj9);
5833 if (arg10 == NULL) SWIG_fail;
5834 temp10 = true;
d14a1e28 5835 }
0085ce49
RD
5836 }
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 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);
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5845 }
5846 {
5847 if (temp4)
5848 delete arg4;
5849 }
5850 {
5851 if (temp7) delete arg7;
5852 }
5853 {
5854 if (temp10)
5855 delete arg10;
5856 }
5857 return resultobj;
5858fail:
5859 {
5860 if (temp4)
5861 delete arg4;
5862 }
5863 {
5864 if (temp7) delete arg7;
5865 }
5866 {
5867 if (temp10)
5868 delete arg10;
5869 }
5870 return NULL;
d14a1e28
RD
5871}
5872
5873
0085ce49
RD
5874SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5875 PyObject *resultobj = 0;
5876 wxComboBox *arg1 = (wxComboBox *) 0 ;
5877 wxString result;
5878 void *argp1 = 0 ;
5879 int res1 = 0 ;
5880 PyObject *swig_obj[1] ;
5881
5882 if (!args) SWIG_fail;
5883 swig_obj[0] = args;
5884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5885 if (!SWIG_IsOK(res1)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5887 }
5888 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = ((wxComboBox const *)arg1)->GetValue();
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 {
d14a1e28 5896#if wxUSE_UNICODE
0085ce49 5897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 5898#else
0085ce49 5899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 5900#endif
0085ce49
RD
5901 }
5902 return resultobj;
5903fail:
5904 return NULL;
5905}
5906
5907
5908SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj = 0;
5910 wxComboBox *arg1 = (wxComboBox *) 0 ;
5911 wxString *arg2 = 0 ;
5912 void *argp1 = 0 ;
5913 int res1 = 0 ;
5914 bool temp2 = false ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char * kwnames[] = {
5918 (char *) "self",(char *) "value", NULL
5919 };
5920
5921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5923 if (!SWIG_IsOK(res1)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5925 }
5926 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5927 {
5928 arg2 = wxString_in_helper(obj1);
5929 if (arg2 == NULL) SWIG_fail;
5930 temp2 = true;
5931 }
5932 {
5933 PyThreadState* __tstate = wxPyBeginAllowThreads();
5934 (arg1)->SetValue((wxString const &)*arg2);
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 resultobj = SWIG_Py_Void();
5939 {
5940 if (temp2)
5941 delete arg2;
5942 }
5943 return resultobj;
5944fail:
5945 {
5946 if (temp2)
5947 delete arg2;
5948 }
5949 return NULL;
d14a1e28
RD
5950}
5951
5952
0085ce49
RD
5953SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5954 PyObject *resultobj = 0;
5955 wxComboBox *arg1 = (wxComboBox *) 0 ;
5956 void *argp1 = 0 ;
5957 int res1 = 0 ;
5958 PyObject *swig_obj[1] ;
5959
5960 if (!args) SWIG_fail;
5961 swig_obj[0] = args;
5962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5963 if (!SWIG_IsOK(res1)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5965 }
5966 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 (arg1)->Copy();
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_Py_Void();
5974 return resultobj;
5975fail:
5976 return NULL;
d14a1e28
RD
5977}
5978
5979
0085ce49
RD
5980SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5981 PyObject *resultobj = 0;
5982 wxComboBox *arg1 = (wxComboBox *) 0 ;
5983 void *argp1 = 0 ;
5984 int res1 = 0 ;
5985 PyObject *swig_obj[1] ;
5986
5987 if (!args) SWIG_fail;
5988 swig_obj[0] = args;
5989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5990 if (!SWIG_IsOK(res1)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5992 }
5993 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->Cut();
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 resultobj = SWIG_Py_Void();
6001 return resultobj;
6002fail:
6003 return NULL;
d14a1e28
RD
6004}
6005
6006
0085ce49
RD
6007SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6008 PyObject *resultobj = 0;
6009 wxComboBox *arg1 = (wxComboBox *) 0 ;
6010 void *argp1 = 0 ;
6011 int res1 = 0 ;
6012 PyObject *swig_obj[1] ;
6013
6014 if (!args) SWIG_fail;
6015 swig_obj[0] = args;
6016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6017 if (!SWIG_IsOK(res1)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6019 }
6020 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->Paste();
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_Py_Void();
6028 return resultobj;
6029fail:
6030 return NULL;
6031}
6032
6033
6034SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj = 0;
6036 wxComboBox *arg1 = (wxComboBox *) 0 ;
6037 long arg2 ;
6038 void *argp1 = 0 ;
6039 int res1 = 0 ;
6040 long val2 ;
6041 int ecode2 = 0 ;
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 char * kwnames[] = {
6045 (char *) "self",(char *) "pos", NULL
6046 };
6047
6048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6050 if (!SWIG_IsOK(res1)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6052 }
6053 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6054 ecode2 = SWIG_AsVal_long(obj1, &val2);
6055 if (!SWIG_IsOK(ecode2)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6057 }
6058 arg2 = static_cast< long >(val2);
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 (arg1)->SetInsertionPoint(arg2);
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_Py_Void();
6066 return resultobj;
6067fail:
6068 return NULL;
d14a1e28
RD
6069}
6070
6071
0085ce49
RD
6072SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6073 PyObject *resultobj = 0;
6074 wxComboBox *arg1 = (wxComboBox *) 0 ;
6075 long result;
6076 void *argp1 = 0 ;
6077 int res1 = 0 ;
6078 PyObject *swig_obj[1] ;
6079
6080 if (!args) SWIG_fail;
6081 swig_obj[0] = args;
6082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6083 if (!SWIG_IsOK(res1)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6085 }
6086 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 resultobj = SWIG_From_long(static_cast< long >(result));
6094 return resultobj;
6095fail:
6096 return NULL;
d14a1e28
RD
6097}
6098
6099
0085ce49
RD
6100SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6101 PyObject *resultobj = 0;
6102 wxComboBox *arg1 = (wxComboBox *) 0 ;
6103 long result;
6104 void *argp1 = 0 ;
6105 int res1 = 0 ;
6106 PyObject *swig_obj[1] ;
6107
6108 if (!args) SWIG_fail;
6109 swig_obj[0] = args;
6110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6111 if (!SWIG_IsOK(res1)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6113 }
6114 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 resultobj = SWIG_From_long(static_cast< long >(result));
6122 return resultobj;
6123fail:
6124 return NULL;
6125}
6126
6127
6128SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj = 0;
6130 wxComboBox *arg1 = (wxComboBox *) 0 ;
6131 long arg2 ;
6132 long arg3 ;
6133 wxString *arg4 = 0 ;
6134 void *argp1 = 0 ;
6135 int res1 = 0 ;
6136 long val2 ;
6137 int ecode2 = 0 ;
6138 long val3 ;
6139 int ecode3 = 0 ;
6140 bool temp4 = false ;
6141 PyObject * obj0 = 0 ;
6142 PyObject * obj1 = 0 ;
6143 PyObject * obj2 = 0 ;
6144 PyObject * obj3 = 0 ;
6145 char * kwnames[] = {
2131d850 6146 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
0085ce49
RD
6147 };
6148
6149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6151 if (!SWIG_IsOK(res1)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6153 }
6154 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6155 ecode2 = SWIG_AsVal_long(obj1, &val2);
6156 if (!SWIG_IsOK(ecode2)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6158 }
6159 arg2 = static_cast< long >(val2);
6160 ecode3 = SWIG_AsVal_long(obj2, &val3);
6161 if (!SWIG_IsOK(ecode3)) {
6162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6163 }
6164 arg3 = static_cast< long >(val3);
6165 {
6166 arg4 = wxString_in_helper(obj3);
6167 if (arg4 == NULL) SWIG_fail;
6168 temp4 = true;
6169 }
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 resultobj = SWIG_Py_Void();
6177 {
6178 if (temp4)
6179 delete arg4;
6180 }
6181 return resultobj;
6182fail:
6183 {
6184 if (temp4)
6185 delete arg4;
6186 }
6187 return NULL;
6188}
6189
6190
6191SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj = 0;
6193 wxComboBox *arg1 = (wxComboBox *) 0 ;
6194 long arg2 ;
6195 long arg3 ;
6196 void *argp1 = 0 ;
6197 int res1 = 0 ;
6198 long val2 ;
6199 int ecode2 = 0 ;
6200 long val3 ;
6201 int ecode3 = 0 ;
6202 PyObject * obj0 = 0 ;
6203 PyObject * obj1 = 0 ;
6204 PyObject * obj2 = 0 ;
6205 char * kwnames[] = {
2131d850 6206 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
6207 };
6208
6209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6211 if (!SWIG_IsOK(res1)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6213 }
6214 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6215 ecode2 = SWIG_AsVal_long(obj1, &val2);
6216 if (!SWIG_IsOK(ecode2)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6218 }
6219 arg2 = static_cast< long >(val2);
6220 ecode3 = SWIG_AsVal_long(obj2, &val3);
6221 if (!SWIG_IsOK(ecode3)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6223 }
6224 arg3 = static_cast< long >(val3);
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 (arg1)->SetSelection(arg2,arg3);
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 resultobj = SWIG_Py_Void();
6232 return resultobj;
6233fail:
6234 return NULL;
6235}
6236
6237
6238SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239 PyObject *resultobj = 0;
6240 wxComboBox *arg1 = (wxComboBox *) 0 ;
6241 long *arg2 = (long *) 0 ;
6242 long *arg3 = (long *) 0 ;
6243 void *argp1 = 0 ;
6244 int res1 = 0 ;
6245 long temp2 ;
6246 int res2 = SWIG_TMPOBJ ;
6247 long temp3 ;
6248 int res3 = SWIG_TMPOBJ ;
6249 PyObject *swig_obj[1] ;
6250
6251 arg2 = &temp2;
6252 arg3 = &temp3;
6253 if (!args) SWIG_fail;
6254 swig_obj[0] = args;
6255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6256 if (!SWIG_IsOK(res1)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6258 }
6259 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 (arg1)->GetSelection(arg2,arg3);
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 resultobj = SWIG_Py_Void();
6267 if (SWIG_IsTmpObj(res2)) {
6268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6269 } else {
6270 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6271 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6272 }
6273 if (SWIG_IsTmpObj(res3)) {
6274 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6275 } else {
6276 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6277 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6278 }
6279 return resultobj;
6280fail:
6281 return NULL;
d14a1e28
RD
6282}
6283
6284
0085ce49
RD
6285SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6286 PyObject *resultobj = 0;
6287 wxComboBox *arg1 = (wxComboBox *) 0 ;
6288 int result;
6289 void *argp1 = 0 ;
6290 int res1 = 0 ;
6291 PyObject *swig_obj[1] ;
6292
6293 if (!args) SWIG_fail;
6294 swig_obj[0] = args;
6295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6296 if (!SWIG_IsOK(res1)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6298 }
6299 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = SWIG_From_int(static_cast< int >(result));
6307 return resultobj;
6308fail:
6309 return NULL;
6310}
6311
6312
6313SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj = 0;
6315 wxComboBox *arg1 = (wxComboBox *) 0 ;
6316 wxString *arg2 = 0 ;
6317 bool result;
6318 void *argp1 = 0 ;
6319 int res1 = 0 ;
6320 bool temp2 = false ;
6321 PyObject * obj0 = 0 ;
6322 PyObject * obj1 = 0 ;
6323 char * kwnames[] = {
6324 (char *) "self",(char *) "string", NULL
6325 };
6326
6327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6329 if (!SWIG_IsOK(res1)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6331 }
6332 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6333 {
6334 arg2 = wxString_in_helper(obj1);
6335 if (arg2 == NULL) SWIG_fail;
6336 temp2 = true;
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6341 wxPyEndAllowThreads(__tstate);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 {
6345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6346 }
6347 {
6348 if (temp2)
6349 delete arg2;
6350 }
6351 return resultobj;
6352fail:
6353 {
6354 if (temp2)
6355 delete arg2;
6356 }
6357 return NULL;
6358}
6359
6360
6361SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj = 0;
6363 wxComboBox *arg1 = (wxComboBox *) 0 ;
6364 bool arg2 ;
6365 void *argp1 = 0 ;
6366 int res1 = 0 ;
6367 bool val2 ;
6368 int ecode2 = 0 ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char * kwnames[] = {
6372 (char *) "self",(char *) "editable", NULL
6373 };
6374
6375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6377 if (!SWIG_IsOK(res1)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6379 }
6380 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6382 if (!SWIG_IsOK(ecode2)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6384 }
6385 arg2 = static_cast< bool >(val2);
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 (arg1)->SetEditable(arg2);
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 resultobj = SWIG_Py_Void();
6393 return resultobj;
6394fail:
6395 return NULL;
d14a1e28
RD
6396}
6397
6398
0085ce49
RD
6399SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6400 PyObject *resultobj = 0;
6401 wxComboBox *arg1 = (wxComboBox *) 0 ;
6402 void *argp1 = 0 ;
6403 int res1 = 0 ;
6404 PyObject *swig_obj[1] ;
6405
6406 if (!args) SWIG_fail;
6407 swig_obj[0] = args;
6408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6411 }
6412 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetInsertionPointEnd();
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_Py_Void();
6420 return resultobj;
6421fail:
6422 return NULL;
6423}
6424
6425
6426SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj = 0;
6428 wxComboBox *arg1 = (wxComboBox *) 0 ;
6429 long arg2 ;
6430 long arg3 ;
6431 void *argp1 = 0 ;
6432 int res1 = 0 ;
6433 long val2 ;
6434 int ecode2 = 0 ;
6435 long val3 ;
6436 int ecode3 = 0 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 char * kwnames[] = {
2131d850 6441 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
6442 };
6443
6444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6446 if (!SWIG_IsOK(res1)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6448 }
6449 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6450 ecode2 = SWIG_AsVal_long(obj1, &val2);
6451 if (!SWIG_IsOK(ecode2)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6453 }
6454 arg2 = static_cast< long >(val2);
6455 ecode3 = SWIG_AsVal_long(obj2, &val3);
6456 if (!SWIG_IsOK(ecode3)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6458 }
6459 arg3 = static_cast< long >(val3);
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 (arg1)->Remove(arg2,arg3);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = SWIG_Py_Void();
6467 return resultobj;
6468fail:
6469 return NULL;
d14a1e28
RD
6470}
6471
6472
0085ce49
RD
6473SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6474 PyObject *resultobj = 0;
6475 wxComboBox *arg1 = (wxComboBox *) 0 ;
6476 bool result;
6477 void *argp1 = 0 ;
6478 int res1 = 0 ;
6479 PyObject *swig_obj[1] ;
6480
6481 if (!args) SWIG_fail;
6482 swig_obj[0] = args;
6483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6484 if (!SWIG_IsOK(res1)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6486 }
6487 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 {
6495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6496 }
6497 return resultobj;
6498fail:
6499 return NULL;
d14a1e28
RD
6500}
6501
6502
0085ce49
RD
6503SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6504 PyObject *resultobj = 0;
6505 wxComboBox *arg1 = (wxComboBox *) 0 ;
6506 void *argp1 = 0 ;
6507 int res1 = 0 ;
6508 PyObject *swig_obj[1] ;
6509
6510 if (!args) SWIG_fail;
6511 swig_obj[0] = args;
6512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6513 if (!SWIG_IsOK(res1)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6515 }
6516 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 (arg1)->Undo();
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_Py_Void();
6524 return resultobj;
6525fail:
6526 return NULL;
fd3f2efe
RD
6527}
6528
6529
0085ce49
RD
6530SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6531 PyObject *resultobj = 0;
6532 wxComboBox *arg1 = (wxComboBox *) 0 ;
6533 void *argp1 = 0 ;
6534 int res1 = 0 ;
6535 PyObject *swig_obj[1] ;
6536
6537 if (!args) SWIG_fail;
6538 swig_obj[0] = args;
6539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6542 }
6543 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->Redo();
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = SWIG_Py_Void();
6551 return resultobj;
6552fail:
6553 return NULL;
d14a1e28
RD
6554}
6555
6556
0085ce49
RD
6557SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6558 PyObject *resultobj = 0;
6559 wxComboBox *arg1 = (wxComboBox *) 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 PyObject *swig_obj[1] ;
6563
6564 if (!args) SWIG_fail;
6565 swig_obj[0] = args;
6566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6569 }
6570 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SelectAll();
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_Py_Void();
6578 return resultobj;
6579fail:
6580 return NULL;
b9d6a5f3
RD
6581}
6582
6583
0085ce49
RD
6584SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6585 PyObject *resultobj = 0;
6586 wxComboBox *arg1 = (wxComboBox *) 0 ;
6587 bool result;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 PyObject *swig_obj[1] ;
6591
6592 if (!args) SWIG_fail;
6593 swig_obj[0] = args;
6594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6595 if (!SWIG_IsOK(res1)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6597 }
6598 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6607 }
6608 return resultobj;
6609fail:
6610 return NULL;
943e8dfd
RD
6611}
6612
6613
0085ce49
RD
6614SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6615 PyObject *resultobj = 0;
6616 wxComboBox *arg1 = (wxComboBox *) 0 ;
6617 bool result;
6618 void *argp1 = 0 ;
6619 int res1 = 0 ;
6620 PyObject *swig_obj[1] ;
6621
6622 if (!args) SWIG_fail;
6623 swig_obj[0] = args;
6624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6625 if (!SWIG_IsOK(res1)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6627 }
6628 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 result = (bool)((wxComboBox const *)arg1)->CanCut();
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6637 }
6638 return resultobj;
6639fail:
6640 return NULL;
121b9a67
RD
6641}
6642
6643
0085ce49
RD
6644SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6645 PyObject *resultobj = 0;
6646 wxComboBox *arg1 = (wxComboBox *) 0 ;
6647 bool result;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 PyObject *swig_obj[1] ;
6651
6652 if (!args) SWIG_fail;
6653 swig_obj[0] = args;
6654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6657 }
6658 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
6668 return resultobj;
6669fail:
6670 return NULL;
121b9a67
RD
6671}
6672
6673
0085ce49
RD
6674SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6675 PyObject *resultobj = 0;
6676 wxComboBox *arg1 = (wxComboBox *) 0 ;
6677 bool result;
6678 void *argp1 = 0 ;
6679 int res1 = 0 ;
6680 PyObject *swig_obj[1] ;
6681
6682 if (!args) SWIG_fail;
6683 swig_obj[0] = args;
6684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6685 if (!SWIG_IsOK(res1)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6687 }
6688 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 {
6696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6697 }
6698 return resultobj;
6699fail:
6700 return NULL;
d14a1e28
RD
6701}
6702
6703
0085ce49
RD
6704SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6705 PyObject *resultobj = 0;
6706 wxComboBox *arg1 = (wxComboBox *) 0 ;
6707 bool result;
6708 void *argp1 = 0 ;
6709 int res1 = 0 ;
6710 PyObject *swig_obj[1] ;
6711
6712 if (!args) SWIG_fail;
6713 swig_obj[0] = args;
6714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6715 if (!SWIG_IsOK(res1)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6717 }
6718 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 {
6726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6727 }
6728 return resultobj;
6729fail:
6730 return NULL;
d14a1e28
RD
6731}
6732
6733
0085ce49
RD
6734SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj = 0;
6736 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6737 SwigValueWrapper<wxVisualAttributes > result;
6738 int val1 ;
6739 int ecode1 = 0 ;
6740 PyObject * obj0 = 0 ;
6741 char * kwnames[] = {
6742 (char *) "variant", NULL
6743 };
6744
6745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6746 if (obj0) {
6747 ecode1 = SWIG_AsVal_int(obj0, &val1);
6748 if (!SWIG_IsOK(ecode1)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6750 }
6751 arg1 = static_cast< wxWindowVariant >(val1);
6752 }
6753 {
6754 if (!wxPyCheckForApp()) SWIG_fail;
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = wxComboBox::GetClassDefaultAttributes(arg1);
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6761 return resultobj;
6762fail:
6763 return NULL;
d14a1e28
RD
6764}
6765
6766
0085ce49
RD
6767SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6768 PyObject *obj;
6769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6771 return SWIG_Py_Void();
5cbf236d
RD
6772}
6773
0085ce49
RD
6774SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6775 return SWIG_Python_InitShadowInstance(args);
6776}
5cbf236d 6777
0085ce49
RD
6778SWIGINTERN int GaugeNameStr_set(PyObject *) {
6779 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6780 return 1;
5cbf236d
RD
6781}
6782
6783
0085ce49
RD
6784SWIGINTERN PyObject *GaugeNameStr_get(void) {
6785 PyObject *pyobj = 0;
6786
6787 {
6788#if wxUSE_UNICODE
6789 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6790#else
6791 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6792#endif
6793 }
6794 return pyobj;
6795}
6796
6797
6798SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj = 0;
6800 wxWindow *arg1 = (wxWindow *) 0 ;
6801 int arg2 = (int) -1 ;
6802 int arg3 = (int) 100 ;
6803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6805 wxSize const &arg5_defvalue = wxDefaultSize ;
6806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6807 long arg6 = (long) wxGA_HORIZONTAL ;
6808 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6809 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6810 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6811 wxString *arg8 = (wxString *) &arg8_defvalue ;
6812 wxGauge *result = 0 ;
6813 void *argp1 = 0 ;
6814 int res1 = 0 ;
6815 int val2 ;
6816 int ecode2 = 0 ;
6817 int val3 ;
6818 int ecode3 = 0 ;
6819 wxPoint temp4 ;
6820 wxSize temp5 ;
6821 long val6 ;
6822 int ecode6 = 0 ;
6823 void *argp7 = 0 ;
6824 int res7 = 0 ;
6825 bool temp8 = false ;
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj1 = 0 ;
6828 PyObject * obj2 = 0 ;
6829 PyObject * obj3 = 0 ;
6830 PyObject * obj4 = 0 ;
6831 PyObject * obj5 = 0 ;
6832 PyObject * obj6 = 0 ;
6833 PyObject * obj7 = 0 ;
6834 char * kwnames[] = {
6835 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6836 };
6837
6838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6840 if (!SWIG_IsOK(res1)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6842 }
6843 arg1 = reinterpret_cast< wxWindow * >(argp1);
6844 if (obj1) {
6845 ecode2 = SWIG_AsVal_int(obj1, &val2);
6846 if (!SWIG_IsOK(ecode2)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6848 }
6849 arg2 = static_cast< int >(val2);
6850 }
6851 if (obj2) {
6852 ecode3 = SWIG_AsVal_int(obj2, &val3);
6853 if (!SWIG_IsOK(ecode3)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6855 }
6856 arg3 = static_cast< int >(val3);
6857 }
6858 if (obj3) {
5cbf236d 6859 {
0085ce49
RD
6860 arg4 = &temp4;
6861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5cbf236d 6862 }
0085ce49
RD
6863 }
6864 if (obj4) {
5cbf236d 6865 {
0085ce49
RD
6866 arg5 = &temp5;
6867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6868 }
0085ce49
RD
6869 }
6870 if (obj5) {
6871 ecode6 = SWIG_AsVal_long(obj5, &val6);
6872 if (!SWIG_IsOK(ecode6)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6874 }
6875 arg6 = static_cast< long >(val6);
6876 }
6877 if (obj6) {
6878 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6879 if (!SWIG_IsOK(res7)) {
6880 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6881 }
6882 if (!argp7) {
6883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
5cbf236d 6884 }
0085ce49
RD
6885 arg7 = reinterpret_cast< wxValidator * >(argp7);
6886 }
6887 if (obj7) {
5cbf236d 6888 {
0085ce49
RD
6889 arg8 = wxString_in_helper(obj7);
6890 if (arg8 == NULL) SWIG_fail;
6891 temp8 = true;
5cbf236d 6892 }
0085ce49
RD
6893 }
6894 {
6895 if (!wxPyCheckForApp()) SWIG_fail;
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6902 {
6903 if (temp8)
6904 delete arg8;
6905 }
6906 return resultobj;
6907fail:
6908 {
6909 if (temp8)
6910 delete arg8;
6911 }
6912 return NULL;
5cbf236d
RD
6913}
6914
6915
0085ce49
RD
6916SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6917 PyObject *resultobj = 0;
6918 wxGauge *result = 0 ;
6919
6920 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6921 {
6922 if (!wxPyCheckForApp()) SWIG_fail;
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (wxGauge *)new wxGauge();
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6929 return resultobj;
6930fail:
6931 return NULL;
6932}
6933
6934
6935SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj = 0;
6937 wxGauge *arg1 = (wxGauge *) 0 ;
6938 wxWindow *arg2 = (wxWindow *) 0 ;
6939 int arg3 = (int) -1 ;
6940 int arg4 = (int) 100 ;
6941 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6942 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6943 wxSize const &arg6_defvalue = wxDefaultSize ;
6944 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6945 long arg7 = (long) wxGA_HORIZONTAL ;
6946 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6947 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6948 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6949 wxString *arg9 = (wxString *) &arg9_defvalue ;
6950 bool result;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 void *argp2 = 0 ;
6954 int res2 = 0 ;
6955 int val3 ;
6956 int ecode3 = 0 ;
6957 int val4 ;
6958 int ecode4 = 0 ;
6959 wxPoint temp5 ;
6960 wxSize temp6 ;
6961 long val7 ;
6962 int ecode7 = 0 ;
6963 void *argp8 = 0 ;
6964 int res8 = 0 ;
6965 bool temp9 = false ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 PyObject * obj2 = 0 ;
6969 PyObject * obj3 = 0 ;
6970 PyObject * obj4 = 0 ;
6971 PyObject * obj5 = 0 ;
6972 PyObject * obj6 = 0 ;
6973 PyObject * obj7 = 0 ;
6974 PyObject * obj8 = 0 ;
6975 char * kwnames[] = {
6976 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6977 };
6978
6979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6981 if (!SWIG_IsOK(res1)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6983 }
6984 arg1 = reinterpret_cast< wxGauge * >(argp1);
6985 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6986 if (!SWIG_IsOK(res2)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6988 }
6989 arg2 = reinterpret_cast< wxWindow * >(argp2);
6990 if (obj2) {
6991 ecode3 = SWIG_AsVal_int(obj2, &val3);
6992 if (!SWIG_IsOK(ecode3)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6994 }
6995 arg3 = static_cast< int >(val3);
6996 }
6997 if (obj3) {
6998 ecode4 = SWIG_AsVal_int(obj3, &val4);
6999 if (!SWIG_IsOK(ecode4)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7001 }
7002 arg4 = static_cast< int >(val4);
7003 }
7004 if (obj4) {
5cbf236d 7005 {
0085ce49
RD
7006 arg5 = &temp5;
7007 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 7008 }
0085ce49
RD
7009 }
7010 if (obj5) {
5cbf236d 7011 {
0085ce49
RD
7012 arg6 = &temp6;
7013 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5cbf236d 7014 }
0085ce49
RD
7015 }
7016 if (obj6) {
7017 ecode7 = SWIG_AsVal_long(obj6, &val7);
7018 if (!SWIG_IsOK(ecode7)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7020 }
7021 arg7 = static_cast< long >(val7);
7022 }
7023 if (obj7) {
7024 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7025 if (!SWIG_IsOK(res8)) {
7026 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5cbf236d 7027 }
0085ce49
RD
7028 if (!argp8) {
7029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 }
7031 arg8 = reinterpret_cast< wxValidator * >(argp8);
7032 }
7033 if (obj8) {
5cbf236d 7034 {
0085ce49
RD
7035 arg9 = wxString_in_helper(obj8);
7036 if (arg9 == NULL) SWIG_fail;
7037 temp9 = true;
5cbf236d 7038 }
0085ce49
RD
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7048 }
7049 {
7050 if (temp9)
7051 delete arg9;
7052 }
7053 return resultobj;
7054fail:
7055 {
7056 if (temp9)
7057 delete arg9;
7058 }
7059 return NULL;
7060}
7061
7062
7063SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj = 0;
7065 wxGauge *arg1 = (wxGauge *) 0 ;
7066 int arg2 ;
7067 void *argp1 = 0 ;
7068 int res1 = 0 ;
7069 int val2 ;
7070 int ecode2 = 0 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char * kwnames[] = {
7074 (char *) "self",(char *) "range", NULL
7075 };
7076
7077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7079 if (!SWIG_IsOK(res1)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7081 }
7082 arg1 = reinterpret_cast< wxGauge * >(argp1);
7083 ecode2 = SWIG_AsVal_int(obj1, &val2);
7084 if (!SWIG_IsOK(ecode2)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7086 }
7087 arg2 = static_cast< int >(val2);
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->SetRange(arg2);
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 resultobj = SWIG_Py_Void();
7095 return resultobj;
7096fail:
7097 return NULL;
5cbf236d
RD
7098}
7099
7100
0085ce49
RD
7101SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7102 PyObject *resultobj = 0;
7103 wxGauge *arg1 = (wxGauge *) 0 ;
7104 int result;
7105 void *argp1 = 0 ;
7106 int res1 = 0 ;
7107 PyObject *swig_obj[1] ;
7108
7109 if (!args) SWIG_fail;
7110 swig_obj[0] = args;
7111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7112 if (!SWIG_IsOK(res1)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7114 }
7115 arg1 = reinterpret_cast< wxGauge * >(argp1);
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (int)((wxGauge const *)arg1)->GetRange();
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = SWIG_From_int(static_cast< int >(result));
7123 return resultobj;
7124fail:
7125 return NULL;
7126}
7127
7128
7129SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj = 0;
7131 wxGauge *arg1 = (wxGauge *) 0 ;
7132 int arg2 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 int val2 ;
7136 int ecode2 = 0 ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 char * kwnames[] = {
7140 (char *) "self",(char *) "pos", NULL
7141 };
7142
7143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7145 if (!SWIG_IsOK(res1)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7147 }
7148 arg1 = reinterpret_cast< wxGauge * >(argp1);
7149 ecode2 = SWIG_AsVal_int(obj1, &val2);
7150 if (!SWIG_IsOK(ecode2)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7152 }
7153 arg2 = static_cast< int >(val2);
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->SetValue(arg2);
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_Py_Void();
7161 return resultobj;
7162fail:
7163 return NULL;
5cbf236d
RD
7164}
7165
7166
0085ce49
RD
7167SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7168 PyObject *resultobj = 0;
7169 wxGauge *arg1 = (wxGauge *) 0 ;
7170 int result;
7171 void *argp1 = 0 ;
7172 int res1 = 0 ;
7173 PyObject *swig_obj[1] ;
7174
7175 if (!args) SWIG_fail;
7176 swig_obj[0] = args;
7177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7178 if (!SWIG_IsOK(res1)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7180 }
7181 arg1 = reinterpret_cast< wxGauge * >(argp1);
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (int)((wxGauge const *)arg1)->GetValue();
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 resultobj = SWIG_From_int(static_cast< int >(result));
7189 return resultobj;
7190fail:
7191 return NULL;
5cbf236d
RD
7192}
7193
7194
ae5bc7f3
RD
7195SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7196 PyObject *resultobj = 0;
7197 wxGauge *arg1 = (wxGauge *) 0 ;
7198 void *argp1 = 0 ;
7199 int res1 = 0 ;
7200 PyObject *swig_obj[1] ;
7201
7202 if (!args) SWIG_fail;
7203 swig_obj[0] = args;
7204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7205 if (!SWIG_IsOK(res1)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7207 }
7208 arg1 = reinterpret_cast< wxGauge * >(argp1);
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->Pulse();
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = SWIG_Py_Void();
7216 return resultobj;
7217fail:
7218 return NULL;
7219}
7220
7221
0085ce49
RD
7222SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7223 PyObject *resultobj = 0;
7224 wxGauge *arg1 = (wxGauge *) 0 ;
7225 bool result;
7226 void *argp1 = 0 ;
7227 int res1 = 0 ;
7228 PyObject *swig_obj[1] ;
7229
7230 if (!args) SWIG_fail;
7231 swig_obj[0] = args;
7232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7233 if (!SWIG_IsOK(res1)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7235 }
7236 arg1 = reinterpret_cast< wxGauge * >(argp1);
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (bool)((wxGauge const *)arg1)->IsVertical();
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 {
7244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7245 }
7246 return resultobj;
7247fail:
7248 return NULL;
7249}
7250
7251
7252SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj = 0;
7254 wxGauge *arg1 = (wxGauge *) 0 ;
7255 int arg2 ;
7256 void *argp1 = 0 ;
7257 int res1 = 0 ;
7258 int val2 ;
7259 int ecode2 = 0 ;
7260 PyObject * obj0 = 0 ;
7261 PyObject * obj1 = 0 ;
7262 char * kwnames[] = {
7263 (char *) "self",(char *) "w", NULL
7264 };
7265
7266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7268 if (!SWIG_IsOK(res1)) {
7269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7270 }
7271 arg1 = reinterpret_cast< wxGauge * >(argp1);
7272 ecode2 = SWIG_AsVal_int(obj1, &val2);
7273 if (!SWIG_IsOK(ecode2)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7275 }
7276 arg2 = static_cast< int >(val2);
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 (arg1)->SetShadowWidth(arg2);
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 resultobj = SWIG_Py_Void();
7284 return resultobj;
7285fail:
7286 return NULL;
22bfe96c
RD
7287}
7288
7289
0085ce49
RD
7290SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7291 PyObject *resultobj = 0;
7292 wxGauge *arg1 = (wxGauge *) 0 ;
7293 int result;
7294 void *argp1 = 0 ;
7295 int res1 = 0 ;
7296 PyObject *swig_obj[1] ;
7297
7298 if (!args) SWIG_fail;
7299 swig_obj[0] = args;
7300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7301 if (!SWIG_IsOK(res1)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7303 }
7304 arg1 = reinterpret_cast< wxGauge * >(argp1);
7305 {
7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
7307 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_From_int(static_cast< int >(result));
7312 return resultobj;
7313fail:
7314 return NULL;
7315}
7316
7317
7318SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj = 0;
7320 wxGauge *arg1 = (wxGauge *) 0 ;
7321 int arg2 ;
7322 void *argp1 = 0 ;
7323 int res1 = 0 ;
7324 int val2 ;
7325 int ecode2 = 0 ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 char * kwnames[] = {
7329 (char *) "self",(char *) "w", NULL
7330 };
7331
7332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7334 if (!SWIG_IsOK(res1)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7336 }
7337 arg1 = reinterpret_cast< wxGauge * >(argp1);
7338 ecode2 = SWIG_AsVal_int(obj1, &val2);
7339 if (!SWIG_IsOK(ecode2)) {
7340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7341 }
7342 arg2 = static_cast< int >(val2);
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->SetBezelFace(arg2);
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 resultobj = SWIG_Py_Void();
7350 return resultobj;
7351fail:
7352 return NULL;
d14a1e28 7353}
0085ce49
RD
7354
7355
7356SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7357 PyObject *resultobj = 0;
7358 wxGauge *arg1 = (wxGauge *) 0 ;
7359 int result;
7360 void *argp1 = 0 ;
7361 int res1 = 0 ;
7362 PyObject *swig_obj[1] ;
7363
7364 if (!args) SWIG_fail;
7365 swig_obj[0] = args;
7366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7367 if (!SWIG_IsOK(res1)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7369 }
7370 arg1 = reinterpret_cast< wxGauge * >(argp1);
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_From_int(static_cast< int >(result));
7378 return resultobj;
7379fail:
7380 return NULL;
7381}
7382
7383
7384SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj = 0;
7386 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7387 SwigValueWrapper<wxVisualAttributes > result;
7388 int val1 ;
7389 int ecode1 = 0 ;
7390 PyObject * obj0 = 0 ;
7391 char * kwnames[] = {
7392 (char *) "variant", NULL
7393 };
7394
7395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7396 if (obj0) {
7397 ecode1 = SWIG_AsVal_int(obj0, &val1);
7398 if (!SWIG_IsOK(ecode1)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7400 }
7401 arg1 = static_cast< wxWindowVariant >(val1);
7402 }
7403 {
7404 if (!wxPyCheckForApp()) SWIG_fail;
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = wxGauge::GetClassDefaultAttributes(arg1);
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7411 return resultobj;
7412fail:
7413 return NULL;
b2dc1044
RD
7414}
7415
7416
0085ce49
RD
7417SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7418 PyObject *obj;
7419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7420 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7421 return SWIG_Py_Void();
7422}
7423
7424SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7425 return SWIG_Python_InitShadowInstance(args);
7426}
7427
7428SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7429 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7430 return 1;
7431}
7432
7433
7434SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7435 PyObject *pyobj = 0;
7436
7437 {
b2dc1044 7438#if wxUSE_UNICODE
0085ce49 7439 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
b2dc1044 7440#else
0085ce49 7441 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
b2dc1044 7442#endif
0085ce49
RD
7443 }
7444 return pyobj;
d14a1e28
RD
7445}
7446
7447
0085ce49
RD
7448SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7449 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7450 return 1;
d14a1e28
RD
7451}
7452
7453
0085ce49
RD
7454SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7455 PyObject *pyobj = 0;
7456
7457 {
7458#if wxUSE_UNICODE
7459 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7460#else
7461 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7462#endif
7463 }
7464 return pyobj;
7465}
7466
7467
7468SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7469 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7470 return 1;
7471}
7472
7473
7474SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7475 PyObject *pyobj = 0;
7476
7477 {
7478#if wxUSE_UNICODE
7479 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7480#else
7481 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7482#endif
7483 }
7484 return pyobj;
7485}
7486
7487
3f7f284d
RD
7488SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7489 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7490 return 1;
7491}
7492
7493
7494SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7495 PyObject *pyobj = 0;
7496
7497 {
7498#if wxUSE_UNICODE
7499 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7500#else
7501 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7502#endif
7503 }
7504 return pyobj;
7505}
7506
7507
0085ce49
RD
7508SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj = 0;
7510 wxWindow *arg1 = (wxWindow *) 0 ;
7511 int arg2 = (int) -1 ;
7512 wxString const &arg3_defvalue = wxPyEmptyString ;
7513 wxString *arg3 = (wxString *) &arg3_defvalue ;
7514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7516 wxSize const &arg5_defvalue = wxDefaultSize ;
7517 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7518 long arg6 = (long) 0 ;
7519 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7520 wxString *arg7 = (wxString *) &arg7_defvalue ;
7521 wxStaticBox *result = 0 ;
7522 void *argp1 = 0 ;
7523 int res1 = 0 ;
7524 int val2 ;
7525 int ecode2 = 0 ;
7526 bool temp3 = false ;
7527 wxPoint temp4 ;
7528 wxSize temp5 ;
7529 long val6 ;
7530 int ecode6 = 0 ;
7531 bool temp7 = false ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 PyObject * obj2 = 0 ;
7535 PyObject * obj3 = 0 ;
7536 PyObject * obj4 = 0 ;
7537 PyObject * obj5 = 0 ;
7538 PyObject * obj6 = 0 ;
7539 char * kwnames[] = {
7540 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7541 };
7542
7543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7545 if (!SWIG_IsOK(res1)) {
7546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7547 }
7548 arg1 = reinterpret_cast< wxWindow * >(argp1);
7549 if (obj1) {
7550 ecode2 = SWIG_AsVal_int(obj1, &val2);
7551 if (!SWIG_IsOK(ecode2)) {
7552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7553 }
7554 arg2 = static_cast< int >(val2);
7555 }
7556 if (obj2) {
d14a1e28 7557 {
0085ce49
RD
7558 arg3 = wxString_in_helper(obj2);
7559 if (arg3 == NULL) SWIG_fail;
7560 temp3 = true;
d14a1e28 7561 }
0085ce49
RD
7562 }
7563 if (obj3) {
4f89f6a3 7564 {
0085ce49
RD
7565 arg4 = &temp4;
7566 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 7567 }
0085ce49
RD
7568 }
7569 if (obj4) {
d14a1e28 7570 {
0085ce49
RD
7571 arg5 = &temp5;
7572 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7573 }
0085ce49
RD
7574 }
7575 if (obj5) {
7576 ecode6 = SWIG_AsVal_long(obj5, &val6);
7577 if (!SWIG_IsOK(ecode6)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7579 }
7580 arg6 = static_cast< long >(val6);
7581 }
7582 if (obj6) {
d14a1e28 7583 {
0085ce49
RD
7584 arg7 = wxString_in_helper(obj6);
7585 if (arg7 == NULL) SWIG_fail;
7586 temp7 = true;
d14a1e28 7587 }
0085ce49
RD
7588 }
7589 {
7590 if (!wxPyCheckForApp()) SWIG_fail;
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7597 {
7598 if (temp3)
7599 delete arg3;
7600 }
7601 {
7602 if (temp7)
7603 delete arg7;
7604 }
7605 return resultobj;
7606fail:
7607 {
7608 if (temp3)
7609 delete arg3;
7610 }
7611 {
7612 if (temp7)
7613 delete arg7;
7614 }
7615 return NULL;
d14a1e28
RD
7616}
7617
7618
0085ce49
RD
7619SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7620 PyObject *resultobj = 0;
7621 wxStaticBox *result = 0 ;
7622
7623 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7624 {
7625 if (!wxPyCheckForApp()) SWIG_fail;
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 result = (wxStaticBox *)new wxStaticBox();
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7632 return resultobj;
7633fail:
7634 return NULL;
7635}
7636
7637
7638SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj = 0;
7640 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7641 wxWindow *arg2 = (wxWindow *) 0 ;
7642 int arg3 = (int) -1 ;
7643 wxString const &arg4_defvalue = wxPyEmptyString ;
7644 wxString *arg4 = (wxString *) &arg4_defvalue ;
7645 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7646 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7647 wxSize const &arg6_defvalue = wxDefaultSize ;
7648 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7649 long arg7 = (long) 0 ;
7650 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7651 wxString *arg8 = (wxString *) &arg8_defvalue ;
7652 bool result;
7653 void *argp1 = 0 ;
7654 int res1 = 0 ;
7655 void *argp2 = 0 ;
7656 int res2 = 0 ;
7657 int val3 ;
7658 int ecode3 = 0 ;
7659 bool temp4 = false ;
7660 wxPoint temp5 ;
7661 wxSize temp6 ;
7662 long val7 ;
7663 int ecode7 = 0 ;
7664 bool temp8 = false ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 PyObject * obj2 = 0 ;
7668 PyObject * obj3 = 0 ;
7669 PyObject * obj4 = 0 ;
7670 PyObject * obj5 = 0 ;
7671 PyObject * obj6 = 0 ;
7672 PyObject * obj7 = 0 ;
7673 char * kwnames[] = {
7674 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7675 };
7676
7677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7679 if (!SWIG_IsOK(res1)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7681 }
7682 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7684 if (!SWIG_IsOK(res2)) {
7685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7686 }
7687 arg2 = reinterpret_cast< wxWindow * >(argp2);
7688 if (obj2) {
7689 ecode3 = SWIG_AsVal_int(obj2, &val3);
7690 if (!SWIG_IsOK(ecode3)) {
7691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7692 }
7693 arg3 = static_cast< int >(val3);
7694 }
7695 if (obj3) {
093d3ff1 7696 {
0085ce49
RD
7697 arg4 = wxString_in_helper(obj3);
7698 if (arg4 == NULL) SWIG_fail;
7699 temp4 = true;
093d3ff1 7700 }
0085ce49
RD
7701 }
7702 if (obj4) {
d14a1e28 7703 {
0085ce49
RD
7704 arg5 = &temp5;
7705 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7706 }
0085ce49
RD
7707 }
7708 if (obj5) {
d14a1e28 7709 {
0085ce49
RD
7710 arg6 = &temp6;
7711 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 7712 }
0085ce49
RD
7713 }
7714 if (obj6) {
7715 ecode7 = SWIG_AsVal_long(obj6, &val7);
7716 if (!SWIG_IsOK(ecode7)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7718 }
7719 arg7 = static_cast< long >(val7);
7720 }
7721 if (obj7) {
093d3ff1 7722 {
0085ce49
RD
7723 arg8 = wxString_in_helper(obj7);
7724 if (arg8 == NULL) SWIG_fail;
7725 temp8 = true;
093d3ff1 7726 }
0085ce49
RD
7727 }
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7736 }
7737 {
7738 if (temp4)
7739 delete arg4;
7740 }
7741 {
7742 if (temp8)
7743 delete arg8;
7744 }
7745 return resultobj;
7746fail:
7747 {
7748 if (temp4)
7749 delete arg4;
7750 }
7751 {
7752 if (temp8)
7753 delete arg8;
7754 }
7755 return NULL;
7756}
d14a1e28 7757
0085ce49
RD
7758
7759SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj = 0;
7761 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7762 SwigValueWrapper<wxVisualAttributes > result;
7763 int val1 ;
7764 int ecode1 = 0 ;
7765 PyObject * obj0 = 0 ;
7766 char * kwnames[] = {
7767 (char *) "variant", NULL
7768 };
7769
7770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7771 if (obj0) {
7772 ecode1 = SWIG_AsVal_int(obj0, &val1);
7773 if (!SWIG_IsOK(ecode1)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7775 }
7776 arg1 = static_cast< wxWindowVariant >(val1);
7777 }
7778 {
7779 if (!wxPyCheckForApp()) SWIG_fail;
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7786 return resultobj;
7787fail:
7788 return NULL;
7789}
7790
7791
7792SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7793 PyObject *obj;
7794 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7795 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7796 return SWIG_Py_Void();
7797}
7798
7799SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7800 return SWIG_Python_InitShadowInstance(args);
7801}
7802
7803SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj = 0;
7805 wxWindow *arg1 = (wxWindow *) 0 ;
7806 int arg2 = (int) -1 ;
7807 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7808 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7809 wxSize const &arg4_defvalue = wxDefaultSize ;
7810 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7811 long arg5 = (long) wxLI_HORIZONTAL ;
3f7f284d 7812 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
0085ce49
RD
7813 wxString *arg6 = (wxString *) &arg6_defvalue ;
7814 wxStaticLine *result = 0 ;
7815 void *argp1 = 0 ;
7816 int res1 = 0 ;
7817 int val2 ;
7818 int ecode2 = 0 ;
7819 wxPoint temp3 ;
7820 wxSize temp4 ;
7821 long val5 ;
7822 int ecode5 = 0 ;
7823 bool temp6 = false ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 PyObject * obj2 = 0 ;
7827 PyObject * obj3 = 0 ;
7828 PyObject * obj4 = 0 ;
7829 PyObject * obj5 = 0 ;
7830 char * kwnames[] = {
7831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 };
7833
7834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7836 if (!SWIG_IsOK(res1)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7838 }
7839 arg1 = reinterpret_cast< wxWindow * >(argp1);
7840 if (obj1) {
7841 ecode2 = SWIG_AsVal_int(obj1, &val2);
7842 if (!SWIG_IsOK(ecode2)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7844 }
7845 arg2 = static_cast< int >(val2);
7846 }
7847 if (obj2) {
093d3ff1 7848 {
0085ce49
RD
7849 arg3 = &temp3;
7850 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7851 }
0085ce49
RD
7852 }
7853 if (obj3) {
d14a1e28 7854 {
0085ce49
RD
7855 arg4 = &temp4;
7856 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7857 }
0085ce49
RD
7858 }
7859 if (obj4) {
7860 ecode5 = SWIG_AsVal_long(obj4, &val5);
7861 if (!SWIG_IsOK(ecode5)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7863 }
7864 arg5 = static_cast< long >(val5);
7865 }
7866 if (obj5) {
7867 {
7868 arg6 = wxString_in_helper(obj5);
7869 if (arg6 == NULL) SWIG_fail;
7870 temp6 = true;
7871 }
7872 }
7873 {
7874 if (!wxPyCheckForApp()) SWIG_fail;
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
7880 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7881 {
7882 if (temp6)
7883 delete arg6;
7884 }
7885 return resultobj;
7886fail:
7887 {
7888 if (temp6)
7889 delete arg6;
7890 }
7891 return NULL;
d14a1e28
RD
7892}
7893
7894
0085ce49
RD
7895SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7896 PyObject *resultobj = 0;
7897 wxStaticLine *result = 0 ;
7898
7899 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7900 {
7901 if (!wxPyCheckForApp()) SWIG_fail;
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (wxStaticLine *)new wxStaticLine();
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7908 return resultobj;
7909fail:
7910 return NULL;
7911}
7912
7913
7914SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj = 0;
7916 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7917 wxWindow *arg2 = (wxWindow *) 0 ;
7918 int arg3 = (int) -1 ;
7919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7921 wxSize const &arg5_defvalue = wxDefaultSize ;
7922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7923 long arg6 = (long) wxLI_HORIZONTAL ;
3f7f284d 7924 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
0085ce49
RD
7925 wxString *arg7 = (wxString *) &arg7_defvalue ;
7926 bool result;
7927 void *argp1 = 0 ;
7928 int res1 = 0 ;
7929 void *argp2 = 0 ;
7930 int res2 = 0 ;
7931 int val3 ;
7932 int ecode3 = 0 ;
7933 wxPoint temp4 ;
7934 wxSize temp5 ;
7935 long val6 ;
7936 int ecode6 = 0 ;
7937 bool temp7 = false ;
7938 PyObject * obj0 = 0 ;
7939 PyObject * obj1 = 0 ;
7940 PyObject * obj2 = 0 ;
7941 PyObject * obj3 = 0 ;
7942 PyObject * obj4 = 0 ;
7943 PyObject * obj5 = 0 ;
7944 PyObject * obj6 = 0 ;
7945 char * kwnames[] = {
7946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7947 };
7948
7949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7951 if (!SWIG_IsOK(res1)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7953 }
7954 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7956 if (!SWIG_IsOK(res2)) {
7957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7958 }
7959 arg2 = reinterpret_cast< wxWindow * >(argp2);
7960 if (obj2) {
7961 ecode3 = SWIG_AsVal_int(obj2, &val3);
7962 if (!SWIG_IsOK(ecode3)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7964 }
7965 arg3 = static_cast< int >(val3);
7966 }
7967 if (obj3) {
d14a1e28 7968 {
0085ce49
RD
7969 arg4 = &temp4;
7970 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7971 }
0085ce49
RD
7972 }
7973 if (obj4) {
093d3ff1 7974 {
0085ce49
RD
7975 arg5 = &temp5;
7976 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7977 }
0085ce49
RD
7978 }
7979 if (obj5) {
7980 ecode6 = SWIG_AsVal_long(obj5, &val6);
7981 if (!SWIG_IsOK(ecode6)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7983 }
7984 arg6 = static_cast< long >(val6);
7985 }
7986 if (obj6) {
7987 {
7988 arg7 = wxString_in_helper(obj6);
7989 if (arg7 == NULL) SWIG_fail;
7990 temp7 = true;
7991 }
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 {
8000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8001 }
8002 {
8003 if (temp7)
8004 delete arg7;
8005 }
8006 return resultobj;
8007fail:
8008 {
8009 if (temp7)
8010 delete arg7;
8011 }
8012 return NULL;
d14a1e28
RD
8013}
8014
8015
0085ce49
RD
8016SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8017 PyObject *resultobj = 0;
8018 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8019 bool result;
8020 void *argp1 = 0 ;
8021 int res1 = 0 ;
8022 PyObject *swig_obj[1] ;
8023
8024 if (!args) SWIG_fail;
8025 swig_obj[0] = args;
8026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8027 if (!SWIG_IsOK(res1)) {
8028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8029 }
8030 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 {
8038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8039 }
8040 return resultobj;
8041fail:
8042 return NULL;
8043}
8044
8045
8046SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8047 PyObject *resultobj = 0;
8048 int result;
8049
8050 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = (int)wxStaticLine::GetDefaultSize();
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 resultobj = SWIG_From_int(static_cast< int >(result));
8058 return resultobj;
8059fail:
8060 return NULL;
8061}
8062
8063
8064SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj = 0;
8066 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8067 SwigValueWrapper<wxVisualAttributes > result;
8068 int val1 ;
8069 int ecode1 = 0 ;
8070 PyObject * obj0 = 0 ;
8071 char * kwnames[] = {
8072 (char *) "variant", NULL
8073 };
8074
8075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8076 if (obj0) {
8077 ecode1 = SWIG_AsVal_int(obj0, &val1);
8078 if (!SWIG_IsOK(ecode1)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8080 }
8081 arg1 = static_cast< wxWindowVariant >(val1);
8082 }
8083 {
8084 if (!wxPyCheckForApp()) SWIG_fail;
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8091 return resultobj;
8092fail:
8093 return NULL;
8094}
8095
8096
8097SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8098 PyObject *obj;
8099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8100 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8101 return SWIG_Py_Void();
8102}
8103
8104SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8105 return SWIG_Python_InitShadowInstance(args);
8106}
8107
8108SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj = 0;
8110 wxWindow *arg1 = (wxWindow *) 0 ;
8111 int arg2 = (int) -1 ;
8112 wxString const &arg3_defvalue = wxPyEmptyString ;
8113 wxString *arg3 = (wxString *) &arg3_defvalue ;
8114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8116 wxSize const &arg5_defvalue = wxDefaultSize ;
8117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8118 long arg6 = (long) 0 ;
8119 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8120 wxString *arg7 = (wxString *) &arg7_defvalue ;
8121 wxStaticText *result = 0 ;
8122 void *argp1 = 0 ;
8123 int res1 = 0 ;
8124 int val2 ;
8125 int ecode2 = 0 ;
8126 bool temp3 = false ;
8127 wxPoint temp4 ;
8128 wxSize temp5 ;
8129 long val6 ;
8130 int ecode6 = 0 ;
8131 bool temp7 = false ;
8132 PyObject * obj0 = 0 ;
8133 PyObject * obj1 = 0 ;
8134 PyObject * obj2 = 0 ;
8135 PyObject * obj3 = 0 ;
8136 PyObject * obj4 = 0 ;
8137 PyObject * obj5 = 0 ;
8138 PyObject * obj6 = 0 ;
8139 char * kwnames[] = {
8140 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8141 };
8142
8143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8145 if (!SWIG_IsOK(res1)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8147 }
8148 arg1 = reinterpret_cast< wxWindow * >(argp1);
8149 if (obj1) {
8150 ecode2 = SWIG_AsVal_int(obj1, &val2);
8151 if (!SWIG_IsOK(ecode2)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8153 }
8154 arg2 = static_cast< int >(val2);
8155 }
8156 if (obj2) {
d14a1e28 8157 {
0085ce49
RD
8158 arg3 = wxString_in_helper(obj2);
8159 if (arg3 == NULL) SWIG_fail;
8160 temp3 = true;
d14a1e28 8161 }
0085ce49
RD
8162 }
8163 if (obj3) {
4f89f6a3 8164 {
0085ce49
RD
8165 arg4 = &temp4;
8166 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 8167 }
0085ce49
RD
8168 }
8169 if (obj4) {
093d3ff1 8170 {
0085ce49
RD
8171 arg5 = &temp5;
8172 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8173 }
0085ce49
RD
8174 }
8175 if (obj5) {
8176 ecode6 = SWIG_AsVal_long(obj5, &val6);
8177 if (!SWIG_IsOK(ecode6)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8179 }
8180 arg6 = static_cast< long >(val6);
8181 }
8182 if (obj6) {
d14a1e28 8183 {
0085ce49
RD
8184 arg7 = wxString_in_helper(obj6);
8185 if (arg7 == NULL) SWIG_fail;
8186 temp7 = true;
d14a1e28 8187 }
0085ce49
RD
8188 }
8189 {
8190 if (!wxPyCheckForApp()) SWIG_fail;
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8197 {
8198 if (temp3)
8199 delete arg3;
8200 }
8201 {
8202 if (temp7)
8203 delete arg7;
8204 }
8205 return resultobj;
8206fail:
8207 {
8208 if (temp3)
8209 delete arg3;
8210 }
8211 {
8212 if (temp7)
8213 delete arg7;
8214 }
8215 return NULL;
d14a1e28
RD
8216}
8217
8218
0085ce49
RD
8219SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8220 PyObject *resultobj = 0;
8221 wxStaticText *result = 0 ;
8222
8223 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8224 {
8225 if (!wxPyCheckForApp()) SWIG_fail;
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (wxStaticText *)new wxStaticText();
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8232 return resultobj;
8233fail:
8234 return NULL;
8235}
8236
8237
8238SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj = 0;
8240 wxStaticText *arg1 = (wxStaticText *) 0 ;
8241 wxWindow *arg2 = (wxWindow *) 0 ;
8242 int arg3 = (int) -1 ;
8243 wxString const &arg4_defvalue = wxPyEmptyString ;
8244 wxString *arg4 = (wxString *) &arg4_defvalue ;
8245 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8246 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8247 wxSize const &arg6_defvalue = wxDefaultSize ;
8248 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8249 long arg7 = (long) 0 ;
8250 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8251 wxString *arg8 = (wxString *) &arg8_defvalue ;
8252 bool result;
8253 void *argp1 = 0 ;
8254 int res1 = 0 ;
8255 void *argp2 = 0 ;
8256 int res2 = 0 ;
8257 int val3 ;
8258 int ecode3 = 0 ;
8259 bool temp4 = false ;
8260 wxPoint temp5 ;
8261 wxSize temp6 ;
8262 long val7 ;
8263 int ecode7 = 0 ;
8264 bool temp8 = false ;
8265 PyObject * obj0 = 0 ;
8266 PyObject * obj1 = 0 ;
8267 PyObject * obj2 = 0 ;
8268 PyObject * obj3 = 0 ;
8269 PyObject * obj4 = 0 ;
8270 PyObject * obj5 = 0 ;
8271 PyObject * obj6 = 0 ;
8272 PyObject * obj7 = 0 ;
8273 char * kwnames[] = {
8274 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8275 };
8276
8277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8279 if (!SWIG_IsOK(res1)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8281 }
8282 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8283 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8284 if (!SWIG_IsOK(res2)) {
8285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8286 }
8287 arg2 = reinterpret_cast< wxWindow * >(argp2);
8288 if (obj2) {
8289 ecode3 = SWIG_AsVal_int(obj2, &val3);
8290 if (!SWIG_IsOK(ecode3)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8292 }
8293 arg3 = static_cast< int >(val3);
8294 }
8295 if (obj3) {
d14a1e28 8296 {
0085ce49
RD
8297 arg4 = wxString_in_helper(obj3);
8298 if (arg4 == NULL) SWIG_fail;
8299 temp4 = true;
8300 }
8301 }
8302 if (obj4) {
8303 {
8304 arg5 = &temp5;
8305 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8306 }
0085ce49
RD
8307 }
8308 if (obj5) {
093d3ff1 8309 {
0085ce49
RD
8310 arg6 = &temp6;
8311 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8312 }
0085ce49
RD
8313 }
8314 if (obj6) {
8315 ecode7 = SWIG_AsVal_long(obj6, &val7);
8316 if (!SWIG_IsOK(ecode7)) {
8317 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8318 }
8319 arg7 = static_cast< long >(val7);
8320 }
8321 if (obj7) {
093d3ff1 8322 {
0085ce49
RD
8323 arg8 = wxString_in_helper(obj7);
8324 if (arg8 == NULL) SWIG_fail;
8325 temp8 = true;
8326 }
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 {
8335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8336 }
8337 {
8338 if (temp4)
8339 delete arg4;
8340 }
8341 {
8342 if (temp8)
8343 delete arg8;
8344 }
8345 return resultobj;
8346fail:
8347 {
8348 if (temp4)
8349 delete arg4;
8350 }
8351 {
8352 if (temp8)
8353 delete arg8;
8354 }
8355 return NULL;
8356}
8357
8358
8359SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj = 0;
8361 wxStaticText *arg1 = (wxStaticText *) 0 ;
8362 int arg2 ;
8363 void *argp1 = 0 ;
8364 int res1 = 0 ;
8365 int val2 ;
8366 int ecode2 = 0 ;
8367 PyObject * obj0 = 0 ;
8368 PyObject * obj1 = 0 ;
8369 char * kwnames[] = {
8370 (char *) "self",(char *) "width", NULL
8371 };
8372
8373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8375 if (!SWIG_IsOK(res1)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8377 }
8378 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8379 ecode2 = SWIG_AsVal_int(obj1, &val2);
8380 if (!SWIG_IsOK(ecode2)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8382 }
8383 arg2 = static_cast< int >(val2);
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 (arg1)->Wrap(arg2);
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 resultobj = SWIG_Py_Void();
8391 return resultobj;
8392fail:
8393 return NULL;
8394}
8395
8396
8397SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj = 0;
8399 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8400 SwigValueWrapper<wxVisualAttributes > result;
8401 int val1 ;
8402 int ecode1 = 0 ;
8403 PyObject * obj0 = 0 ;
8404 char * kwnames[] = {
8405 (char *) "variant", NULL
8406 };
8407
8408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8409 if (obj0) {
8410 ecode1 = SWIG_AsVal_int(obj0, &val1);
8411 if (!SWIG_IsOK(ecode1)) {
8412 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8413 }
8414 arg1 = static_cast< wxWindowVariant >(val1);
8415 }
8416 {
8417 if (!wxPyCheckForApp()) SWIG_fail;
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = wxStaticText::GetClassDefaultAttributes(arg1);
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8424 return resultobj;
8425fail:
8426 return NULL;
8427}
8428
8429
8430SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8431 PyObject *obj;
8432 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8434 return SWIG_Py_Void();
8435}
8436
8437SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8438 return SWIG_Python_InitShadowInstance(args);
8439}
8440
8441SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8442 PyObject *resultobj = 0;
8443 wxWindow *arg1 = (wxWindow *) 0 ;
8444 int arg2 = (int) -1 ;
8445 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8446 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8449 wxSize const &arg5_defvalue = wxDefaultSize ;
8450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8451 long arg6 = (long) 0 ;
8452 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8453 wxString *arg7 = (wxString *) &arg7_defvalue ;
8454 wxStaticBitmap *result = 0 ;
8455 void *argp1 = 0 ;
8456 int res1 = 0 ;
8457 int val2 ;
8458 int ecode2 = 0 ;
8459 void *argp3 = 0 ;
8460 int res3 = 0 ;
8461 wxPoint temp4 ;
8462 wxSize temp5 ;
8463 long val6 ;
8464 int ecode6 = 0 ;
8465 bool temp7 = false ;
8466 PyObject * obj0 = 0 ;
8467 PyObject * obj1 = 0 ;
8468 PyObject * obj2 = 0 ;
8469 PyObject * obj3 = 0 ;
8470 PyObject * obj4 = 0 ;
8471 PyObject * obj5 = 0 ;
8472 PyObject * obj6 = 0 ;
8473 char * kwnames[] = {
8474 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8475 };
8476
8477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8479 if (!SWIG_IsOK(res1)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8481 }
8482 arg1 = reinterpret_cast< wxWindow * >(argp1);
8483 if (obj1) {
8484 ecode2 = SWIG_AsVal_int(obj1, &val2);
8485 if (!SWIG_IsOK(ecode2)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8487 }
8488 arg2 = static_cast< int >(val2);
8489 }
8490 if (obj2) {
8491 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8492 if (!SWIG_IsOK(res3)) {
8493 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8494 }
8495 if (!argp3) {
8496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8497 }
0085ce49
RD
8498 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8499 }
8500 if (obj3) {
d14a1e28 8501 {
0085ce49
RD
8502 arg4 = &temp4;
8503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8504 }
0085ce49
RD
8505 }
8506 if (obj4) {
d14a1e28 8507 {
0085ce49
RD
8508 arg5 = &temp5;
8509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8510 }
0085ce49
RD
8511 }
8512 if (obj5) {
8513 ecode6 = SWIG_AsVal_long(obj5, &val6);
8514 if (!SWIG_IsOK(ecode6)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8516 }
8517 arg6 = static_cast< long >(val6);
8518 }
8519 if (obj6) {
093d3ff1 8520 {
0085ce49
RD
8521 arg7 = wxString_in_helper(obj6);
8522 if (arg7 == NULL) SWIG_fail;
8523 temp7 = true;
093d3ff1 8524 }
0085ce49
RD
8525 }
8526 {
8527 if (!wxPyCheckForApp()) SWIG_fail;
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8534 {
8535 if (temp7)
8536 delete arg7;
8537 }
8538 return resultobj;
8539fail:
8540 {
8541 if (temp7)
8542 delete arg7;
8543 }
8544 return NULL;
d14a1e28
RD
8545}
8546
8547
0085ce49
RD
8548SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8549 PyObject *resultobj = 0;
8550 wxStaticBitmap *result = 0 ;
8551
8552 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8553 {
8554 if (!wxPyCheckForApp()) SWIG_fail;
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (wxStaticBitmap *)new wxStaticBitmap();
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8561 return resultobj;
8562fail:
8563 return NULL;
8564}
8565
8566
8567SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj = 0;
8569 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8570 wxWindow *arg2 = (wxWindow *) 0 ;
8571 int arg3 = (int) -1 ;
8572 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8573 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8574 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8575 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8576 wxSize const &arg6_defvalue = wxDefaultSize ;
8577 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8578 long arg7 = (long) 0 ;
8579 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8580 wxString *arg8 = (wxString *) &arg8_defvalue ;
8581 bool result;
8582 void *argp1 = 0 ;
8583 int res1 = 0 ;
8584 void *argp2 = 0 ;
8585 int res2 = 0 ;
8586 int val3 ;
8587 int ecode3 = 0 ;
8588 void *argp4 = 0 ;
8589 int res4 = 0 ;
8590 wxPoint temp5 ;
8591 wxSize temp6 ;
8592 long val7 ;
8593 int ecode7 = 0 ;
8594 bool temp8 = false ;
8595 PyObject * obj0 = 0 ;
8596 PyObject * obj1 = 0 ;
8597 PyObject * obj2 = 0 ;
8598 PyObject * obj3 = 0 ;
8599 PyObject * obj4 = 0 ;
8600 PyObject * obj5 = 0 ;
8601 PyObject * obj6 = 0 ;
8602 PyObject * obj7 = 0 ;
8603 char * kwnames[] = {
8604 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8605 };
8606
8607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8609 if (!SWIG_IsOK(res1)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8611 }
8612 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8613 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8614 if (!SWIG_IsOK(res2)) {
8615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8616 }
8617 arg2 = reinterpret_cast< wxWindow * >(argp2);
8618 if (obj2) {
8619 ecode3 = SWIG_AsVal_int(obj2, &val3);
8620 if (!SWIG_IsOK(ecode3)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8622 }
8623 arg3 = static_cast< int >(val3);
8624 }
8625 if (obj3) {
8626 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8627 if (!SWIG_IsOK(res4)) {
8628 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8629 }
8630 if (!argp4) {
8631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22bfe96c 8632 }
0085ce49
RD
8633 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8634 }
8635 if (obj4) {
22bfe96c 8636 {
0085ce49
RD
8637 arg5 = &temp5;
8638 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 8639 }
0085ce49
RD
8640 }
8641 if (obj5) {
22bfe96c 8642 {
0085ce49
RD
8643 arg6 = &temp6;
8644 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22bfe96c 8645 }
0085ce49
RD
8646 }
8647 if (obj6) {
8648 ecode7 = SWIG_AsVal_long(obj6, &val7);
8649 if (!SWIG_IsOK(ecode7)) {
8650 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8651 }
8652 arg7 = static_cast< long >(val7);
8653 }
8654 if (obj7) {
b2dc1044 8655 {
0085ce49
RD
8656 arg8 = wxString_in_helper(obj7);
8657 if (arg8 == NULL) SWIG_fail;
8658 temp8 = true;
b2dc1044 8659 }
0085ce49
RD
8660 }
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 {
8668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8669 }
8670 {
8671 if (temp8)
8672 delete arg8;
8673 }
8674 return resultobj;
8675fail:
8676 {
8677 if (temp8)
8678 delete arg8;
8679 }
8680 return NULL;
b2dc1044
RD
8681}
8682
8683
0085ce49
RD
8684SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8685 PyObject *resultobj = 0;
8686 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8687 wxBitmap result;
8688 void *argp1 = 0 ;
8689 int res1 = 0 ;
8690 PyObject *swig_obj[1] ;
8691
8692 if (!args) SWIG_fail;
8693 swig_obj[0] = args;
8694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8695 if (!SWIG_IsOK(res1)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8697 }
8698 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8699 {
8700 PyThreadState* __tstate = wxPyBeginAllowThreads();
8701 result = (arg1)->GetBitmap();
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8706 return resultobj;
8707fail:
8708 return NULL;
8709}
8710
8711
8712SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj = 0;
8714 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8715 wxBitmap *arg2 = 0 ;
8716 void *argp1 = 0 ;
8717 int res1 = 0 ;
8718 void *argp2 = 0 ;
8719 int res2 = 0 ;
8720 PyObject * obj0 = 0 ;
8721 PyObject * obj1 = 0 ;
8722 char * kwnames[] = {
8723 (char *) "self",(char *) "bitmap", NULL
8724 };
8725
8726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8728 if (!SWIG_IsOK(res1)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8730 }
8731 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8732 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8733 if (!SWIG_IsOK(res2)) {
8734 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8735 }
8736 if (!argp2) {
8737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8738 }
8739 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 resultobj = SWIG_Py_Void();
8747 return resultobj;
8748fail:
8749 return NULL;
8750}
8751
8752
8753SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj = 0;
8755 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8756 wxIcon *arg2 = 0 ;
8757 void *argp1 = 0 ;
8758 int res1 = 0 ;
8759 void *argp2 = 0 ;
8760 int res2 = 0 ;
8761 PyObject * obj0 = 0 ;
8762 PyObject * obj1 = 0 ;
8763 char * kwnames[] = {
8764 (char *) "self",(char *) "icon", NULL
8765 };
8766
8767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8769 if (!SWIG_IsOK(res1)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8771 }
8772 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8773 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8774 if (!SWIG_IsOK(res2)) {
8775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8776 }
8777 if (!argp2) {
8778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8779 }
8780 arg2 = reinterpret_cast< wxIcon * >(argp2);
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 (arg1)->SetIcon((wxIcon const &)*arg2);
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = SWIG_Py_Void();
8788 return resultobj;
8789fail:
8790 return NULL;
8791}
8792
8793
8794SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj = 0;
8796 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8797 SwigValueWrapper<wxVisualAttributes > result;
8798 int val1 ;
8799 int ecode1 = 0 ;
8800 PyObject * obj0 = 0 ;
8801 char * kwnames[] = {
8802 (char *) "variant", NULL
8803 };
8804
8805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8806 if (obj0) {
8807 ecode1 = SWIG_AsVal_int(obj0, &val1);
8808 if (!SWIG_IsOK(ecode1)) {
8809 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8810 }
8811 arg1 = static_cast< wxWindowVariant >(val1);
8812 }
8813 {
8814 if (!wxPyCheckForApp()) SWIG_fail;
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8821 return resultobj;
8822fail:
8823 return NULL;
b2dc1044
RD
8824}
8825
8826
0085ce49
RD
8827SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8828 PyObject *obj;
8829 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8830 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8831 return SWIG_Py_Void();
b2dc1044
RD
8832}
8833
0085ce49
RD
8834SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8835 return SWIG_Python_InitShadowInstance(args);
8836}
b2dc1044 8837
0085ce49
RD
8838SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8839 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8840 return 1;
b2dc1044
RD
8841}
8842
8843
0085ce49
RD
8844SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8845 PyObject *pyobj = 0;
8846
8847 {
b2dc1044 8848#if wxUSE_UNICODE
0085ce49 8849 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
b2dc1044 8850#else
0085ce49 8851 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
b2dc1044 8852#endif
0085ce49
RD
8853 }
8854 return pyobj;
8855}
8856
8857
8858SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8859 PyObject *resultobj = 0;
8860 wxWindow *arg1 = (wxWindow *) 0 ;
8861 int arg2 = (int) -1 ;
8862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8864 wxSize const &arg4_defvalue = wxDefaultSize ;
8865 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8866 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8867 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8868 long arg6 = (long) 0 ;
8869 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8870 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8871 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8872 wxString *arg8 = (wxString *) &arg8_defvalue ;
8873 wxListBox *result = 0 ;
8874 void *argp1 = 0 ;
8875 int res1 = 0 ;
8876 int val2 ;
8877 int ecode2 = 0 ;
8878 wxPoint temp3 ;
8879 wxSize temp4 ;
8880 bool temp5 = false ;
8881 long val6 ;
8882 int ecode6 = 0 ;
8883 void *argp7 = 0 ;
8884 int res7 = 0 ;
8885 bool temp8 = false ;
8886 PyObject * obj0 = 0 ;
8887 PyObject * obj1 = 0 ;
8888 PyObject * obj2 = 0 ;
8889 PyObject * obj3 = 0 ;
8890 PyObject * obj4 = 0 ;
8891 PyObject * obj5 = 0 ;
8892 PyObject * obj6 = 0 ;
8893 PyObject * obj7 = 0 ;
8894 char * kwnames[] = {
8895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8896 };
8897
8898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8900 if (!SWIG_IsOK(res1)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8902 }
8903 arg1 = reinterpret_cast< wxWindow * >(argp1);
8904 if (obj1) {
8905 ecode2 = SWIG_AsVal_int(obj1, &val2);
8906 if (!SWIG_IsOK(ecode2)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8908 }
8909 arg2 = static_cast< int >(val2);
8910 }
8911 if (obj2) {
d14a1e28 8912 {
0085ce49
RD
8913 arg3 = &temp3;
8914 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 8915 }
0085ce49
RD
8916 }
8917 if (obj3) {
d14a1e28 8918 {
0085ce49
RD
8919 arg4 = &temp4;
8920 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8921 }
0085ce49
RD
8922 }
8923 if (obj4) {
d14a1e28 8924 {
0085ce49
RD
8925 if (! PySequence_Check(obj4)) {
8926 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8927 SWIG_fail;
8928 }
8929 arg5 = new wxArrayString;
8930 temp5 = true;
8931 int i, len=PySequence_Length(obj4);
8932 for (i=0; i<len; i++) {
8933 PyObject* item = PySequence_GetItem(obj4, i);
8934 wxString* s = wxString_in_helper(item);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 arg5->Add(*s);
8937 delete s;
8938 Py_DECREF(item);
8939 }
d14a1e28 8940 }
0085ce49
RD
8941 }
8942 if (obj5) {
8943 ecode6 = SWIG_AsVal_long(obj5, &val6);
8944 if (!SWIG_IsOK(ecode6)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8946 }
8947 arg6 = static_cast< long >(val6);
8948 }
8949 if (obj6) {
8950 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8951 if (!SWIG_IsOK(res7)) {
8952 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 8953 }
0085ce49
RD
8954 if (!argp7) {
8955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 8956 }
0085ce49
RD
8957 arg7 = reinterpret_cast< wxValidator * >(argp7);
8958 }
8959 if (obj7) {
d14a1e28 8960 {
0085ce49
RD
8961 arg8 = wxString_in_helper(obj7);
8962 if (arg8 == NULL) SWIG_fail;
8963 temp8 = true;
d14a1e28 8964 }
0085ce49
RD
8965 }
8966 {
8967 if (!wxPyCheckForApp()) SWIG_fail;
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8974 {
8975 if (temp5) delete arg5;
8976 }
8977 {
8978 if (temp8)
8979 delete arg8;
8980 }
8981 return resultobj;
8982fail:
8983 {
8984 if (temp5) delete arg5;
8985 }
8986 {
8987 if (temp8)
8988 delete arg8;
8989 }
8990 return NULL;
d14a1e28
RD
8991}
8992
8993
0085ce49
RD
8994SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8995 PyObject *resultobj = 0;
8996 wxListBox *result = 0 ;
8997
8998 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8999 {
9000 if (!wxPyCheckForApp()) SWIG_fail;
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (wxListBox *)new wxListBox();
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
9007 return resultobj;
9008fail:
9009 return NULL;
9010}
9011
9012
9013SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj = 0;
9015 wxListBox *arg1 = (wxListBox *) 0 ;
9016 wxWindow *arg2 = (wxWindow *) 0 ;
9017 int arg3 = (int) -1 ;
9018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9020 wxSize const &arg5_defvalue = wxDefaultSize ;
9021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9022 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9023 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9024 long arg7 = (long) 0 ;
9025 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9026 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9027 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9028 wxString *arg9 = (wxString *) &arg9_defvalue ;
9029 bool result;
9030 void *argp1 = 0 ;
9031 int res1 = 0 ;
9032 void *argp2 = 0 ;
9033 int res2 = 0 ;
9034 int val3 ;
9035 int ecode3 = 0 ;
9036 wxPoint temp4 ;
9037 wxSize temp5 ;
9038 bool temp6 = false ;
9039 long val7 ;
9040 int ecode7 = 0 ;
9041 void *argp8 = 0 ;
9042 int res8 = 0 ;
9043 bool temp9 = false ;
9044 PyObject * obj0 = 0 ;
9045 PyObject * obj1 = 0 ;
9046 PyObject * obj2 = 0 ;
9047 PyObject * obj3 = 0 ;
9048 PyObject * obj4 = 0 ;
9049 PyObject * obj5 = 0 ;
9050 PyObject * obj6 = 0 ;
9051 PyObject * obj7 = 0 ;
9052 PyObject * obj8 = 0 ;
9053 char * kwnames[] = {
9054 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9055 };
9056
9057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9059 if (!SWIG_IsOK(res1)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9061 }
9062 arg1 = reinterpret_cast< wxListBox * >(argp1);
9063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9064 if (!SWIG_IsOK(res2)) {
9065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9066 }
9067 arg2 = reinterpret_cast< wxWindow * >(argp2);
9068 if (obj2) {
9069 ecode3 = SWIG_AsVal_int(obj2, &val3);
9070 if (!SWIG_IsOK(ecode3)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9072 }
9073 arg3 = static_cast< int >(val3);
9074 }
9075 if (obj3) {
d14a1e28 9076 {
0085ce49
RD
9077 arg4 = &temp4;
9078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9079 }
0085ce49
RD
9080 }
9081 if (obj4) {
d14a1e28 9082 {
0085ce49
RD
9083 arg5 = &temp5;
9084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9085 }
0085ce49
RD
9086 }
9087 if (obj5) {
d14a1e28 9088 {
0085ce49
RD
9089 if (! PySequence_Check(obj5)) {
9090 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9091 SWIG_fail;
9092 }
9093 arg6 = new wxArrayString;
9094 temp6 = true;
9095 int i, len=PySequence_Length(obj5);
9096 for (i=0; i<len; i++) {
9097 PyObject* item = PySequence_GetItem(obj5, i);
9098 wxString* s = wxString_in_helper(item);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 arg6->Add(*s);
9101 delete s;
9102 Py_DECREF(item);
9103 }
d14a1e28 9104 }
0085ce49
RD
9105 }
9106 if (obj6) {
9107 ecode7 = SWIG_AsVal_long(obj6, &val7);
9108 if (!SWIG_IsOK(ecode7)) {
9109 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9110 }
9111 arg7 = static_cast< long >(val7);
9112 }
9113 if (obj7) {
9114 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9115 if (!SWIG_IsOK(res8)) {
9116 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 9117 }
0085ce49
RD
9118 if (!argp8) {
9119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
22bfe96c 9120 }
0085ce49
RD
9121 arg8 = reinterpret_cast< wxValidator * >(argp8);
9122 }
9123 if (obj8) {
22bfe96c 9124 {
0085ce49
RD
9125 arg9 = wxString_in_helper(obj8);
9126 if (arg9 == NULL) SWIG_fail;
9127 temp9 = true;
22bfe96c 9128 }
0085ce49
RD
9129 }
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 {
9137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9138 }
9139 {
9140 if (temp6) delete arg6;
9141 }
9142 {
9143 if (temp9)
9144 delete arg9;
9145 }
9146 return resultobj;
9147fail:
9148 {
9149 if (temp6) delete arg6;
9150 }
9151 {
9152 if (temp9)
9153 delete arg9;
9154 }
9155 return NULL;
9156}
9157
9158
9159SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj = 0;
9161 wxListBox *arg1 = (wxListBox *) 0 ;
9162 wxString *arg2 = 0 ;
9163 int arg3 ;
9164 PyObject *arg4 = (PyObject *) NULL ;
9165 void *argp1 = 0 ;
9166 int res1 = 0 ;
9167 bool temp2 = false ;
9168 int val3 ;
9169 int ecode3 = 0 ;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 PyObject * obj2 = 0 ;
9173 PyObject * obj3 = 0 ;
9174 char * kwnames[] = {
9175 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9176 };
9177
9178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9180 if (!SWIG_IsOK(res1)) {
9181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9182 }
9183 arg1 = reinterpret_cast< wxListBox * >(argp1);
9184 {
9185 arg2 = wxString_in_helper(obj1);
9186 if (arg2 == NULL) SWIG_fail;
9187 temp2 = true;
9188 }
9189 ecode3 = SWIG_AsVal_int(obj2, &val3);
9190 if (!SWIG_IsOK(ecode3)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9192 }
9193 arg3 = static_cast< int >(val3);
9194 if (obj3) {
9195 arg4 = obj3;
9196 }
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 resultobj = SWIG_Py_Void();
9204 {
9205 if (temp2)
9206 delete arg2;
9207 }
9208 return resultobj;
9209fail:
9210 {
9211 if (temp2)
9212 delete arg2;
9213 }
9214 return NULL;
9215}
9216
9217
9218SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj = 0;
9220 wxListBox *arg1 = (wxListBox *) 0 ;
9221 wxArrayString *arg2 = 0 ;
50f151d7 9222 unsigned int arg3 ;
0085ce49
RD
9223 void *argp1 = 0 ;
9224 int res1 = 0 ;
9225 bool temp2 = false ;
50f151d7 9226 unsigned int val3 ;
0085ce49
RD
9227 int ecode3 = 0 ;
9228 PyObject * obj0 = 0 ;
9229 PyObject * obj1 = 0 ;
9230 PyObject * obj2 = 0 ;
9231 char * kwnames[] = {
9232 (char *) "self",(char *) "items",(char *) "pos", NULL
9233 };
9234
9235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9237 if (!SWIG_IsOK(res1)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9239 }
9240 arg1 = reinterpret_cast< wxListBox * >(argp1);
9241 {
9242 if (! PySequence_Check(obj1)) {
9243 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9244 SWIG_fail;
9245 }
9246 arg2 = new wxArrayString;
9247 temp2 = true;
9248 int i, len=PySequence_Length(obj1);
9249 for (i=0; i<len; i++) {
9250 PyObject* item = PySequence_GetItem(obj1, i);
9251 wxString* s = wxString_in_helper(item);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 arg2->Add(*s);
9254 delete s;
9255 Py_DECREF(item);
22bfe96c 9256 }
0085ce49 9257 }
50f151d7 9258 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
0085ce49 9259 if (!SWIG_IsOK(ecode3)) {
50f151d7 9260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
0085ce49 9261 }
50f151d7 9262 arg3 = static_cast< unsigned int >(val3);
0085ce49
RD
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_Py_Void();
9270 {
9271 if (temp2) delete arg2;
9272 }
9273 return resultobj;
9274fail:
9275 {
9276 if (temp2) delete arg2;
9277 }
9278 return NULL;
22bfe96c
RD
9279}
9280
9281
0085ce49
RD
9282SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9283 PyObject *resultobj = 0;
9284 wxListBox *arg1 = (wxListBox *) 0 ;
9285 wxArrayString *arg2 = 0 ;
9286 void *argp1 = 0 ;
9287 int res1 = 0 ;
9288 bool temp2 = false ;
9289 PyObject * obj0 = 0 ;
9290 PyObject * obj1 = 0 ;
9291 char * kwnames[] = {
9292 (char *) "self",(char *) "items", NULL
9293 };
9294
9295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9297 if (!SWIG_IsOK(res1)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9299 }
9300 arg1 = reinterpret_cast< wxListBox * >(argp1);
9301 {
9302 if (! PySequence_Check(obj1)) {
9303 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9304 SWIG_fail;
9305 }
9306 arg2 = new wxArrayString;
9307 temp2 = true;
9308 int i, len=PySequence_Length(obj1);
9309 for (i=0; i<len; i++) {
9310 PyObject* item = PySequence_GetItem(obj1, i);
9311 wxString* s = wxString_in_helper(item);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 arg2->Add(*s);
9314 delete s;
9315 Py_DECREF(item);
d14a1e28 9316 }
0085ce49
RD
9317 }
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 (arg1)->Set((wxArrayString const &)*arg2);
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 resultobj = SWIG_Py_Void();
9325 {
9326 if (temp2) delete arg2;
9327 }
9328 return resultobj;
9329fail:
9330 {
9331 if (temp2) delete arg2;
9332 }
9333 return NULL;
9334}
9335
9336
9337SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj = 0;
9339 wxListBox *arg1 = (wxListBox *) 0 ;
9340 int arg2 ;
9341 bool result;
9342 void *argp1 = 0 ;
9343 int res1 = 0 ;
9344 int val2 ;
9345 int ecode2 = 0 ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 char * kwnames[] = {
9349 (char *) "self",(char *) "n", NULL
9350 };
9351
9352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9354 if (!SWIG_IsOK(res1)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9356 }
9357 arg1 = reinterpret_cast< wxListBox * >(argp1);
9358 ecode2 = SWIG_AsVal_int(obj1, &val2);
9359 if (!SWIG_IsOK(ecode2)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9361 }
9362 arg2 = static_cast< int >(val2);
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 {
9370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9371 }
9372 return resultobj;
9373fail:
9374 return NULL;
9375}
9376
9377
9378SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj = 0;
9380 wxListBox *arg1 = (wxListBox *) 0 ;
9381 int arg2 ;
9382 bool arg3 = (bool) true ;
9383 void *argp1 = 0 ;
9384 int res1 = 0 ;
9385 int val2 ;
9386 int ecode2 = 0 ;
9387 bool val3 ;
9388 int ecode3 = 0 ;
9389 PyObject * obj0 = 0 ;
9390 PyObject * obj1 = 0 ;
9391 PyObject * obj2 = 0 ;
9392 char * kwnames[] = {
9393 (char *) "self",(char *) "n",(char *) "select", NULL
9394 };
9395
9396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9398 if (!SWIG_IsOK(res1)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9400 }
9401 arg1 = reinterpret_cast< wxListBox * >(argp1);
9402 ecode2 = SWIG_AsVal_int(obj1, &val2);
9403 if (!SWIG_IsOK(ecode2)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9405 }
9406 arg2 = static_cast< int >(val2);
9407 if (obj2) {
9408 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9409 if (!SWIG_IsOK(ecode3)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9411 }
9412 arg3 = static_cast< bool >(val3);
9413 }
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 (arg1)->SetSelection(arg2,arg3);
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 resultobj = SWIG_Py_Void();
9421 return resultobj;
9422fail:
9423 return NULL;
9424}
9425
9426
9427SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj = 0;
9429 wxListBox *arg1 = (wxListBox *) 0 ;
9430 int arg2 ;
9431 void *argp1 = 0 ;
9432 int res1 = 0 ;
9433 int val2 ;
9434 int ecode2 = 0 ;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "self",(char *) "n", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9443 if (!SWIG_IsOK(res1)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9445 }
9446 arg1 = reinterpret_cast< wxListBox * >(argp1);
9447 ecode2 = SWIG_AsVal_int(obj1, &val2);
9448 if (!SWIG_IsOK(ecode2)) {
9449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9450 }
9451 arg2 = static_cast< int >(val2);
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->Select(arg2);
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = SWIG_Py_Void();
9459 return resultobj;
9460fail:
9461 return NULL;
9462}
9463
9464
9465SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj = 0;
9467 wxListBox *arg1 = (wxListBox *) 0 ;
9468 int arg2 ;
9469 void *argp1 = 0 ;
9470 int res1 = 0 ;
9471 int val2 ;
9472 int ecode2 = 0 ;
9473 PyObject * obj0 = 0 ;
9474 PyObject * obj1 = 0 ;
9475 char * kwnames[] = {
9476 (char *) "self",(char *) "n", NULL
9477 };
9478
9479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9481 if (!SWIG_IsOK(res1)) {
9482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9483 }
9484 arg1 = reinterpret_cast< wxListBox * >(argp1);
9485 ecode2 = SWIG_AsVal_int(obj1, &val2);
9486 if (!SWIG_IsOK(ecode2)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9488 }
9489 arg2 = static_cast< int >(val2);
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 (arg1)->Deselect(arg2);
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 resultobj = SWIG_Py_Void();
9497 return resultobj;
9498fail:
9499 return NULL;
9500}
9501
9502
9503SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj = 0;
9505 wxListBox *arg1 = (wxListBox *) 0 ;
9506 int arg2 = (int) -1 ;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 int val2 ;
9510 int ecode2 = 0 ;
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 char * kwnames[] = {
9514 (char *) "self",(char *) "itemToLeaveSelected", NULL
9515 };
9516
9517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9519 if (!SWIG_IsOK(res1)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 }
9522 arg1 = reinterpret_cast< wxListBox * >(argp1);
9523 if (obj1) {
9524 ecode2 = SWIG_AsVal_int(obj1, &val2);
9525 if (!SWIG_IsOK(ecode2)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9527 }
9528 arg2 = static_cast< int >(val2);
9529 }
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 (arg1)->DeselectAll(arg2);
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = SWIG_Py_Void();
9537 return resultobj;
9538fail:
9539 return NULL;
9540}
9541
9542
9543SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj = 0;
9545 wxListBox *arg1 = (wxListBox *) 0 ;
9546 wxString *arg2 = 0 ;
9547 bool arg3 = (bool) true ;
9548 bool result;
9549 void *argp1 = 0 ;
9550 int res1 = 0 ;
9551 bool temp2 = false ;
9552 bool val3 ;
9553 int ecode3 = 0 ;
9554 PyObject * obj0 = 0 ;
9555 PyObject * obj1 = 0 ;
9556 PyObject * obj2 = 0 ;
9557 char * kwnames[] = {
9558 (char *) "self",(char *) "s",(char *) "select", NULL
9559 };
9560
9561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9563 if (!SWIG_IsOK(res1)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9565 }
9566 arg1 = reinterpret_cast< wxListBox * >(argp1);
9567 {
9568 arg2 = wxString_in_helper(obj1);
9569 if (arg2 == NULL) SWIG_fail;
9570 temp2 = true;
9571 }
9572 if (obj2) {
9573 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9574 if (!SWIG_IsOK(ecode3)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9576 }
9577 arg3 = static_cast< bool >(val3);
9578 }
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9587 }
9588 {
9589 if (temp2)
9590 delete arg2;
9591 }
9592 return resultobj;
9593fail:
9594 {
9595 if (temp2)
9596 delete arg2;
9597 }
9598 return NULL;
d14a1e28
RD
9599}
9600
9601
0085ce49
RD
9602SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9603 PyObject *resultobj = 0;
9604 wxListBox *arg1 = (wxListBox *) 0 ;
9605 PyObject *result = 0 ;
9606 void *argp1 = 0 ;
9607 int res1 = 0 ;
9608 PyObject *swig_obj[1] ;
9609
9610 if (!args) SWIG_fail;
9611 swig_obj[0] = args;
9612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9613 if (!SWIG_IsOK(res1)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9615 }
9616 arg1 = reinterpret_cast< wxListBox * >(argp1);
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (PyObject *)wxListBox_GetSelections(arg1);
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = result;
9624 return resultobj;
9625fail:
9626 return NULL;
9627}
9628
9629
9630SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj = 0;
9632 wxListBox *arg1 = (wxListBox *) 0 ;
9633 int arg2 ;
9634 void *argp1 = 0 ;
9635 int res1 = 0 ;
9636 int val2 ;
9637 int ecode2 = 0 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char * kwnames[] = {
9641 (char *) "self",(char *) "n", NULL
9642 };
9643
9644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9646 if (!SWIG_IsOK(res1)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9648 }
9649 arg1 = reinterpret_cast< wxListBox * >(argp1);
9650 ecode2 = SWIG_AsVal_int(obj1, &val2);
9651 if (!SWIG_IsOK(ecode2)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9653 }
9654 arg2 = static_cast< int >(val2);
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 (arg1)->SetFirstItem(arg2);
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = SWIG_Py_Void();
9662 return resultobj;
9663fail:
9664 return NULL;
9665}
9666
9667
9668SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj = 0;
9670 wxListBox *arg1 = (wxListBox *) 0 ;
9671 wxString *arg2 = 0 ;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 bool temp2 = false ;
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char * kwnames[] = {
9678 (char *) "self",(char *) "s", NULL
9679 };
9680
9681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9685 }
9686 arg1 = reinterpret_cast< wxListBox * >(argp1);
9687 {
9688 arg2 = wxString_in_helper(obj1);
9689 if (arg2 == NULL) SWIG_fail;
9690 temp2 = true;
9691 }
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 (arg1)->SetFirstItem((wxString const &)*arg2);
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_Py_Void();
9699 {
9700 if (temp2)
9701 delete arg2;
9702 }
9703 return resultobj;
9704fail:
9705 {
9706 if (temp2)
9707 delete arg2;
9708 }
9709 return NULL;
9710}
9711
9712
9713SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj = 0;
9715 wxListBox *arg1 = (wxListBox *) 0 ;
9716 int arg2 ;
9717 void *argp1 = 0 ;
9718 int res1 = 0 ;
9719 int val2 ;
9720 int ecode2 = 0 ;
9721 PyObject * obj0 = 0 ;
9722 PyObject * obj1 = 0 ;
9723 char * kwnames[] = {
9724 (char *) "self",(char *) "n", NULL
9725 };
9726
9727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9729 if (!SWIG_IsOK(res1)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9731 }
9732 arg1 = reinterpret_cast< wxListBox * >(argp1);
9733 ecode2 = SWIG_AsVal_int(obj1, &val2);
9734 if (!SWIG_IsOK(ecode2)) {
9735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9736 }
9737 arg2 = static_cast< int >(val2);
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 (arg1)->EnsureVisible(arg2);
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 resultobj = SWIG_Py_Void();
9745 return resultobj;
9746fail:
9747 return NULL;
9748}
9749
9750
9751SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj = 0;
9753 wxListBox *arg1 = (wxListBox *) 0 ;
9754 wxString *arg2 = 0 ;
9755 void *argp1 = 0 ;
9756 int res1 = 0 ;
9757 bool temp2 = false ;
9758 PyObject * obj0 = 0 ;
9759 PyObject * obj1 = 0 ;
9760 char * kwnames[] = {
9761 (char *) "self",(char *) "s", NULL
9762 };
9763
9764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9766 if (!SWIG_IsOK(res1)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9768 }
9769 arg1 = reinterpret_cast< wxListBox * >(argp1);
9770 {
9771 arg2 = wxString_in_helper(obj1);
9772 if (arg2 == NULL) SWIG_fail;
9773 temp2 = true;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 resultobj = SWIG_Py_Void();
9782 {
9783 if (temp2)
9784 delete arg2;
9785 }
9786 return resultobj;
9787fail:
9788 {
9789 if (temp2)
9790 delete arg2;
9791 }
9792 return NULL;
d14a1e28
RD
9793}
9794
9795
0085ce49
RD
9796SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9797 PyObject *resultobj = 0;
9798 wxListBox *arg1 = (wxListBox *) 0 ;
9799 bool result;
9800 void *argp1 = 0 ;
9801 int res1 = 0 ;
9802 PyObject *swig_obj[1] ;
9803
9804 if (!args) SWIG_fail;
9805 swig_obj[0] = args;
9806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9807 if (!SWIG_IsOK(res1)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9809 }
9810 arg1 = reinterpret_cast< wxListBox * >(argp1);
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 result = (bool)((wxListBox const *)arg1)->IsSorted();
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 {
9818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9819 }
9820 return resultobj;
9821fail:
9822 return NULL;
9823}
9824
9825
9826SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj = 0;
9828 wxListBox *arg1 = (wxListBox *) 0 ;
9829 wxPoint *arg2 = 0 ;
9830 int result;
9831 void *argp1 = 0 ;
9832 int res1 = 0 ;
9833 wxPoint temp2 ;
9834 PyObject * obj0 = 0 ;
9835 PyObject * obj1 = 0 ;
9836 char * kwnames[] = {
9837 (char *) "self",(char *) "pt", NULL
9838 };
9839
9840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9842 if (!SWIG_IsOK(res1)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9844 }
9845 arg1 = reinterpret_cast< wxListBox * >(argp1);
9846 {
9847 arg2 = &temp2;
9848 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9849 }
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 resultobj = SWIG_From_int(static_cast< int >(result));
9857 return resultobj;
9858fail:
9859 return NULL;
9860}
9861
9862
9863SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj = 0;
9865 wxListBox *arg1 = (wxListBox *) 0 ;
9866 int arg2 ;
9867 wxColour *arg3 = 0 ;
9868 void *argp1 = 0 ;
9869 int res1 = 0 ;
9870 int val2 ;
9871 int ecode2 = 0 ;
9872 wxColour temp3 ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 PyObject * obj2 = 0 ;
9876 char * kwnames[] = {
9877 (char *) "self",(char *) "item",(char *) "c", NULL
9878 };
9879
9880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9884 }
9885 arg1 = reinterpret_cast< wxListBox * >(argp1);
9886 ecode2 = SWIG_AsVal_int(obj1, &val2);
9887 if (!SWIG_IsOK(ecode2)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9889 }
9890 arg2 = static_cast< int >(val2);
9891 {
9892 arg3 = &temp3;
9893 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9894 }
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 resultobj = SWIG_Py_Void();
9902 return resultobj;
9903fail:
9904 return NULL;
9905}
9906
9907
9908SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj = 0;
9910 wxListBox *arg1 = (wxListBox *) 0 ;
9911 int arg2 ;
9912 wxColour *arg3 = 0 ;
9913 void *argp1 = 0 ;
9914 int res1 = 0 ;
9915 int val2 ;
9916 int ecode2 = 0 ;
9917 wxColour temp3 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 PyObject * obj2 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "item",(char *) "c", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9929 }
9930 arg1 = reinterpret_cast< wxListBox * >(argp1);
9931 ecode2 = SWIG_AsVal_int(obj1, &val2);
9932 if (!SWIG_IsOK(ecode2)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9934 }
9935 arg2 = static_cast< int >(val2);
9936 {
9937 arg3 = &temp3;
9938 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9939 }
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = SWIG_Py_Void();
9947 return resultobj;
9948fail:
9949 return NULL;
9950}
9951
9952
9953SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj = 0;
9955 wxListBox *arg1 = (wxListBox *) 0 ;
9956 int arg2 ;
9957 wxFont *arg3 = 0 ;
9958 void *argp1 = 0 ;
9959 int res1 = 0 ;
9960 int val2 ;
9961 int ecode2 = 0 ;
9962 void *argp3 = 0 ;
9963 int res3 = 0 ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 char * kwnames[] = {
9968 (char *) "self",(char *) "item",(char *) "f", NULL
9969 };
9970
9971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9973 if (!SWIG_IsOK(res1)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9975 }
9976 arg1 = reinterpret_cast< wxListBox * >(argp1);
9977 ecode2 = SWIG_AsVal_int(obj1, &val2);
9978 if (!SWIG_IsOK(ecode2)) {
9979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9980 }
9981 arg2 = static_cast< int >(val2);
9982 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9983 if (!SWIG_IsOK(res3)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9985 }
9986 if (!argp3) {
9987 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9988 }
9989 arg3 = reinterpret_cast< wxFont * >(argp3);
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = SWIG_Py_Void();
9997 return resultobj;
9998fail:
9999 return NULL;
10000}
10001
10002
10003SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj = 0;
10005 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10006 SwigValueWrapper<wxVisualAttributes > result;
10007 int val1 ;
10008 int ecode1 = 0 ;
10009 PyObject * obj0 = 0 ;
10010 char * kwnames[] = {
10011 (char *) "variant", NULL
10012 };
10013
10014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10015 if (obj0) {
10016 ecode1 = SWIG_AsVal_int(obj0, &val1);
10017 if (!SWIG_IsOK(ecode1)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10019 }
10020 arg1 = static_cast< wxWindowVariant >(val1);
10021 }
10022 {
10023 if (!wxPyCheckForApp()) SWIG_fail;
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = wxListBox::GetClassDefaultAttributes(arg1);
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10030 return resultobj;
10031fail:
10032 return NULL;
10033}
10034
10035
10036SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10037 PyObject *obj;
10038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10039 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10040 return SWIG_Py_Void();
10041}
10042
10043SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10044 return SWIG_Python_InitShadowInstance(args);
10045}
10046
10047SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj = 0;
10049 wxWindow *arg1 = (wxWindow *) 0 ;
10050 int arg2 = (int) -1 ;
10051 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10052 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10053 wxSize const &arg4_defvalue = wxDefaultSize ;
10054 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10055 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10056 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10057 long arg6 = (long) 0 ;
10058 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10059 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10060 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10061 wxString *arg8 = (wxString *) &arg8_defvalue ;
10062 wxCheckListBox *result = 0 ;
10063 void *argp1 = 0 ;
10064 int res1 = 0 ;
10065 int val2 ;
10066 int ecode2 = 0 ;
10067 wxPoint temp3 ;
10068 wxSize temp4 ;
10069 bool temp5 = false ;
10070 long val6 ;
10071 int ecode6 = 0 ;
10072 void *argp7 = 0 ;
10073 int res7 = 0 ;
10074 bool temp8 = false ;
10075 PyObject * obj0 = 0 ;
10076 PyObject * obj1 = 0 ;
10077 PyObject * obj2 = 0 ;
10078 PyObject * obj3 = 0 ;
10079 PyObject * obj4 = 0 ;
10080 PyObject * obj5 = 0 ;
10081 PyObject * obj6 = 0 ;
10082 PyObject * obj7 = 0 ;
10083 char * kwnames[] = {
10084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10085 };
10086
10087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10089 if (!SWIG_IsOK(res1)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10091 }
10092 arg1 = reinterpret_cast< wxWindow * >(argp1);
10093 if (obj1) {
10094 ecode2 = SWIG_AsVal_int(obj1, &val2);
10095 if (!SWIG_IsOK(ecode2)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10097 }
10098 arg2 = static_cast< int >(val2);
10099 }
10100 if (obj2) {
d14a1e28 10101 {
0085ce49
RD
10102 arg3 = &temp3;
10103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 10104 }
0085ce49
RD
10105 }
10106 if (obj3) {
d14a1e28 10107 {
0085ce49
RD
10108 arg4 = &temp4;
10109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10110 }
0085ce49
RD
10111 }
10112 if (obj4) {
d14a1e28 10113 {
0085ce49
RD
10114 if (! PySequence_Check(obj4)) {
10115 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10116 SWIG_fail;
10117 }
10118 arg5 = new wxArrayString;
10119 temp5 = true;
10120 int i, len=PySequence_Length(obj4);
10121 for (i=0; i<len; i++) {
10122 PyObject* item = PySequence_GetItem(obj4, i);
10123 wxString* s = wxString_in_helper(item);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 arg5->Add(*s);
10126 delete s;
10127 Py_DECREF(item);
10128 }
d14a1e28 10129 }
0085ce49
RD
10130 }
10131 if (obj5) {
10132 ecode6 = SWIG_AsVal_long(obj5, &val6);
10133 if (!SWIG_IsOK(ecode6)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10135 }
10136 arg6 = static_cast< long >(val6);
10137 }
10138 if (obj6) {
10139 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10140 if (!SWIG_IsOK(res7)) {
10141 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 10142 }
0085ce49
RD
10143 if (!argp7) {
10144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 10145 }
0085ce49
RD
10146 arg7 = reinterpret_cast< wxValidator * >(argp7);
10147 }
10148 if (obj7) {
093d3ff1 10149 {
0085ce49
RD
10150 arg8 = wxString_in_helper(obj7);
10151 if (arg8 == NULL) SWIG_fail;
10152 temp8 = true;
093d3ff1 10153 }
0085ce49
RD
10154 }
10155 {
10156 if (!wxPyCheckForApp()) SWIG_fail;
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10163 {
10164 if (temp5) delete arg5;
10165 }
10166 {
10167 if (temp8)
10168 delete arg8;
10169 }
10170 return resultobj;
10171fail:
10172 {
10173 if (temp5) delete arg5;
10174 }
10175 {
10176 if (temp8)
10177 delete arg8;
10178 }
10179 return NULL;
d14a1e28
RD
10180}
10181
10182
0085ce49
RD
10183SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10184 PyObject *resultobj = 0;
10185 wxCheckListBox *result = 0 ;
10186
10187 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10188 {
10189 if (!wxPyCheckForApp()) SWIG_fail;
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (wxCheckListBox *)new wxCheckListBox();
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10196 return resultobj;
10197fail:
10198 return NULL;
10199}
10200
10201
10202SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj = 0;
10204 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10205 wxWindow *arg2 = (wxWindow *) 0 ;
10206 int arg3 = (int) -1 ;
10207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10209 wxSize const &arg5_defvalue = wxDefaultSize ;
10210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10211 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10212 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10213 long arg7 = (long) 0 ;
10214 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10215 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10216 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10217 wxString *arg9 = (wxString *) &arg9_defvalue ;
10218 bool result;
10219 void *argp1 = 0 ;
10220 int res1 = 0 ;
10221 void *argp2 = 0 ;
10222 int res2 = 0 ;
10223 int val3 ;
10224 int ecode3 = 0 ;
10225 wxPoint temp4 ;
10226 wxSize temp5 ;
10227 bool temp6 = false ;
10228 long val7 ;
10229 int ecode7 = 0 ;
10230 void *argp8 = 0 ;
10231 int res8 = 0 ;
10232 bool temp9 = false ;
10233 PyObject * obj0 = 0 ;
10234 PyObject * obj1 = 0 ;
10235 PyObject * obj2 = 0 ;
10236 PyObject * obj3 = 0 ;
10237 PyObject * obj4 = 0 ;
10238 PyObject * obj5 = 0 ;
10239 PyObject * obj6 = 0 ;
10240 PyObject * obj7 = 0 ;
10241 PyObject * obj8 = 0 ;
10242 char * kwnames[] = {
10243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10244 };
10245
10246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10248 if (!SWIG_IsOK(res1)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10250 }
10251 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10253 if (!SWIG_IsOK(res2)) {
10254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10255 }
10256 arg2 = reinterpret_cast< wxWindow * >(argp2);
10257 if (obj2) {
10258 ecode3 = SWIG_AsVal_int(obj2, &val3);
10259 if (!SWIG_IsOK(ecode3)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10261 }
10262 arg3 = static_cast< int >(val3);
10263 }
10264 if (obj3) {
22bfe96c 10265 {
0085ce49
RD
10266 arg4 = &temp4;
10267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10268 }
0085ce49
RD
10269 }
10270 if (obj4) {
d14a1e28 10271 {
0085ce49
RD
10272 arg5 = &temp5;
10273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 10274 }
0085ce49
RD
10275 }
10276 if (obj5) {
d14a1e28 10277 {
0085ce49
RD
10278 if (! PySequence_Check(obj5)) {
10279 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10280 SWIG_fail;
10281 }
10282 arg6 = new wxArrayString;
10283 temp6 = true;
10284 int i, len=PySequence_Length(obj5);
10285 for (i=0; i<len; i++) {
10286 PyObject* item = PySequence_GetItem(obj5, i);
10287 wxString* s = wxString_in_helper(item);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 arg6->Add(*s);
10290 delete s;
10291 Py_DECREF(item);
10292 }
d14a1e28 10293 }
0085ce49
RD
10294 }
10295 if (obj6) {
10296 ecode7 = SWIG_AsVal_long(obj6, &val7);
10297 if (!SWIG_IsOK(ecode7)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10299 }
10300 arg7 = static_cast< long >(val7);
10301 }
10302 if (obj7) {
10303 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10304 if (!SWIG_IsOK(res8)) {
10305 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 10306 }
0085ce49
RD
10307 if (!argp8) {
10308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 10309 }
0085ce49
RD
10310 arg8 = reinterpret_cast< wxValidator * >(argp8);
10311 }
10312 if (obj8) {
d14a1e28 10313 {
0085ce49
RD
10314 arg9 = wxString_in_helper(obj8);
10315 if (arg9 == NULL) SWIG_fail;
10316 temp9 = true;
d14a1e28 10317 }
0085ce49
RD
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 {
10326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10327 }
10328 {
10329 if (temp6) delete arg6;
10330 }
10331 {
10332 if (temp9)
10333 delete arg9;
10334 }
10335 return resultobj;
10336fail:
10337 {
10338 if (temp6) delete arg6;
10339 }
10340 {
10341 if (temp9)
10342 delete arg9;
10343 }
10344 return NULL;
10345}
10346
10347
10348SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj = 0;
10350 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10351 unsigned int arg2 ;
0085ce49
RD
10352 bool result;
10353 void *argp1 = 0 ;
10354 int res1 = 0 ;
50f151d7 10355 unsigned int val2 ;
0085ce49
RD
10356 int ecode2 = 0 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 char * kwnames[] = {
10360 (char *) "self",(char *) "index", NULL
10361 };
10362
10363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10365 if (!SWIG_IsOK(res1)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10367 }
10368 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10369 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 10370 if (!SWIG_IsOK(ecode2)) {
50f151d7 10371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 10372 }
50f151d7 10373 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 result = (bool)(arg1)->IsChecked(arg2);
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 {
10381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10382 }
10383 return resultobj;
10384fail:
10385 return NULL;
10386}
10387
10388
10389SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj = 0;
10391 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10392 unsigned int arg2 ;
0085ce49
RD
10393 int arg3 = (int) true ;
10394 void *argp1 = 0 ;
10395 int res1 = 0 ;
50f151d7 10396 unsigned int val2 ;
0085ce49
RD
10397 int ecode2 = 0 ;
10398 int val3 ;
10399 int ecode3 = 0 ;
10400 PyObject * obj0 = 0 ;
10401 PyObject * obj1 = 0 ;
10402 PyObject * obj2 = 0 ;
10403 char * kwnames[] = {
10404 (char *) "self",(char *) "index",(char *) "check", NULL
10405 };
10406
10407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10409 if (!SWIG_IsOK(res1)) {
10410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10411 }
10412 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10413 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 10414 if (!SWIG_IsOK(ecode2)) {
50f151d7 10415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 10416 }
50f151d7 10417 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
10418 if (obj2) {
10419 ecode3 = SWIG_AsVal_int(obj2, &val3);
10420 if (!SWIG_IsOK(ecode3)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10422 }
10423 arg3 = static_cast< int >(val3);
10424 }
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->Check(arg2,arg3);
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 resultobj = SWIG_Py_Void();
10432 return resultobj;
10433fail:
10434 return NULL;
d14a1e28
RD
10435}
10436
10437
0085ce49
RD
10438SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10439 PyObject *resultobj = 0;
10440 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10441 int result;
10442 void *argp1 = 0 ;
10443 int res1 = 0 ;
10444 PyObject *swig_obj[1] ;
10445
10446 if (!args) SWIG_fail;
10447 swig_obj[0] = args;
10448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10449 if (!SWIG_IsOK(res1)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10451 }
10452 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10453 {
10454 PyThreadState* __tstate = wxPyBeginAllowThreads();
10455 result = (int)(arg1)->GetItemHeight();
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 resultobj = SWIG_From_int(static_cast< int >(result));
10460 return resultobj;
10461fail:
10462 return NULL;
d14a1e28
RD
10463}
10464
10465
0085ce49
RD
10466SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10467 PyObject *obj;
10468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10469 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10470 return SWIG_Py_Void();
d14a1e28
RD
10471}
10472
0085ce49
RD
10473SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10474 return SWIG_Python_InitShadowInstance(args);
943e8dfd
RD
10475}
10476
0085ce49
RD
10477SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10478 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10479 return 1;
22bfe96c
RD
10480}
10481
10482
0085ce49
RD
10483SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10484 PyObject *pyobj = 0;
10485
10486 {
10487#if wxUSE_UNICODE
10488 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10489#else
10490 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10491#endif
10492 }
10493 return pyobj;
10494}
10495
10496
10497SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj = 0;
10499 wxColour const &arg1_defvalue = wxNullColour ;
10500 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10501 wxColour const &arg2_defvalue = wxNullColour ;
10502 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10503 wxFont const &arg3_defvalue = wxNullFont ;
10504 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10505 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10506 wxTextAttr *result = 0 ;
10507 wxColour temp1 ;
10508 wxColour temp2 ;
10509 void *argp3 = 0 ;
10510 int res3 = 0 ;
10511 int val4 ;
10512 int ecode4 = 0 ;
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
10515 PyObject * obj2 = 0 ;
10516 PyObject * obj3 = 0 ;
10517 char * kwnames[] = {
10518 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10519 };
10520
10521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10522 if (obj0) {
d14a1e28 10523 {
0085ce49
RD
10524 arg1 = &temp1;
10525 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d14a1e28 10526 }
0085ce49
RD
10527 }
10528 if (obj1) {
d14a1e28 10529 {
0085ce49
RD
10530 arg2 = &temp2;
10531 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 10532 }
0085ce49
RD
10533 }
10534 if (obj2) {
10535 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10536 if (!SWIG_IsOK(res3)) {
10537 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 10538 }
0085ce49
RD
10539 if (!argp3) {
10540 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10541 }
10542 arg3 = reinterpret_cast< wxFont * >(argp3);
10543 }
10544 if (obj3) {
10545 ecode4 = SWIG_AsVal_int(obj3, &val4);
10546 if (!SWIG_IsOK(ecode4)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10548 }
10549 arg4 = static_cast< wxTextAttrAlignment >(val4);
10550 }
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10558 return resultobj;
10559fail:
10560 return NULL;
d14a1e28
RD
10561}
10562
10563
0085ce49
RD
10564SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10565 PyObject *resultobj = 0;
10566 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10567 void *argp1 = 0 ;
10568 int res1 = 0 ;
10569 PyObject *swig_obj[1] ;
10570
10571 if (!args) SWIG_fail;
10572 swig_obj[0] = args;
10573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10574 if (!SWIG_IsOK(res1)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10576 }
10577 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 delete arg1;
d14a1e28 10581
0085ce49
RD
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_Py_Void();
10586 return resultobj;
10587fail:
10588 return NULL;
d14a1e28
RD
10589}
10590
10591
0085ce49
RD
10592SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10593 PyObject *resultobj = 0;
10594 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10595 void *argp1 = 0 ;
10596 int res1 = 0 ;
10597 PyObject *swig_obj[1] ;
10598
10599 if (!args) SWIG_fail;
10600 swig_obj[0] = args;
10601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10602 if (!SWIG_IsOK(res1)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10604 }
10605 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 (arg1)->Init();
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 resultobj = SWIG_Py_Void();
10613 return resultobj;
10614fail:
10615 return NULL;
10616}
10617
10618
01f6b6d3
RD
10619SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj = 0;
10621 wxTextAttr *arg1 = 0 ;
10622 wxTextAttr *arg2 = 0 ;
10623 wxTextAttr result;
10624 void *argp1 = 0 ;
10625 int res1 = 0 ;
10626 void *argp2 = 0 ;
10627 int res2 = 0 ;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 char * kwnames[] = {
10631 (char *) "base",(char *) "overlay", NULL
10632 };
10633
10634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10635 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10636 if (!SWIG_IsOK(res1)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10638 }
10639 if (!argp1) {
10640 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10641 }
10642 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10643 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10644 if (!SWIG_IsOK(res2)) {
10645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10646 }
10647 if (!argp2) {
10648 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10649 }
10650 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10658 return resultobj;
10659fail:
10660 return NULL;
10661}
10662
10663
0085ce49
RD
10664SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj = 0;
10666 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10667 wxColour *arg2 = 0 ;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 wxColour temp2 ;
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj1 = 0 ;
10673 char * kwnames[] = {
10674 (char *) "self",(char *) "colText", NULL
10675 };
10676
10677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10679 if (!SWIG_IsOK(res1)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10681 }
10682 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10683 {
10684 arg2 = &temp2;
10685 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10686 }
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 (arg1)->SetTextColour((wxColour const &)*arg2);
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 resultobj = SWIG_Py_Void();
10694 return resultobj;
10695fail:
10696 return NULL;
10697}
10698
10699
10700SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj = 0;
10702 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10703 wxColour *arg2 = 0 ;
10704 void *argp1 = 0 ;
10705 int res1 = 0 ;
10706 wxColour temp2 ;
10707 PyObject * obj0 = 0 ;
10708 PyObject * obj1 = 0 ;
10709 char * kwnames[] = {
10710 (char *) "self",(char *) "colBack", NULL
10711 };
10712
10713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10715 if (!SWIG_IsOK(res1)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10717 }
10718 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10719 {
10720 arg2 = &temp2;
10721 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10722 }
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 resultobj = SWIG_Py_Void();
10730 return resultobj;
10731fail:
10732 return NULL;
10733}
10734
10735
10736SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj = 0;
10738 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10739 wxFont *arg2 = 0 ;
10740 long arg3 = (long) wxTEXT_ATTR_FONT ;
10741 void *argp1 = 0 ;
10742 int res1 = 0 ;
10743 void *argp2 = 0 ;
10744 int res2 = 0 ;
10745 long val3 ;
10746 int ecode3 = 0 ;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 PyObject * obj2 = 0 ;
10750 char * kwnames[] = {
10751 (char *) "self",(char *) "font",(char *) "flags", NULL
10752 };
10753
10754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10756 if (!SWIG_IsOK(res1)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10758 }
10759 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10760 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10761 if (!SWIG_IsOK(res2)) {
10762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10763 }
10764 if (!argp2) {
10765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10766 }
10767 arg2 = reinterpret_cast< wxFont * >(argp2);
10768 if (obj2) {
10769 ecode3 = SWIG_AsVal_long(obj2, &val3);
10770 if (!SWIG_IsOK(ecode3)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10772 }
10773 arg3 = static_cast< long >(val3);
10774 }
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_Py_Void();
10782 return resultobj;
10783fail:
10784 return NULL;
10785}
10786
10787
10788SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj = 0;
10790 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10791 wxTextAttrAlignment arg2 ;
10792 void *argp1 = 0 ;
10793 int res1 = 0 ;
10794 int val2 ;
10795 int ecode2 = 0 ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 char * kwnames[] = {
10799 (char *) "self",(char *) "alignment", NULL
10800 };
10801
10802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10804 if (!SWIG_IsOK(res1)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10806 }
10807 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10808 ecode2 = SWIG_AsVal_int(obj1, &val2);
10809 if (!SWIG_IsOK(ecode2)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10811 }
10812 arg2 = static_cast< wxTextAttrAlignment >(val2);
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 (arg1)->SetAlignment(arg2);
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 resultobj = SWIG_Py_Void();
10820 return resultobj;
10821fail:
10822 return NULL;
10823}
10824
10825
10826SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj = 0;
10828 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10829 wxArrayInt *arg2 = 0 ;
10830 void *argp1 = 0 ;
10831 int res1 = 0 ;
10832 bool temp2 = false ;
10833 PyObject * obj0 = 0 ;
10834 PyObject * obj1 = 0 ;
10835 char * kwnames[] = {
10836 (char *) "self",(char *) "tabs", NULL
10837 };
10838
10839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10841 if (!SWIG_IsOK(res1)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10843 }
10844 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10845 {
10846 if (! PySequence_Check(obj1)) {
10847 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10848 SWIG_fail;
10849 }
10850 arg2 = new wxArrayInt;
10851 temp2 = true;
10852 int i, len=PySequence_Length(obj1);
10853 for (i=0; i<len; i++) {
10854 PyObject* item = PySequence_GetItem(obj1, i);
10855 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
10856 if (!number) {
10857 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10858 SWIG_fail;
10859 }
0085ce49
RD
10860 arg2->Add(PyInt_AS_LONG(number));
10861 Py_DECREF(item);
10862 Py_DECREF(number);
d14a1e28 10863 }
0085ce49
RD
10864 }
10865 {
10866 PyThreadState* __tstate = wxPyBeginAllowThreads();
10867 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10868 wxPyEndAllowThreads(__tstate);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 resultobj = SWIG_Py_Void();
10872 {
10873 if (temp2) delete arg2;
10874 }
10875 return resultobj;
10876fail:
10877 {
10878 if (temp2) delete arg2;
10879 }
10880 return NULL;
10881}
10882
10883
10884SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj = 0;
10886 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10887 int arg2 ;
10888 int arg3 = (int) 0 ;
10889 void *argp1 = 0 ;
10890 int res1 = 0 ;
10891 int val2 ;
10892 int ecode2 = 0 ;
10893 int val3 ;
10894 int ecode3 = 0 ;
10895 PyObject * obj0 = 0 ;
10896 PyObject * obj1 = 0 ;
10897 PyObject * obj2 = 0 ;
10898 char * kwnames[] = {
10899 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10900 };
10901
10902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10904 if (!SWIG_IsOK(res1)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10906 }
10907 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10908 ecode2 = SWIG_AsVal_int(obj1, &val2);
10909 if (!SWIG_IsOK(ecode2)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10911 }
10912 arg2 = static_cast< int >(val2);
10913 if (obj2) {
10914 ecode3 = SWIG_AsVal_int(obj2, &val3);
10915 if (!SWIG_IsOK(ecode3)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10917 }
10918 arg3 = static_cast< int >(val3);
10919 }
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 (arg1)->SetLeftIndent(arg2,arg3);
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 resultobj = SWIG_Py_Void();
10927 return resultobj;
10928fail:
10929 return NULL;
10930}
10931
10932
10933SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj = 0;
10935 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10936 int arg2 ;
10937 void *argp1 = 0 ;
10938 int res1 = 0 ;
10939 int val2 ;
10940 int ecode2 = 0 ;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 char * kwnames[] = {
10944 (char *) "self",(char *) "indent", NULL
10945 };
10946
10947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10949 if (!SWIG_IsOK(res1)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10951 }
10952 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10953 ecode2 = SWIG_AsVal_int(obj1, &val2);
10954 if (!SWIG_IsOK(ecode2)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10956 }
10957 arg2 = static_cast< int >(val2);
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 (arg1)->SetRightIndent(arg2);
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 resultobj = SWIG_Py_Void();
10965 return resultobj;
10966fail:
10967 return NULL;
10968}
10969
10970
10971SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj = 0;
10973 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10974 long arg2 ;
10975 void *argp1 = 0 ;
10976 int res1 = 0 ;
10977 long val2 ;
10978 int ecode2 = 0 ;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 char * kwnames[] = {
10982 (char *) "self",(char *) "flags", NULL
10983 };
10984
10985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10987 if (!SWIG_IsOK(res1)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10989 }
10990 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10991 ecode2 = SWIG_AsVal_long(obj1, &val2);
10992 if (!SWIG_IsOK(ecode2)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10994 }
10995 arg2 = static_cast< long >(val2);
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->SetFlags(arg2);
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_Py_Void();
11003 return resultobj;
11004fail:
11005 return NULL;
d14a1e28
RD
11006}
11007
11008
0085ce49
RD
11009SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11010 PyObject *resultobj = 0;
11011 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11012 bool result;
11013 void *argp1 = 0 ;
11014 int res1 = 0 ;
11015 PyObject *swig_obj[1] ;
11016
11017 if (!args) SWIG_fail;
11018 swig_obj[0] = args;
11019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11020 if (!SWIG_IsOK(res1)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11022 }
11023 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 {
11031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11032 }
11033 return resultobj;
11034fail:
11035 return NULL;
d14a1e28
RD
11036}
11037
11038
0085ce49
RD
11039SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11040 PyObject *resultobj = 0;
11041 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11042 bool result;
11043 void *argp1 = 0 ;
11044 int res1 = 0 ;
11045 PyObject *swig_obj[1] ;
11046
11047 if (!args) SWIG_fail;
11048 swig_obj[0] = args;
11049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11050 if (!SWIG_IsOK(res1)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11052 }
11053 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 {
11061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11062 }
11063 return resultobj;
11064fail:
11065 return NULL;
d14a1e28
RD
11066}
11067
11068
0085ce49
RD
11069SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11070 PyObject *resultobj = 0;
11071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11072 bool result;
11073 void *argp1 = 0 ;
11074 int res1 = 0 ;
11075 PyObject *swig_obj[1] ;
11076
11077 if (!args) SWIG_fail;
11078 swig_obj[0] = args;
11079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11080 if (!SWIG_IsOK(res1)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11082 }
11083 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11092 }
11093 return resultobj;
11094fail:
11095 return NULL;
d14a1e28
RD
11096}
11097
11098
0085ce49
RD
11099SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11100 PyObject *resultobj = 0;
11101 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11102 bool result;
11103 void *argp1 = 0 ;
11104 int res1 = 0 ;
11105 PyObject *swig_obj[1] ;
11106
11107 if (!args) SWIG_fail;
11108 swig_obj[0] = args;
11109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11110 if (!SWIG_IsOK(res1)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11112 }
11113 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 {
11121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11122 }
11123 return resultobj;
11124fail:
11125 return NULL;
22bfe96c
RD
11126}
11127
11128
0085ce49
RD
11129SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11130 PyObject *resultobj = 0;
11131 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11132 bool result;
11133 void *argp1 = 0 ;
11134 int res1 = 0 ;
11135 PyObject *swig_obj[1] ;
11136
11137 if (!args) SWIG_fail;
11138 swig_obj[0] = args;
11139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11140 if (!SWIG_IsOK(res1)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11142 }
11143 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 {
11151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11152 }
11153 return resultobj;
11154fail:
11155 return NULL;
b2dc1044
RD
11156}
11157
11158
0085ce49
RD
11159SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11160 PyObject *resultobj = 0;
11161 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11162 bool result;
11163 void *argp1 = 0 ;
11164 int res1 = 0 ;
11165 PyObject *swig_obj[1] ;
11166
11167 if (!args) SWIG_fail;
11168 swig_obj[0] = args;
11169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11172 }
11173 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 {
11181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11182 }
11183 return resultobj;
11184fail:
11185 return NULL;
d14a1e28
RD
11186}
11187
11188
0085ce49
RD
11189SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11190 PyObject *resultobj = 0;
11191 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11192 bool result;
11193 void *argp1 = 0 ;
11194 int res1 = 0 ;
11195 PyObject *swig_obj[1] ;
11196
11197 if (!args) SWIG_fail;
11198 swig_obj[0] = args;
11199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11200 if (!SWIG_IsOK(res1)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11202 }
11203 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 {
11211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11212 }
11213 return resultobj;
11214fail:
11215 return NULL;
11216}
11217
11218
11219SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj = 0;
11221 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11222 long arg2 ;
11223 bool result;
11224 void *argp1 = 0 ;
11225 int res1 = 0 ;
11226 long val2 ;
11227 int ecode2 = 0 ;
11228 PyObject * obj0 = 0 ;
11229 PyObject * obj1 = 0 ;
11230 char * kwnames[] = {
11231 (char *) "self",(char *) "flag", NULL
11232 };
11233
11234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11236 if (!SWIG_IsOK(res1)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11238 }
11239 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11240 ecode2 = SWIG_AsVal_long(obj1, &val2);
11241 if (!SWIG_IsOK(ecode2)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11243 }
11244 arg2 = static_cast< long >(val2);
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 {
11252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11253 }
11254 return resultobj;
11255fail:
11256 return NULL;
d14a1e28
RD
11257}
11258
11259
0085ce49
RD
11260SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11261 PyObject *resultobj = 0;
11262 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11263 wxColour *result = 0 ;
11264 void *argp1 = 0 ;
11265 int res1 = 0 ;
11266 PyObject *swig_obj[1] ;
11267
11268 if (!args) SWIG_fail;
11269 swig_obj[0] = args;
11270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11271 if (!SWIG_IsOK(res1)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11273 }
11274 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11277 {
0085ce49
RD
11278 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11279 result = (wxColour *) &_result_ref;
d14a1e28 11280 }
0085ce49
RD
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11285 return resultobj;
11286fail:
11287 return NULL;
d14a1e28
RD
11288}
11289
11290
0085ce49
RD
11291SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11292 PyObject *resultobj = 0;
11293 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11294 wxColour *result = 0 ;
11295 void *argp1 = 0 ;
11296 int res1 = 0 ;
11297 PyObject *swig_obj[1] ;
11298
11299 if (!args) SWIG_fail;
11300 swig_obj[0] = args;
11301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11302 if (!SWIG_IsOK(res1)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11304 }
11305 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11308 {
0085ce49
RD
11309 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11310 result = (wxColour *) &_result_ref;
d14a1e28 11311 }
0085ce49
RD
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11316 return resultobj;
11317fail:
11318 return NULL;
d14a1e28
RD
11319}
11320
11321
0085ce49
RD
11322SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11323 PyObject *resultobj = 0;
11324 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11325 wxFont *result = 0 ;
11326 void *argp1 = 0 ;
11327 int res1 = 0 ;
11328 PyObject *swig_obj[1] ;
11329
11330 if (!args) SWIG_fail;
11331 swig_obj[0] = args;
11332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11333 if (!SWIG_IsOK(res1)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11335 }
11336 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11339 {
0085ce49
RD
11340 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11341 result = (wxFont *) &_result_ref;
d14a1e28 11342 }
0085ce49
RD
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 {
11347 wxFont* resultptr = new wxFont(*result);
11348 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11349 }
11350 return resultobj;
11351fail:
11352 return NULL;
d14a1e28
RD
11353}
11354
11355
0085ce49
RD
11356SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11357 PyObject *resultobj = 0;
11358 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11359 wxTextAttrAlignment result;
11360 void *argp1 = 0 ;
11361 int res1 = 0 ;
11362 PyObject *swig_obj[1] ;
11363
11364 if (!args) SWIG_fail;
11365 swig_obj[0] = args;
11366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11367 if (!SWIG_IsOK(res1)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11369 }
11370 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_From_int(static_cast< int >(result));
11378 return resultobj;
11379fail:
11380 return NULL;
d14a1e28
RD
11381}
11382
11383
0085ce49
RD
11384SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11385 PyObject *resultobj = 0;
11386 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11387 wxArrayInt *result = 0 ;
11388 void *argp1 = 0 ;
11389 int res1 = 0 ;
11390 PyObject *swig_obj[1] ;
11391
11392 if (!args) SWIG_fail;
11393 swig_obj[0] = args;
11394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11395 if (!SWIG_IsOK(res1)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11397 }
11398 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11401 {
0085ce49
RD
11402 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11403 result = (wxArrayInt *) &_result_ref;
d14a1e28 11404 }
0085ce49
RD
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 {
b39fe951 11409 resultobj = wxArrayInt2PyList_helper(*result);
0085ce49
RD
11410 }
11411 return resultobj;
11412fail:
11413 return NULL;
d14a1e28
RD
11414}
11415
11416
0085ce49
RD
11417SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11418 PyObject *resultobj = 0;
11419 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11420 long result;
11421 void *argp1 = 0 ;
11422 int res1 = 0 ;
11423 PyObject *swig_obj[1] ;
11424
11425 if (!args) SWIG_fail;
11426 swig_obj[0] = args;
11427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11428 if (!SWIG_IsOK(res1)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11430 }
11431 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 resultobj = SWIG_From_long(static_cast< long >(result));
11439 return resultobj;
11440fail:
11441 return NULL;
d14a1e28
RD
11442}
11443
11444
0085ce49
RD
11445SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11446 PyObject *resultobj = 0;
11447 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11448 long result;
11449 void *argp1 = 0 ;
11450 int res1 = 0 ;
11451 PyObject *swig_obj[1] ;
11452
11453 if (!args) SWIG_fail;
11454 swig_obj[0] = args;
11455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11456 if (!SWIG_IsOK(res1)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11458 }
11459 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 resultobj = SWIG_From_long(static_cast< long >(result));
11467 return resultobj;
11468fail:
11469 return NULL;
d14a1e28
RD
11470}
11471
11472
0085ce49
RD
11473SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11474 PyObject *resultobj = 0;
11475 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11476 long result;
11477 void *argp1 = 0 ;
11478 int res1 = 0 ;
11479 PyObject *swig_obj[1] ;
11480
11481 if (!args) SWIG_fail;
11482 swig_obj[0] = args;
11483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11484 if (!SWIG_IsOK(res1)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11486 }
11487 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 resultobj = SWIG_From_long(static_cast< long >(result));
11495 return resultobj;
11496fail:
11497 return NULL;
d14a1e28
RD
11498}
11499
11500
0085ce49
RD
11501SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11502 PyObject *resultobj = 0;
11503 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11504 long result;
11505 void *argp1 = 0 ;
11506 int res1 = 0 ;
11507 PyObject *swig_obj[1] ;
11508
11509 if (!args) SWIG_fail;
11510 swig_obj[0] = args;
11511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11512 if (!SWIG_IsOK(res1)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11514 }
11515 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 resultobj = SWIG_From_long(static_cast< long >(result));
11523 return resultobj;
11524fail:
11525 return NULL;
d14a1e28
RD
11526}
11527
11528
0085ce49
RD
11529SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11530 PyObject *resultobj = 0;
11531 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11532 bool result;
11533 void *argp1 = 0 ;
11534 int res1 = 0 ;
11535 PyObject *swig_obj[1] ;
11536
11537 if (!args) SWIG_fail;
11538 swig_obj[0] = args;
11539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11540 if (!SWIG_IsOK(res1)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11542 }
11543 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11547 wxPyEndAllowThreads(__tstate);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
11550 {
11551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11552 }
11553 return resultobj;
11554fail:
11555 return NULL;
11556}
11557
11558
11559SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11560 PyObject *resultobj = 0;
11561 wxTextAttr *arg1 = 0 ;
11562 wxTextAttr *arg2 = 0 ;
11563 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11564 wxTextAttr result;
11565 void *argp1 = 0 ;
11566 int res1 = 0 ;
11567 void *argp2 = 0 ;
11568 int res2 = 0 ;
11569 void *argp3 = 0 ;
11570 int res3 = 0 ;
11571 PyObject * obj0 = 0 ;
11572 PyObject * obj1 = 0 ;
11573 PyObject * obj2 = 0 ;
11574 char * kwnames[] = {
11575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11576 };
11577
11578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11579 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11580 if (!SWIG_IsOK(res1)) {
11581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11582 }
11583 if (!argp1) {
11584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11585 }
11586 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11587 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11588 if (!SWIG_IsOK(res2)) {
11589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11590 }
11591 if (!argp2) {
11592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11593 }
11594 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11595 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11596 if (!SWIG_IsOK(res3)) {
11597 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11598 }
11599 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11607 return resultobj;
11608fail:
11609 return NULL;
11610}
11611
11612
11613SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11614 PyObject *obj;
11615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11616 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11617 return SWIG_Py_Void();
11618}
11619
11620SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11621 return SWIG_Python_InitShadowInstance(args);
11622}
11623
11624SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj = 0;
11626 wxWindow *arg1 = (wxWindow *) 0 ;
11627 int arg2 = (int) -1 ;
11628 wxString const &arg3_defvalue = wxPyEmptyString ;
11629 wxString *arg3 = (wxString *) &arg3_defvalue ;
11630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11632 wxSize const &arg5_defvalue = wxDefaultSize ;
11633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11634 long arg6 = (long) 0 ;
11635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11637 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11638 wxString *arg8 = (wxString *) &arg8_defvalue ;
11639 wxTextCtrl *result = 0 ;
11640 void *argp1 = 0 ;
11641 int res1 = 0 ;
11642 int val2 ;
11643 int ecode2 = 0 ;
11644 bool temp3 = false ;
11645 wxPoint temp4 ;
11646 wxSize temp5 ;
11647 long val6 ;
11648 int ecode6 = 0 ;
11649 void *argp7 = 0 ;
11650 int res7 = 0 ;
11651 bool temp8 = false ;
11652 PyObject * obj0 = 0 ;
11653 PyObject * obj1 = 0 ;
11654 PyObject * obj2 = 0 ;
11655 PyObject * obj3 = 0 ;
11656 PyObject * obj4 = 0 ;
11657 PyObject * obj5 = 0 ;
11658 PyObject * obj6 = 0 ;
11659 PyObject * obj7 = 0 ;
11660 char * kwnames[] = {
11661 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11662 };
11663
11664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11666 if (!SWIG_IsOK(res1)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11668 }
11669 arg1 = reinterpret_cast< wxWindow * >(argp1);
11670 if (obj1) {
11671 ecode2 = SWIG_AsVal_int(obj1, &val2);
11672 if (!SWIG_IsOK(ecode2)) {
11673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11674 }
11675 arg2 = static_cast< int >(val2);
11676 }
11677 if (obj2) {
4f89f6a3 11678 {
0085ce49
RD
11679 arg3 = wxString_in_helper(obj2);
11680 if (arg3 == NULL) SWIG_fail;
11681 temp3 = true;
4f89f6a3 11682 }
0085ce49
RD
11683 }
11684 if (obj3) {
d14a1e28 11685 {
0085ce49
RD
11686 arg4 = &temp4;
11687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 11688 }
0085ce49
RD
11689 }
11690 if (obj4) {
d14a1e28 11691 {
0085ce49
RD
11692 arg5 = &temp5;
11693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11694 }
0085ce49
RD
11695 }
11696 if (obj5) {
11697 ecode6 = SWIG_AsVal_long(obj5, &val6);
11698 if (!SWIG_IsOK(ecode6)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11700 }
11701 arg6 = static_cast< long >(val6);
11702 }
11703 if (obj6) {
11704 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11705 if (!SWIG_IsOK(res7)) {
11706 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 11707 }
0085ce49
RD
11708 if (!argp7) {
11709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11710 }
0085ce49
RD
11711 arg7 = reinterpret_cast< wxValidator * >(argp7);
11712 }
11713 if (obj7) {
d14a1e28 11714 {
0085ce49
RD
11715 arg8 = wxString_in_helper(obj7);
11716 if (arg8 == NULL) SWIG_fail;
11717 temp8 = true;
d14a1e28 11718 }
0085ce49
RD
11719 }
11720 {
11721 if (!wxPyCheckForApp()) SWIG_fail;
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
11727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11728 {
11729 if (temp3)
11730 delete arg3;
11731 }
11732 {
11733 if (temp8)
11734 delete arg8;
11735 }
11736 return resultobj;
11737fail:
11738 {
11739 if (temp3)
11740 delete arg3;
11741 }
11742 {
11743 if (temp8)
11744 delete arg8;
11745 }
11746 return NULL;
d14a1e28
RD
11747}
11748
11749
0085ce49
RD
11750SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11751 PyObject *resultobj = 0;
11752 wxTextCtrl *result = 0 ;
11753
11754 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11755 {
11756 if (!wxPyCheckForApp()) SWIG_fail;
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (wxTextCtrl *)new wxTextCtrl();
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11763 return resultobj;
11764fail:
11765 return NULL;
11766}
11767
11768
11769SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11770 PyObject *resultobj = 0;
11771 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11772 wxWindow *arg2 = (wxWindow *) 0 ;
11773 int arg3 = (int) -1 ;
11774 wxString const &arg4_defvalue = wxPyEmptyString ;
11775 wxString *arg4 = (wxString *) &arg4_defvalue ;
11776 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11777 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11778 wxSize const &arg6_defvalue = wxDefaultSize ;
11779 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11780 long arg7 = (long) 0 ;
11781 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11782 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11783 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11784 wxString *arg9 = (wxString *) &arg9_defvalue ;
11785 bool result;
11786 void *argp1 = 0 ;
11787 int res1 = 0 ;
11788 void *argp2 = 0 ;
11789 int res2 = 0 ;
11790 int val3 ;
11791 int ecode3 = 0 ;
11792 bool temp4 = false ;
11793 wxPoint temp5 ;
11794 wxSize temp6 ;
11795 long val7 ;
11796 int ecode7 = 0 ;
11797 void *argp8 = 0 ;
11798 int res8 = 0 ;
11799 bool temp9 = false ;
11800 PyObject * obj0 = 0 ;
11801 PyObject * obj1 = 0 ;
11802 PyObject * obj2 = 0 ;
11803 PyObject * obj3 = 0 ;
11804 PyObject * obj4 = 0 ;
11805 PyObject * obj5 = 0 ;
11806 PyObject * obj6 = 0 ;
11807 PyObject * obj7 = 0 ;
11808 PyObject * obj8 = 0 ;
11809 char * kwnames[] = {
11810 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11811 };
11812
11813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11815 if (!SWIG_IsOK(res1)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11817 }
11818 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11819 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11820 if (!SWIG_IsOK(res2)) {
11821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11822 }
11823 arg2 = reinterpret_cast< wxWindow * >(argp2);
11824 if (obj2) {
11825 ecode3 = SWIG_AsVal_int(obj2, &val3);
11826 if (!SWIG_IsOK(ecode3)) {
11827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11828 }
11829 arg3 = static_cast< int >(val3);
11830 }
11831 if (obj3) {
d14a1e28 11832 {
0085ce49
RD
11833 arg4 = wxString_in_helper(obj3);
11834 if (arg4 == NULL) SWIG_fail;
11835 temp4 = true;
d14a1e28 11836 }
0085ce49
RD
11837 }
11838 if (obj4) {
d14a1e28 11839 {
0085ce49
RD
11840 arg5 = &temp5;
11841 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11842 }
0085ce49
RD
11843 }
11844 if (obj5) {
d14a1e28 11845 {
0085ce49
RD
11846 arg6 = &temp6;
11847 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 11848 }
0085ce49
RD
11849 }
11850 if (obj6) {
11851 ecode7 = SWIG_AsVal_long(obj6, &val7);
11852 if (!SWIG_IsOK(ecode7)) {
11853 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11854 }
11855 arg7 = static_cast< long >(val7);
11856 }
11857 if (obj7) {
11858 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11859 if (!SWIG_IsOK(res8)) {
11860 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 11861 }
0085ce49
RD
11862 if (!argp8) {
11863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11864 }
0085ce49
RD
11865 arg8 = reinterpret_cast< wxValidator * >(argp8);
11866 }
11867 if (obj8) {
d14a1e28 11868 {
0085ce49
RD
11869 arg9 = wxString_in_helper(obj8);
11870 if (arg9 == NULL) SWIG_fail;
11871 temp9 = true;
d14a1e28 11872 }
0085ce49
RD
11873 }
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 {
11881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11882 }
11883 {
11884 if (temp4)
11885 delete arg4;
11886 }
11887 {
11888 if (temp9)
11889 delete arg9;
11890 }
11891 return resultobj;
11892fail:
11893 {
11894 if (temp4)
11895 delete arg4;
11896 }
11897 {
11898 if (temp9)
11899 delete arg9;
11900 }
11901 return NULL;
d14a1e28
RD
11902}
11903
11904
0085ce49
RD
11905SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11906 PyObject *resultobj = 0;
11907 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11908 wxString result;
11909 void *argp1 = 0 ;
11910 int res1 = 0 ;
11911 PyObject *swig_obj[1] ;
11912
11913 if (!args) SWIG_fail;
11914 swig_obj[0] = args;
11915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11916 if (!SWIG_IsOK(res1)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11918 }
11919 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 result = ((wxTextCtrl const *)arg1)->GetValue();
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 {
11927#if wxUSE_UNICODE
11928 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11929#else
11930 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11931#endif
11932 }
11933 return resultobj;
11934fail:
11935 return NULL;
11936}
11937
11938
11939SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = 0;
11941 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11942 wxString *arg2 = 0 ;
11943 void *argp1 = 0 ;
11944 int res1 = 0 ;
11945 bool temp2 = false ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char * kwnames[] = {
11949 (char *) "self",(char *) "value", NULL
11950 };
11951
11952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11954 if (!SWIG_IsOK(res1)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11956 }
11957 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11958 {
11959 arg2 = wxString_in_helper(obj1);
11960 if (arg2 == NULL) SWIG_fail;
11961 temp2 = true;
11962 }
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 (arg1)->SetValue((wxString const &)*arg2);
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 resultobj = SWIG_Py_Void();
11970 {
11971 if (temp2)
11972 delete arg2;
11973 }
11974 return resultobj;
11975fail:
11976 {
11977 if (temp2)
11978 delete arg2;
11979 }
11980 return NULL;
11981}
11982
11983
b39fe951
RD
11984SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11985 PyObject *resultobj = 0;
11986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11987 bool result;
11988 void *argp1 = 0 ;
11989 int res1 = 0 ;
11990 PyObject *swig_obj[1] ;
11991
11992 if (!args) SWIG_fail;
11993 swig_obj[0] = args;
11994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11995 if (!SWIG_IsOK(res1)) {
11996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11997 }
11998 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 {
12006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12007 }
12008 return resultobj;
12009fail:
12010 return NULL;
12011}
12012
12013
12014SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj = 0;
12016 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12017 wxString *arg2 = 0 ;
12018 void *argp1 = 0 ;
12019 int res1 = 0 ;
12020 bool temp2 = false ;
12021 PyObject * obj0 = 0 ;
12022 PyObject * obj1 = 0 ;
12023 char * kwnames[] = {
12024 (char *) "self",(char *) "value", NULL
12025 };
12026
12027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12029 if (!SWIG_IsOK(res1)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12031 }
12032 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12033 {
12034 arg2 = wxString_in_helper(obj1);
12035 if (arg2 == NULL) SWIG_fail;
12036 temp2 = true;
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 (arg1)->ChangeValue((wxString const &)*arg2);
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 resultobj = SWIG_Py_Void();
12045 {
12046 if (temp2)
12047 delete arg2;
12048 }
12049 return resultobj;
12050fail:
12051 {
12052 if (temp2)
12053 delete arg2;
12054 }
12055 return NULL;
12056}
12057
12058
0085ce49
RD
12059SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj = 0;
12061 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12062 long arg2 ;
12063 long arg3 ;
12064 wxString result;
12065 void *argp1 = 0 ;
12066 int res1 = 0 ;
12067 long val2 ;
12068 int ecode2 = 0 ;
12069 long val3 ;
12070 int ecode3 = 0 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 PyObject * obj2 = 0 ;
12074 char * kwnames[] = {
2131d850 12075 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
12076 };
12077
12078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12080 if (!SWIG_IsOK(res1)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12082 }
12083 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12084 ecode2 = SWIG_AsVal_long(obj1, &val2);
12085 if (!SWIG_IsOK(ecode2)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12087 }
12088 arg2 = static_cast< long >(val2);
12089 ecode3 = SWIG_AsVal_long(obj2, &val3);
12090 if (!SWIG_IsOK(ecode3)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12092 }
12093 arg3 = static_cast< long >(val3);
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 {
12101#if wxUSE_UNICODE
12102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12103#else
12104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12105#endif
12106 }
12107 return resultobj;
12108fail:
12109 return NULL;
12110}
12111
12112
12113SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj = 0;
12115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12116 long arg2 ;
12117 int result;
12118 void *argp1 = 0 ;
12119 int res1 = 0 ;
12120 long val2 ;
12121 int ecode2 = 0 ;
12122 PyObject * obj0 = 0 ;
12123 PyObject * obj1 = 0 ;
12124 char * kwnames[] = {
12125 (char *) "self",(char *) "lineNo", NULL
12126 };
12127
12128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12130 if (!SWIG_IsOK(res1)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12132 }
12133 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12134 ecode2 = SWIG_AsVal_long(obj1, &val2);
12135 if (!SWIG_IsOK(ecode2)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12137 }
12138 arg2 = static_cast< long >(val2);
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 resultobj = SWIG_From_int(static_cast< int >(result));
12146 return resultobj;
12147fail:
12148 return NULL;
12149}
12150
12151
12152SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj = 0;
12154 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12155 long arg2 ;
12156 wxString result;
12157 void *argp1 = 0 ;
12158 int res1 = 0 ;
12159 long val2 ;
12160 int ecode2 = 0 ;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 char * kwnames[] = {
12164 (char *) "self",(char *) "lineNo", NULL
12165 };
12166
12167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12169 if (!SWIG_IsOK(res1)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12171 }
12172 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12173 ecode2 = SWIG_AsVal_long(obj1, &val2);
12174 if (!SWIG_IsOK(ecode2)) {
12175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12176 }
12177 arg2 = static_cast< long >(val2);
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185#if wxUSE_UNICODE
12186 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12187#else
12188 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12189#endif
12190 }
12191 return resultobj;
12192fail:
12193 return NULL;
d14a1e28
RD
12194}
12195
12196
0085ce49
RD
12197SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12198 PyObject *resultobj = 0;
12199 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12200 int result;
12201 void *argp1 = 0 ;
12202 int res1 = 0 ;
12203 PyObject *swig_obj[1] ;
12204
12205 if (!args) SWIG_fail;
12206 swig_obj[0] = args;
12207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12208 if (!SWIG_IsOK(res1)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12210 }
12211 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 resultobj = SWIG_From_int(static_cast< int >(result));
12219 return resultobj;
12220fail:
12221 return NULL;
d14a1e28
RD
12222}
12223
12224
0085ce49
RD
12225SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12226 PyObject *resultobj = 0;
12227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12228 bool result;
12229 void *argp1 = 0 ;
12230 int res1 = 0 ;
12231 PyObject *swig_obj[1] ;
12232
12233 if (!args) SWIG_fail;
12234 swig_obj[0] = args;
12235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12236 if (!SWIG_IsOK(res1)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12238 }
12239 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 {
12247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12248 }
12249 return resultobj;
12250fail:
12251 return NULL;
c3eb6258
RD
12252}
12253
12254
0085ce49
RD
12255SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12256 PyObject *resultobj = 0;
12257 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12258 bool result;
12259 void *argp1 = 0 ;
12260 int res1 = 0 ;
12261 PyObject *swig_obj[1] ;
12262
12263 if (!args) SWIG_fail;
12264 swig_obj[0] = args;
12265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12266 if (!SWIG_IsOK(res1)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12268 }
12269 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 {
12277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12278 }
12279 return resultobj;
12280fail:
12281 return NULL;
74a57fcd
RD
12282}
12283
12284
0085ce49
RD
12285SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12286 PyObject *resultobj = 0;
12287 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12288 bool result;
12289 void *argp1 = 0 ;
12290 int res1 = 0 ;
12291 PyObject *swig_obj[1] ;
12292
12293 if (!args) SWIG_fail;
12294 swig_obj[0] = args;
12295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12296 if (!SWIG_IsOK(res1)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12298 }
12299 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 {
12307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12308 }
12309 return resultobj;
12310fail:
12311 return NULL;
d14a1e28
RD
12312}
12313
12314
0085ce49
RD
12315SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12316 PyObject *resultobj = 0;
12317 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12318 bool result;
12319 void *argp1 = 0 ;
12320 int res1 = 0 ;
12321 PyObject *swig_obj[1] ;
12322
12323 if (!args) SWIG_fail;
12324 swig_obj[0] = args;
12325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12326 if (!SWIG_IsOK(res1)) {
12327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12328 }
12329 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 {
12337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12338 }
12339 return resultobj;
12340fail:
12341 return NULL;
12342}
12343
12344
12345SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12346 PyObject *resultobj = 0;
12347 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12348 long *arg2 = (long *) 0 ;
12349 long *arg3 = (long *) 0 ;
12350 void *argp1 = 0 ;
12351 int res1 = 0 ;
12352 long temp2 ;
12353 int res2 = SWIG_TMPOBJ ;
12354 long temp3 ;
12355 int res3 = SWIG_TMPOBJ ;
12356 PyObject *swig_obj[1] ;
12357
12358 arg2 = &temp2;
12359 arg3 = &temp3;
12360 if (!args) SWIG_fail;
12361 swig_obj[0] = args;
12362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12363 if (!SWIG_IsOK(res1)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12365 }
12366 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_Py_Void();
12374 if (SWIG_IsTmpObj(res2)) {
12375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12376 } else {
12377 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12379 }
12380 if (SWIG_IsTmpObj(res3)) {
12381 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12382 } else {
12383 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12384 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12385 }
12386 return resultobj;
12387fail:
12388 return NULL;
d14a1e28
RD
12389}
12390
12391
0085ce49
RD
12392SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12393 PyObject *resultobj = 0;
12394 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12395 wxString result;
12396 void *argp1 = 0 ;
12397 int res1 = 0 ;
12398 PyObject *swig_obj[1] ;
12399
12400 if (!args) SWIG_fail;
12401 swig_obj[0] = args;
12402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12403 if (!SWIG_IsOK(res1)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12405 }
12406 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 {
12414#if wxUSE_UNICODE
12415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12416#else
12417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12418#endif
12419 }
12420 return resultobj;
12421fail:
12422 return NULL;
d14a1e28
RD
12423}
12424
12425
0085ce49
RD
12426SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12427 PyObject *resultobj = 0;
12428 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12429 void *argp1 = 0 ;
12430 int res1 = 0 ;
12431 PyObject *swig_obj[1] ;
12432
12433 if (!args) SWIG_fail;
12434 swig_obj[0] = args;
12435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12436 if (!SWIG_IsOK(res1)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12438 }
12439 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 (arg1)->Clear();
12443 wxPyEndAllowThreads(__tstate);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
12446 resultobj = SWIG_Py_Void();
12447 return resultobj;
12448fail:
12449 return NULL;
12450}
12451
12452
12453SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12454 PyObject *resultobj = 0;
12455 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12456 long arg2 ;
12457 long arg3 ;
12458 wxString *arg4 = 0 ;
12459 void *argp1 = 0 ;
12460 int res1 = 0 ;
12461 long val2 ;
12462 int ecode2 = 0 ;
12463 long val3 ;
12464 int ecode3 = 0 ;
12465 bool temp4 = false ;
12466 PyObject * obj0 = 0 ;
12467 PyObject * obj1 = 0 ;
12468 PyObject * obj2 = 0 ;
12469 PyObject * obj3 = 0 ;
12470 char * kwnames[] = {
2131d850 12471 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
0085ce49
RD
12472 };
12473
12474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12476 if (!SWIG_IsOK(res1)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12478 }
12479 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12480 ecode2 = SWIG_AsVal_long(obj1, &val2);
12481 if (!SWIG_IsOK(ecode2)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12483 }
12484 arg2 = static_cast< long >(val2);
12485 ecode3 = SWIG_AsVal_long(obj2, &val3);
12486 if (!SWIG_IsOK(ecode3)) {
12487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12488 }
12489 arg3 = static_cast< long >(val3);
12490 {
12491 arg4 = wxString_in_helper(obj3);
12492 if (arg4 == NULL) SWIG_fail;
12493 temp4 = true;
12494 }
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_Py_Void();
12502 {
12503 if (temp4)
12504 delete arg4;
12505 }
12506 return resultobj;
12507fail:
12508 {
12509 if (temp4)
12510 delete arg4;
12511 }
12512 return NULL;
12513}
12514
12515
12516SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj = 0;
12518 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12519 long arg2 ;
12520 long arg3 ;
12521 void *argp1 = 0 ;
12522 int res1 = 0 ;
12523 long val2 ;
12524 int ecode2 = 0 ;
12525 long val3 ;
12526 int ecode3 = 0 ;
12527 PyObject * obj0 = 0 ;
12528 PyObject * obj1 = 0 ;
12529 PyObject * obj2 = 0 ;
12530 char * kwnames[] = {
2131d850 12531 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
12532 };
12533
12534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12536 if (!SWIG_IsOK(res1)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12538 }
12539 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12540 ecode2 = SWIG_AsVal_long(obj1, &val2);
12541 if (!SWIG_IsOK(ecode2)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12543 }
12544 arg2 = static_cast< long >(val2);
12545 ecode3 = SWIG_AsVal_long(obj2, &val3);
12546 if (!SWIG_IsOK(ecode3)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12548 }
12549 arg3 = static_cast< long >(val3);
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 (arg1)->Remove(arg2,arg3);
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 resultobj = SWIG_Py_Void();
12557 return resultobj;
12558fail:
12559 return NULL;
12560}
12561
12562
12563SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12564 PyObject *resultobj = 0;
12565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12566 wxString *arg2 = 0 ;
f5263701 12567 int arg3 = (int) wxTEXT_TYPE_ANY ;
0085ce49
RD
12568 bool result;
12569 void *argp1 = 0 ;
12570 int res1 = 0 ;
12571 bool temp2 = false ;
f5263701
RD
12572 int val3 ;
12573 int ecode3 = 0 ;
0085ce49
RD
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
f5263701 12576 PyObject * obj2 = 0 ;
0085ce49 12577 char * kwnames[] = {
f5263701 12578 (char *) "self",(char *) "file",(char *) "fileType", NULL
0085ce49
RD
12579 };
12580
f5263701 12581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
12582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12583 if (!SWIG_IsOK(res1)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12585 }
12586 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12587 {
12588 arg2 = wxString_in_helper(obj1);
12589 if (arg2 == NULL) SWIG_fail;
12590 temp2 = true;
12591 }
f5263701
RD
12592 if (obj2) {
12593 ecode3 = SWIG_AsVal_int(obj2, &val3);
12594 if (!SWIG_IsOK(ecode3)) {
12595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12596 }
12597 arg3 = static_cast< int >(val3);
12598 }
0085ce49
RD
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12601 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
0085ce49
RD
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 {
12606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12607 }
12608 {
12609 if (temp2)
12610 delete arg2;
12611 }
12612 return resultobj;
12613fail:
12614 {
12615 if (temp2)
12616 delete arg2;
12617 }
12618 return NULL;
12619}
12620
12621
12622SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj = 0;
12624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12625 wxString const &arg2_defvalue = wxPyEmptyString ;
12626 wxString *arg2 = (wxString *) &arg2_defvalue ;
f5263701 12627 int arg3 = (int) wxTEXT_TYPE_ANY ;
0085ce49
RD
12628 bool result;
12629 void *argp1 = 0 ;
12630 int res1 = 0 ;
12631 bool temp2 = false ;
f5263701
RD
12632 int val3 ;
12633 int ecode3 = 0 ;
0085ce49
RD
12634 PyObject * obj0 = 0 ;
12635 PyObject * obj1 = 0 ;
f5263701 12636 PyObject * obj2 = 0 ;
0085ce49 12637 char * kwnames[] = {
f5263701 12638 (char *) "self",(char *) "file",(char *) "fileType", NULL
0085ce49
RD
12639 };
12640
f5263701 12641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
12642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12643 if (!SWIG_IsOK(res1)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12645 }
12646 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12647 if (obj1) {
4f89f6a3 12648 {
0085ce49
RD
12649 arg2 = wxString_in_helper(obj1);
12650 if (arg2 == NULL) SWIG_fail;
12651 temp2 = true;
4f89f6a3 12652 }
0085ce49 12653 }
f5263701
RD
12654 if (obj2) {
12655 ecode3 = SWIG_AsVal_int(obj2, &val3);
12656 if (!SWIG_IsOK(ecode3)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12658 }
12659 arg3 = static_cast< int >(val3);
12660 }
0085ce49
RD
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12663 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
0085ce49
RD
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 {
12668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12669 }
12670 {
12671 if (temp2)
12672 delete arg2;
12673 }
12674 return resultobj;
12675fail:
12676 {
12677 if (temp2)
12678 delete arg2;
12679 }
12680 return NULL;
d14a1e28
RD
12681}
12682
12683
0085ce49
RD
12684SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12685 PyObject *resultobj = 0;
12686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12687 void *argp1 = 0 ;
12688 int res1 = 0 ;
12689 PyObject *swig_obj[1] ;
12690
12691 if (!args) SWIG_fail;
12692 swig_obj[0] = args;
12693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12694 if (!SWIG_IsOK(res1)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12696 }
12697 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->MarkDirty();
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 resultobj = SWIG_Py_Void();
12705 return resultobj;
12706fail:
12707 return NULL;
d14a1e28
RD
12708}
12709
12710
0085ce49
RD
12711SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12712 PyObject *resultobj = 0;
12713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12714 void *argp1 = 0 ;
12715 int res1 = 0 ;
12716 PyObject *swig_obj[1] ;
12717
12718 if (!args) SWIG_fail;
12719 swig_obj[0] = args;
12720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12721 if (!SWIG_IsOK(res1)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12723 }
12724 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 (arg1)->DiscardEdits();
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_Py_Void();
12732 return resultobj;
12733fail:
12734 return NULL;
12735}
12736
12737
b02396e8
RD
12738SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj = 0;
12740 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12741 bool arg2 ;
12742 void *argp1 = 0 ;
12743 int res1 = 0 ;
12744 bool val2 ;
12745 int ecode2 = 0 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 char * kwnames[] = {
12749 (char *) "self",(char *) "modified", NULL
12750 };
12751
12752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12754 if (!SWIG_IsOK(res1)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12756 }
12757 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12758 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12759 if (!SWIG_IsOK(ecode2)) {
12760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12761 }
12762 arg2 = static_cast< bool >(val2);
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 (arg1)->SetModified(arg2);
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = SWIG_Py_Void();
12770 return resultobj;
12771fail:
12772 return NULL;
12773}
12774
12775
0085ce49
RD
12776SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12777 PyObject *resultobj = 0;
12778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12779 unsigned long arg2 ;
12780 void *argp1 = 0 ;
12781 int res1 = 0 ;
12782 unsigned long val2 ;
12783 int ecode2 = 0 ;
12784 PyObject * obj0 = 0 ;
12785 PyObject * obj1 = 0 ;
12786 char * kwnames[] = {
12787 (char *) "self",(char *) "len", NULL
12788 };
12789
12790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12792 if (!SWIG_IsOK(res1)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12794 }
12795 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12796 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12797 if (!SWIG_IsOK(ecode2)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12799 }
12800 arg2 = static_cast< unsigned long >(val2);
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 (arg1)->SetMaxLength(arg2);
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = SWIG_Py_Void();
12808 return resultobj;
12809fail:
12810 return NULL;
12811}
12812
12813
12814SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj = 0;
12816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12817 wxString *arg2 = 0 ;
12818 void *argp1 = 0 ;
12819 int res1 = 0 ;
12820 bool temp2 = false ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char * kwnames[] = {
12824 (char *) "self",(char *) "text", NULL
12825 };
12826
12827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12829 if (!SWIG_IsOK(res1)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 }
12832 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12833 {
12834 arg2 = wxString_in_helper(obj1);
12835 if (arg2 == NULL) SWIG_fail;
12836 temp2 = true;
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 (arg1)->WriteText((wxString const &)*arg2);
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = SWIG_Py_Void();
12845 {
12846 if (temp2)
12847 delete arg2;
12848 }
12849 return resultobj;
12850fail:
12851 {
12852 if (temp2)
12853 delete arg2;
12854 }
12855 return NULL;
d14a1e28
RD
12856}
12857
12858
0085ce49
RD
12859SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj = 0;
12861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12862 wxString *arg2 = 0 ;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 bool temp2 = false ;
12866 PyObject * obj0 = 0 ;
12867 PyObject * obj1 = 0 ;
12868 char * kwnames[] = {
12869 (char *) "self",(char *) "text", NULL
12870 };
12871
12872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12874 if (!SWIG_IsOK(res1)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12876 }
12877 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12878 {
12879 arg2 = wxString_in_helper(obj1);
12880 if (arg2 == NULL) SWIG_fail;
12881 temp2 = true;
12882 }
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->AppendText((wxString const &)*arg2);
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 resultobj = SWIG_Py_Void();
12890 {
12891 if (temp2)
12892 delete arg2;
12893 }
12894 return resultobj;
12895fail:
12896 {
12897 if (temp2)
12898 delete arg2;
12899 }
12900 return NULL;
12901}
12902
12903
12904SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj = 0;
12906 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12907 wxKeyEvent *arg2 = 0 ;
12908 bool result;
12909 void *argp1 = 0 ;
12910 int res1 = 0 ;
12911 void *argp2 = 0 ;
12912 int res2 = 0 ;
12913 PyObject * obj0 = 0 ;
12914 PyObject * obj1 = 0 ;
12915 char * kwnames[] = {
12916 (char *) "self",(char *) "event", NULL
12917 };
12918
12919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12921 if (!SWIG_IsOK(res1)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12923 }
12924 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12925 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12926 if (!SWIG_IsOK(res2)) {
12927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12928 }
12929 if (!argp2) {
12930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12931 }
12932 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 {
12940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12941 }
12942 return resultobj;
12943fail:
12944 return NULL;
12945}
12946
12947
12948SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj = 0;
12950 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12951 long arg2 ;
12952 long arg3 ;
12953 wxTextAttr *arg4 = 0 ;
12954 bool result;
12955 void *argp1 = 0 ;
12956 int res1 = 0 ;
12957 long val2 ;
12958 int ecode2 = 0 ;
12959 long val3 ;
12960 int ecode3 = 0 ;
12961 void *argp4 = 0 ;
12962 int res4 = 0 ;
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 PyObject * obj2 = 0 ;
12966 PyObject * obj3 = 0 ;
12967 char * kwnames[] = {
12968 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12969 };
12970
12971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12973 if (!SWIG_IsOK(res1)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12975 }
12976 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12977 ecode2 = SWIG_AsVal_long(obj1, &val2);
12978 if (!SWIG_IsOK(ecode2)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12980 }
12981 arg2 = static_cast< long >(val2);
12982 ecode3 = SWIG_AsVal_long(obj2, &val3);
12983 if (!SWIG_IsOK(ecode3)) {
12984 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12985 }
12986 arg3 = static_cast< long >(val3);
12987 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12988 if (!SWIG_IsOK(res4)) {
12989 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12990 }
12991 if (!argp4) {
12992 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12993 }
12994 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 {
13002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13003 }
13004 return resultobj;
13005fail:
13006 return NULL;
13007}
13008
13009
13010SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj = 0;
13012 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13013 long arg2 ;
13014 wxTextAttr *arg3 = 0 ;
13015 bool result;
13016 void *argp1 = 0 ;
13017 int res1 = 0 ;
13018 long val2 ;
13019 int ecode2 = 0 ;
13020 void *argp3 = 0 ;
13021 int res3 = 0 ;
13022 PyObject * obj0 = 0 ;
13023 PyObject * obj1 = 0 ;
13024 PyObject * obj2 = 0 ;
13025 char * kwnames[] = {
13026 (char *) "self",(char *) "position",(char *) "style", NULL
13027 };
13028
13029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13031 if (!SWIG_IsOK(res1)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13033 }
13034 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13035 ecode2 = SWIG_AsVal_long(obj1, &val2);
13036 if (!SWIG_IsOK(ecode2)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13038 }
13039 arg2 = static_cast< long >(val2);
13040 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13041 if (!SWIG_IsOK(res3)) {
13042 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13043 }
13044 if (!argp3) {
13045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13046 }
13047 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 {
13055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13056 }
13057 return resultobj;
13058fail:
13059 return NULL;
13060}
13061
13062
13063SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13064 PyObject *resultobj = 0;
13065 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13066 wxTextAttr *arg2 = 0 ;
13067 bool result;
13068 void *argp1 = 0 ;
13069 int res1 = 0 ;
13070 void *argp2 = 0 ;
13071 int res2 = 0 ;
13072 PyObject * obj0 = 0 ;
13073 PyObject * obj1 = 0 ;
13074 char * kwnames[] = {
13075 (char *) "self",(char *) "style", NULL
13076 };
13077
13078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13080 if (!SWIG_IsOK(res1)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13082 }
13083 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13084 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13085 if (!SWIG_IsOK(res2)) {
13086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13087 }
13088 if (!argp2) {
13089 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13090 }
13091 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 {
13099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13100 }
13101 return resultobj;
13102fail:
13103 return NULL;
d14a1e28
RD
13104}
13105
13106
0085ce49
RD
13107SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13108 PyObject *resultobj = 0;
13109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13110 wxTextAttr *result = 0 ;
13111 void *argp1 = 0 ;
13112 int res1 = 0 ;
13113 PyObject *swig_obj[1] ;
13114
13115 if (!args) SWIG_fail;
13116 swig_obj[0] = args;
13117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13118 if (!SWIG_IsOK(res1)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13120 }
13121 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13124 {
0085ce49
RD
13125 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13126 result = (wxTextAttr *) &_result_ref;
093d3ff1 13127 }
0085ce49
RD
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13132 return resultobj;
13133fail:
13134 return NULL;
13135}
13136
13137
13138SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj = 0;
13140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13141 long arg2 ;
13142 long arg3 ;
13143 long result;
13144 void *argp1 = 0 ;
13145 int res1 = 0 ;
13146 long val2 ;
13147 int ecode2 = 0 ;
13148 long val3 ;
13149 int ecode3 = 0 ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
13153 char * kwnames[] = {
13154 (char *) "self",(char *) "x",(char *) "y", NULL
13155 };
13156
13157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13159 if (!SWIG_IsOK(res1)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13161 }
13162 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13163 ecode2 = SWIG_AsVal_long(obj1, &val2);
13164 if (!SWIG_IsOK(ecode2)) {
13165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13166 }
13167 arg2 = static_cast< long >(val2);
13168 ecode3 = SWIG_AsVal_long(obj2, &val3);
13169 if (!SWIG_IsOK(ecode3)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13171 }
13172 arg3 = static_cast< long >(val3);
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 resultobj = SWIG_From_long(static_cast< long >(result));
13180 return resultobj;
13181fail:
13182 return NULL;
13183}
13184
13185
13186SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj = 0;
13188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13189 long arg2 ;
13190 long *arg3 = (long *) 0 ;
13191 long *arg4 = (long *) 0 ;
13192 void *argp1 = 0 ;
13193 int res1 = 0 ;
13194 long val2 ;
13195 int ecode2 = 0 ;
13196 long temp3 ;
13197 int res3 = SWIG_TMPOBJ ;
13198 long temp4 ;
13199 int res4 = SWIG_TMPOBJ ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 char * kwnames[] = {
13203 (char *) "self",(char *) "pos", NULL
13204 };
13205
13206 arg3 = &temp3;
13207 arg4 = &temp4;
13208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13210 if (!SWIG_IsOK(res1)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13212 }
13213 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13214 ecode2 = SWIG_AsVal_long(obj1, &val2);
13215 if (!SWIG_IsOK(ecode2)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13217 }
13218 arg2 = static_cast< long >(val2);
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 resultobj = SWIG_Py_Void();
13226 if (SWIG_IsTmpObj(res3)) {
13227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13228 } else {
13229 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13231 }
13232 if (SWIG_IsTmpObj(res4)) {
13233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13234 } else {
13235 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13236 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13237 }
13238 return resultobj;
13239fail:
13240 return NULL;
13241}
13242
13243
13244SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj = 0;
13246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13247 long arg2 ;
13248 void *argp1 = 0 ;
13249 int res1 = 0 ;
13250 long val2 ;
13251 int ecode2 = 0 ;
13252 PyObject * obj0 = 0 ;
13253 PyObject * obj1 = 0 ;
13254 char * kwnames[] = {
13255 (char *) "self",(char *) "pos", NULL
13256 };
13257
13258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13260 if (!SWIG_IsOK(res1)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13262 }
13263 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13264 ecode2 = SWIG_AsVal_long(obj1, &val2);
13265 if (!SWIG_IsOK(ecode2)) {
13266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13267 }
13268 arg2 = static_cast< long >(val2);
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->ShowPosition(arg2);
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_Py_Void();
13276 return resultobj;
13277fail:
13278 return NULL;
13279}
13280
13281
13282SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj = 0;
13284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13285 wxPoint *arg2 = 0 ;
13286 long *arg3 = (long *) 0 ;
13287 long *arg4 = (long *) 0 ;
13288 wxTextCtrlHitTestResult result;
13289 void *argp1 = 0 ;
13290 int res1 = 0 ;
13291 wxPoint temp2 ;
13292 long temp3 ;
13293 int res3 = SWIG_TMPOBJ ;
13294 long temp4 ;
13295 int res4 = SWIG_TMPOBJ ;
13296 PyObject * obj0 = 0 ;
13297 PyObject * obj1 = 0 ;
13298 char * kwnames[] = {
13299 (char *) "self",(char *) "pt", NULL
13300 };
13301
13302 arg3 = &temp3;
13303 arg4 = &temp4;
13304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13306 if (!SWIG_IsOK(res1)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13308 }
13309 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13310 {
13311 arg2 = &temp2;
13312 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13313 }
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_From_int(static_cast< int >(result));
13321 if (SWIG_IsTmpObj(res3)) {
13322 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13323 } else {
13324 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13325 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13326 }
13327 if (SWIG_IsTmpObj(res4)) {
13328 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13329 } else {
13330 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13331 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13332 }
13333 return resultobj;
13334fail:
13335 return NULL;
13336}
13337
13338
13339SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj = 0;
13341 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13342 wxPoint *arg2 = 0 ;
13343 long *arg3 = (long *) 0 ;
13344 wxTextCtrlHitTestResult result;
13345 void *argp1 = 0 ;
13346 int res1 = 0 ;
13347 wxPoint temp2 ;
13348 long temp3 ;
13349 int res3 = SWIG_TMPOBJ ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 char * kwnames[] = {
13353 (char *) "self",(char *) "pt", NULL
13354 };
13355
13356 arg3 = &temp3;
13357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13359 if (!SWIG_IsOK(res1)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13361 }
13362 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13363 {
13364 arg2 = &temp2;
13365 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13366 }
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 resultobj = SWIG_From_int(static_cast< int >(result));
13374 if (SWIG_IsTmpObj(res3)) {
13375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13376 } else {
13377 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13379 }
13380 return resultobj;
13381fail:
13382 return NULL;
d14a1e28
RD
13383}
13384
13385
0085ce49
RD
13386SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13387 PyObject *resultobj = 0;
13388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13389 void *argp1 = 0 ;
13390 int res1 = 0 ;
13391 PyObject *swig_obj[1] ;
13392
13393 if (!args) SWIG_fail;
13394 swig_obj[0] = args;
13395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13396 if (!SWIG_IsOK(res1)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13398 }
13399 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 (arg1)->Copy();
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 resultobj = SWIG_Py_Void();
13407 return resultobj;
13408fail:
13409 return NULL;
d14a1e28 13410}
0085ce49
RD
13411
13412
13413SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13414 PyObject *resultobj = 0;
13415 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13416 void *argp1 = 0 ;
13417 int res1 = 0 ;
13418 PyObject *swig_obj[1] ;
13419
13420 if (!args) SWIG_fail;
13421 swig_obj[0] = args;
13422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13423 if (!SWIG_IsOK(res1)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13425 }
13426 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 (arg1)->Cut();
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 resultobj = SWIG_Py_Void();
13434 return resultobj;
13435fail:
13436 return NULL;
b2dc1044
RD
13437}
13438
13439
0085ce49
RD
13440SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13441 PyObject *resultobj = 0;
13442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13443 void *argp1 = 0 ;
13444 int res1 = 0 ;
13445 PyObject *swig_obj[1] ;
13446
13447 if (!args) SWIG_fail;
13448 swig_obj[0] = args;
13449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13450 if (!SWIG_IsOK(res1)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13452 }
13453 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 (arg1)->Paste();
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 resultobj = SWIG_Py_Void();
13461 return resultobj;
13462fail:
13463 return NULL;
d14a1e28
RD
13464}
13465
13466
0085ce49
RD
13467SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13468 PyObject *resultobj = 0;
13469 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13470 bool result;
13471 void *argp1 = 0 ;
13472 int res1 = 0 ;
13473 PyObject *swig_obj[1] ;
13474
13475 if (!args) SWIG_fail;
13476 swig_obj[0] = args;
13477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13478 if (!SWIG_IsOK(res1)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13480 }
13481 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 {
13489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13490 }
13491 return resultobj;
13492fail:
13493 return NULL;
d14a1e28
RD
13494}
13495
13496
0085ce49
RD
13497SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13498 PyObject *resultobj = 0;
13499 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13500 bool result;
13501 void *argp1 = 0 ;
13502 int res1 = 0 ;
13503 PyObject *swig_obj[1] ;
13504
13505 if (!args) SWIG_fail;
13506 swig_obj[0] = args;
13507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13508 if (!SWIG_IsOK(res1)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13510 }
13511 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 {
13519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13520 }
13521 return resultobj;
13522fail:
13523 return NULL;
994141e6
RD
13524}
13525
13526
0085ce49
RD
13527SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13528 PyObject *resultobj = 0;
13529 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13530 bool result;
13531 void *argp1 = 0 ;
13532 int res1 = 0 ;
13533 PyObject *swig_obj[1] ;
13534
13535 if (!args) SWIG_fail;
13536 swig_obj[0] = args;
13537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13538 if (!SWIG_IsOK(res1)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13540 }
13541 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 {
13549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13550 }
13551 return resultobj;
13552fail:
13553 return NULL;
d14a1e28
RD
13554}
13555
13556
0085ce49
RD
13557SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13558 PyObject *resultobj = 0;
13559 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13560 void *argp1 = 0 ;
13561 int res1 = 0 ;
13562 PyObject *swig_obj[1] ;
13563
13564 if (!args) SWIG_fail;
13565 swig_obj[0] = args;
13566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13567 if (!SWIG_IsOK(res1)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13569 }
13570 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->Undo();
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_Py_Void();
13578 return resultobj;
13579fail:
13580 return NULL;
d14a1e28
RD
13581}
13582
13583
0085ce49
RD
13584SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13585 PyObject *resultobj = 0;
13586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13587 void *argp1 = 0 ;
13588 int res1 = 0 ;
13589 PyObject *swig_obj[1] ;
13590
13591 if (!args) SWIG_fail;
13592 swig_obj[0] = args;
13593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13594 if (!SWIG_IsOK(res1)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13596 }
13597 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 (arg1)->Redo();
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 resultobj = SWIG_Py_Void();
13605 return resultobj;
13606fail:
13607 return NULL;
d14a1e28
RD
13608}
13609
13610
0085ce49
RD
13611SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13612 PyObject *resultobj = 0;
13613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13614 bool result;
13615 void *argp1 = 0 ;
13616 int res1 = 0 ;
13617 PyObject *swig_obj[1] ;
13618
13619 if (!args) SWIG_fail;
13620 swig_obj[0] = args;
13621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13622 if (!SWIG_IsOK(res1)) {
13623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13624 }
13625 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 {
13633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13634 }
13635 return resultobj;
13636fail:
13637 return NULL;
d14a1e28
RD
13638}
13639
13640
0085ce49
RD
13641SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13642 PyObject *resultobj = 0;
13643 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13644 bool result;
13645 void *argp1 = 0 ;
13646 int res1 = 0 ;
13647 PyObject *swig_obj[1] ;
13648
13649 if (!args) SWIG_fail;
13650 swig_obj[0] = args;
13651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13652 if (!SWIG_IsOK(res1)) {
13653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13654 }
13655 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13656 {
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13659 wxPyEndAllowThreads(__tstate);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 {
13663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13664 }
13665 return resultobj;
13666fail:
13667 return NULL;
13668}
13669
13670
13671SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13672 PyObject *resultobj = 0;
13673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13674 long arg2 ;
13675 void *argp1 = 0 ;
13676 int res1 = 0 ;
13677 long val2 ;
13678 int ecode2 = 0 ;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 char * kwnames[] = {
13682 (char *) "self",(char *) "pos", NULL
13683 };
13684
13685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13687 if (!SWIG_IsOK(res1)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13689 }
13690 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13691 ecode2 = SWIG_AsVal_long(obj1, &val2);
13692 if (!SWIG_IsOK(ecode2)) {
13693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13694 }
13695 arg2 = static_cast< long >(val2);
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 (arg1)->SetInsertionPoint(arg2);
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = SWIG_Py_Void();
13703 return resultobj;
13704fail:
13705 return NULL;
d14a1e28
RD
13706}
13707
13708
0085ce49
RD
13709SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13710 PyObject *resultobj = 0;
13711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13712 void *argp1 = 0 ;
13713 int res1 = 0 ;
13714 PyObject *swig_obj[1] ;
13715
13716 if (!args) SWIG_fail;
13717 swig_obj[0] = args;
13718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13719 if (!SWIG_IsOK(res1)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13721 }
13722 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 (arg1)->SetInsertionPointEnd();
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = SWIG_Py_Void();
13730 return resultobj;
13731fail:
13732 return NULL;
d14a1e28
RD
13733}
13734
13735
0085ce49
RD
13736SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13737 PyObject *resultobj = 0;
13738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13739 long result;
13740 void *argp1 = 0 ;
13741 int res1 = 0 ;
13742 PyObject *swig_obj[1] ;
13743
13744 if (!args) SWIG_fail;
13745 swig_obj[0] = args;
13746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13747 if (!SWIG_IsOK(res1)) {
13748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13749 }
13750 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 resultobj = SWIG_From_long(static_cast< long >(result));
13758 return resultobj;
13759fail:
13760 return NULL;
d14a1e28
RD
13761}
13762
13763
0085ce49
RD
13764SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13765 PyObject *resultobj = 0;
13766 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13767 long result;
13768 void *argp1 = 0 ;
13769 int res1 = 0 ;
13770 PyObject *swig_obj[1] ;
13771
13772 if (!args) SWIG_fail;
13773 swig_obj[0] = args;
13774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13775 if (!SWIG_IsOK(res1)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13777 }
13778 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 resultobj = SWIG_From_long(static_cast< long >(result));
13786 return resultobj;
13787fail:
13788 return NULL;
13789}
13790
13791
13792SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13793 PyObject *resultobj = 0;
13794 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13795 long arg2 ;
13796 long arg3 ;
13797 void *argp1 = 0 ;
13798 int res1 = 0 ;
13799 long val2 ;
13800 int ecode2 = 0 ;
13801 long val3 ;
13802 int ecode3 = 0 ;
13803 PyObject * obj0 = 0 ;
13804 PyObject * obj1 = 0 ;
13805 PyObject * obj2 = 0 ;
13806 char * kwnames[] = {
2131d850 13807 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
13808 };
13809
13810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13812 if (!SWIG_IsOK(res1)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13814 }
13815 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13816 ecode2 = SWIG_AsVal_long(obj1, &val2);
13817 if (!SWIG_IsOK(ecode2)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13819 }
13820 arg2 = static_cast< long >(val2);
13821 ecode3 = SWIG_AsVal_long(obj2, &val3);
13822 if (!SWIG_IsOK(ecode3)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13824 }
13825 arg3 = static_cast< long >(val3);
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 (arg1)->SetSelection(arg2,arg3);
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 resultobj = SWIG_Py_Void();
13833 return resultobj;
13834fail:
13835 return NULL;
d14a1e28
RD
13836}
13837
13838
0085ce49
RD
13839SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13840 PyObject *resultobj = 0;
13841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13842 void *argp1 = 0 ;
13843 int res1 = 0 ;
13844 PyObject *swig_obj[1] ;
13845
13846 if (!args) SWIG_fail;
13847 swig_obj[0] = args;
13848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13849 if (!SWIG_IsOK(res1)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13851 }
13852 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 (arg1)->SelectAll();
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 resultobj = SWIG_Py_Void();
13860 return resultobj;
13861fail:
13862 return NULL;
13863}
13864
13865
13866SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj = 0;
13868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13869 bool arg2 ;
13870 void *argp1 = 0 ;
13871 int res1 = 0 ;
13872 bool val2 ;
13873 int ecode2 = 0 ;
13874 PyObject * obj0 = 0 ;
13875 PyObject * obj1 = 0 ;
13876 char * kwnames[] = {
13877 (char *) "self",(char *) "editable", NULL
13878 };
13879
13880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13882 if (!SWIG_IsOK(res1)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13884 }
13885 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13886 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13887 if (!SWIG_IsOK(ecode2)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13889 }
13890 arg2 = static_cast< bool >(val2);
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 (arg1)->SetEditable(arg2);
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 resultobj = SWIG_Py_Void();
13898 return resultobj;
13899fail:
13900 return NULL;
13901}
13902
13903
d7645bfd
VZ
13904SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj = 0;
13906 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13907 bool arg2 ;
13908 void *argp1 = 0 ;
13909 int res1 = 0 ;
13910 bool val2 ;
13911 int ecode2 = 0 ;
13912 PyObject * obj0 = 0 ;
13913 PyObject * obj1 = 0 ;
13914 char * kwnames[] = {
13915 (char *) "self",(char *) "check", NULL
13916 };
13917
13918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13920 if (!SWIG_IsOK(res1)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13922 }
13923 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13924 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13925 if (!SWIG_IsOK(ecode2)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13927 }
13928 arg2 = static_cast< bool >(val2);
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
13931 wxTextCtrl_MacCheckSpelling(arg1,arg2);
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 resultobj = SWIG_Py_Void();
13936 return resultobj;
13937fail:
13938 return NULL;
13939}
13940
13941
b39fe951
RD
13942SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13943 PyObject *resultobj = 0;
13944 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13945 void *argp1 = 0 ;
13946 int res1 = 0 ;
13947 PyObject *swig_obj[1] ;
13948
13949 if (!args) SWIG_fail;
13950 swig_obj[0] = args;
13951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13952 if (!SWIG_IsOK(res1)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13954 }
13955 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 (arg1)->SendTextUpdatedEvent();
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 resultobj = SWIG_Py_Void();
13963 return resultobj;
13964fail:
13965 return NULL;
13966}
13967
13968
0085ce49
RD
13969SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj = 0;
13971 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13972 wxString *arg2 = 0 ;
13973 void *argp1 = 0 ;
13974 int res1 = 0 ;
13975 bool temp2 = false ;
13976 PyObject * obj0 = 0 ;
13977 PyObject * obj1 = 0 ;
13978 char * kwnames[] = {
13979 (char *) "self",(char *) "text", NULL
13980 };
13981
13982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13986 }
13987 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13988 {
13989 arg2 = wxString_in_helper(obj1);
13990 if (arg2 == NULL) SWIG_fail;
13991 temp2 = true;
13992 }
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 resultobj = SWIG_Py_Void();
14000 {
14001 if (temp2)
14002 delete arg2;
14003 }
14004 return resultobj;
14005fail:
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 return NULL;
14011}
14012
14013
14014SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj = 0;
14016 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14017 long arg2 ;
14018 long arg3 ;
14019 wxString result;
14020 void *argp1 = 0 ;
14021 int res1 = 0 ;
14022 long val2 ;
14023 int ecode2 = 0 ;
14024 long val3 ;
14025 int ecode3 = 0 ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 char * kwnames[] = {
2131d850 14030 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
14031 };
14032
14033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14035 if (!SWIG_IsOK(res1)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14037 }
14038 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14039 ecode2 = SWIG_AsVal_long(obj1, &val2);
14040 if (!SWIG_IsOK(ecode2)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14042 }
14043 arg2 = static_cast< long >(val2);
14044 ecode3 = SWIG_AsVal_long(obj2, &val3);
14045 if (!SWIG_IsOK(ecode3)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14047 }
14048 arg3 = static_cast< long >(val3);
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 {
14056#if wxUSE_UNICODE
14057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14058#else
14059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14060#endif
14061 }
14062 return resultobj;
14063fail:
14064 return NULL;
d14a1e28
RD
14065}
14066
14067
0085ce49
RD
14068SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj = 0;
14070 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14071 SwigValueWrapper<wxVisualAttributes > result;
14072 int val1 ;
14073 int ecode1 = 0 ;
14074 PyObject * obj0 = 0 ;
14075 char * kwnames[] = {
14076 (char *) "variant", NULL
14077 };
14078
14079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14080 if (obj0) {
14081 ecode1 = SWIG_AsVal_int(obj0, &val1);
14082 if (!SWIG_IsOK(ecode1)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14084 }
14085 arg1 = static_cast< wxWindowVariant >(val1);
14086 }
14087 {
14088 if (!wxPyCheckForApp()) SWIG_fail;
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14095 return resultobj;
14096fail:
14097 return NULL;
14098}
14099
14100
14101SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14102 PyObject *obj;
14103 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14104 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14105 return SWIG_Py_Void();
14106}
14107
14108SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14109 return SWIG_Python_InitShadowInstance(args);
14110}
14111
14112SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14113 PyObject *resultobj = 0;
14114 int arg1 ;
14115 wxMouseEvent *arg2 = 0 ;
14116 long arg3 ;
14117 long arg4 ;
14118 wxTextUrlEvent *result = 0 ;
14119 int val1 ;
14120 int ecode1 = 0 ;
14121 void *argp2 = 0 ;
14122 int res2 = 0 ;
14123 long val3 ;
14124 int ecode3 = 0 ;
14125 long val4 ;
14126 int ecode4 = 0 ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
14129 PyObject * obj2 = 0 ;
14130 PyObject * obj3 = 0 ;
14131 char * kwnames[] = {
14132 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14133 };
14134
14135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14136 ecode1 = SWIG_AsVal_int(obj0, &val1);
14137 if (!SWIG_IsOK(ecode1)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14139 }
14140 arg1 = static_cast< int >(val1);
14141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14142 if (!SWIG_IsOK(res2)) {
14143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14144 }
14145 if (!argp2) {
14146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14147 }
14148 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14149 ecode3 = SWIG_AsVal_long(obj2, &val3);
14150 if (!SWIG_IsOK(ecode3)) {
14151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14152 }
14153 arg3 = static_cast< long >(val3);
14154 ecode4 = SWIG_AsVal_long(obj3, &val4);
14155 if (!SWIG_IsOK(ecode4)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14157 }
14158 arg4 = static_cast< long >(val4);
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14166 return resultobj;
14167fail:
14168 return NULL;
d14a1e28
RD
14169}
14170
14171
0085ce49
RD
14172SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14173 PyObject *resultobj = 0;
14174 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14175 wxMouseEvent *result = 0 ;
14176 void *argp1 = 0 ;
14177 int res1 = 0 ;
14178 PyObject *swig_obj[1] ;
14179
14180 if (!args) SWIG_fail;
14181 swig_obj[0] = args;
14182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14183 if (!SWIG_IsOK(res1)) {
14184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14185 }
14186 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 14189 {
0085ce49
RD
14190 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14191 result = (wxMouseEvent *) &_result_ref;
4f89f6a3 14192 }
0085ce49
RD
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14197 return resultobj;
14198fail:
14199 return NULL;
d14a1e28
RD
14200}
14201
14202
0085ce49
RD
14203SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14204 PyObject *resultobj = 0;
14205 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14206 long result;
14207 void *argp1 = 0 ;
14208 int res1 = 0 ;
14209 PyObject *swig_obj[1] ;
14210
14211 if (!args) SWIG_fail;
14212 swig_obj[0] = args;
14213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14214 if (!SWIG_IsOK(res1)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14216 }
14217 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 resultobj = SWIG_From_long(static_cast< long >(result));
14225 return resultobj;
14226fail:
14227 return NULL;
d14a1e28
RD
14228}
14229
14230
0085ce49
RD
14231SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14232 PyObject *resultobj = 0;
14233 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14234 long result;
14235 void *argp1 = 0 ;
14236 int res1 = 0 ;
14237 PyObject *swig_obj[1] ;
14238
14239 if (!args) SWIG_fail;
14240 swig_obj[0] = args;
14241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14242 if (!SWIG_IsOK(res1)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14244 }
14245 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = SWIG_From_long(static_cast< long >(result));
14253 return resultobj;
14254fail:
14255 return NULL;
d14a1e28
RD
14256}
14257
14258
0085ce49
RD
14259SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 PyObject *obj;
14261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14262 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14263 return SWIG_Py_Void();
d14a1e28
RD
14264}
14265
0085ce49
RD
14266SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14267 return SWIG_Python_InitShadowInstance(args);
14268}
d14a1e28 14269
0085ce49
RD
14270SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14271 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14272 return 1;
14273}
14274
14275
14276SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14277 PyObject *pyobj = 0;
14278
14279 {
14280#if wxUSE_UNICODE
14281 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14282#else
14283 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14284#endif
14285 }
14286 return pyobj;
14287}
14288
14289
14290SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj = 0;
14292 wxWindow *arg1 = (wxWindow *) 0 ;
14293 int arg2 = (int) -1 ;
14294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14296 wxSize const &arg4_defvalue = wxDefaultSize ;
14297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14298 long arg5 = (long) wxSB_HORIZONTAL ;
14299 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14300 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14301 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14302 wxString *arg7 = (wxString *) &arg7_defvalue ;
14303 wxScrollBar *result = 0 ;
14304 void *argp1 = 0 ;
14305 int res1 = 0 ;
14306 int val2 ;
14307 int ecode2 = 0 ;
14308 wxPoint temp3 ;
14309 wxSize temp4 ;
14310 long val5 ;
14311 int ecode5 = 0 ;
14312 void *argp6 = 0 ;
14313 int res6 = 0 ;
14314 bool temp7 = false ;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 PyObject * obj2 = 0 ;
14318 PyObject * obj3 = 0 ;
14319 PyObject * obj4 = 0 ;
14320 PyObject * obj5 = 0 ;
14321 PyObject * obj6 = 0 ;
14322 char * kwnames[] = {
14323 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14324 };
14325
14326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14328 if (!SWIG_IsOK(res1)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14330 }
14331 arg1 = reinterpret_cast< wxWindow * >(argp1);
14332 if (obj1) {
14333 ecode2 = SWIG_AsVal_int(obj1, &val2);
14334 if (!SWIG_IsOK(ecode2)) {
14335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14336 }
14337 arg2 = static_cast< int >(val2);
14338 }
14339 if (obj2) {
d14a1e28 14340 {
0085ce49
RD
14341 arg3 = &temp3;
14342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14343 }
0085ce49
RD
14344 }
14345 if (obj3) {
4f89f6a3 14346 {
0085ce49
RD
14347 arg4 = &temp4;
14348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 14349 }
0085ce49
RD
14350 }
14351 if (obj4) {
14352 ecode5 = SWIG_AsVal_long(obj4, &val5);
14353 if (!SWIG_IsOK(ecode5)) {
14354 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14355 }
14356 arg5 = static_cast< long >(val5);
14357 }
14358 if (obj5) {
14359 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14360 if (!SWIG_IsOK(res6)) {
14361 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14362 }
14363 if (!argp6) {
14364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14365 }
14366 arg6 = reinterpret_cast< wxValidator * >(argp6);
14367 }
14368 if (obj6) {
14369 {
14370 arg7 = wxString_in_helper(obj6);
14371 if (arg7 == NULL) SWIG_fail;
14372 temp7 = true;
14373 }
14374 }
14375 {
14376 if (!wxPyCheckForApp()) SWIG_fail;
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14383 {
14384 if (temp7)
14385 delete arg7;
14386 }
14387 return resultobj;
14388fail:
14389 {
14390 if (temp7)
14391 delete arg7;
14392 }
14393 return NULL;
d14a1e28
RD
14394}
14395
14396
0085ce49
RD
14397SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14398 PyObject *resultobj = 0;
14399 wxScrollBar *result = 0 ;
14400
14401 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14402 {
14403 if (!wxPyCheckForApp()) SWIG_fail;
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 result = (wxScrollBar *)new wxScrollBar();
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14410 return resultobj;
14411fail:
14412 return NULL;
14413}
14414
14415
14416SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj = 0;
14418 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14419 wxWindow *arg2 = (wxWindow *) 0 ;
14420 int arg3 = (int) -1 ;
14421 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14422 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14423 wxSize const &arg5_defvalue = wxDefaultSize ;
14424 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14425 long arg6 = (long) wxSB_HORIZONTAL ;
14426 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14427 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14428 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14429 wxString *arg8 = (wxString *) &arg8_defvalue ;
14430 bool result;
14431 void *argp1 = 0 ;
14432 int res1 = 0 ;
14433 void *argp2 = 0 ;
14434 int res2 = 0 ;
14435 int val3 ;
14436 int ecode3 = 0 ;
14437 wxPoint temp4 ;
14438 wxSize temp5 ;
14439 long val6 ;
14440 int ecode6 = 0 ;
14441 void *argp7 = 0 ;
14442 int res7 = 0 ;
14443 bool temp8 = false ;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 PyObject * obj3 = 0 ;
14448 PyObject * obj4 = 0 ;
14449 PyObject * obj5 = 0 ;
14450 PyObject * obj6 = 0 ;
14451 PyObject * obj7 = 0 ;
14452 char * kwnames[] = {
14453 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14454 };
14455
14456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14458 if (!SWIG_IsOK(res1)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14460 }
14461 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14462 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14463 if (!SWIG_IsOK(res2)) {
14464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14465 }
14466 arg2 = reinterpret_cast< wxWindow * >(argp2);
14467 if (obj2) {
14468 ecode3 = SWIG_AsVal_int(obj2, &val3);
14469 if (!SWIG_IsOK(ecode3)) {
14470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14471 }
14472 arg3 = static_cast< int >(val3);
14473 }
14474 if (obj3) {
093d3ff1 14475 {
0085ce49
RD
14476 arg4 = &temp4;
14477 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14478 }
0085ce49
RD
14479 }
14480 if (obj4) {
d14a1e28 14481 {
0085ce49
RD
14482 arg5 = &temp5;
14483 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14484 }
14485 }
14486 if (obj5) {
14487 ecode6 = SWIG_AsVal_long(obj5, &val6);
14488 if (!SWIG_IsOK(ecode6)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14490 }
14491 arg6 = static_cast< long >(val6);
14492 }
14493 if (obj6) {
14494 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14495 if (!SWIG_IsOK(res7)) {
14496 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 14497 }
0085ce49
RD
14498 if (!argp7) {
14499 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14500 }
14501 arg7 = reinterpret_cast< wxValidator * >(argp7);
14502 }
14503 if (obj7) {
4f89f6a3 14504 {
0085ce49
RD
14505 arg8 = wxString_in_helper(obj7);
14506 if (arg8 == NULL) SWIG_fail;
14507 temp8 = true;
4f89f6a3 14508 }
0085ce49
RD
14509 }
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 {
14517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14518 }
14519 {
14520 if (temp8)
14521 delete arg8;
14522 }
14523 return resultobj;
14524fail:
14525 {
14526 if (temp8)
14527 delete arg8;
14528 }
14529 return NULL;
d14a1e28
RD
14530}
14531
14532
0085ce49
RD
14533SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14534 PyObject *resultobj = 0;
14535 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14536 int result;
14537 void *argp1 = 0 ;
14538 int res1 = 0 ;
14539 PyObject *swig_obj[1] ;
14540
14541 if (!args) SWIG_fail;
14542 swig_obj[0] = args;
14543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14544 if (!SWIG_IsOK(res1)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14546 }
14547 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14548 {
14549 PyThreadState* __tstate = wxPyBeginAllowThreads();
14550 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = SWIG_From_int(static_cast< int >(result));
14555 return resultobj;
14556fail:
14557 return NULL;
d14a1e28
RD
14558}
14559
14560
0085ce49
RD
14561SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14562 PyObject *resultobj = 0;
14563 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14564 int result;
14565 void *argp1 = 0 ;
14566 int res1 = 0 ;
14567 PyObject *swig_obj[1] ;
14568
14569 if (!args) SWIG_fail;
14570 swig_obj[0] = args;
14571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14572 if (!SWIG_IsOK(res1)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14574 }
14575 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = SWIG_From_int(static_cast< int >(result));
14583 return resultobj;
14584fail:
14585 return NULL;
d14a1e28
RD
14586}
14587
14588
0085ce49
RD
14589SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14590 PyObject *resultobj = 0;
14591 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14592 int result;
14593 void *argp1 = 0 ;
14594 int res1 = 0 ;
14595 PyObject *swig_obj[1] ;
14596
14597 if (!args) SWIG_fail;
14598 swig_obj[0] = args;
14599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14600 if (!SWIG_IsOK(res1)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14602 }
14603 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 resultobj = SWIG_From_int(static_cast< int >(result));
14611 return resultobj;
14612fail:
14613 return NULL;
d14a1e28
RD
14614}
14615
14616
0085ce49
RD
14617SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14618 PyObject *resultobj = 0;
14619 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14620 int result;
14621 void *argp1 = 0 ;
14622 int res1 = 0 ;
14623 PyObject *swig_obj[1] ;
14624
14625 if (!args) SWIG_fail;
14626 swig_obj[0] = args;
14627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14628 if (!SWIG_IsOK(res1)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14630 }
14631 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 result = (int)((wxScrollBar const *)arg1)->GetRange();
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 resultobj = SWIG_From_int(static_cast< int >(result));
14639 return resultobj;
14640fail:
14641 return NULL;
d14a1e28
RD
14642}
14643
14644
0085ce49
RD
14645SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14646 PyObject *resultobj = 0;
14647 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14648 bool result;
14649 void *argp1 = 0 ;
14650 int res1 = 0 ;
14651 PyObject *swig_obj[1] ;
14652
14653 if (!args) SWIG_fail;
14654 swig_obj[0] = args;
14655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14656 if (!SWIG_IsOK(res1)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14658 }
14659 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 return resultobj;
14670fail:
14671 return NULL;
14672}
14673
14674
14675SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj = 0;
14677 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14678 int arg2 ;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 int val2 ;
14682 int ecode2 = 0 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char * kwnames[] = {
14686 (char *) "self",(char *) "viewStart", NULL
14687 };
14688
14689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14693 }
14694 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14695 ecode2 = SWIG_AsVal_int(obj1, &val2);
14696 if (!SWIG_IsOK(ecode2)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14698 }
14699 arg2 = static_cast< int >(val2);
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 (arg1)->SetThumbPosition(arg2);
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_Py_Void();
14707 return resultobj;
14708fail:
14709 return NULL;
14710}
14711
14712
14713SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj = 0;
14715 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14716 SwigValueWrapper<wxVisualAttributes > result;
14717 int val1 ;
14718 int ecode1 = 0 ;
14719 PyObject * obj0 = 0 ;
14720 char * kwnames[] = {
14721 (char *) "variant", NULL
14722 };
14723
14724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14725 if (obj0) {
14726 ecode1 = SWIG_AsVal_int(obj0, &val1);
14727 if (!SWIG_IsOK(ecode1)) {
14728 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14729 }
14730 arg1 = static_cast< wxWindowVariant >(val1);
14731 }
14732 {
14733 if (!wxPyCheckForApp()) SWIG_fail;
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14740 return resultobj;
14741fail:
14742 return NULL;
d14a1e28
RD
14743}
14744
14745
0085ce49
RD
14746SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14747 PyObject *obj;
14748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14749 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14750 return SWIG_Py_Void();
d14a1e28
RD
14751}
14752
0085ce49
RD
14753SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14754 return SWIG_Python_InitShadowInstance(args);
14755}
d14a1e28 14756
0085ce49
RD
14757SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14758 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14759 return 1;
d14a1e28
RD
14760}
14761
14762
0085ce49
RD
14763SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14764 PyObject *pyobj = 0;
14765
14766 {
14767#if wxUSE_UNICODE
14768 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14769#else
14770 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14771#endif
14772 }
14773 return pyobj;
d14a1e28
RD
14774}
14775
14776
0085ce49
RD
14777SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14778 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14779 return 1;
d14a1e28
RD
14780}
14781
14782
0085ce49
RD
14783SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14784 PyObject *pyobj = 0;
14785
14786 {
14787#if wxUSE_UNICODE
14788 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14789#else
14790 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14791#endif
14792 }
14793 return pyobj;
14794}
14795
14796
14797SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj = 0;
14799 wxWindow *arg1 = (wxWindow *) 0 ;
14800 int arg2 = (int) -1 ;
14801 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14802 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14803 wxSize const &arg4_defvalue = wxDefaultSize ;
14804 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14805 long arg5 = (long) wxSP_HORIZONTAL ;
14806 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14807 wxString *arg6 = (wxString *) &arg6_defvalue ;
14808 wxSpinButton *result = 0 ;
14809 void *argp1 = 0 ;
14810 int res1 = 0 ;
14811 int val2 ;
14812 int ecode2 = 0 ;
14813 wxPoint temp3 ;
14814 wxSize temp4 ;
14815 long val5 ;
14816 int ecode5 = 0 ;
14817 bool temp6 = false ;
14818 PyObject * obj0 = 0 ;
14819 PyObject * obj1 = 0 ;
14820 PyObject * obj2 = 0 ;
14821 PyObject * obj3 = 0 ;
14822 PyObject * obj4 = 0 ;
14823 PyObject * obj5 = 0 ;
14824 char * kwnames[] = {
14825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14826 };
14827
14828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14830 if (!SWIG_IsOK(res1)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14832 }
14833 arg1 = reinterpret_cast< wxWindow * >(argp1);
14834 if (obj1) {
14835 ecode2 = SWIG_AsVal_int(obj1, &val2);
14836 if (!SWIG_IsOK(ecode2)) {
14837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14838 }
14839 arg2 = static_cast< int >(val2);
14840 }
14841 if (obj2) {
093d3ff1 14842 {
0085ce49
RD
14843 arg3 = &temp3;
14844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14845 }
0085ce49
RD
14846 }
14847 if (obj3) {
d14a1e28 14848 {
0085ce49
RD
14849 arg4 = &temp4;
14850 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14851 }
0085ce49
RD
14852 }
14853 if (obj4) {
14854 ecode5 = SWIG_AsVal_long(obj4, &val5);
14855 if (!SWIG_IsOK(ecode5)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14857 }
14858 arg5 = static_cast< long >(val5);
14859 }
14860 if (obj5) {
d14a1e28 14861 {
0085ce49
RD
14862 arg6 = wxString_in_helper(obj5);
14863 if (arg6 == NULL) SWIG_fail;
14864 temp6 = true;
d14a1e28 14865 }
0085ce49
RD
14866 }
14867 {
14868 if (!wxPyCheckForApp()) SWIG_fail;
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14875 {
14876 if (temp6)
14877 delete arg6;
14878 }
14879 return resultobj;
14880fail:
14881 {
14882 if (temp6)
14883 delete arg6;
14884 }
14885 return NULL;
d14a1e28
RD
14886}
14887
14888
0085ce49
RD
14889SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14890 PyObject *resultobj = 0;
14891 wxSpinButton *result = 0 ;
14892
14893 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14894 {
14895 if (!wxPyCheckForApp()) SWIG_fail;
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (wxSpinButton *)new wxSpinButton();
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14902 return resultobj;
14903fail:
14904 return NULL;
14905}
14906
14907
14908SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj = 0;
14910 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14911 wxWindow *arg2 = (wxWindow *) 0 ;
14912 int arg3 = (int) -1 ;
14913 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14914 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14915 wxSize const &arg5_defvalue = wxDefaultSize ;
14916 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14917 long arg6 = (long) wxSP_HORIZONTAL ;
14918 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14919 wxString *arg7 = (wxString *) &arg7_defvalue ;
14920 bool result;
14921 void *argp1 = 0 ;
14922 int res1 = 0 ;
14923 void *argp2 = 0 ;
14924 int res2 = 0 ;
14925 int val3 ;
14926 int ecode3 = 0 ;
14927 wxPoint temp4 ;
14928 wxSize temp5 ;
14929 long val6 ;
14930 int ecode6 = 0 ;
14931 bool temp7 = false ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 PyObject * obj2 = 0 ;
14935 PyObject * obj3 = 0 ;
14936 PyObject * obj4 = 0 ;
14937 PyObject * obj5 = 0 ;
14938 PyObject * obj6 = 0 ;
14939 char * kwnames[] = {
14940 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14941 };
14942
14943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14945 if (!SWIG_IsOK(res1)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14947 }
14948 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14949 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14950 if (!SWIG_IsOK(res2)) {
14951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14952 }
14953 arg2 = reinterpret_cast< wxWindow * >(argp2);
14954 if (obj2) {
14955 ecode3 = SWIG_AsVal_int(obj2, &val3);
14956 if (!SWIG_IsOK(ecode3)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14958 }
14959 arg3 = static_cast< int >(val3);
14960 }
14961 if (obj3) {
d14a1e28 14962 {
0085ce49
RD
14963 arg4 = &temp4;
14964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14965 }
0085ce49
RD
14966 }
14967 if (obj4) {
d14a1e28 14968 {
0085ce49
RD
14969 arg5 = &temp5;
14970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14971 }
0085ce49
RD
14972 }
14973 if (obj5) {
14974 ecode6 = SWIG_AsVal_long(obj5, &val6);
14975 if (!SWIG_IsOK(ecode6)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14977 }
14978 arg6 = static_cast< long >(val6);
14979 }
14980 if (obj6) {
d14a1e28 14981 {
0085ce49
RD
14982 arg7 = wxString_in_helper(obj6);
14983 if (arg7 == NULL) SWIG_fail;
14984 temp7 = true;
d14a1e28 14985 }
0085ce49
RD
14986 }
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
14993 {
14994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14995 }
14996 {
14997 if (temp7)
14998 delete arg7;
14999 }
15000 return resultobj;
15001fail:
15002 {
15003 if (temp7)
15004 delete arg7;
15005 }
15006 return NULL;
d14a1e28
RD
15007}
15008
15009
0085ce49
RD
15010SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15011 PyObject *resultobj = 0;
15012 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15013 int result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 PyObject *swig_obj[1] ;
15017
15018 if (!args) SWIG_fail;
15019 swig_obj[0] = args;
15020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15023 }
15024 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = (int)((wxSpinButton const *)arg1)->GetValue();
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_From_int(static_cast< int >(result));
15032 return resultobj;
15033fail:
15034 return NULL;
d14a1e28
RD
15035}
15036
15037
0085ce49
RD
15038SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15039 PyObject *resultobj = 0;
15040 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15041 int result;
15042 void *argp1 = 0 ;
15043 int res1 = 0 ;
15044 PyObject *swig_obj[1] ;
15045
15046 if (!args) SWIG_fail;
15047 swig_obj[0] = args;
15048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15049 if (!SWIG_IsOK(res1)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15051 }
15052 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 result = (int)((wxSpinButton const *)arg1)->GetMin();
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 resultobj = SWIG_From_int(static_cast< int >(result));
15060 return resultobj;
15061fail:
15062 return NULL;
d14a1e28
RD
15063}
15064
15065
0085ce49
RD
15066SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15067 PyObject *resultobj = 0;
15068 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15069 int result;
15070 void *argp1 = 0 ;
15071 int res1 = 0 ;
15072 PyObject *swig_obj[1] ;
15073
15074 if (!args) SWIG_fail;
15075 swig_obj[0] = args;
15076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15077 if (!SWIG_IsOK(res1)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15079 }
15080 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (int)((wxSpinButton const *)arg1)->GetMax();
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 resultobj = SWIG_From_int(static_cast< int >(result));
15088 return resultobj;
15089fail:
15090 return NULL;
15091}
15092
15093
15094SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj = 0;
15096 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15097 int arg2 ;
15098 void *argp1 = 0 ;
15099 int res1 = 0 ;
15100 int val2 ;
15101 int ecode2 = 0 ;
15102 PyObject * obj0 = 0 ;
15103 PyObject * obj1 = 0 ;
15104 char * kwnames[] = {
15105 (char *) "self",(char *) "val", NULL
15106 };
15107
15108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15110 if (!SWIG_IsOK(res1)) {
15111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15112 }
15113 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15114 ecode2 = SWIG_AsVal_int(obj1, &val2);
15115 if (!SWIG_IsOK(ecode2)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15117 }
15118 arg2 = static_cast< int >(val2);
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 (arg1)->SetValue(arg2);
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 resultobj = SWIG_Py_Void();
15126 return resultobj;
15127fail:
15128 return NULL;
15129}
15130
15131
15132SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15133 PyObject *resultobj = 0;
15134 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15135 int arg2 ;
15136 void *argp1 = 0 ;
15137 int res1 = 0 ;
15138 int val2 ;
15139 int ecode2 = 0 ;
15140 PyObject * obj0 = 0 ;
15141 PyObject * obj1 = 0 ;
15142 char * kwnames[] = {
15143 (char *) "self",(char *) "minVal", NULL
15144 };
15145
15146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15148 if (!SWIG_IsOK(res1)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15150 }
15151 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15152 ecode2 = SWIG_AsVal_int(obj1, &val2);
15153 if (!SWIG_IsOK(ecode2)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15155 }
15156 arg2 = static_cast< int >(val2);
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 (arg1)->SetMin(arg2);
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 resultobj = SWIG_Py_Void();
15164 return resultobj;
15165fail:
15166 return NULL;
15167}
15168
15169
15170SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj = 0;
15172 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15173 int arg2 ;
15174 void *argp1 = 0 ;
15175 int res1 = 0 ;
15176 int val2 ;
15177 int ecode2 = 0 ;
15178 PyObject * obj0 = 0 ;
15179 PyObject * obj1 = 0 ;
15180 char * kwnames[] = {
15181 (char *) "self",(char *) "maxVal", NULL
15182 };
15183
15184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15186 if (!SWIG_IsOK(res1)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15188 }
15189 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15190 ecode2 = SWIG_AsVal_int(obj1, &val2);
15191 if (!SWIG_IsOK(ecode2)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15193 }
15194 arg2 = static_cast< int >(val2);
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 (arg1)->SetMax(arg2);
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 resultobj = SWIG_Py_Void();
15202 return resultobj;
15203fail:
15204 return NULL;
15205}
15206
15207
15208SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj = 0;
15210 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15211 int arg2 ;
15212 int arg3 ;
15213 void *argp1 = 0 ;
15214 int res1 = 0 ;
15215 int val2 ;
15216 int ecode2 = 0 ;
15217 int val3 ;
15218 int ecode3 = 0 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 PyObject * obj2 = 0 ;
15222 char * kwnames[] = {
15223 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15224 };
15225
15226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15228 if (!SWIG_IsOK(res1)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15230 }
15231 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15232 ecode2 = SWIG_AsVal_int(obj1, &val2);
15233 if (!SWIG_IsOK(ecode2)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15235 }
15236 arg2 = static_cast< int >(val2);
15237 ecode3 = SWIG_AsVal_int(obj2, &val3);
15238 if (!SWIG_IsOK(ecode3)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15240 }
15241 arg3 = static_cast< int >(val3);
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 (arg1)->SetRange(arg2,arg3);
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = SWIG_Py_Void();
15249 return resultobj;
15250fail:
15251 return NULL;
d14a1e28
RD
15252}
15253
15254
0085ce49
RD
15255SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15256 PyObject *resultobj = 0;
15257 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15258 bool result;
15259 void *argp1 = 0 ;
15260 int res1 = 0 ;
15261 PyObject *swig_obj[1] ;
15262
15263 if (!args) SWIG_fail;
15264 swig_obj[0] = args;
15265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15266 if (!SWIG_IsOK(res1)) {
15267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15268 }
15269 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 {
15277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15278 }
15279 return resultobj;
15280fail:
15281 return NULL;
d14a1e28
RD
15282}
15283
15284
0085ce49
RD
15285SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj = 0;
15287 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15288 SwigValueWrapper<wxVisualAttributes > result;
15289 int val1 ;
15290 int ecode1 = 0 ;
15291 PyObject * obj0 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "variant", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15297 if (obj0) {
15298 ecode1 = SWIG_AsVal_int(obj0, &val1);
15299 if (!SWIG_IsOK(ecode1)) {
15300 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15301 }
15302 arg1 = static_cast< wxWindowVariant >(val1);
15303 }
15304 {
15305 if (!wxPyCheckForApp()) SWIG_fail;
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15312 return resultobj;
15313fail:
15314 return NULL;
15315}
15316
15317
15318SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15319 PyObject *obj;
15320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15321 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15322 return SWIG_Py_Void();
15323}
15324
15325SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15326 return SWIG_Python_InitShadowInstance(args);
15327}
15328
15329SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj = 0;
15331 wxWindow *arg1 = (wxWindow *) 0 ;
15332 int arg2 = (int) -1 ;
15333 wxString const &arg3_defvalue = wxPyEmptyString ;
15334 wxString *arg3 = (wxString *) &arg3_defvalue ;
15335 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15336 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15337 wxSize const &arg5_defvalue = wxDefaultSize ;
15338 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15339 long arg6 = (long) wxSP_ARROW_KEYS ;
15340 int arg7 = (int) 0 ;
15341 int arg8 = (int) 100 ;
15342 int arg9 = (int) 0 ;
15343 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15344 wxString *arg10 = (wxString *) &arg10_defvalue ;
15345 wxSpinCtrl *result = 0 ;
15346 void *argp1 = 0 ;
15347 int res1 = 0 ;
15348 int val2 ;
15349 int ecode2 = 0 ;
15350 bool temp3 = false ;
15351 wxPoint temp4 ;
15352 wxSize temp5 ;
15353 long val6 ;
15354 int ecode6 = 0 ;
15355 int val7 ;
15356 int ecode7 = 0 ;
15357 int val8 ;
15358 int ecode8 = 0 ;
15359 int val9 ;
15360 int ecode9 = 0 ;
15361 bool temp10 = false ;
15362 PyObject * obj0 = 0 ;
15363 PyObject * obj1 = 0 ;
15364 PyObject * obj2 = 0 ;
15365 PyObject * obj3 = 0 ;
15366 PyObject * obj4 = 0 ;
15367 PyObject * obj5 = 0 ;
15368 PyObject * obj6 = 0 ;
15369 PyObject * obj7 = 0 ;
15370 PyObject * obj8 = 0 ;
15371 PyObject * obj9 = 0 ;
15372 char * kwnames[] = {
15373 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15374 };
15375
15376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15378 if (!SWIG_IsOK(res1)) {
15379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15380 }
15381 arg1 = reinterpret_cast< wxWindow * >(argp1);
15382 if (obj1) {
15383 ecode2 = SWIG_AsVal_int(obj1, &val2);
15384 if (!SWIG_IsOK(ecode2)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15386 }
15387 arg2 = static_cast< int >(val2);
15388 }
15389 if (obj2) {
093d3ff1 15390 {
0085ce49
RD
15391 arg3 = wxString_in_helper(obj2);
15392 if (arg3 == NULL) SWIG_fail;
15393 temp3 = true;
093d3ff1 15394 }
0085ce49
RD
15395 }
15396 if (obj3) {
093d3ff1 15397 {
0085ce49
RD
15398 arg4 = &temp4;
15399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15400 }
0085ce49
RD
15401 }
15402 if (obj4) {
d14a1e28 15403 {
0085ce49
RD
15404 arg5 = &temp5;
15405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15406 }
0085ce49
RD
15407 }
15408 if (obj5) {
15409 ecode6 = SWIG_AsVal_long(obj5, &val6);
15410 if (!SWIG_IsOK(ecode6)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15412 }
15413 arg6 = static_cast< long >(val6);
15414 }
15415 if (obj6) {
15416 ecode7 = SWIG_AsVal_int(obj6, &val7);
15417 if (!SWIG_IsOK(ecode7)) {
15418 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15419 }
15420 arg7 = static_cast< int >(val7);
15421 }
15422 if (obj7) {
15423 ecode8 = SWIG_AsVal_int(obj7, &val8);
15424 if (!SWIG_IsOK(ecode8)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15426 }
15427 arg8 = static_cast< int >(val8);
15428 }
15429 if (obj8) {
15430 ecode9 = SWIG_AsVal_int(obj8, &val9);
15431 if (!SWIG_IsOK(ecode9)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15433 }
15434 arg9 = static_cast< int >(val9);
15435 }
15436 if (obj9) {
d14a1e28 15437 {
0085ce49
RD
15438 arg10 = wxString_in_helper(obj9);
15439 if (arg10 == NULL) SWIG_fail;
15440 temp10 = true;
d14a1e28 15441 }
0085ce49
RD
15442 }
15443 {
15444 if (!wxPyCheckForApp()) SWIG_fail;
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15451 {
15452 if (temp3)
15453 delete arg3;
15454 }
15455 {
15456 if (temp10)
15457 delete arg10;
15458 }
15459 return resultobj;
15460fail:
15461 {
15462 if (temp3)
15463 delete arg3;
15464 }
15465 {
15466 if (temp10)
15467 delete arg10;
15468 }
15469 return NULL;
d14a1e28
RD
15470}
15471
15472
0085ce49
RD
15473SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15474 PyObject *resultobj = 0;
15475 wxSpinCtrl *result = 0 ;
15476
15477 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15478 {
15479 if (!wxPyCheckForApp()) SWIG_fail;
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 result = (wxSpinCtrl *)new wxSpinCtrl();
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15486 return resultobj;
15487fail:
15488 return NULL;
15489}
15490
15491
15492SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj = 0;
15494 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15495 wxWindow *arg2 = (wxWindow *) 0 ;
15496 int arg3 = (int) -1 ;
15497 wxString const &arg4_defvalue = wxPyEmptyString ;
15498 wxString *arg4 = (wxString *) &arg4_defvalue ;
15499 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15500 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15501 wxSize const &arg6_defvalue = wxDefaultSize ;
15502 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15503 long arg7 = (long) wxSP_ARROW_KEYS ;
15504 int arg8 = (int) 0 ;
15505 int arg9 = (int) 100 ;
15506 int arg10 = (int) 0 ;
15507 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15508 wxString *arg11 = (wxString *) &arg11_defvalue ;
15509 bool result;
15510 void *argp1 = 0 ;
15511 int res1 = 0 ;
15512 void *argp2 = 0 ;
15513 int res2 = 0 ;
15514 int val3 ;
15515 int ecode3 = 0 ;
15516 bool temp4 = false ;
15517 wxPoint temp5 ;
15518 wxSize temp6 ;
15519 long val7 ;
15520 int ecode7 = 0 ;
15521 int val8 ;
15522 int ecode8 = 0 ;
15523 int val9 ;
15524 int ecode9 = 0 ;
15525 int val10 ;
15526 int ecode10 = 0 ;
15527 bool temp11 = false ;
15528 PyObject * obj0 = 0 ;
15529 PyObject * obj1 = 0 ;
15530 PyObject * obj2 = 0 ;
15531 PyObject * obj3 = 0 ;
15532 PyObject * obj4 = 0 ;
15533 PyObject * obj5 = 0 ;
15534 PyObject * obj6 = 0 ;
15535 PyObject * obj7 = 0 ;
15536 PyObject * obj8 = 0 ;
15537 PyObject * obj9 = 0 ;
15538 PyObject * obj10 = 0 ;
15539 char * kwnames[] = {
15540 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15541 };
15542
15543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15545 if (!SWIG_IsOK(res1)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15547 }
15548 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15549 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15550 if (!SWIG_IsOK(res2)) {
15551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15552 }
15553 arg2 = reinterpret_cast< wxWindow * >(argp2);
15554 if (obj2) {
15555 ecode3 = SWIG_AsVal_int(obj2, &val3);
15556 if (!SWIG_IsOK(ecode3)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15558 }
15559 arg3 = static_cast< int >(val3);
15560 }
15561 if (obj3) {
093d3ff1 15562 {
0085ce49
RD
15563 arg4 = wxString_in_helper(obj3);
15564 if (arg4 == NULL) SWIG_fail;
15565 temp4 = true;
093d3ff1 15566 }
0085ce49
RD
15567 }
15568 if (obj4) {
d14a1e28 15569 {
0085ce49
RD
15570 arg5 = &temp5;
15571 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15572 }
0085ce49
RD
15573 }
15574 if (obj5) {
093d3ff1 15575 {
0085ce49
RD
15576 arg6 = &temp6;
15577 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 15578 }
0085ce49
RD
15579 }
15580 if (obj6) {
15581 ecode7 = SWIG_AsVal_long(obj6, &val7);
15582 if (!SWIG_IsOK(ecode7)) {
15583 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15584 }
15585 arg7 = static_cast< long >(val7);
15586 }
15587 if (obj7) {
15588 ecode8 = SWIG_AsVal_int(obj7, &val8);
15589 if (!SWIG_IsOK(ecode8)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15591 }
15592 arg8 = static_cast< int >(val8);
15593 }
15594 if (obj8) {
15595 ecode9 = SWIG_AsVal_int(obj8, &val9);
15596 if (!SWIG_IsOK(ecode9)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15598 }
15599 arg9 = static_cast< int >(val9);
15600 }
15601 if (obj9) {
15602 ecode10 = SWIG_AsVal_int(obj9, &val10);
15603 if (!SWIG_IsOK(ecode10)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15605 }
15606 arg10 = static_cast< int >(val10);
15607 }
15608 if (obj10) {
d14a1e28 15609 {
0085ce49
RD
15610 arg11 = wxString_in_helper(obj10);
15611 if (arg11 == NULL) SWIG_fail;
15612 temp11 = true;
d14a1e28 15613 }
0085ce49
RD
15614 }
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 {
15622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15623 }
15624 {
15625 if (temp4)
15626 delete arg4;
15627 }
15628 {
15629 if (temp11)
15630 delete arg11;
15631 }
15632 return resultobj;
15633fail:
15634 {
15635 if (temp4)
15636 delete arg4;
15637 }
15638 {
15639 if (temp11)
15640 delete arg11;
15641 }
15642 return NULL;
d14a1e28
RD
15643}
15644
15645
0085ce49
RD
15646SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15647 PyObject *resultobj = 0;
15648 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15649 int result;
15650 void *argp1 = 0 ;
15651 int res1 = 0 ;
15652 PyObject *swig_obj[1] ;
15653
15654 if (!args) SWIG_fail;
15655 swig_obj[0] = args;
15656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15657 if (!SWIG_IsOK(res1)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15659 }
15660 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 resultobj = SWIG_From_int(static_cast< int >(result));
15668 return resultobj;
15669fail:
15670 return NULL;
15671}
15672
15673
15674SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj = 0;
15676 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15677 int arg2 ;
15678 void *argp1 = 0 ;
15679 int res1 = 0 ;
15680 int val2 ;
15681 int ecode2 = 0 ;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 char * kwnames[] = {
15685 (char *) "self",(char *) "value", NULL
15686 };
15687
15688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15690 if (!SWIG_IsOK(res1)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15692 }
15693 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15694 ecode2 = SWIG_AsVal_int(obj1, &val2);
15695 if (!SWIG_IsOK(ecode2)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15697 }
15698 arg2 = static_cast< int >(val2);
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 (arg1)->SetValue(arg2);
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_Py_Void();
15706 return resultobj;
15707fail:
15708 return NULL;
15709}
15710
15711
15712SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj = 0;
15714 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15715 wxString *arg2 = 0 ;
15716 void *argp1 = 0 ;
15717 int res1 = 0 ;
15718 bool temp2 = false ;
15719 PyObject * obj0 = 0 ;
15720 PyObject * obj1 = 0 ;
15721 char * kwnames[] = {
15722 (char *) "self",(char *) "text", NULL
15723 };
15724
15725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15727 if (!SWIG_IsOK(res1)) {
15728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15729 }
15730 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15731 {
15732 arg2 = wxString_in_helper(obj1);
15733 if (arg2 == NULL) SWIG_fail;
15734 temp2 = true;
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->SetValue((wxString const &)*arg2);
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 resultobj = SWIG_Py_Void();
15743 {
15744 if (temp2)
15745 delete arg2;
15746 }
15747 return resultobj;
15748fail:
15749 {
15750 if (temp2)
15751 delete arg2;
15752 }
15753 return NULL;
15754}
15755
15756
15757SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj = 0;
15759 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15760 int arg2 ;
15761 int arg3 ;
15762 void *argp1 = 0 ;
15763 int res1 = 0 ;
15764 int val2 ;
15765 int ecode2 = 0 ;
15766 int val3 ;
15767 int ecode3 = 0 ;
15768 PyObject * obj0 = 0 ;
15769 PyObject * obj1 = 0 ;
15770 PyObject * obj2 = 0 ;
15771 char * kwnames[] = {
15772 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15773 };
15774
15775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15777 if (!SWIG_IsOK(res1)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15779 }
15780 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15781 ecode2 = SWIG_AsVal_int(obj1, &val2);
15782 if (!SWIG_IsOK(ecode2)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15784 }
15785 arg2 = static_cast< int >(val2);
15786 ecode3 = SWIG_AsVal_int(obj2, &val3);
15787 if (!SWIG_IsOK(ecode3)) {
15788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15789 }
15790 arg3 = static_cast< int >(val3);
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 (arg1)->SetRange(arg2,arg3);
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_Py_Void();
15798 return resultobj;
15799fail:
15800 return NULL;
d14a1e28
RD
15801}
15802
15803
0085ce49
RD
15804SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15805 PyObject *resultobj = 0;
15806 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15807 int result;
15808 void *argp1 = 0 ;
15809 int res1 = 0 ;
15810 PyObject *swig_obj[1] ;
15811
15812 if (!args) SWIG_fail;
15813 swig_obj[0] = args;
15814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15815 if (!SWIG_IsOK(res1)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15817 }
15818 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_From_int(static_cast< int >(result));
15826 return resultobj;
15827fail:
15828 return NULL;
d14a1e28
RD
15829}
15830
15831
0085ce49
RD
15832SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15833 PyObject *resultobj = 0;
15834 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15835 int result;
15836 void *argp1 = 0 ;
15837 int res1 = 0 ;
15838 PyObject *swig_obj[1] ;
15839
15840 if (!args) SWIG_fail;
15841 swig_obj[0] = args;
15842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15843 if (!SWIG_IsOK(res1)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15845 }
15846 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 resultobj = SWIG_From_int(static_cast< int >(result));
15854 return resultobj;
15855fail:
15856 return NULL;
15857}
15858
15859
15860SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj = 0;
15862 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15863 long arg2 ;
15864 long arg3 ;
15865 void *argp1 = 0 ;
15866 int res1 = 0 ;
15867 long val2 ;
15868 int ecode2 = 0 ;
15869 long val3 ;
15870 int ecode3 = 0 ;
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 PyObject * obj2 = 0 ;
15874 char * kwnames[] = {
2131d850 15875 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
15876 };
15877
15878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15880 if (!SWIG_IsOK(res1)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15882 }
15883 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15884 ecode2 = SWIG_AsVal_long(obj1, &val2);
15885 if (!SWIG_IsOK(ecode2)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15887 }
15888 arg2 = static_cast< long >(val2);
15889 ecode3 = SWIG_AsVal_long(obj2, &val3);
15890 if (!SWIG_IsOK(ecode3)) {
15891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15892 }
15893 arg3 = static_cast< long >(val3);
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 (arg1)->SetSelection(arg2,arg3);
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 resultobj = SWIG_Py_Void();
15901 return resultobj;
15902fail:
15903 return NULL;
15904}
15905
15906
15907SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15908 PyObject *resultobj = 0;
15909 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15910 SwigValueWrapper<wxVisualAttributes > result;
15911 int val1 ;
15912 int ecode1 = 0 ;
15913 PyObject * obj0 = 0 ;
15914 char * kwnames[] = {
15915 (char *) "variant", NULL
15916 };
15917
15918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15919 if (obj0) {
15920 ecode1 = SWIG_AsVal_int(obj0, &val1);
15921 if (!SWIG_IsOK(ecode1)) {
15922 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15923 }
15924 arg1 = static_cast< wxWindowVariant >(val1);
15925 }
15926 {
15927 if (!wxPyCheckForApp()) SWIG_fail;
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15934 return resultobj;
15935fail:
15936 return NULL;
d14a1e28
RD
15937}
15938
15939
0085ce49
RD
15940SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15941 PyObject *obj;
15942 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15943 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15944 return SWIG_Py_Void();
d14a1e28
RD
15945}
15946
0085ce49
RD
15947SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15948 return SWIG_Python_InitShadowInstance(args);
15949}
d14a1e28 15950
0085ce49
RD
15951SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15952 PyObject *resultobj = 0;
15953 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15954 int arg2 = (int) 0 ;
15955 wxSpinEvent *result = 0 ;
15956 int val1 ;
15957 int ecode1 = 0 ;
15958 int val2 ;
15959 int ecode2 = 0 ;
15960 PyObject * obj0 = 0 ;
15961 PyObject * obj1 = 0 ;
15962 char * kwnames[] = {
15963 (char *) "commandType",(char *) "winid", NULL
15964 };
15965
15966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15967 if (obj0) {
15968 ecode1 = SWIG_AsVal_int(obj0, &val1);
15969 if (!SWIG_IsOK(ecode1)) {
15970 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15971 }
15972 arg1 = static_cast< wxEventType >(val1);
15973 }
15974 if (obj1) {
15975 ecode2 = SWIG_AsVal_int(obj1, &val2);
15976 if (!SWIG_IsOK(ecode2)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15978 }
15979 arg2 = static_cast< int >(val2);
15980 }
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15988 return resultobj;
15989fail:
15990 return NULL;
d14a1e28
RD
15991}
15992
15993
0085ce49
RD
15994SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15995 PyObject *resultobj = 0;
15996 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15997 int result;
15998 void *argp1 = 0 ;
15999 int res1 = 0 ;
16000 PyObject *swig_obj[1] ;
16001
16002 if (!args) SWIG_fail;
16003 swig_obj[0] = args;
16004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16005 if (!SWIG_IsOK(res1)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16007 }
16008 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_From_int(static_cast< int >(result));
16016 return resultobj;
16017fail:
16018 return NULL;
16019}
16020
16021
16022SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj = 0;
16024 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16025 int arg2 ;
16026 void *argp1 = 0 ;
16027 int res1 = 0 ;
16028 int val2 ;
16029 int ecode2 = 0 ;
16030 PyObject * obj0 = 0 ;
16031 PyObject * obj1 = 0 ;
16032 char * kwnames[] = {
16033 (char *) "self",(char *) "pos", NULL
16034 };
16035
16036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16038 if (!SWIG_IsOK(res1)) {
16039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16040 }
16041 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16042 ecode2 = SWIG_AsVal_int(obj1, &val2);
16043 if (!SWIG_IsOK(ecode2)) {
16044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16045 }
16046 arg2 = static_cast< int >(val2);
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->SetPosition(arg2);
16050 wxPyEndAllowThreads(__tstate);
16051 if (PyErr_Occurred()) SWIG_fail;
16052 }
16053 resultobj = SWIG_Py_Void();
16054 return resultobj;
16055fail:
16056 return NULL;
d14a1e28
RD
16057}
16058
16059
0085ce49
RD
16060SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16061 PyObject *obj;
16062 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16063 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16064 return SWIG_Py_Void();
16065}
16066
16067SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16068 return SWIG_Python_InitShadowInstance(args);
16069}
16070
16071SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16072 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16073 return 1;
16074}
16075
16076
16077SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16078 PyObject *pyobj = 0;
16079
16080 {
d14a1e28 16081#if wxUSE_UNICODE
0085ce49 16082 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
d14a1e28 16083#else
0085ce49 16084 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
d14a1e28 16085#endif
0085ce49
RD
16086 }
16087 return pyobj;
d14a1e28
RD
16088}
16089
16090
0085ce49
RD
16091SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16092 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16093 return 1;
d14a1e28
RD
16094}
16095
16096
0085ce49
RD
16097SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16098 PyObject *pyobj = 0;
16099
16100 {
16101#if wxUSE_UNICODE
16102 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16103#else
16104 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16105#endif
16106 }
16107 return pyobj;
16108}
16109
16110
16111SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj = 0;
16113 wxWindow *arg1 = (wxWindow *) 0 ;
16114 int arg2 = (int) -1 ;
16115 wxString const &arg3_defvalue = wxPyEmptyString ;
16116 wxString *arg3 = (wxString *) &arg3_defvalue ;
16117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16119 wxSize const &arg5_defvalue = wxDefaultSize ;
16120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16121 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16122 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16123 int arg7 = (int) 0 ;
16124 long arg8 = (long) wxRA_HORIZONTAL ;
16125 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16126 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16127 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16128 wxString *arg10 = (wxString *) &arg10_defvalue ;
16129 wxRadioBox *result = 0 ;
16130 void *argp1 = 0 ;
16131 int res1 = 0 ;
16132 int val2 ;
16133 int ecode2 = 0 ;
16134 bool temp3 = false ;
16135 wxPoint temp4 ;
16136 wxSize temp5 ;
16137 bool temp6 = false ;
16138 int val7 ;
16139 int ecode7 = 0 ;
16140 long val8 ;
16141 int ecode8 = 0 ;
16142 void *argp9 = 0 ;
16143 int res9 = 0 ;
16144 bool temp10 = false ;
16145 PyObject * obj0 = 0 ;
16146 PyObject * obj1 = 0 ;
16147 PyObject * obj2 = 0 ;
16148 PyObject * obj3 = 0 ;
16149 PyObject * obj4 = 0 ;
16150 PyObject * obj5 = 0 ;
16151 PyObject * obj6 = 0 ;
16152 PyObject * obj7 = 0 ;
16153 PyObject * obj8 = 0 ;
16154 PyObject * obj9 = 0 ;
16155 char * kwnames[] = {
16156 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16157 };
16158
16159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16161 if (!SWIG_IsOK(res1)) {
16162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16163 }
16164 arg1 = reinterpret_cast< wxWindow * >(argp1);
16165 if (obj1) {
16166 ecode2 = SWIG_AsVal_int(obj1, &val2);
16167 if (!SWIG_IsOK(ecode2)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16169 }
16170 arg2 = static_cast< int >(val2);
16171 }
16172 if (obj2) {
093d3ff1 16173 {
0085ce49
RD
16174 arg3 = wxString_in_helper(obj2);
16175 if (arg3 == NULL) SWIG_fail;
16176 temp3 = true;
093d3ff1 16177 }
0085ce49
RD
16178 }
16179 if (obj3) {
093d3ff1 16180 {
0085ce49
RD
16181 arg4 = &temp4;
16182 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 16183 }
0085ce49
RD
16184 }
16185 if (obj4) {
d14a1e28 16186 {
0085ce49
RD
16187 arg5 = &temp5;
16188 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16189 }
0085ce49
RD
16190 }
16191 if (obj5) {
d14a1e28 16192 {
0085ce49
RD
16193 if (! PySequence_Check(obj5)) {
16194 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16195 SWIG_fail;
16196 }
16197 arg6 = new wxArrayString;
16198 temp6 = true;
16199 int i, len=PySequence_Length(obj5);
16200 for (i=0; i<len; i++) {
16201 PyObject* item = PySequence_GetItem(obj5, i);
16202 wxString* s = wxString_in_helper(item);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 arg6->Add(*s);
16205 delete s;
16206 Py_DECREF(item);
16207 }
d14a1e28 16208 }
0085ce49
RD
16209 }
16210 if (obj6) {
16211 ecode7 = SWIG_AsVal_int(obj6, &val7);
16212 if (!SWIG_IsOK(ecode7)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16214 }
16215 arg7 = static_cast< int >(val7);
16216 }
16217 if (obj7) {
16218 ecode8 = SWIG_AsVal_long(obj7, &val8);
16219 if (!SWIG_IsOK(ecode8)) {
16220 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16221 }
16222 arg8 = static_cast< long >(val8);
16223 }
16224 if (obj8) {
16225 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16226 if (!SWIG_IsOK(res9)) {
16227 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16228 }
16229 if (!argp9) {
16230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 16231 }
0085ce49
RD
16232 arg9 = reinterpret_cast< wxValidator * >(argp9);
16233 }
16234 if (obj9) {
d14a1e28 16235 {
0085ce49
RD
16236 arg10 = wxString_in_helper(obj9);
16237 if (arg10 == NULL) SWIG_fail;
16238 temp10 = true;
d14a1e28 16239 }
0085ce49
RD
16240 }
16241 {
16242 if (!wxPyCheckForApp()) SWIG_fail;
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 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);
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16249 {
16250 if (temp3)
16251 delete arg3;
16252 }
16253 {
16254 if (temp6) delete arg6;
16255 }
16256 {
16257 if (temp10)
16258 delete arg10;
16259 }
16260 return resultobj;
16261fail:
16262 {
16263 if (temp3)
16264 delete arg3;
16265 }
16266 {
16267 if (temp6) delete arg6;
16268 }
16269 {
16270 if (temp10)
16271 delete arg10;
16272 }
16273 return NULL;
d14a1e28
RD
16274}
16275
16276
0085ce49
RD
16277SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16278 PyObject *resultobj = 0;
16279 wxRadioBox *result = 0 ;
16280
16281 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16282 {
16283 if (!wxPyCheckForApp()) SWIG_fail;
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (wxRadioBox *)new wxRadioBox();
16286 wxPyEndAllowThreads(__tstate);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16290 return resultobj;
16291fail:
16292 return NULL;
16293}
16294
16295
16296SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16297 PyObject *resultobj = 0;
16298 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16299 wxWindow *arg2 = (wxWindow *) 0 ;
16300 int arg3 = (int) -1 ;
16301 wxString const &arg4_defvalue = wxPyEmptyString ;
16302 wxString *arg4 = (wxString *) &arg4_defvalue ;
16303 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16304 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16305 wxSize const &arg6_defvalue = wxDefaultSize ;
16306 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16307 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16308 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16309 int arg8 = (int) 0 ;
16310 long arg9 = (long) wxRA_HORIZONTAL ;
16311 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16312 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16313 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16314 wxString *arg11 = (wxString *) &arg11_defvalue ;
16315 bool result;
16316 void *argp1 = 0 ;
16317 int res1 = 0 ;
16318 void *argp2 = 0 ;
16319 int res2 = 0 ;
16320 int val3 ;
16321 int ecode3 = 0 ;
16322 bool temp4 = false ;
16323 wxPoint temp5 ;
16324 wxSize temp6 ;
16325 bool temp7 = false ;
16326 int val8 ;
16327 int ecode8 = 0 ;
16328 long val9 ;
16329 int ecode9 = 0 ;
16330 void *argp10 = 0 ;
16331 int res10 = 0 ;
16332 bool temp11 = false ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 PyObject * obj2 = 0 ;
16336 PyObject * obj3 = 0 ;
16337 PyObject * obj4 = 0 ;
16338 PyObject * obj5 = 0 ;
16339 PyObject * obj6 = 0 ;
16340 PyObject * obj7 = 0 ;
16341 PyObject * obj8 = 0 ;
16342 PyObject * obj9 = 0 ;
16343 PyObject * obj10 = 0 ;
16344 char * kwnames[] = {
16345 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16346 };
16347
16348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16350 if (!SWIG_IsOK(res1)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16352 }
16353 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16355 if (!SWIG_IsOK(res2)) {
16356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16357 }
16358 arg2 = reinterpret_cast< wxWindow * >(argp2);
16359 if (obj2) {
16360 ecode3 = SWIG_AsVal_int(obj2, &val3);
16361 if (!SWIG_IsOK(ecode3)) {
16362 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16363 }
16364 arg3 = static_cast< int >(val3);
16365 }
16366 if (obj3) {
093d3ff1 16367 {
0085ce49
RD
16368 arg4 = wxString_in_helper(obj3);
16369 if (arg4 == NULL) SWIG_fail;
16370 temp4 = true;
093d3ff1 16371 }
0085ce49
RD
16372 }
16373 if (obj4) {
d14a1e28 16374 {
0085ce49
RD
16375 arg5 = &temp5;
16376 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16377 }
0085ce49
RD
16378 }
16379 if (obj5) {
d14a1e28 16380 {
0085ce49
RD
16381 arg6 = &temp6;
16382 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 16383 }
0085ce49
RD
16384 }
16385 if (obj6) {
d14a1e28 16386 {
0085ce49
RD
16387 if (! PySequence_Check(obj6)) {
16388 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16389 SWIG_fail;
16390 }
16391 arg7 = new wxArrayString;
16392 temp7 = true;
16393 int i, len=PySequence_Length(obj6);
16394 for (i=0; i<len; i++) {
16395 PyObject* item = PySequence_GetItem(obj6, i);
16396 wxString* s = wxString_in_helper(item);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 arg7->Add(*s);
16399 delete s;
16400 Py_DECREF(item);
16401 }
d14a1e28 16402 }
0085ce49
RD
16403 }
16404 if (obj7) {
16405 ecode8 = SWIG_AsVal_int(obj7, &val8);
16406 if (!SWIG_IsOK(ecode8)) {
16407 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16408 }
16409 arg8 = static_cast< int >(val8);
16410 }
16411 if (obj8) {
16412 ecode9 = SWIG_AsVal_long(obj8, &val9);
16413 if (!SWIG_IsOK(ecode9)) {
16414 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16415 }
16416 arg9 = static_cast< long >(val9);
16417 }
16418 if (obj9) {
16419 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16420 if (!SWIG_IsOK(res10)) {
16421 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
4f89f6a3 16422 }
0085ce49
RD
16423 if (!argp10) {
16424 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 16425 }
0085ce49
RD
16426 arg10 = reinterpret_cast< wxValidator * >(argp10);
16427 }
16428 if (obj10) {
d14a1e28 16429 {
0085ce49
RD
16430 arg11 = wxString_in_helper(obj10);
16431 if (arg11 == NULL) SWIG_fail;
16432 temp11 = true;
d14a1e28 16433 }
0085ce49
RD
16434 }
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 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);
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 {
16442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16443 }
16444 {
16445 if (temp4)
16446 delete arg4;
16447 }
16448 {
16449 if (temp7) delete arg7;
16450 }
16451 {
16452 if (temp11)
16453 delete arg11;
16454 }
16455 return resultobj;
16456fail:
16457 {
16458 if (temp4)
16459 delete arg4;
16460 }
16461 {
16462 if (temp7) delete arg7;
16463 }
16464 {
16465 if (temp11)
16466 delete arg11;
16467 }
16468 return NULL;
16469}
16470
16471
16472SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj = 0;
16474 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16475 int arg2 ;
16476 void *argp1 = 0 ;
16477 int res1 = 0 ;
16478 int val2 ;
16479 int ecode2 = 0 ;
16480 PyObject * obj0 = 0 ;
16481 PyObject * obj1 = 0 ;
16482 char * kwnames[] = {
16483 (char *) "self",(char *) "n", NULL
16484 };
16485
16486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16488 if (!SWIG_IsOK(res1)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16490 }
16491 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16492 ecode2 = SWIG_AsVal_int(obj1, &val2);
16493 if (!SWIG_IsOK(ecode2)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16495 }
16496 arg2 = static_cast< int >(val2);
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 (arg1)->SetSelection(arg2);
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 resultobj = SWIG_Py_Void();
16504 return resultobj;
16505fail:
16506 return NULL;
d14a1e28
RD
16507}
16508
16509
0085ce49
RD
16510SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16511 PyObject *resultobj = 0;
16512 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16513 int result;
16514 void *argp1 = 0 ;
16515 int res1 = 0 ;
16516 PyObject *swig_obj[1] ;
16517
16518 if (!args) SWIG_fail;
16519 swig_obj[0] = args;
16520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16521 if (!SWIG_IsOK(res1)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16523 }
16524 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 resultobj = SWIG_From_int(static_cast< int >(result));
16532 return resultobj;
16533fail:
16534 return NULL;
d14a1e28
RD
16535}
16536
16537
0085ce49
RD
16538SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16539 PyObject *resultobj = 0;
16540 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16541 wxString result;
16542 void *argp1 = 0 ;
16543 int res1 = 0 ;
16544 PyObject *swig_obj[1] ;
16545
16546 if (!args) SWIG_fail;
16547 swig_obj[0] = args;
16548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16549 if (!SWIG_IsOK(res1)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16551 }
16552 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 {
16560#if wxUSE_UNICODE
16561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16562#else
16563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16564#endif
16565 }
16566 return resultobj;
16567fail:
16568 return NULL;
16569}
16570
16571
16572SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj = 0;
16574 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16575 wxString *arg2 = 0 ;
16576 bool result;
16577 void *argp1 = 0 ;
16578 int res1 = 0 ;
16579 bool temp2 = false ;
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 char * kwnames[] = {
16583 (char *) "self",(char *) "s", NULL
16584 };
16585
16586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16588 if (!SWIG_IsOK(res1)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16590 }
16591 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16592 {
16593 arg2 = wxString_in_helper(obj1);
16594 if (arg2 == NULL) SWIG_fail;
16595 temp2 = true;
16596 }
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16605 }
16606 {
16607 if (temp2)
16608 delete arg2;
16609 }
16610 return resultobj;
16611fail:
16612 {
16613 if (temp2)
16614 delete arg2;
16615 }
16616 return NULL;
d14a1e28
RD
16617}
16618
16619
0085ce49
RD
16620SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16621 PyObject *resultobj = 0;
16622 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
75219dcb 16623 size_t result;
0085ce49
RD
16624 void *argp1 = 0 ;
16625 int res1 = 0 ;
16626 PyObject *swig_obj[1] ;
16627
16628 if (!args) SWIG_fail;
16629 swig_obj[0] = args;
16630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16631 if (!SWIG_IsOK(res1)) {
16632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16633 }
16634 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
75219dcb 16637 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
0085ce49
RD
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
75219dcb 16641 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
16642 return resultobj;
16643fail:
16644 return NULL;
16645}
16646
16647
16648SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj = 0;
16650 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16651 wxString *arg2 = 0 ;
16652 int result;
16653 void *argp1 = 0 ;
16654 int res1 = 0 ;
16655 bool temp2 = false ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 char * kwnames[] = {
16659 (char *) "self",(char *) "s", NULL
16660 };
16661
16662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16664 if (!SWIG_IsOK(res1)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16666 }
16667 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16668 {
16669 arg2 = wxString_in_helper(obj1);
16670 if (arg2 == NULL) SWIG_fail;
16671 temp2 = true;
16672 }
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 resultobj = SWIG_From_int(static_cast< int >(result));
16680 {
16681 if (temp2)
16682 delete arg2;
16683 }
16684 return resultobj;
16685fail:
16686 {
16687 if (temp2)
16688 delete arg2;
16689 }
16690 return NULL;
16691}
16692
16693
16694SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj = 0;
16696 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16697 int arg2 ;
16698 wxString result;
16699 void *argp1 = 0 ;
16700 int res1 = 0 ;
16701 int val2 ;
16702 int ecode2 = 0 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char * kwnames[] = {
16706 (char *) "self",(char *) "n", NULL
16707 };
16708
16709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16711 if (!SWIG_IsOK(res1)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16713 }
16714 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16715 ecode2 = SWIG_AsVal_int(obj1, &val2);
16716 if (!SWIG_IsOK(ecode2)) {
16717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16718 }
16719 arg2 = static_cast< int >(val2);
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 {
16727#if wxUSE_UNICODE
16728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16729#else
16730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16731#endif
16732 }
16733 return resultobj;
16734fail:
16735 return NULL;
16736}
16737
16738
16739SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16740 PyObject *resultobj = 0;
16741 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16742 int arg2 ;
16743 wxString *arg3 = 0 ;
16744 void *argp1 = 0 ;
16745 int res1 = 0 ;
16746 int val2 ;
16747 int ecode2 = 0 ;
16748 bool temp3 = false ;
16749 PyObject * obj0 = 0 ;
16750 PyObject * obj1 = 0 ;
16751 PyObject * obj2 = 0 ;
16752 char * kwnames[] = {
16753 (char *) "self",(char *) "n",(char *) "label", NULL
16754 };
16755
16756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16758 if (!SWIG_IsOK(res1)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16760 }
16761 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16762 ecode2 = SWIG_AsVal_int(obj1, &val2);
16763 if (!SWIG_IsOK(ecode2)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16765 }
16766 arg2 = static_cast< int >(val2);
16767 {
16768 arg3 = wxString_in_helper(obj2);
16769 if (arg3 == NULL) SWIG_fail;
16770 temp3 = true;
16771 }
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 (arg1)->SetString(arg2,(wxString const &)*arg3);
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 resultobj = SWIG_Py_Void();
16779 {
16780 if (temp3)
16781 delete arg3;
16782 }
16783 return resultobj;
16784fail:
16785 {
16786 if (temp3)
16787 delete arg3;
16788 }
16789 return NULL;
16790}
16791
16792
16793SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj = 0;
16795 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16796 unsigned int arg2 ;
0085ce49
RD
16797 bool arg3 = (bool) true ;
16798 void *argp1 = 0 ;
16799 int res1 = 0 ;
50f151d7 16800 unsigned int val2 ;
0085ce49
RD
16801 int ecode2 = 0 ;
16802 bool val3 ;
16803 int ecode3 = 0 ;
16804 PyObject * obj0 = 0 ;
16805 PyObject * obj1 = 0 ;
16806 PyObject * obj2 = 0 ;
16807 char * kwnames[] = {
16808 (char *) "self",(char *) "n",(char *) "enable", NULL
16809 };
16810
16811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16813 if (!SWIG_IsOK(res1)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16815 }
16816 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16817 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 16818 if (!SWIG_IsOK(ecode2)) {
50f151d7 16819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 16820 }
50f151d7 16821 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
16822 if (obj2) {
16823 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16824 if (!SWIG_IsOK(ecode3)) {
16825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16826 }
16827 arg3 = static_cast< bool >(val3);
16828 }
16829 {
16830 PyThreadState* __tstate = wxPyBeginAllowThreads();
16831 (arg1)->Enable(arg2,arg3);
16832 wxPyEndAllowThreads(__tstate);
16833 if (PyErr_Occurred()) SWIG_fail;
16834 }
16835 resultobj = SWIG_Py_Void();
16836 return resultobj;
16837fail:
16838 return NULL;
16839}
16840
16841
16842SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj = 0;
16844 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16845 unsigned int arg2 ;
0085ce49
RD
16846 bool arg3 = (bool) true ;
16847 void *argp1 = 0 ;
16848 int res1 = 0 ;
50f151d7 16849 unsigned int val2 ;
0085ce49
RD
16850 int ecode2 = 0 ;
16851 bool val3 ;
16852 int ecode3 = 0 ;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 PyObject * obj2 = 0 ;
16856 char * kwnames[] = {
16857 (char *) "self",(char *) "n",(char *) "show", NULL
16858 };
16859
16860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16862 if (!SWIG_IsOK(res1)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16864 }
16865 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16866 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 16867 if (!SWIG_IsOK(ecode2)) {
50f151d7 16868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 16869 }
50f151d7 16870 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
16871 if (obj2) {
16872 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16873 if (!SWIG_IsOK(ecode3)) {
16874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16875 }
16876 arg3 = static_cast< bool >(val3);
16877 }
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->Show(arg2,arg3);
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = SWIG_Py_Void();
16885 return resultobj;
16886fail:
16887 return NULL;
d14a1e28
RD
16888}
16889
16890
50f151d7
RD
16891SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj = 0;
16893 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16894 unsigned int arg2 ;
16895 bool result;
16896 void *argp1 = 0 ;
16897 int res1 = 0 ;
16898 unsigned int val2 ;
16899 int ecode2 = 0 ;
16900 PyObject * obj0 = 0 ;
16901 PyObject * obj1 = 0 ;
16902 char * kwnames[] = {
16903 (char *) "self",(char *) "n", NULL
16904 };
16905
16906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16908 if (!SWIG_IsOK(res1)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16910 }
16911 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16912 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16913 if (!SWIG_IsOK(ecode2)) {
16914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16915 }
16916 arg2 = static_cast< unsigned int >(val2);
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 {
16924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16925 }
16926 return resultobj;
16927fail:
16928 return NULL;
16929}
16930
16931
16932SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj = 0;
16934 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16935 unsigned int arg2 ;
16936 bool result;
16937 void *argp1 = 0 ;
16938 int res1 = 0 ;
16939 unsigned int val2 ;
16940 int ecode2 = 0 ;
16941 PyObject * obj0 = 0 ;
16942 PyObject * obj1 = 0 ;
16943 char * kwnames[] = {
16944 (char *) "self",(char *) "n", NULL
16945 };
16946
16947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16949 if (!SWIG_IsOK(res1)) {
16950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16951 }
16952 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16953 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16954 if (!SWIG_IsOK(ecode2)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16956 }
16957 arg2 = static_cast< unsigned int >(val2);
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 {
16965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16966 }
16967 return resultobj;
16968fail:
16969 return NULL;
16970}
16971
16972
0085ce49
RD
16973SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16974 PyObject *resultobj = 0;
16975 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16976 unsigned int result;
0085ce49
RD
16977 void *argp1 = 0 ;
16978 int res1 = 0 ;
16979 PyObject *swig_obj[1] ;
16980
16981 if (!args) SWIG_fail;
16982 swig_obj[0] = args;
16983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16984 if (!SWIG_IsOK(res1)) {
16985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16986 }
16987 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16990 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
0085ce49
RD
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
50f151d7 16994 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
16995 return resultobj;
16996fail:
16997 return NULL;
d14a1e28
RD
16998}
16999
17000
0085ce49
RD
17001SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17002 PyObject *resultobj = 0;
17003 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 17004 unsigned int result;
0085ce49
RD
17005 void *argp1 = 0 ;
17006 int res1 = 0 ;
17007 PyObject *swig_obj[1] ;
17008
17009 if (!args) SWIG_fail;
17010 swig_obj[0] = args;
17011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17012 if (!SWIG_IsOK(res1)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17014 }
17015 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 17018 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
0085ce49
RD
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
50f151d7 17022 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
17023 return resultobj;
17024fail:
17025 return NULL;
17026}
17027
17028
17029SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj = 0;
17031 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17032 int arg2 ;
17033 wxDirection arg3 ;
17034 long arg4 ;
17035 int result;
17036 void *argp1 = 0 ;
17037 int res1 = 0 ;
17038 int val2 ;
17039 int ecode2 = 0 ;
17040 int val3 ;
17041 int ecode3 = 0 ;
17042 long val4 ;
17043 int ecode4 = 0 ;
17044 PyObject * obj0 = 0 ;
17045 PyObject * obj1 = 0 ;
17046 PyObject * obj2 = 0 ;
17047 PyObject * obj3 = 0 ;
17048 char * kwnames[] = {
17049 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17050 };
17051
17052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17054 if (!SWIG_IsOK(res1)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17056 }
17057 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17058 ecode2 = SWIG_AsVal_int(obj1, &val2);
17059 if (!SWIG_IsOK(ecode2)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17061 }
17062 arg2 = static_cast< int >(val2);
17063 ecode3 = SWIG_AsVal_int(obj2, &val3);
17064 if (!SWIG_IsOK(ecode3)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17066 }
17067 arg3 = static_cast< wxDirection >(val3);
17068 ecode4 = SWIG_AsVal_long(obj3, &val4);
17069 if (!SWIG_IsOK(ecode4)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17071 }
17072 arg4 = static_cast< long >(val4);
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 17075 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
0085ce49
RD
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 resultobj = SWIG_From_int(static_cast< int >(result));
17080 return resultobj;
17081fail:
17082 return NULL;
17083}
17084
17085
01f6b6d3
RD
17086SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj = 0;
17088 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17089 unsigned int arg2 ;
17090 wxString *arg3 = 0 ;
17091 void *argp1 = 0 ;
17092 int res1 = 0 ;
17093 unsigned int val2 ;
17094 int ecode2 = 0 ;
17095 bool temp3 = false ;
17096 PyObject * obj0 = 0 ;
17097 PyObject * obj1 = 0 ;
17098 PyObject * obj2 = 0 ;
17099 char * kwnames[] = {
17100 (char *) "self",(char *) "item",(char *) "text", NULL
17101 };
17102
17103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17105 if (!SWIG_IsOK(res1)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17107 }
17108 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17109 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17110 if (!SWIG_IsOK(ecode2)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17112 }
17113 arg2 = static_cast< unsigned int >(val2);
17114 {
17115 arg3 = wxString_in_helper(obj2);
17116 if (arg3 == NULL) SWIG_fail;
17117 temp3 = true;
17118 }
17119 {
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = SWIG_Py_Void();
17126 {
17127 if (temp3)
17128 delete arg3;
17129 }
17130 return resultobj;
17131fail:
17132 {
17133 if (temp3)
17134 delete arg3;
17135 }
17136 return NULL;
17137}
17138
17139
17140SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj = 0;
17142 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17143 unsigned int arg2 ;
17144 wxToolTip *result = 0 ;
17145 void *argp1 = 0 ;
17146 int res1 = 0 ;
17147 unsigned int val2 ;
17148 int ecode2 = 0 ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char * kwnames[] = {
17152 (char *) "self",(char *) "item", NULL
17153 };
17154
17155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17157 if (!SWIG_IsOK(res1)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17159 }
17160 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17161 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17162 if (!SWIG_IsOK(ecode2)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17164 }
17165 arg2 = static_cast< unsigned int >(val2);
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 {
17173 resultobj = wxPyMake_wxObject(result, (bool)0);
17174 }
17175 return resultobj;
17176fail:
17177 return NULL;
17178}
17179
17180
b850e7f3
RD
17181SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj = 0;
17183 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17184 unsigned int arg2 ;
17185 wxString *arg3 = 0 ;
17186 void *argp1 = 0 ;
17187 int res1 = 0 ;
17188 unsigned int val2 ;
17189 int ecode2 = 0 ;
17190 bool temp3 = false ;
17191 PyObject * obj0 = 0 ;
17192 PyObject * obj1 = 0 ;
17193 PyObject * obj2 = 0 ;
17194 char * kwnames[] = {
17195 (char *) "self",(char *) "n",(char *) "helpText", NULL
17196 };
17197
17198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17200 if (!SWIG_IsOK(res1)) {
17201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17202 }
17203 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17204 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17205 if (!SWIG_IsOK(ecode2)) {
17206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17207 }
17208 arg2 = static_cast< unsigned int >(val2);
17209 {
17210 arg3 = wxString_in_helper(obj2);
17211 if (arg3 == NULL) SWIG_fail;
17212 temp3 = true;
17213 }
17214 {
17215 PyThreadState* __tstate = wxPyBeginAllowThreads();
17216 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 resultobj = SWIG_Py_Void();
17221 {
17222 if (temp3)
17223 delete arg3;
17224 }
17225 return resultobj;
17226fail:
17227 {
17228 if (temp3)
17229 delete arg3;
17230 }
17231 return NULL;
17232}
17233
17234
17235SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj = 0;
17237 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17238 unsigned int arg2 ;
17239 wxString result;
17240 void *argp1 = 0 ;
17241 int res1 = 0 ;
17242 unsigned int val2 ;
17243 int ecode2 = 0 ;
17244 PyObject * obj0 = 0 ;
17245 PyObject * obj1 = 0 ;
17246 char * kwnames[] = {
17247 (char *) "self",(char *) "n", NULL
17248 };
17249
17250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17252 if (!SWIG_IsOK(res1)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17254 }
17255 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17256 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17257 if (!SWIG_IsOK(ecode2)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17259 }
17260 arg2 = static_cast< unsigned int >(val2);
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268#if wxUSE_UNICODE
17269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17270#else
17271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17272#endif
17273 }
17274 return resultobj;
17275fail:
17276 return NULL;
17277}
17278
17279
0085ce49
RD
17280SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj = 0;
17282 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17283 SwigValueWrapper<wxVisualAttributes > result;
17284 int val1 ;
17285 int ecode1 = 0 ;
17286 PyObject * obj0 = 0 ;
17287 char * kwnames[] = {
17288 (char *) "variant", NULL
17289 };
17290
17291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17292 if (obj0) {
17293 ecode1 = SWIG_AsVal_int(obj0, &val1);
17294 if (!SWIG_IsOK(ecode1)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17296 }
17297 arg1 = static_cast< wxWindowVariant >(val1);
17298 }
17299 {
17300 if (!wxPyCheckForApp()) SWIG_fail;
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17307 return resultobj;
17308fail:
17309 return NULL;
17310}
17311
17312
17313SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17314 PyObject *obj;
17315 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17316 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17317 return SWIG_Py_Void();
17318}
17319
17320SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17321 return SWIG_Python_InitShadowInstance(args);
17322}
17323
17324SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj = 0;
17326 wxWindow *arg1 = (wxWindow *) 0 ;
17327 int arg2 = (int) -1 ;
17328 wxString const &arg3_defvalue = wxPyEmptyString ;
17329 wxString *arg3 = (wxString *) &arg3_defvalue ;
17330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17332 wxSize const &arg5_defvalue = wxDefaultSize ;
17333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17334 long arg6 = (long) 0 ;
17335 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17336 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17337 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17338 wxString *arg8 = (wxString *) &arg8_defvalue ;
17339 wxRadioButton *result = 0 ;
17340 void *argp1 = 0 ;
17341 int res1 = 0 ;
17342 int val2 ;
17343 int ecode2 = 0 ;
17344 bool temp3 = false ;
17345 wxPoint temp4 ;
17346 wxSize temp5 ;
17347 long val6 ;
17348 int ecode6 = 0 ;
17349 void *argp7 = 0 ;
17350 int res7 = 0 ;
17351 bool temp8 = false ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 PyObject * obj2 = 0 ;
17355 PyObject * obj3 = 0 ;
17356 PyObject * obj4 = 0 ;
17357 PyObject * obj5 = 0 ;
17358 PyObject * obj6 = 0 ;
17359 PyObject * obj7 = 0 ;
17360 char * kwnames[] = {
17361 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17362 };
17363
17364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17366 if (!SWIG_IsOK(res1)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17368 }
17369 arg1 = reinterpret_cast< wxWindow * >(argp1);
17370 if (obj1) {
17371 ecode2 = SWIG_AsVal_int(obj1, &val2);
17372 if (!SWIG_IsOK(ecode2)) {
17373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17374 }
17375 arg2 = static_cast< int >(val2);
17376 }
17377 if (obj2) {
d14a1e28 17378 {
0085ce49
RD
17379 arg3 = wxString_in_helper(obj2);
17380 if (arg3 == NULL) SWIG_fail;
17381 temp3 = true;
d14a1e28 17382 }
0085ce49
RD
17383 }
17384 if (obj3) {
d14a1e28 17385 {
0085ce49
RD
17386 arg4 = &temp4;
17387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 17388 }
0085ce49
RD
17389 }
17390 if (obj4) {
d14a1e28 17391 {
0085ce49
RD
17392 arg5 = &temp5;
17393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17394 }
17395 }
17396 if (obj5) {
17397 ecode6 = SWIG_AsVal_long(obj5, &val6);
17398 if (!SWIG_IsOK(ecode6)) {
17399 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17400 }
17401 arg6 = static_cast< long >(val6);
17402 }
17403 if (obj6) {
17404 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17405 if (!SWIG_IsOK(res7)) {
17406 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 17407 }
0085ce49
RD
17408 if (!argp7) {
17409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17410 }
17411 arg7 = reinterpret_cast< wxValidator * >(argp7);
17412 }
17413 if (obj7) {
d14a1e28 17414 {
0085ce49
RD
17415 arg8 = wxString_in_helper(obj7);
17416 if (arg8 == NULL) SWIG_fail;
17417 temp8 = true;
d14a1e28 17418 }
0085ce49
RD
17419 }
17420 {
17421 if (!wxPyCheckForApp()) SWIG_fail;
17422 PyThreadState* __tstate = wxPyBeginAllowThreads();
17423 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17428 {
17429 if (temp3)
17430 delete arg3;
17431 }
17432 {
17433 if (temp8)
17434 delete arg8;
17435 }
17436 return resultobj;
17437fail:
17438 {
17439 if (temp3)
17440 delete arg3;
17441 }
17442 {
17443 if (temp8)
17444 delete arg8;
17445 }
17446 return NULL;
d14a1e28
RD
17447}
17448
17449
0085ce49
RD
17450SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17451 PyObject *resultobj = 0;
17452 wxRadioButton *result = 0 ;
17453
17454 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17455 {
17456 if (!wxPyCheckForApp()) SWIG_fail;
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 result = (wxRadioButton *)new wxRadioButton();
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17463 return resultobj;
17464fail:
17465 return NULL;
17466}
17467
17468
17469SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17470 PyObject *resultobj = 0;
17471 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17472 wxWindow *arg2 = (wxWindow *) 0 ;
17473 int arg3 = (int) -1 ;
17474 wxString const &arg4_defvalue = wxPyEmptyString ;
17475 wxString *arg4 = (wxString *) &arg4_defvalue ;
17476 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17477 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17478 wxSize const &arg6_defvalue = wxDefaultSize ;
17479 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17480 long arg7 = (long) 0 ;
17481 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17482 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17483 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17484 wxString *arg9 = (wxString *) &arg9_defvalue ;
17485 bool result;
17486 void *argp1 = 0 ;
17487 int res1 = 0 ;
17488 void *argp2 = 0 ;
17489 int res2 = 0 ;
17490 int val3 ;
17491 int ecode3 = 0 ;
17492 bool temp4 = false ;
17493 wxPoint temp5 ;
17494 wxSize temp6 ;
17495 long val7 ;
17496 int ecode7 = 0 ;
17497 void *argp8 = 0 ;
17498 int res8 = 0 ;
17499 bool temp9 = false ;
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 PyObject * obj3 = 0 ;
17504 PyObject * obj4 = 0 ;
17505 PyObject * obj5 = 0 ;
17506 PyObject * obj6 = 0 ;
17507 PyObject * obj7 = 0 ;
17508 PyObject * obj8 = 0 ;
17509 char * kwnames[] = {
17510 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17511 };
17512
17513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17515 if (!SWIG_IsOK(res1)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17517 }
17518 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17520 if (!SWIG_IsOK(res2)) {
17521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17522 }
17523 arg2 = reinterpret_cast< wxWindow * >(argp2);
17524 if (obj2) {
17525 ecode3 = SWIG_AsVal_int(obj2, &val3);
17526 if (!SWIG_IsOK(ecode3)) {
17527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17528 }
17529 arg3 = static_cast< int >(val3);
17530 }
17531 if (obj3) {
d14a1e28 17532 {
0085ce49
RD
17533 arg4 = wxString_in_helper(obj3);
17534 if (arg4 == NULL) SWIG_fail;
17535 temp4 = true;
d14a1e28 17536 }
0085ce49
RD
17537 }
17538 if (obj4) {
d14a1e28 17539 {
0085ce49
RD
17540 arg5 = &temp5;
17541 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 17542 }
0085ce49
RD
17543 }
17544 if (obj5) {
d14a1e28 17545 {
0085ce49
RD
17546 arg6 = &temp6;
17547 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17548 }
17549 }
17550 if (obj6) {
17551 ecode7 = SWIG_AsVal_long(obj6, &val7);
17552 if (!SWIG_IsOK(ecode7)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17554 }
17555 arg7 = static_cast< long >(val7);
17556 }
17557 if (obj7) {
17558 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17559 if (!SWIG_IsOK(res8)) {
17560 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17561 }
17562 if (!argp8) {
17563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 17564 }
0085ce49
RD
17565 arg8 = reinterpret_cast< wxValidator * >(argp8);
17566 }
17567 if (obj8) {
d14a1e28 17568 {
0085ce49
RD
17569 arg9 = wxString_in_helper(obj8);
17570 if (arg9 == NULL) SWIG_fail;
17571 temp9 = true;
d14a1e28 17572 }
0085ce49
RD
17573 }
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 {
17581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17582 }
17583 {
17584 if (temp4)
17585 delete arg4;
17586 }
17587 {
17588 if (temp9)
17589 delete arg9;
17590 }
17591 return resultobj;
17592fail:
17593 {
17594 if (temp4)
17595 delete arg4;
17596 }
17597 {
17598 if (temp9)
17599 delete arg9;
17600 }
17601 return NULL;
d14a1e28
RD
17602}
17603
17604
0085ce49
RD
17605SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17606 PyObject *resultobj = 0;
17607 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17608 bool result;
17609 void *argp1 = 0 ;
17610 int res1 = 0 ;
17611 PyObject *swig_obj[1] ;
17612
17613 if (!args) SWIG_fail;
17614 swig_obj[0] = args;
17615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17616 if (!SWIG_IsOK(res1)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17618 }
17619 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (bool)(arg1)->GetValue();
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 {
17627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17628 }
17629 return resultobj;
17630fail:
17631 return NULL;
17632}
17633
17634
17635SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj = 0;
17637 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17638 bool arg2 ;
17639 void *argp1 = 0 ;
17640 int res1 = 0 ;
17641 bool val2 ;
17642 int ecode2 = 0 ;
17643 PyObject * obj0 = 0 ;
17644 PyObject * obj1 = 0 ;
17645 char * kwnames[] = {
17646 (char *) "self",(char *) "value", NULL
17647 };
17648
17649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17651 if (!SWIG_IsOK(res1)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17653 }
17654 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17655 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17656 if (!SWIG_IsOK(ecode2)) {
17657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17658 }
17659 arg2 = static_cast< bool >(val2);
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 (arg1)->SetValue(arg2);
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 resultobj = SWIG_Py_Void();
17667 return resultobj;
17668fail:
17669 return NULL;
17670}
17671
17672
17673SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj = 0;
17675 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17676 SwigValueWrapper<wxVisualAttributes > result;
17677 int val1 ;
17678 int ecode1 = 0 ;
17679 PyObject * obj0 = 0 ;
17680 char * kwnames[] = {
17681 (char *) "variant", NULL
17682 };
17683
17684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17685 if (obj0) {
17686 ecode1 = SWIG_AsVal_int(obj0, &val1);
17687 if (!SWIG_IsOK(ecode1)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17689 }
17690 arg1 = static_cast< wxWindowVariant >(val1);
17691 }
17692 {
17693 if (!wxPyCheckForApp()) SWIG_fail;
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17700 return resultobj;
17701fail:
17702 return NULL;
d14a1e28
RD
17703}
17704
17705
0085ce49
RD
17706SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17707 PyObject *obj;
17708 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17709 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17710 return SWIG_Py_Void();
17711}
17712
17713SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17714 return SWIG_Python_InitShadowInstance(args);
17715}
17716
17717SWIGINTERN int SliderNameStr_set(PyObject *) {
17718 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17719 return 1;
17720}
17721
17722
17723SWIGINTERN PyObject *SliderNameStr_get(void) {
17724 PyObject *pyobj = 0;
17725
17726 {
17727#if wxUSE_UNICODE
17728 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17729#else
17730 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17731#endif
17732 }
17733 return pyobj;
17734}
17735
17736
17737SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj = 0;
17739 wxWindow *arg1 = (wxWindow *) 0 ;
17740 int arg2 = (int) -1 ;
17741 int arg3 = (int) 0 ;
17742 int arg4 = (int) 0 ;
17743 int arg5 = (int) 100 ;
17744 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17745 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17746 wxSize const &arg7_defvalue = wxDefaultSize ;
17747 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17748 long arg8 = (long) wxSL_HORIZONTAL ;
17749 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17750 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17751 wxString const &arg10_defvalue = wxPySliderNameStr ;
17752 wxString *arg10 = (wxString *) &arg10_defvalue ;
17753 wxSlider *result = 0 ;
17754 void *argp1 = 0 ;
17755 int res1 = 0 ;
17756 int val2 ;
17757 int ecode2 = 0 ;
17758 int val3 ;
17759 int ecode3 = 0 ;
17760 int val4 ;
17761 int ecode4 = 0 ;
17762 int val5 ;
17763 int ecode5 = 0 ;
17764 wxPoint temp6 ;
17765 wxSize temp7 ;
17766 long val8 ;
17767 int ecode8 = 0 ;
17768 void *argp9 = 0 ;
17769 int res9 = 0 ;
17770 bool temp10 = false ;
17771 PyObject * obj0 = 0 ;
17772 PyObject * obj1 = 0 ;
17773 PyObject * obj2 = 0 ;
17774 PyObject * obj3 = 0 ;
17775 PyObject * obj4 = 0 ;
17776 PyObject * obj5 = 0 ;
17777 PyObject * obj6 = 0 ;
17778 PyObject * obj7 = 0 ;
17779 PyObject * obj8 = 0 ;
17780 PyObject * obj9 = 0 ;
17781 char * kwnames[] = {
17782 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17783 };
17784
17785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17787 if (!SWIG_IsOK(res1)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17789 }
17790 arg1 = reinterpret_cast< wxWindow * >(argp1);
17791 if (obj1) {
17792 ecode2 = SWIG_AsVal_int(obj1, &val2);
17793 if (!SWIG_IsOK(ecode2)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17795 }
17796 arg2 = static_cast< int >(val2);
17797 }
17798 if (obj2) {
17799 ecode3 = SWIG_AsVal_int(obj2, &val3);
17800 if (!SWIG_IsOK(ecode3)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17802 }
17803 arg3 = static_cast< int >(val3);
17804 }
17805 if (obj3) {
17806 ecode4 = SWIG_AsVal_int(obj3, &val4);
17807 if (!SWIG_IsOK(ecode4)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17809 }
17810 arg4 = static_cast< int >(val4);
17811 }
17812 if (obj4) {
17813 ecode5 = SWIG_AsVal_int(obj4, &val5);
17814 if (!SWIG_IsOK(ecode5)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17816 }
17817 arg5 = static_cast< int >(val5);
17818 }
17819 if (obj5) {
093d3ff1 17820 {
0085ce49
RD
17821 arg6 = &temp6;
17822 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 17823 }
0085ce49
RD
17824 }
17825 if (obj6) {
093d3ff1 17826 {
0085ce49
RD
17827 arg7 = &temp7;
17828 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17829 }
0085ce49
RD
17830 }
17831 if (obj7) {
17832 ecode8 = SWIG_AsVal_long(obj7, &val8);
17833 if (!SWIG_IsOK(ecode8)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17835 }
17836 arg8 = static_cast< long >(val8);
17837 }
17838 if (obj8) {
17839 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17840 if (!SWIG_IsOK(res9)) {
17841 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 17842 }
0085ce49
RD
17843 if (!argp9) {
17844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 17845 }
0085ce49
RD
17846 arg9 = reinterpret_cast< wxValidator * >(argp9);
17847 }
17848 if (obj9) {
4f89f6a3 17849 {
0085ce49
RD
17850 arg10 = wxString_in_helper(obj9);
17851 if (arg10 == NULL) SWIG_fail;
17852 temp10 = true;
4f89f6a3 17853 }
0085ce49
RD
17854 }
17855 {
17856 if (!wxPyCheckForApp()) SWIG_fail;
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17863 {
17864 if (temp10)
17865 delete arg10;
17866 }
17867 return resultobj;
17868fail:
17869 {
17870 if (temp10)
17871 delete arg10;
17872 }
17873 return NULL;
d14a1e28
RD
17874}
17875
17876
0085ce49
RD
17877SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17878 PyObject *resultobj = 0;
17879 wxSlider *result = 0 ;
17880
17881 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17882 {
17883 if (!wxPyCheckForApp()) SWIG_fail;
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (wxSlider *)new wxSlider();
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17890 return resultobj;
17891fail:
17892 return NULL;
17893}
17894
17895
17896SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj = 0;
17898 wxSlider *arg1 = (wxSlider *) 0 ;
17899 wxWindow *arg2 = (wxWindow *) 0 ;
17900 int arg3 = (int) -1 ;
17901 int arg4 = (int) 0 ;
17902 int arg5 = (int) 0 ;
17903 int arg6 = (int) 100 ;
17904 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17905 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17906 wxSize const &arg8_defvalue = wxDefaultSize ;
17907 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17908 long arg9 = (long) wxSL_HORIZONTAL ;
17909 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17910 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17911 wxString const &arg11_defvalue = wxPySliderNameStr ;
17912 wxString *arg11 = (wxString *) &arg11_defvalue ;
17913 bool result;
17914 void *argp1 = 0 ;
17915 int res1 = 0 ;
17916 void *argp2 = 0 ;
17917 int res2 = 0 ;
17918 int val3 ;
17919 int ecode3 = 0 ;
17920 int val4 ;
17921 int ecode4 = 0 ;
17922 int val5 ;
17923 int ecode5 = 0 ;
17924 int val6 ;
17925 int ecode6 = 0 ;
17926 wxPoint temp7 ;
17927 wxSize temp8 ;
17928 long val9 ;
17929 int ecode9 = 0 ;
17930 void *argp10 = 0 ;
17931 int res10 = 0 ;
17932 bool temp11 = false ;
17933 PyObject * obj0 = 0 ;
17934 PyObject * obj1 = 0 ;
17935 PyObject * obj2 = 0 ;
17936 PyObject * obj3 = 0 ;
17937 PyObject * obj4 = 0 ;
17938 PyObject * obj5 = 0 ;
17939 PyObject * obj6 = 0 ;
17940 PyObject * obj7 = 0 ;
17941 PyObject * obj8 = 0 ;
17942 PyObject * obj9 = 0 ;
17943 PyObject * obj10 = 0 ;
17944 char * kwnames[] = {
17945 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17946 };
17947
17948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17950 if (!SWIG_IsOK(res1)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17952 }
17953 arg1 = reinterpret_cast< wxSlider * >(argp1);
17954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17955 if (!SWIG_IsOK(res2)) {
17956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17957 }
17958 arg2 = reinterpret_cast< wxWindow * >(argp2);
17959 if (obj2) {
17960 ecode3 = SWIG_AsVal_int(obj2, &val3);
17961 if (!SWIG_IsOK(ecode3)) {
17962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17963 }
17964 arg3 = static_cast< int >(val3);
17965 }
17966 if (obj3) {
17967 ecode4 = SWIG_AsVal_int(obj3, &val4);
17968 if (!SWIG_IsOK(ecode4)) {
17969 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17970 }
17971 arg4 = static_cast< int >(val4);
17972 }
17973 if (obj4) {
17974 ecode5 = SWIG_AsVal_int(obj4, &val5);
17975 if (!SWIG_IsOK(ecode5)) {
17976 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17977 }
17978 arg5 = static_cast< int >(val5);
17979 }
17980 if (obj5) {
17981 ecode6 = SWIG_AsVal_int(obj5, &val6);
17982 if (!SWIG_IsOK(ecode6)) {
17983 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17984 }
17985 arg6 = static_cast< int >(val6);
17986 }
17987 if (obj6) {
093d3ff1 17988 {
0085ce49
RD
17989 arg7 = &temp7;
17990 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d14a1e28 17991 }
0085ce49
RD
17992 }
17993 if (obj7) {
d14a1e28 17994 {
0085ce49
RD
17995 arg8 = &temp8;
17996 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
d14a1e28 17997 }
0085ce49
RD
17998 }
17999 if (obj8) {
18000 ecode9 = SWIG_AsVal_long(obj8, &val9);
18001 if (!SWIG_IsOK(ecode9)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18003 }
18004 arg9 = static_cast< long >(val9);
18005 }
18006 if (obj9) {
18007 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18008 if (!SWIG_IsOK(res10)) {
18009 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 18010 }
0085ce49
RD
18011 if (!argp10) {
18012 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 18013 }
0085ce49
RD
18014 arg10 = reinterpret_cast< wxValidator * >(argp10);
18015 }
18016 if (obj10) {
4f89f6a3 18017 {
0085ce49
RD
18018 arg11 = wxString_in_helper(obj10);
18019 if (arg11 == NULL) SWIG_fail;
18020 temp11 = true;
4f89f6a3 18021 }
0085ce49
RD
18022 }
18023 {
18024 PyThreadState* __tstate = wxPyBeginAllowThreads();
18025 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 {
18030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18031 }
18032 {
18033 if (temp11)
18034 delete arg11;
18035 }
18036 return resultobj;
18037fail:
18038 {
18039 if (temp11)
18040 delete arg11;
18041 }
18042 return NULL;
d14a1e28
RD
18043}
18044
18045
0085ce49
RD
18046SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18047 PyObject *resultobj = 0;
18048 wxSlider *arg1 = (wxSlider *) 0 ;
18049 int result;
18050 void *argp1 = 0 ;
18051 int res1 = 0 ;
18052 PyObject *swig_obj[1] ;
18053
18054 if (!args) SWIG_fail;
18055 swig_obj[0] = args;
18056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18057 if (!SWIG_IsOK(res1)) {
18058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18059 }
18060 arg1 = reinterpret_cast< wxSlider * >(argp1);
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 result = (int)((wxSlider const *)arg1)->GetValue();
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 resultobj = SWIG_From_int(static_cast< int >(result));
18068 return resultobj;
18069fail:
18070 return NULL;
18071}
18072
18073
18074SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18075 PyObject *resultobj = 0;
18076 wxSlider *arg1 = (wxSlider *) 0 ;
18077 int arg2 ;
18078 void *argp1 = 0 ;
18079 int res1 = 0 ;
18080 int val2 ;
18081 int ecode2 = 0 ;
18082 PyObject * obj0 = 0 ;
18083 PyObject * obj1 = 0 ;
18084 char * kwnames[] = {
18085 (char *) "self",(char *) "value", NULL
18086 };
18087
18088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18090 if (!SWIG_IsOK(res1)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18092 }
18093 arg1 = reinterpret_cast< wxSlider * >(argp1);
18094 ecode2 = SWIG_AsVal_int(obj1, &val2);
18095 if (!SWIG_IsOK(ecode2)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18097 }
18098 arg2 = static_cast< int >(val2);
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 (arg1)->SetValue(arg2);
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = SWIG_Py_Void();
18106 return resultobj;
18107fail:
18108 return NULL;
18109}
18110
18111
18112SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj = 0;
18114 wxSlider *arg1 = (wxSlider *) 0 ;
18115 int arg2 ;
18116 int arg3 ;
18117 void *argp1 = 0 ;
18118 int res1 = 0 ;
18119 int val2 ;
18120 int ecode2 = 0 ;
18121 int val3 ;
18122 int ecode3 = 0 ;
18123 PyObject * obj0 = 0 ;
18124 PyObject * obj1 = 0 ;
18125 PyObject * obj2 = 0 ;
18126 char * kwnames[] = {
18127 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18128 };
18129
18130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18132 if (!SWIG_IsOK(res1)) {
18133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18134 }
18135 arg1 = reinterpret_cast< wxSlider * >(argp1);
18136 ecode2 = SWIG_AsVal_int(obj1, &val2);
18137 if (!SWIG_IsOK(ecode2)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18139 }
18140 arg2 = static_cast< int >(val2);
18141 ecode3 = SWIG_AsVal_int(obj2, &val3);
18142 if (!SWIG_IsOK(ecode3)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18144 }
18145 arg3 = static_cast< int >(val3);
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->SetRange(arg2,arg3);
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_Py_Void();
18153 return resultobj;
18154fail:
18155 return NULL;
d14a1e28
RD
18156}
18157
18158
0085ce49
RD
18159SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18160 PyObject *resultobj = 0;
18161 wxSlider *arg1 = (wxSlider *) 0 ;
18162 int result;
18163 void *argp1 = 0 ;
18164 int res1 = 0 ;
18165 PyObject *swig_obj[1] ;
18166
18167 if (!args) SWIG_fail;
18168 swig_obj[0] = args;
18169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18170 if (!SWIG_IsOK(res1)) {
18171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18172 }
18173 arg1 = reinterpret_cast< wxSlider * >(argp1);
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (int)((wxSlider const *)arg1)->GetMin();
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_From_int(static_cast< int >(result));
18181 return resultobj;
18182fail:
18183 return NULL;
d14a1e28
RD
18184}
18185
18186
0085ce49
RD
18187SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18188 PyObject *resultobj = 0;
18189 wxSlider *arg1 = (wxSlider *) 0 ;
18190 int result;
18191 void *argp1 = 0 ;
18192 int res1 = 0 ;
18193 PyObject *swig_obj[1] ;
18194
18195 if (!args) SWIG_fail;
18196 swig_obj[0] = args;
18197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18198 if (!SWIG_IsOK(res1)) {
18199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18200 }
18201 arg1 = reinterpret_cast< wxSlider * >(argp1);
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 result = (int)((wxSlider const *)arg1)->GetMax();
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 resultobj = SWIG_From_int(static_cast< int >(result));
18209 return resultobj;
18210fail:
18211 return NULL;
18212}
18213
18214
18215SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj = 0;
18217 wxSlider *arg1 = (wxSlider *) 0 ;
18218 int arg2 ;
18219 void *argp1 = 0 ;
18220 int res1 = 0 ;
18221 int val2 ;
18222 int ecode2 = 0 ;
18223 PyObject * obj0 = 0 ;
18224 PyObject * obj1 = 0 ;
18225 char * kwnames[] = {
18226 (char *) "self",(char *) "minValue", NULL
18227 };
18228
18229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18231 if (!SWIG_IsOK(res1)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18233 }
18234 arg1 = reinterpret_cast< wxSlider * >(argp1);
18235 ecode2 = SWIG_AsVal_int(obj1, &val2);
18236 if (!SWIG_IsOK(ecode2)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18238 }
18239 arg2 = static_cast< int >(val2);
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 (arg1)->SetMin(arg2);
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 resultobj = SWIG_Py_Void();
18247 return resultobj;
18248fail:
18249 return NULL;
18250}
18251
18252
18253SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj = 0;
18255 wxSlider *arg1 = (wxSlider *) 0 ;
18256 int arg2 ;
18257 void *argp1 = 0 ;
18258 int res1 = 0 ;
18259 int val2 ;
18260 int ecode2 = 0 ;
18261 PyObject * obj0 = 0 ;
18262 PyObject * obj1 = 0 ;
18263 char * kwnames[] = {
18264 (char *) "self",(char *) "maxValue", NULL
18265 };
18266
18267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18269 if (!SWIG_IsOK(res1)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18271 }
18272 arg1 = reinterpret_cast< wxSlider * >(argp1);
18273 ecode2 = SWIG_AsVal_int(obj1, &val2);
18274 if (!SWIG_IsOK(ecode2)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18276 }
18277 arg2 = static_cast< int >(val2);
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 (arg1)->SetMax(arg2);
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 resultobj = SWIG_Py_Void();
18285 return resultobj;
18286fail:
18287 return NULL;
18288}
18289
18290
18291SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj = 0;
18293 wxSlider *arg1 = (wxSlider *) 0 ;
18294 int arg2 ;
18295 void *argp1 = 0 ;
18296 int res1 = 0 ;
18297 int val2 ;
18298 int ecode2 = 0 ;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 char * kwnames[] = {
18302 (char *) "self",(char *) "lineSize", NULL
18303 };
18304
18305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18307 if (!SWIG_IsOK(res1)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18309 }
18310 arg1 = reinterpret_cast< wxSlider * >(argp1);
18311 ecode2 = SWIG_AsVal_int(obj1, &val2);
18312 if (!SWIG_IsOK(ecode2)) {
18313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18314 }
18315 arg2 = static_cast< int >(val2);
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 (arg1)->SetLineSize(arg2);
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 resultobj = SWIG_Py_Void();
18323 return resultobj;
18324fail:
18325 return NULL;
18326}
18327
18328
18329SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj = 0;
18331 wxSlider *arg1 = (wxSlider *) 0 ;
18332 int arg2 ;
18333 void *argp1 = 0 ;
18334 int res1 = 0 ;
18335 int val2 ;
18336 int ecode2 = 0 ;
18337 PyObject * obj0 = 0 ;
18338 PyObject * obj1 = 0 ;
18339 char * kwnames[] = {
18340 (char *) "self",(char *) "pageSize", NULL
18341 };
18342
18343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18345 if (!SWIG_IsOK(res1)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18347 }
18348 arg1 = reinterpret_cast< wxSlider * >(argp1);
18349 ecode2 = SWIG_AsVal_int(obj1, &val2);
18350 if (!SWIG_IsOK(ecode2)) {
18351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18352 }
18353 arg2 = static_cast< int >(val2);
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 (arg1)->SetPageSize(arg2);
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 resultobj = SWIG_Py_Void();
18361 return resultobj;
18362fail:
18363 return NULL;
d14a1e28
RD
18364}
18365
18366
0085ce49
RD
18367SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18368 PyObject *resultobj = 0;
18369 wxSlider *arg1 = (wxSlider *) 0 ;
18370 int result;
18371 void *argp1 = 0 ;
18372 int res1 = 0 ;
18373 PyObject *swig_obj[1] ;
18374
18375 if (!args) SWIG_fail;
18376 swig_obj[0] = args;
18377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18378 if (!SWIG_IsOK(res1)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18380 }
18381 arg1 = reinterpret_cast< wxSlider * >(argp1);
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (int)((wxSlider const *)arg1)->GetLineSize();
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 resultobj = SWIG_From_int(static_cast< int >(result));
18389 return resultobj;
18390fail:
18391 return NULL;
d14a1e28
RD
18392}
18393
18394
0085ce49
RD
18395SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18396 PyObject *resultobj = 0;
18397 wxSlider *arg1 = (wxSlider *) 0 ;
18398 int result;
18399 void *argp1 = 0 ;
18400 int res1 = 0 ;
18401 PyObject *swig_obj[1] ;
18402
18403 if (!args) SWIG_fail;
18404 swig_obj[0] = args;
18405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18406 if (!SWIG_IsOK(res1)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18408 }
18409 arg1 = reinterpret_cast< wxSlider * >(argp1);
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (int)((wxSlider const *)arg1)->GetPageSize();
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 resultobj = SWIG_From_int(static_cast< int >(result));
18417 return resultobj;
18418fail:
18419 return NULL;
18420}
18421
18422
18423SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj = 0;
18425 wxSlider *arg1 = (wxSlider *) 0 ;
18426 int arg2 ;
18427 void *argp1 = 0 ;
18428 int res1 = 0 ;
18429 int val2 ;
18430 int ecode2 = 0 ;
18431 PyObject * obj0 = 0 ;
18432 PyObject * obj1 = 0 ;
18433 char * kwnames[] = {
18434 (char *) "self",(char *) "lenPixels", NULL
18435 };
18436
18437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18439 if (!SWIG_IsOK(res1)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18441 }
18442 arg1 = reinterpret_cast< wxSlider * >(argp1);
18443 ecode2 = SWIG_AsVal_int(obj1, &val2);
18444 if (!SWIG_IsOK(ecode2)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18446 }
18447 arg2 = static_cast< int >(val2);
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 (arg1)->SetThumbLength(arg2);
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 resultobj = SWIG_Py_Void();
18455 return resultobj;
18456fail:
18457 return NULL;
4d5c3d91
RD
18458}
18459
18460
0085ce49
RD
18461SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18462 PyObject *resultobj = 0;
18463 wxSlider *arg1 = (wxSlider *) 0 ;
18464 int result;
18465 void *argp1 = 0 ;
18466 int res1 = 0 ;
18467 PyObject *swig_obj[1] ;
18468
18469 if (!args) SWIG_fail;
18470 swig_obj[0] = args;
18471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18472 if (!SWIG_IsOK(res1)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18474 }
18475 arg1 = reinterpret_cast< wxSlider * >(argp1);
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 resultobj = SWIG_From_int(static_cast< int >(result));
18483 return resultobj;
18484fail:
18485 return NULL;
18486}
18487
18488
18489SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18490 PyObject *resultobj = 0;
18491 wxSlider *arg1 = (wxSlider *) 0 ;
18492 int arg2 ;
18493 int arg3 = (int) 1 ;
18494 void *argp1 = 0 ;
18495 int res1 = 0 ;
18496 int val2 ;
18497 int ecode2 = 0 ;
18498 int val3 ;
18499 int ecode3 = 0 ;
18500 PyObject * obj0 = 0 ;
18501 PyObject * obj1 = 0 ;
18502 PyObject * obj2 = 0 ;
18503 char * kwnames[] = {
18504 (char *) "self",(char *) "n",(char *) "pos", NULL
18505 };
18506
18507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18509 if (!SWIG_IsOK(res1)) {
18510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18511 }
18512 arg1 = reinterpret_cast< wxSlider * >(argp1);
18513 ecode2 = SWIG_AsVal_int(obj1, &val2);
18514 if (!SWIG_IsOK(ecode2)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18516 }
18517 arg2 = static_cast< int >(val2);
18518 if (obj2) {
18519 ecode3 = SWIG_AsVal_int(obj2, &val3);
18520 if (!SWIG_IsOK(ecode3)) {
18521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18522 }
18523 arg3 = static_cast< int >(val3);
18524 }
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 (arg1)->SetTickFreq(arg2,arg3);
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 resultobj = SWIG_Py_Void();
18532 return resultobj;
18533fail:
18534 return NULL;
4896ac9e
RD
18535}
18536
18537
0085ce49
RD
18538SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18539 PyObject *resultobj = 0;
18540 wxSlider *arg1 = (wxSlider *) 0 ;
18541 int result;
18542 void *argp1 = 0 ;
18543 int res1 = 0 ;
18544 PyObject *swig_obj[1] ;
18545
18546 if (!args) SWIG_fail;
18547 swig_obj[0] = args;
18548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18549 if (!SWIG_IsOK(res1)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18551 }
18552 arg1 = reinterpret_cast< wxSlider * >(argp1);
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 resultobj = SWIG_From_int(static_cast< int >(result));
18560 return resultobj;
18561fail:
18562 return NULL;
d14a1e28
RD
18563}
18564
18565
0085ce49
RD
18566SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18567 PyObject *resultobj = 0;
18568 wxSlider *arg1 = (wxSlider *) 0 ;
18569 void *argp1 = 0 ;
18570 int res1 = 0 ;
18571 PyObject *swig_obj[1] ;
18572
18573 if (!args) SWIG_fail;
18574 swig_obj[0] = args;
18575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18576 if (!SWIG_IsOK(res1)) {
18577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18578 }
18579 arg1 = reinterpret_cast< wxSlider * >(argp1);
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 (arg1)->ClearTicks();
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = SWIG_Py_Void();
18587 return resultobj;
18588fail:
18589 return NULL;
18590}
18591
18592
18593SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj = 0;
18595 wxSlider *arg1 = (wxSlider *) 0 ;
18596 int arg2 ;
18597 void *argp1 = 0 ;
18598 int res1 = 0 ;
18599 int val2 ;
18600 int ecode2 = 0 ;
18601 PyObject * obj0 = 0 ;
18602 PyObject * obj1 = 0 ;
18603 char * kwnames[] = {
18604 (char *) "self",(char *) "tickPos", NULL
18605 };
18606
18607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18609 if (!SWIG_IsOK(res1)) {
18610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18611 }
18612 arg1 = reinterpret_cast< wxSlider * >(argp1);
18613 ecode2 = SWIG_AsVal_int(obj1, &val2);
18614 if (!SWIG_IsOK(ecode2)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18616 }
18617 arg2 = static_cast< int >(val2);
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 (arg1)->SetTick(arg2);
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 resultobj = SWIG_Py_Void();
18625 return resultobj;
18626fail:
18627 return NULL;
d14a1e28
RD
18628}
18629
18630
0085ce49
RD
18631SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18632 PyObject *resultobj = 0;
18633 wxSlider *arg1 = (wxSlider *) 0 ;
18634 void *argp1 = 0 ;
18635 int res1 = 0 ;
18636 PyObject *swig_obj[1] ;
18637
18638 if (!args) SWIG_fail;
18639 swig_obj[0] = args;
18640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18641 if (!SWIG_IsOK(res1)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18643 }
18644 arg1 = reinterpret_cast< wxSlider * >(argp1);
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 (arg1)->ClearSel();
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 resultobj = SWIG_Py_Void();
18652 return resultobj;
18653fail:
18654 return NULL;
d14a1e28
RD
18655}
18656
18657
0085ce49
RD
18658SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18659 PyObject *resultobj = 0;
18660 wxSlider *arg1 = (wxSlider *) 0 ;
18661 int result;
18662 void *argp1 = 0 ;
18663 int res1 = 0 ;
18664 PyObject *swig_obj[1] ;
18665
18666 if (!args) SWIG_fail;
18667 swig_obj[0] = args;
18668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18669 if (!SWIG_IsOK(res1)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18671 }
18672 arg1 = reinterpret_cast< wxSlider * >(argp1);
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 resultobj = SWIG_From_int(static_cast< int >(result));
18680 return resultobj;
18681fail:
18682 return NULL;
d14a1e28
RD
18683}
18684
18685
0085ce49
RD
18686SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18687 PyObject *resultobj = 0;
18688 wxSlider *arg1 = (wxSlider *) 0 ;
18689 int result;
18690 void *argp1 = 0 ;
18691 int res1 = 0 ;
18692 PyObject *swig_obj[1] ;
18693
18694 if (!args) SWIG_fail;
18695 swig_obj[0] = args;
18696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18697 if (!SWIG_IsOK(res1)) {
18698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18699 }
18700 arg1 = reinterpret_cast< wxSlider * >(argp1);
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 result = (int)((wxSlider const *)arg1)->GetSelStart();
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 resultobj = SWIG_From_int(static_cast< int >(result));
18708 return resultobj;
18709fail:
18710 return NULL;
18711}
18712
18713
18714SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj = 0;
18716 wxSlider *arg1 = (wxSlider *) 0 ;
18717 int arg2 ;
18718 int arg3 ;
18719 void *argp1 = 0 ;
18720 int res1 = 0 ;
18721 int val2 ;
18722 int ecode2 = 0 ;
18723 int val3 ;
18724 int ecode3 = 0 ;
18725 PyObject * obj0 = 0 ;
18726 PyObject * obj1 = 0 ;
18727 PyObject * obj2 = 0 ;
18728 char * kwnames[] = {
18729 (char *) "self",(char *) "min",(char *) "max", NULL
18730 };
18731
18732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18734 if (!SWIG_IsOK(res1)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18736 }
18737 arg1 = reinterpret_cast< wxSlider * >(argp1);
18738 ecode2 = SWIG_AsVal_int(obj1, &val2);
18739 if (!SWIG_IsOK(ecode2)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18741 }
18742 arg2 = static_cast< int >(val2);
18743 ecode3 = SWIG_AsVal_int(obj2, &val3);
18744 if (!SWIG_IsOK(ecode3)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18746 }
18747 arg3 = static_cast< int >(val3);
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 (arg1)->SetSelection(arg2,arg3);
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = SWIG_Py_Void();
18755 return resultobj;
18756fail:
18757 return NULL;
18758}
18759
18760
18761SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj = 0;
18763 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18764 SwigValueWrapper<wxVisualAttributes > result;
18765 int val1 ;
18766 int ecode1 = 0 ;
18767 PyObject * obj0 = 0 ;
18768 char * kwnames[] = {
18769 (char *) "variant", NULL
18770 };
18771
18772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18773 if (obj0) {
18774 ecode1 = SWIG_AsVal_int(obj0, &val1);
18775 if (!SWIG_IsOK(ecode1)) {
18776 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18777 }
18778 arg1 = static_cast< wxWindowVariant >(val1);
18779 }
18780 {
18781 if (!wxPyCheckForApp()) SWIG_fail;
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = wxSlider::GetClassDefaultAttributes(arg1);
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18788 return resultobj;
18789fail:
18790 return NULL;
d14a1e28
RD
18791}
18792
18793
0085ce49
RD
18794SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18795 PyObject *obj;
18796 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18797 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18798 return SWIG_Py_Void();
d14a1e28
RD
18799}
18800
0085ce49
RD
18801SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18802 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
18803}
18804
0085ce49
RD
18805SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18806 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18807 return 1;
d14a1e28
RD
18808}
18809
18810
0085ce49
RD
18811SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18812 PyObject *pyobj = 0;
18813
18814 {
18815#if wxUSE_UNICODE
18816 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18817#else
18818 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18819#endif
18820 }
18821 return pyobj;
18822}
18823
18824
18825SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj = 0;
18827 wxWindow *arg1 = (wxWindow *) 0 ;
18828 int arg2 = (int) -1 ;
18829 wxString const &arg3_defvalue = wxPyEmptyString ;
18830 wxString *arg3 = (wxString *) &arg3_defvalue ;
18831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18833 wxSize const &arg5_defvalue = wxDefaultSize ;
18834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18835 long arg6 = (long) 0 ;
18836 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18837 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18838 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18839 wxString *arg8 = (wxString *) &arg8_defvalue ;
18840 wxToggleButton *result = 0 ;
18841 void *argp1 = 0 ;
18842 int res1 = 0 ;
18843 int val2 ;
18844 int ecode2 = 0 ;
18845 bool temp3 = false ;
18846 wxPoint temp4 ;
18847 wxSize temp5 ;
18848 long val6 ;
18849 int ecode6 = 0 ;
18850 void *argp7 = 0 ;
18851 int res7 = 0 ;
18852 bool temp8 = false ;
18853 PyObject * obj0 = 0 ;
18854 PyObject * obj1 = 0 ;
18855 PyObject * obj2 = 0 ;
18856 PyObject * obj3 = 0 ;
18857 PyObject * obj4 = 0 ;
18858 PyObject * obj5 = 0 ;
18859 PyObject * obj6 = 0 ;
18860 PyObject * obj7 = 0 ;
18861 char * kwnames[] = {
18862 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18863 };
18864
18865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18867 if (!SWIG_IsOK(res1)) {
18868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18869 }
18870 arg1 = reinterpret_cast< wxWindow * >(argp1);
18871 if (obj1) {
18872 ecode2 = SWIG_AsVal_int(obj1, &val2);
18873 if (!SWIG_IsOK(ecode2)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18875 }
18876 arg2 = static_cast< int >(val2);
18877 }
18878 if (obj2) {
d14a1e28 18879 {
0085ce49
RD
18880 arg3 = wxString_in_helper(obj2);
18881 if (arg3 == NULL) SWIG_fail;
18882 temp3 = true;
d14a1e28 18883 }
0085ce49
RD
18884 }
18885 if (obj3) {
4f89f6a3 18886 {
0085ce49
RD
18887 arg4 = &temp4;
18888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 18889 }
0085ce49
RD
18890 }
18891 if (obj4) {
d14a1e28 18892 {
0085ce49
RD
18893 arg5 = &temp5;
18894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 18895 }
0085ce49
RD
18896 }
18897 if (obj5) {
18898 ecode6 = SWIG_AsVal_long(obj5, &val6);
18899 if (!SWIG_IsOK(ecode6)) {
18900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18901 }
18902 arg6 = static_cast< long >(val6);
18903 }
18904 if (obj6) {
18905 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18906 if (!SWIG_IsOK(res7)) {
18907 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 18908 }
0085ce49
RD
18909 if (!argp7) {
18910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 18911 }
0085ce49
RD
18912 arg7 = reinterpret_cast< wxValidator * >(argp7);
18913 }
18914 if (obj7) {
d14a1e28 18915 {
0085ce49
RD
18916 arg8 = wxString_in_helper(obj7);
18917 if (arg8 == NULL) SWIG_fail;
18918 temp8 = true;
d14a1e28 18919 }
0085ce49
RD
18920 }
18921 {
18922 if (!wxPyCheckForApp()) SWIG_fail;
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18929 {
18930 if (temp3)
18931 delete arg3;
18932 }
18933 {
18934 if (temp8)
18935 delete arg8;
18936 }
18937 return resultobj;
18938fail:
18939 {
18940 if (temp3)
18941 delete arg3;
18942 }
18943 {
18944 if (temp8)
18945 delete arg8;
18946 }
18947 return NULL;
d14a1e28
RD
18948}
18949
18950
0085ce49
RD
18951SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18952 PyObject *resultobj = 0;
18953 wxToggleButton *result = 0 ;
18954
18955 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18956 {
18957 if (!wxPyCheckForApp()) SWIG_fail;
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 result = (wxToggleButton *)new wxToggleButton();
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18964 return resultobj;
18965fail:
18966 return NULL;
18967}
18968
18969
18970SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18971 PyObject *resultobj = 0;
18972 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18973 wxWindow *arg2 = (wxWindow *) 0 ;
18974 int arg3 = (int) -1 ;
18975 wxString const &arg4_defvalue = wxPyEmptyString ;
18976 wxString *arg4 = (wxString *) &arg4_defvalue ;
18977 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18978 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18979 wxSize const &arg6_defvalue = wxDefaultSize ;
18980 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18981 long arg7 = (long) 0 ;
18982 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18983 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18984 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18985 wxString *arg9 = (wxString *) &arg9_defvalue ;
18986 bool result;
18987 void *argp1 = 0 ;
18988 int res1 = 0 ;
18989 void *argp2 = 0 ;
18990 int res2 = 0 ;
18991 int val3 ;
18992 int ecode3 = 0 ;
18993 bool temp4 = false ;
18994 wxPoint temp5 ;
18995 wxSize temp6 ;
18996 long val7 ;
18997 int ecode7 = 0 ;
18998 void *argp8 = 0 ;
18999 int res8 = 0 ;
19000 bool temp9 = false ;
19001 PyObject * obj0 = 0 ;
19002 PyObject * obj1 = 0 ;
19003 PyObject * obj2 = 0 ;
19004 PyObject * obj3 = 0 ;
19005 PyObject * obj4 = 0 ;
19006 PyObject * obj5 = 0 ;
19007 PyObject * obj6 = 0 ;
19008 PyObject * obj7 = 0 ;
19009 PyObject * obj8 = 0 ;
19010 char * kwnames[] = {
19011 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19012 };
19013
19014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19016 if (!SWIG_IsOK(res1)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19018 }
19019 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19021 if (!SWIG_IsOK(res2)) {
19022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19023 }
19024 arg2 = reinterpret_cast< wxWindow * >(argp2);
19025 if (obj2) {
19026 ecode3 = SWIG_AsVal_int(obj2, &val3);
19027 if (!SWIG_IsOK(ecode3)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19029 }
19030 arg3 = static_cast< int >(val3);
19031 }
19032 if (obj3) {
d14a1e28 19033 {
0085ce49
RD
19034 arg4 = wxString_in_helper(obj3);
19035 if (arg4 == NULL) SWIG_fail;
19036 temp4 = true;
d14a1e28 19037 }
0085ce49
RD
19038 }
19039 if (obj4) {
d14a1e28 19040 {
0085ce49
RD
19041 arg5 = &temp5;
19042 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 19043 }
0085ce49
RD
19044 }
19045 if (obj5) {
093d3ff1 19046 {
0085ce49
RD
19047 arg6 = &temp6;
19048 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 19049 }
0085ce49
RD
19050 }
19051 if (obj6) {
19052 ecode7 = SWIG_AsVal_long(obj6, &val7);
19053 if (!SWIG_IsOK(ecode7)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19055 }
19056 arg7 = static_cast< long >(val7);
19057 }
19058 if (obj7) {
19059 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19060 if (!SWIG_IsOK(res8)) {
19061 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19062 }
19063 if (!argp8) {
19064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 19065 }
0085ce49
RD
19066 arg8 = reinterpret_cast< wxValidator * >(argp8);
19067 }
19068 if (obj8) {
093d3ff1 19069 {
0085ce49
RD
19070 arg9 = wxString_in_helper(obj8);
19071 if (arg9 == NULL) SWIG_fail;
19072 temp9 = true;
093d3ff1 19073 }
0085ce49
RD
19074 }
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 {
19082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19083 }
19084 {
19085 if (temp4)
19086 delete arg4;
19087 }
19088 {
19089 if (temp9)
19090 delete arg9;
19091 }
19092 return resultobj;
19093fail:
19094 {
19095 if (temp4)
19096 delete arg4;
19097 }
19098 {
19099 if (temp9)
19100 delete arg9;
19101 }
19102 return NULL;
19103}
19104
19105
19106SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj = 0;
19108 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19109 bool arg2 ;
19110 void *argp1 = 0 ;
19111 int res1 = 0 ;
19112 bool val2 ;
19113 int ecode2 = 0 ;
19114 PyObject * obj0 = 0 ;
19115 PyObject * obj1 = 0 ;
19116 char * kwnames[] = {
19117 (char *) "self",(char *) "value", NULL
19118 };
19119
19120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19122 if (!SWIG_IsOK(res1)) {
19123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19124 }
19125 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19126 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19127 if (!SWIG_IsOK(ecode2)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19129 }
19130 arg2 = static_cast< bool >(val2);
19131 {
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 (arg1)->SetValue(arg2);
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = SWIG_Py_Void();
19138 return resultobj;
19139fail:
19140 return NULL;
d14a1e28
RD
19141}
19142
19143
0085ce49
RD
19144SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19145 PyObject *resultobj = 0;
19146 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19147 bool result;
19148 void *argp1 = 0 ;
19149 int res1 = 0 ;
19150 PyObject *swig_obj[1] ;
19151
19152 if (!args) SWIG_fail;
19153 swig_obj[0] = args;
19154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19155 if (!SWIG_IsOK(res1)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19157 }
19158 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19167 }
19168 return resultobj;
19169fail:
19170 return NULL;
d14a1e28
RD
19171}
19172
19173
0085ce49
RD
19174SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj = 0;
19176 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19177 SwigValueWrapper<wxVisualAttributes > result;
19178 int val1 ;
19179 int ecode1 = 0 ;
19180 PyObject * obj0 = 0 ;
19181 char * kwnames[] = {
19182 (char *) "variant", NULL
19183 };
19184
19185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19186 if (obj0) {
19187 ecode1 = SWIG_AsVal_int(obj0, &val1);
19188 if (!SWIG_IsOK(ecode1)) {
19189 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19190 }
19191 arg1 = static_cast< wxWindowVariant >(val1);
19192 }
19193 {
19194 if (!wxPyCheckForApp()) SWIG_fail;
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19201 return resultobj;
19202fail:
19203 return NULL;
d14a1e28
RD
19204}
19205
19206
0085ce49
RD
19207SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19208 PyObject *obj;
19209 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19210 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19211 return SWIG_Py_Void();
d14a1e28
RD
19212}
19213
0085ce49
RD
19214SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19215 return SWIG_Python_InitShadowInstance(args);
19216}
d14a1e28 19217
0085ce49
RD
19218SWIGINTERN int NotebookNameStr_set(PyObject *) {
19219 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19220 return 1;
d14a1e28
RD
19221}
19222
19223
0085ce49
RD
19224SWIGINTERN PyObject *NotebookNameStr_get(void) {
19225 PyObject *pyobj = 0;
19226
19227 {
d14a1e28 19228#if wxUSE_UNICODE
0085ce49 19229 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d14a1e28 19230#else
0085ce49 19231 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d14a1e28 19232#endif
0085ce49
RD
19233 }
19234 return pyobj;
d14a1e28
RD
19235}
19236
19237
0085ce49
RD
19238SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19239 PyObject *resultobj = 0;
19240 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19241 size_t result;
19242 void *argp1 = 0 ;
19243 int res1 = 0 ;
19244 PyObject *swig_obj[1] ;
19245
19246 if (!args) SWIG_fail;
19247 swig_obj[0] = args;
19248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19249 if (!SWIG_IsOK(res1)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19251 }
19252 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19256 wxPyEndAllowThreads(__tstate);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
19259 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19260 return resultobj;
19261fail:
19262 return NULL;
19263}
19264
19265
19266SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19267 PyObject *resultobj = 0;
19268 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19269 size_t arg2 ;
19270 wxWindow *result = 0 ;
19271 void *argp1 = 0 ;
19272 int res1 = 0 ;
19273 size_t val2 ;
19274 int ecode2 = 0 ;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char * kwnames[] = {
19278 (char *) "self",(char *) "n", NULL
19279 };
19280
19281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19283 if (!SWIG_IsOK(res1)) {
19284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19285 }
19286 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19287 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19288 if (!SWIG_IsOK(ecode2)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19290 }
19291 arg2 = static_cast< size_t >(val2);
19292 {
19293 PyThreadState* __tstate = wxPyBeginAllowThreads();
19294 result = (wxWindow *)(arg1)->GetPage(arg2);
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 {
19299 resultobj = wxPyMake_wxObject(result, 0);
19300 }
19301 return resultobj;
19302fail:
19303 return NULL;
22bfe96c
RD
19304}
19305
19306
0085ce49
RD
19307SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19308 PyObject *resultobj = 0;
19309 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19310 wxWindow *result = 0 ;
19311 void *argp1 = 0 ;
19312 int res1 = 0 ;
19313 PyObject *swig_obj[1] ;
19314
19315 if (!args) SWIG_fail;
19316 swig_obj[0] = args;
19317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19318 if (!SWIG_IsOK(res1)) {
19319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19320 }
19321 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 {
19329 resultobj = wxPyMake_wxObject(result, 0);
19330 }
19331 return resultobj;
19332fail:
19333 return NULL;
d14a1e28
RD
19334}
19335
19336
0085ce49
RD
19337SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19338 PyObject *resultobj = 0;
19339 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19340 int result;
19341 void *argp1 = 0 ;
19342 int res1 = 0 ;
19343 PyObject *swig_obj[1] ;
19344
19345 if (!args) SWIG_fail;
19346 swig_obj[0] = args;
19347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19348 if (!SWIG_IsOK(res1)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19350 }
19351 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 resultobj = SWIG_From_int(static_cast< int >(result));
19359 return resultobj;
19360fail:
19361 return NULL;
19362}
19363
19364
19365SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj = 0;
19367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19368 size_t arg2 ;
19369 wxString *arg3 = 0 ;
19370 bool result;
19371 void *argp1 = 0 ;
19372 int res1 = 0 ;
19373 size_t val2 ;
19374 int ecode2 = 0 ;
19375 bool temp3 = false ;
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 PyObject * obj2 = 0 ;
19379 char * kwnames[] = {
19380 (char *) "self",(char *) "n",(char *) "strText", NULL
19381 };
19382
19383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19385 if (!SWIG_IsOK(res1)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19387 }
19388 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19389 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19390 if (!SWIG_IsOK(ecode2)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19392 }
19393 arg2 = static_cast< size_t >(val2);
19394 {
19395 arg3 = wxString_in_helper(obj2);
19396 if (arg3 == NULL) SWIG_fail;
19397 temp3 = true;
19398 }
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 {
19406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19407 }
19408 {
19409 if (temp3)
19410 delete arg3;
19411 }
19412 return resultobj;
19413fail:
19414 {
19415 if (temp3)
19416 delete arg3;
19417 }
19418 return NULL;
19419}
19420
19421
19422SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj = 0;
19424 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19425 size_t arg2 ;
19426 wxString result;
19427 void *argp1 = 0 ;
19428 int res1 = 0 ;
19429 size_t val2 ;
19430 int ecode2 = 0 ;
19431 PyObject * obj0 = 0 ;
19432 PyObject * obj1 = 0 ;
19433 char * kwnames[] = {
19434 (char *) "self",(char *) "n", NULL
19435 };
19436
19437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19439 if (!SWIG_IsOK(res1)) {
19440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19441 }
19442 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19443 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19444 if (!SWIG_IsOK(ecode2)) {
19445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19446 }
19447 arg2 = static_cast< size_t >(val2);
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 {
19455#if wxUSE_UNICODE
19456 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19457#else
19458 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19459#endif
19460 }
19461 return resultobj;
19462fail:
19463 return NULL;
19464}
19465
19466
19467SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj = 0;
19469 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19470 wxImageList *arg2 = (wxImageList *) 0 ;
19471 void *argp1 = 0 ;
19472 int res1 = 0 ;
19473 void *argp2 = 0 ;
19474 int res2 = 0 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 char * kwnames[] = {
19478 (char *) "self",(char *) "imageList", NULL
19479 };
19480
19481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19483 if (!SWIG_IsOK(res1)) {
19484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19485 }
19486 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19487 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19488 if (!SWIG_IsOK(res2)) {
19489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19490 }
19491 arg2 = reinterpret_cast< wxImageList * >(argp2);
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 (arg1)->SetImageList(arg2);
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 resultobj = SWIG_Py_Void();
19499 return resultobj;
19500fail:
19501 return NULL;
19502}
19503
19504
19505SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj = 0;
19507 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19508 wxImageList *arg2 = (wxImageList *) 0 ;
19509 void *argp1 = 0 ;
19510 int res1 = 0 ;
19511 int res2 = 0 ;
19512 PyObject * obj0 = 0 ;
19513 PyObject * obj1 = 0 ;
19514 char * kwnames[] = {
19515 (char *) "self",(char *) "imageList", NULL
19516 };
19517
19518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19520 if (!SWIG_IsOK(res1)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19522 }
19523 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19524 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19525 if (!SWIG_IsOK(res2)) {
19526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19527 }
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 (arg1)->AssignImageList(arg2);
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 resultobj = SWIG_Py_Void();
19535 return resultobj;
19536fail:
19537 return NULL;
d14a1e28
RD
19538}
19539
19540
0085ce49
RD
19541SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19542 PyObject *resultobj = 0;
19543 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19544 wxImageList *result = 0 ;
19545 void *argp1 = 0 ;
19546 int res1 = 0 ;
19547 PyObject *swig_obj[1] ;
19548
19549 if (!args) SWIG_fail;
19550 swig_obj[0] = args;
19551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19552 if (!SWIG_IsOK(res1)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19554 }
19555 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
3ecece7e
RD
19562 {
19563 resultobj = wxPyMake_wxObject(result, (bool)0);
19564 }
0085ce49
RD
19565 return resultobj;
19566fail:
19567 return NULL;
19568}
19569
19570
19571SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj = 0;
19573 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19574 size_t arg2 ;
19575 int result;
19576 void *argp1 = 0 ;
19577 int res1 = 0 ;
19578 size_t val2 ;
19579 int ecode2 = 0 ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char * kwnames[] = {
19583 (char *) "self",(char *) "n", NULL
19584 };
19585
19586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19588 if (!SWIG_IsOK(res1)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19590 }
19591 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19592 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19593 if (!SWIG_IsOK(ecode2)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19595 }
19596 arg2 = static_cast< size_t >(val2);
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19600 wxPyEndAllowThreads(__tstate);
19601 if (PyErr_Occurred()) SWIG_fail;
19602 }
19603 resultobj = SWIG_From_int(static_cast< int >(result));
19604 return resultobj;
19605fail:
19606 return NULL;
19607}
19608
19609
19610SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj = 0;
19612 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19613 size_t arg2 ;
19614 int arg3 ;
19615 bool result;
19616 void *argp1 = 0 ;
19617 int res1 = 0 ;
19618 size_t val2 ;
19619 int ecode2 = 0 ;
19620 int val3 ;
19621 int ecode3 = 0 ;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 PyObject * obj2 = 0 ;
19625 char * kwnames[] = {
19626 (char *) "self",(char *) "n",(char *) "imageId", NULL
19627 };
19628
19629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19631 if (!SWIG_IsOK(res1)) {
19632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19633 }
19634 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19635 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19636 if (!SWIG_IsOK(ecode2)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19638 }
19639 arg2 = static_cast< size_t >(val2);
19640 ecode3 = SWIG_AsVal_int(obj2, &val3);
19641 if (!SWIG_IsOK(ecode3)) {
19642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19643 }
19644 arg3 = static_cast< int >(val3);
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 {
19652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19653 }
19654 return resultobj;
19655fail:
19656 return NULL;
19657}
19658
19659
19660SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj = 0;
19662 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19663 wxSize *arg2 = 0 ;
19664 void *argp1 = 0 ;
19665 int res1 = 0 ;
19666 wxSize temp2 ;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669 char * kwnames[] = {
19670 (char *) "self",(char *) "size", NULL
19671 };
19672
19673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19675 if (!SWIG_IsOK(res1)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19677 }
19678 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19679 {
19680 arg2 = &temp2;
19681 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19682 }
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 (arg1)->SetPageSize((wxSize const &)*arg2);
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 resultobj = SWIG_Py_Void();
19690 return resultobj;
19691fail:
19692 return NULL;
19693}
19694
19695
19696SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj = 0;
19698 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19699 wxSize *arg2 = 0 ;
19700 wxSize result;
19701 void *argp1 = 0 ;
19702 int res1 = 0 ;
19703 wxSize temp2 ;
19704 PyObject * obj0 = 0 ;
19705 PyObject * obj1 = 0 ;
19706 char * kwnames[] = {
19707 (char *) "self",(char *) "sizePage", NULL
19708 };
19709
19710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19712 if (!SWIG_IsOK(res1)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19714 }
19715 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19716 {
19717 arg2 = &temp2;
19718 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19719 }
19720 {
19721 PyThreadState* __tstate = wxPyBeginAllowThreads();
19722 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19727 return resultobj;
19728fail:
19729 return NULL;
d14a1e28
RD
19730}
19731
19732
0085ce49
RD
19733SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19734 PyObject *resultobj = 0;
19735 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19736 unsigned int result;
0085ce49
RD
19737 void *argp1 = 0 ;
19738 int res1 = 0 ;
19739 PyObject *swig_obj[1] ;
19740
19741 if (!args) SWIG_fail;
19742 swig_obj[0] = args;
19743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19744 if (!SWIG_IsOK(res1)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19746 }
19747 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19750 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
0085ce49
RD
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
e9d6f3a4 19754 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
19755 return resultobj;
19756fail:
19757 return NULL;
19758}
19759
19760
19761SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj = 0;
19763 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19764 unsigned int arg2 ;
0085ce49
RD
19765 void *argp1 = 0 ;
19766 int res1 = 0 ;
e9d6f3a4 19767 unsigned int val2 ;
0085ce49
RD
19768 int ecode2 = 0 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char * kwnames[] = {
19772 (char *) "self",(char *) "internalBorder", NULL
19773 };
19774
19775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19777 if (!SWIG_IsOK(res1)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19779 }
19780 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19781 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 19782 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 19784 }
e9d6f3a4 19785 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 (arg1)->SetInternalBorder(arg2);
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = SWIG_Py_Void();
19793 return resultobj;
19794fail:
19795 return NULL;
b2dc1044
RD
19796}
19797
19798
0085ce49
RD
19799SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19800 PyObject *resultobj = 0;
19801 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19802 bool result;
19803 void *argp1 = 0 ;
19804 int res1 = 0 ;
19805 PyObject *swig_obj[1] ;
19806
19807 if (!args) SWIG_fail;
19808 swig_obj[0] = args;
19809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19810 if (!SWIG_IsOK(res1)) {
19811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19812 }
19813 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19822 }
19823 return resultobj;
19824fail:
19825 return NULL;
19826}
19827
19828
e9d6f3a4
RD
19829SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj = 0;
19831 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19832 int arg2 ;
19833 void *argp1 = 0 ;
19834 int res1 = 0 ;
19835 int val2 ;
19836 int ecode2 = 0 ;
19837 PyObject * obj0 = 0 ;
19838 PyObject * obj1 = 0 ;
19839 char * kwnames[] = {
19840 (char *) "self",(char *) "margin", NULL
19841 };
19842
19843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19845 if (!SWIG_IsOK(res1)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19847 }
19848 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19849 ecode2 = SWIG_AsVal_int(obj1, &val2);
19850 if (!SWIG_IsOK(ecode2)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19852 }
19853 arg2 = static_cast< int >(val2);
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 (arg1)->SetControlMargin(arg2);
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 resultobj = SWIG_Py_Void();
19861 return resultobj;
19862fail:
19863 return NULL;
19864}
19865
19866
19867SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19868 PyObject *resultobj = 0;
19869 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19870 int result;
19871 void *argp1 = 0 ;
19872 int res1 = 0 ;
19873 PyObject *swig_obj[1] ;
19874
19875 if (!args) SWIG_fail;
19876 swig_obj[0] = args;
19877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19878 if (!SWIG_IsOK(res1)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19880 }
19881 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = SWIG_From_int(static_cast< int >(result));
19889 return resultobj;
19890fail:
19891 return NULL;
19892}
19893
19894
0085ce49
RD
19895SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj = 0;
19897 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19898 bool arg2 ;
19899 void *argp1 = 0 ;
19900 int res1 = 0 ;
19901 bool val2 ;
19902 int ecode2 = 0 ;
19903 PyObject * obj0 = 0 ;
19904 PyObject * obj1 = 0 ;
19905 char * kwnames[] = {
19906 (char *) "self",(char *) "fit", NULL
19907 };
19908
19909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19911 if (!SWIG_IsOK(res1)) {
19912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19913 }
19914 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19915 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19916 if (!SWIG_IsOK(ecode2)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19918 }
19919 arg2 = static_cast< bool >(val2);
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 (arg1)->SetFitToCurrentPage(arg2);
19923 wxPyEndAllowThreads(__tstate);
19924 if (PyErr_Occurred()) SWIG_fail;
19925 }
19926 resultobj = SWIG_Py_Void();
19927 return resultobj;
19928fail:
19929 return NULL;
d14a1e28
RD
19930}
19931
19932
0085ce49
RD
19933SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19934 PyObject *resultobj = 0;
19935 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19936 bool result;
19937 void *argp1 = 0 ;
19938 int res1 = 0 ;
19939 PyObject *swig_obj[1] ;
19940
19941 if (!args) SWIG_fail;
19942 swig_obj[0] = args;
19943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19944 if (!SWIG_IsOK(res1)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19946 }
19947 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 {
19955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19956 }
19957 return resultobj;
19958fail:
19959 return NULL;
19960}
19961
19962
e9d6f3a4
RD
19963SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19964 PyObject *resultobj = 0;
19965 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19966 wxSizer *result = 0 ;
19967 void *argp1 = 0 ;
19968 int res1 = 0 ;
19969 PyObject *swig_obj[1] ;
19970
19971 if (!args) SWIG_fail;
19972 swig_obj[0] = args;
19973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19974 if (!SWIG_IsOK(res1)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19976 }
19977 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 resultobj = wxPyMake_wxObject(result, (bool)0);
19986 }
19987 return resultobj;
19988fail:
19989 return NULL;
19990}
19991
19992
0085ce49
RD
19993SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj = 0;
19995 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19996 size_t arg2 ;
19997 bool result;
19998 void *argp1 = 0 ;
19999 int res1 = 0 ;
20000 size_t val2 ;
20001 int ecode2 = 0 ;
20002 PyObject * obj0 = 0 ;
20003 PyObject * obj1 = 0 ;
20004 char * kwnames[] = {
20005 (char *) "self",(char *) "n", NULL
20006 };
20007
20008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20010 if (!SWIG_IsOK(res1)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20012 }
20013 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20014 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20015 if (!SWIG_IsOK(ecode2)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20017 }
20018 arg2 = static_cast< size_t >(val2);
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)(arg1)->DeletePage(arg2);
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 {
20026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20027 }
20028 return resultobj;
20029fail:
20030 return NULL;
20031}
20032
20033
20034SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj = 0;
20036 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20037 size_t arg2 ;
20038 bool result;
20039 void *argp1 = 0 ;
20040 int res1 = 0 ;
20041 size_t val2 ;
20042 int ecode2 = 0 ;
20043 PyObject * obj0 = 0 ;
20044 PyObject * obj1 = 0 ;
20045 char * kwnames[] = {
20046 (char *) "self",(char *) "n", NULL
20047 };
20048
20049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20051 if (!SWIG_IsOK(res1)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20053 }
20054 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20055 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20056 if (!SWIG_IsOK(ecode2)) {
20057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20058 }
20059 arg2 = static_cast< size_t >(val2);
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (bool)(arg1)->RemovePage(arg2);
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 {
20067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20068 }
20069 return resultobj;
20070fail:
20071 return NULL;
d14a1e28
RD
20072}
20073
20074
0085ce49
RD
20075SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20076 PyObject *resultobj = 0;
20077 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20078 bool result;
20079 void *argp1 = 0 ;
20080 int res1 = 0 ;
20081 PyObject *swig_obj[1] ;
20082
20083 if (!args) SWIG_fail;
20084 swig_obj[0] = args;
20085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20086 if (!SWIG_IsOK(res1)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20088 }
20089 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (bool)(arg1)->DeleteAllPages();
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 {
20097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20098 }
20099 return resultobj;
20100fail:
20101 return NULL;
20102}
20103
20104
20105SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj = 0;
20107 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20108 wxWindow *arg2 = (wxWindow *) 0 ;
20109 wxString *arg3 = 0 ;
20110 bool arg4 = (bool) false ;
20111 int arg5 = (int) -1 ;
20112 bool result;
20113 void *argp1 = 0 ;
20114 int res1 = 0 ;
20115 void *argp2 = 0 ;
20116 int res2 = 0 ;
20117 bool temp3 = false ;
20118 bool val4 ;
20119 int ecode4 = 0 ;
20120 int val5 ;
20121 int ecode5 = 0 ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 PyObject * obj2 = 0 ;
20125 PyObject * obj3 = 0 ;
20126 PyObject * obj4 = 0 ;
20127 char * kwnames[] = {
20128 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20129 };
20130
20131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20133 if (!SWIG_IsOK(res1)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20135 }
20136 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20138 if (!SWIG_IsOK(res2)) {
20139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20140 }
20141 arg2 = reinterpret_cast< wxWindow * >(argp2);
20142 {
20143 arg3 = wxString_in_helper(obj2);
20144 if (arg3 == NULL) SWIG_fail;
20145 temp3 = true;
20146 }
20147 if (obj3) {
20148 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20149 if (!SWIG_IsOK(ecode4)) {
20150 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20151 }
20152 arg4 = static_cast< bool >(val4);
20153 }
20154 if (obj4) {
20155 ecode5 = SWIG_AsVal_int(obj4, &val5);
20156 if (!SWIG_IsOK(ecode5)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20158 }
20159 arg5 = static_cast< int >(val5);
20160 }
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20169 }
20170 {
20171 if (temp3)
20172 delete arg3;
20173 }
20174 return resultobj;
20175fail:
20176 {
20177 if (temp3)
20178 delete arg3;
20179 }
20180 return NULL;
20181}
20182
20183
20184SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj = 0;
20186 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20187 size_t arg2 ;
20188 wxWindow *arg3 = (wxWindow *) 0 ;
20189 wxString *arg4 = 0 ;
20190 bool arg5 = (bool) false ;
20191 int arg6 = (int) -1 ;
20192 bool result;
20193 void *argp1 = 0 ;
20194 int res1 = 0 ;
20195 size_t val2 ;
20196 int ecode2 = 0 ;
20197 void *argp3 = 0 ;
20198 int res3 = 0 ;
20199 bool temp4 = false ;
20200 bool val5 ;
20201 int ecode5 = 0 ;
20202 int val6 ;
20203 int ecode6 = 0 ;
20204 PyObject * obj0 = 0 ;
20205 PyObject * obj1 = 0 ;
20206 PyObject * obj2 = 0 ;
20207 PyObject * obj3 = 0 ;
20208 PyObject * obj4 = 0 ;
20209 PyObject * obj5 = 0 ;
20210 char * kwnames[] = {
20211 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20212 };
20213
20214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20216 if (!SWIG_IsOK(res1)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20218 }
20219 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20220 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20221 if (!SWIG_IsOK(ecode2)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20223 }
20224 arg2 = static_cast< size_t >(val2);
20225 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20226 if (!SWIG_IsOK(res3)) {
20227 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20228 }
20229 arg3 = reinterpret_cast< wxWindow * >(argp3);
20230 {
20231 arg4 = wxString_in_helper(obj3);
20232 if (arg4 == NULL) SWIG_fail;
20233 temp4 = true;
20234 }
20235 if (obj4) {
20236 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20237 if (!SWIG_IsOK(ecode5)) {
20238 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20239 }
20240 arg5 = static_cast< bool >(val5);
20241 }
20242 if (obj5) {
20243 ecode6 = SWIG_AsVal_int(obj5, &val6);
20244 if (!SWIG_IsOK(ecode6)) {
20245 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20246 }
20247 arg6 = static_cast< int >(val6);
20248 }
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 {
20256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20257 }
20258 {
20259 if (temp4)
20260 delete arg4;
20261 }
20262 return resultobj;
20263fail:
20264 {
20265 if (temp4)
20266 delete arg4;
20267 }
20268 return NULL;
20269}
20270
20271
20272SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj = 0;
20274 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20275 size_t arg2 ;
20276 int result;
20277 void *argp1 = 0 ;
20278 int res1 = 0 ;
20279 size_t val2 ;
20280 int ecode2 = 0 ;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 char * kwnames[] = {
20284 (char *) "self",(char *) "n", NULL
20285 };
20286
20287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20289 if (!SWIG_IsOK(res1)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20291 }
20292 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20293 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20294 if (!SWIG_IsOK(ecode2)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20296 }
20297 arg2 = static_cast< size_t >(val2);
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 result = (int)(arg1)->SetSelection(arg2);
20301 wxPyEndAllowThreads(__tstate);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 resultobj = SWIG_From_int(static_cast< int >(result));
20305 return resultobj;
20306fail:
20307 return NULL;
20308}
20309
20310
b39fe951
RD
20311SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj = 0;
20313 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20314 size_t arg2 ;
20315 int result;
20316 void *argp1 = 0 ;
20317 int res1 = 0 ;
20318 size_t val2 ;
20319 int ecode2 = 0 ;
20320 PyObject * obj0 = 0 ;
20321 PyObject * obj1 = 0 ;
20322 char * kwnames[] = {
20323 (char *) "self",(char *) "n", NULL
20324 };
20325
20326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20328 if (!SWIG_IsOK(res1)) {
20329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20330 }
20331 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20332 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20333 if (!SWIG_IsOK(ecode2)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20335 }
20336 arg2 = static_cast< size_t >(val2);
20337 {
20338 PyThreadState* __tstate = wxPyBeginAllowThreads();
20339 result = (int)(arg1)->ChangeSelection(arg2);
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 resultobj = SWIG_From_int(static_cast< int >(result));
20344 return resultobj;
20345fail:
20346 return NULL;
20347}
20348
20349
0085ce49
RD
20350SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj = 0;
20352 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20353 bool arg2 = (bool) true ;
20354 void *argp1 = 0 ;
20355 int res1 = 0 ;
20356 bool val2 ;
20357 int ecode2 = 0 ;
20358 PyObject * obj0 = 0 ;
20359 PyObject * obj1 = 0 ;
20360 char * kwnames[] = {
20361 (char *) "self",(char *) "forward", NULL
20362 };
20363
20364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20366 if (!SWIG_IsOK(res1)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20368 }
20369 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20370 if (obj1) {
20371 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20372 if (!SWIG_IsOK(ecode2)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20374 }
20375 arg2 = static_cast< bool >(val2);
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 (arg1)->AdvanceSelection(arg2);
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = SWIG_Py_Void();
20384 return resultobj;
20385fail:
20386 return NULL;
20387}
20388
20389
704eda0c
RD
20390SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj = 0;
20392 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20393 wxPoint *arg2 = 0 ;
20394 long *arg3 = (long *) 0 ;
20395 int result;
20396 void *argp1 = 0 ;
20397 int res1 = 0 ;
20398 wxPoint temp2 ;
20399 long temp3 ;
20400 int res3 = SWIG_TMPOBJ ;
20401 PyObject * obj0 = 0 ;
20402 PyObject * obj1 = 0 ;
20403 char * kwnames[] = {
20404 (char *) "self",(char *) "pt", NULL
20405 };
20406
20407 arg3 = &temp3;
20408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20410 if (!SWIG_IsOK(res1)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20412 }
20413 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20414 {
20415 arg2 = &temp2;
20416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20417 }
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 resultobj = SWIG_From_int(static_cast< int >(result));
20425 if (SWIG_IsTmpObj(res3)) {
20426 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20427 } else {
20428 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20429 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20430 }
20431 return resultobj;
20432fail:
20433 return NULL;
20434}
20435
20436
0085ce49
RD
20437SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj = 0;
20439 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20440 SwigValueWrapper<wxVisualAttributes > result;
20441 int val1 ;
20442 int ecode1 = 0 ;
20443 PyObject * obj0 = 0 ;
20444 char * kwnames[] = {
20445 (char *) "variant", NULL
20446 };
20447
20448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20449 if (obj0) {
20450 ecode1 = SWIG_AsVal_int(obj0, &val1);
20451 if (!SWIG_IsOK(ecode1)) {
20452 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20453 }
20454 arg1 = static_cast< wxWindowVariant >(val1);
20455 }
20456 {
20457 if (!wxPyCheckForApp()) SWIG_fail;
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20464 return resultobj;
20465fail:
20466 return NULL;
20467}
20468
20469
20470SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20471 PyObject *obj;
20472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20473 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20474 return SWIG_Py_Void();
20475}
20476
20477SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj = 0;
20479 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20480 int arg2 = (int) 0 ;
20481 int arg3 = (int) -1 ;
20482 int arg4 = (int) -1 ;
20483 wxBookCtrlBaseEvent *result = 0 ;
20484 int val1 ;
20485 int ecode1 = 0 ;
20486 int val2 ;
20487 int ecode2 = 0 ;
20488 int val3 ;
20489 int ecode3 = 0 ;
20490 int val4 ;
20491 int ecode4 = 0 ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 PyObject * obj2 = 0 ;
20495 PyObject * obj3 = 0 ;
20496 char * kwnames[] = {
20497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20498 };
20499
20500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20501 if (obj0) {
20502 ecode1 = SWIG_AsVal_int(obj0, &val1);
20503 if (!SWIG_IsOK(ecode1)) {
20504 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20505 }
20506 arg1 = static_cast< wxEventType >(val1);
20507 }
20508 if (obj1) {
20509 ecode2 = SWIG_AsVal_int(obj1, &val2);
20510 if (!SWIG_IsOK(ecode2)) {
20511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20512 }
20513 arg2 = static_cast< int >(val2);
20514 }
20515 if (obj2) {
20516 ecode3 = SWIG_AsVal_int(obj2, &val3);
20517 if (!SWIG_IsOK(ecode3)) {
20518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20519 }
20520 arg3 = static_cast< int >(val3);
20521 }
20522 if (obj3) {
20523 ecode4 = SWIG_AsVal_int(obj3, &val4);
20524 if (!SWIG_IsOK(ecode4)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20526 }
20527 arg4 = static_cast< int >(val4);
20528 }
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20536 return resultobj;
20537fail:
20538 return NULL;
d14a1e28
RD
20539}
20540
20541
0085ce49
RD
20542SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20543 PyObject *resultobj = 0;
20544 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20545 int result;
20546 void *argp1 = 0 ;
20547 int res1 = 0 ;
20548 PyObject *swig_obj[1] ;
20549
20550 if (!args) SWIG_fail;
20551 swig_obj[0] = args;
20552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20553 if (!SWIG_IsOK(res1)) {
20554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20555 }
20556 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 resultobj = SWIG_From_int(static_cast< int >(result));
20564 return resultobj;
20565fail:
20566 return NULL;
20567}
20568
20569
20570SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj = 0;
20572 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20573 int arg2 ;
20574 void *argp1 = 0 ;
20575 int res1 = 0 ;
20576 int val2 ;
20577 int ecode2 = 0 ;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 char * kwnames[] = {
20581 (char *) "self",(char *) "nSel", NULL
20582 };
20583
20584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20586 if (!SWIG_IsOK(res1)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20588 }
20589 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20590 ecode2 = SWIG_AsVal_int(obj1, &val2);
20591 if (!SWIG_IsOK(ecode2)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20593 }
20594 arg2 = static_cast< int >(val2);
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 (arg1)->SetSelection(arg2);
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = SWIG_Py_Void();
20602 return resultobj;
20603fail:
20604 return NULL;
d14a1e28
RD
20605}
20606
20607
0085ce49
RD
20608SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *resultobj = 0;
20610 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20611 int result;
20612 void *argp1 = 0 ;
20613 int res1 = 0 ;
20614 PyObject *swig_obj[1] ;
20615
20616 if (!args) SWIG_fail;
20617 swig_obj[0] = args;
20618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20619 if (!SWIG_IsOK(res1)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20621 }
20622 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 resultobj = SWIG_From_int(static_cast< int >(result));
20630 return resultobj;
20631fail:
20632 return NULL;
20633}
20634
20635
20636SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj = 0;
20638 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20639 int arg2 ;
20640 void *argp1 = 0 ;
20641 int res1 = 0 ;
20642 int val2 ;
20643 int ecode2 = 0 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char * kwnames[] = {
20647 (char *) "self",(char *) "nOldSel", NULL
20648 };
20649
20650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20652 if (!SWIG_IsOK(res1)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20654 }
20655 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20656 ecode2 = SWIG_AsVal_int(obj1, &val2);
20657 if (!SWIG_IsOK(ecode2)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20659 }
20660 arg2 = static_cast< int >(val2);
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 (arg1)->SetOldSelection(arg2);
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 resultobj = SWIG_Py_Void();
20668 return resultobj;
20669fail:
20670 return NULL;
20671}
20672
20673
20674SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20675 PyObject *obj;
20676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20677 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20678 return SWIG_Py_Void();
20679}
20680
20681SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20682 return SWIG_Python_InitShadowInstance(args);
20683}
20684
20685SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20686 PyObject *resultobj = 0;
20687 wxWindow *arg1 = (wxWindow *) 0 ;
20688 int arg2 = (int) -1 ;
20689 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20690 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20691 wxSize const &arg4_defvalue = wxDefaultSize ;
20692 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20693 long arg5 = (long) 0 ;
20694 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20695 wxString *arg6 = (wxString *) &arg6_defvalue ;
20696 wxNotebook *result = 0 ;
20697 void *argp1 = 0 ;
20698 int res1 = 0 ;
20699 int val2 ;
20700 int ecode2 = 0 ;
20701 wxPoint temp3 ;
20702 wxSize temp4 ;
20703 long val5 ;
20704 int ecode5 = 0 ;
20705 bool temp6 = false ;
20706 PyObject * obj0 = 0 ;
20707 PyObject * obj1 = 0 ;
20708 PyObject * obj2 = 0 ;
20709 PyObject * obj3 = 0 ;
20710 PyObject * obj4 = 0 ;
20711 PyObject * obj5 = 0 ;
20712 char * kwnames[] = {
20713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20714 };
20715
20716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20718 if (!SWIG_IsOK(res1)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20720 }
20721 arg1 = reinterpret_cast< wxWindow * >(argp1);
20722 if (obj1) {
20723 ecode2 = SWIG_AsVal_int(obj1, &val2);
20724 if (!SWIG_IsOK(ecode2)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20726 }
20727 arg2 = static_cast< int >(val2);
20728 }
20729 if (obj2) {
093d3ff1 20730 {
0085ce49
RD
20731 arg3 = &temp3;
20732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20733 }
0085ce49
RD
20734 }
20735 if (obj3) {
d14a1e28 20736 {
0085ce49
RD
20737 arg4 = &temp4;
20738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 20739 }
0085ce49
RD
20740 }
20741 if (obj4) {
20742 ecode5 = SWIG_AsVal_long(obj4, &val5);
20743 if (!SWIG_IsOK(ecode5)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20745 }
20746 arg5 = static_cast< long >(val5);
20747 }
20748 if (obj5) {
093d3ff1 20749 {
0085ce49
RD
20750 arg6 = wxString_in_helper(obj5);
20751 if (arg6 == NULL) SWIG_fail;
20752 temp6 = true;
093d3ff1 20753 }
0085ce49
RD
20754 }
20755 {
20756 if (!wxPyCheckForApp()) SWIG_fail;
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20763 {
20764 if (temp6)
20765 delete arg6;
20766 }
20767 return resultobj;
20768fail:
20769 {
20770 if (temp6)
20771 delete arg6;
20772 }
20773 return NULL;
d14a1e28
RD
20774}
20775
20776
0085ce49
RD
20777SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20778 PyObject *resultobj = 0;
20779 wxNotebook *result = 0 ;
20780
20781 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20782 {
20783 if (!wxPyCheckForApp()) SWIG_fail;
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = (wxNotebook *)new wxNotebook();
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20790 return resultobj;
20791fail:
20792 return NULL;
20793}
20794
20795
20796SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj = 0;
20798 wxNotebook *arg1 = (wxNotebook *) 0 ;
20799 wxWindow *arg2 = (wxWindow *) 0 ;
20800 int arg3 = (int) -1 ;
20801 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20802 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20803 wxSize const &arg5_defvalue = wxDefaultSize ;
20804 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20805 long arg6 = (long) 0 ;
20806 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20807 wxString *arg7 = (wxString *) &arg7_defvalue ;
20808 bool result;
20809 void *argp1 = 0 ;
20810 int res1 = 0 ;
20811 void *argp2 = 0 ;
20812 int res2 = 0 ;
20813 int val3 ;
20814 int ecode3 = 0 ;
20815 wxPoint temp4 ;
20816 wxSize temp5 ;
20817 long val6 ;
20818 int ecode6 = 0 ;
20819 bool temp7 = false ;
20820 PyObject * obj0 = 0 ;
20821 PyObject * obj1 = 0 ;
20822 PyObject * obj2 = 0 ;
20823 PyObject * obj3 = 0 ;
20824 PyObject * obj4 = 0 ;
20825 PyObject * obj5 = 0 ;
20826 PyObject * obj6 = 0 ;
20827 char * kwnames[] = {
20828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20829 };
20830
20831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20833 if (!SWIG_IsOK(res1)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20835 }
20836 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20837 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20838 if (!SWIG_IsOK(res2)) {
20839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20840 }
20841 arg2 = reinterpret_cast< wxWindow * >(argp2);
20842 if (obj2) {
20843 ecode3 = SWIG_AsVal_int(obj2, &val3);
20844 if (!SWIG_IsOK(ecode3)) {
20845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20846 }
20847 arg3 = static_cast< int >(val3);
20848 }
20849 if (obj3) {
093d3ff1 20850 {
0085ce49
RD
20851 arg4 = &temp4;
20852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20853 }
0085ce49
RD
20854 }
20855 if (obj4) {
d14a1e28 20856 {
0085ce49
RD
20857 arg5 = &temp5;
20858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 20859 }
0085ce49
RD
20860 }
20861 if (obj5) {
20862 ecode6 = SWIG_AsVal_long(obj5, &val6);
20863 if (!SWIG_IsOK(ecode6)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20865 }
20866 arg6 = static_cast< long >(val6);
20867 }
20868 if (obj6) {
4f89f6a3 20869 {
0085ce49
RD
20870 arg7 = wxString_in_helper(obj6);
20871 if (arg7 == NULL) SWIG_fail;
20872 temp7 = true;
4f89f6a3 20873 }
0085ce49
RD
20874 }
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 {
20882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20883 }
20884 {
20885 if (temp7)
20886 delete arg7;
20887 }
20888 return resultobj;
20889fail:
20890 {
20891 if (temp7)
20892 delete arg7;
20893 }
20894 return NULL;
d14a1e28
RD
20895}
20896
20897
0085ce49
RD
20898SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20899 PyObject *resultobj = 0;
20900 wxNotebook *arg1 = (wxNotebook *) 0 ;
20901 int result;
20902 void *argp1 = 0 ;
20903 int res1 = 0 ;
20904 PyObject *swig_obj[1] ;
20905
20906 if (!args) SWIG_fail;
20907 swig_obj[0] = args;
20908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20909 if (!SWIG_IsOK(res1)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20911 }
20912 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20913 {
20914 PyThreadState* __tstate = wxPyBeginAllowThreads();
20915 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20916 wxPyEndAllowThreads(__tstate);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 }
20919 resultobj = SWIG_From_int(static_cast< int >(result));
20920 return resultobj;
20921fail:
20922 return NULL;
20923}
20924
20925
20926SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj = 0;
20928 wxNotebook *arg1 = (wxNotebook *) 0 ;
20929 wxSize *arg2 = 0 ;
20930 void *argp1 = 0 ;
20931 int res1 = 0 ;
20932 wxSize temp2 ;
20933 PyObject * obj0 = 0 ;
20934 PyObject * obj1 = 0 ;
20935 char * kwnames[] = {
20936 (char *) "self",(char *) "padding", NULL
20937 };
20938
20939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20941 if (!SWIG_IsOK(res1)) {
20942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20943 }
20944 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20945 {
20946 arg2 = &temp2;
20947 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20948 }
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 (arg1)->SetPadding((wxSize const &)*arg2);
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 resultobj = SWIG_Py_Void();
20956 return resultobj;
20957fail:
20958 return NULL;
20959}
20960
20961
20962SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj = 0;
20964 wxNotebook *arg1 = (wxNotebook *) 0 ;
20965 wxSize *arg2 = 0 ;
20966 void *argp1 = 0 ;
20967 int res1 = 0 ;
20968 wxSize temp2 ;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 char * kwnames[] = {
20972 (char *) "self",(char *) "sz", NULL
20973 };
20974
20975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20977 if (!SWIG_IsOK(res1)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20979 }
20980 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20981 {
20982 arg2 = &temp2;
20983 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20984 }
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 (arg1)->SetTabSize((wxSize const &)*arg2);
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 resultobj = SWIG_Py_Void();
20992 return resultobj;
20993fail:
20994 return NULL;
20995}
20996
20997
0085ce49
RD
20998SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20999 PyObject *resultobj = 0;
21000 wxNotebook *arg1 = (wxNotebook *) 0 ;
21001 wxColour result;
21002 void *argp1 = 0 ;
21003 int res1 = 0 ;
21004 PyObject *swig_obj[1] ;
21005
21006 if (!args) SWIG_fail;
21007 swig_obj[0] = args;
21008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21009 if (!SWIG_IsOK(res1)) {
21010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21011 }
21012 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21020 return resultobj;
21021fail:
21022 return NULL;
21023}
21024
21025
21026SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj = 0;
21028 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21029 SwigValueWrapper<wxVisualAttributes > result;
21030 int val1 ;
21031 int ecode1 = 0 ;
21032 PyObject * obj0 = 0 ;
21033 char * kwnames[] = {
21034 (char *) "variant", NULL
21035 };
21036
21037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21038 if (obj0) {
21039 ecode1 = SWIG_AsVal_int(obj0, &val1);
21040 if (!SWIG_IsOK(ecode1)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21042 }
21043 arg1 = static_cast< wxWindowVariant >(val1);
21044 }
21045 {
21046 if (!wxPyCheckForApp()) SWIG_fail;
21047 PyThreadState* __tstate = wxPyBeginAllowThreads();
21048 result = wxNotebook::GetClassDefaultAttributes(arg1);
21049 wxPyEndAllowThreads(__tstate);
21050 if (PyErr_Occurred()) SWIG_fail;
21051 }
21052 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21053 return resultobj;
21054fail:
21055 return NULL;
21056}
21057
21058
b39fe951
RD
21059SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21060 PyObject *resultobj = 0;
21061 wxNotebook *arg1 = (wxNotebook *) 0 ;
21062 int arg2 ;
21063 bool result;
21064 void *argp1 = 0 ;
21065 int res1 = 0 ;
21066 int val2 ;
21067 int ecode2 = 0 ;
21068 PyObject * obj0 = 0 ;
21069 PyObject * obj1 = 0 ;
21070 char * kwnames[] = {
21071 (char *) "self",(char *) "nPage", NULL
21072 };
21073
21074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21076 if (!SWIG_IsOK(res1)) {
21077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21078 }
21079 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21080 ecode2 = SWIG_AsVal_int(obj1, &val2);
21081 if (!SWIG_IsOK(ecode2)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21083 }
21084 arg2 = static_cast< int >(val2);
21085 {
21086 PyThreadState* __tstate = wxPyBeginAllowThreads();
21087 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 {
21092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21093 }
21094 return resultobj;
21095fail:
21096 return NULL;
21097}
21098
21099
21100SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21101 PyObject *resultobj = 0;
21102 wxNotebook *arg1 = (wxNotebook *) 0 ;
21103 int arg2 ;
21104 int arg3 = (int) -1 ;
21105 void *argp1 = 0 ;
21106 int res1 = 0 ;
21107 int val2 ;
21108 int ecode2 = 0 ;
21109 int val3 ;
21110 int ecode3 = 0 ;
21111 PyObject * obj0 = 0 ;
21112 PyObject * obj1 = 0 ;
21113 PyObject * obj2 = 0 ;
21114 char * kwnames[] = {
21115 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21116 };
21117
21118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21120 if (!SWIG_IsOK(res1)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21122 }
21123 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21124 ecode2 = SWIG_AsVal_int(obj1, &val2);
21125 if (!SWIG_IsOK(ecode2)) {
21126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21127 }
21128 arg2 = static_cast< int >(val2);
21129 if (obj2) {
21130 ecode3 = SWIG_AsVal_int(obj2, &val3);
21131 if (!SWIG_IsOK(ecode3)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21133 }
21134 arg3 = static_cast< int >(val3);
21135 }
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 (arg1)->SendPageChangedEvent(arg2,arg3);
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = SWIG_Py_Void();
21143 return resultobj;
21144fail:
21145 return NULL;
21146}
21147
21148
0085ce49
RD
21149SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21150 PyObject *obj;
21151 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21152 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21153 return SWIG_Py_Void();
21154}
21155
21156SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21157 return SWIG_Python_InitShadowInstance(args);
21158}
21159
21160SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21161 PyObject *resultobj = 0;
21162 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21163 int arg2 = (int) 0 ;
21164 int arg3 = (int) -1 ;
21165 int arg4 = (int) -1 ;
21166 wxNotebookEvent *result = 0 ;
21167 int val1 ;
21168 int ecode1 = 0 ;
21169 int val2 ;
21170 int ecode2 = 0 ;
21171 int val3 ;
21172 int ecode3 = 0 ;
21173 int val4 ;
21174 int ecode4 = 0 ;
21175 PyObject * obj0 = 0 ;
21176 PyObject * obj1 = 0 ;
21177 PyObject * obj2 = 0 ;
21178 PyObject * obj3 = 0 ;
21179 char * kwnames[] = {
21180 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21181 };
21182
21183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21184 if (obj0) {
21185 ecode1 = SWIG_AsVal_int(obj0, &val1);
21186 if (!SWIG_IsOK(ecode1)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21188 }
21189 arg1 = static_cast< wxEventType >(val1);
21190 }
21191 if (obj1) {
21192 ecode2 = SWIG_AsVal_int(obj1, &val2);
21193 if (!SWIG_IsOK(ecode2)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21195 }
21196 arg2 = static_cast< int >(val2);
21197 }
21198 if (obj2) {
21199 ecode3 = SWIG_AsVal_int(obj2, &val3);
21200 if (!SWIG_IsOK(ecode3)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21202 }
21203 arg3 = static_cast< int >(val3);
21204 }
21205 if (obj3) {
21206 ecode4 = SWIG_AsVal_int(obj3, &val4);
21207 if (!SWIG_IsOK(ecode4)) {
21208 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21209 }
21210 arg4 = static_cast< int >(val4);
21211 }
21212 {
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21215 wxPyEndAllowThreads(__tstate);
21216 if (PyErr_Occurred()) SWIG_fail;
21217 }
21218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21219 return resultobj;
21220fail:
21221 return NULL;
21222}
21223
21224
21225SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21226 PyObject *obj;
21227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21228 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21229 return SWIG_Py_Void();
21230}
21231
21232SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21233 return SWIG_Python_InitShadowInstance(args);
21234}
21235
21236SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj = 0;
21238 wxWindow *arg1 = (wxWindow *) 0 ;
21239 int arg2 = (int) -1 ;
21240 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21241 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21242 wxSize const &arg4_defvalue = wxDefaultSize ;
21243 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21244 long arg5 = (long) 0 ;
21245 wxString const &arg6_defvalue = wxPyEmptyString ;
21246 wxString *arg6 = (wxString *) &arg6_defvalue ;
21247 wxListbook *result = 0 ;
21248 void *argp1 = 0 ;
21249 int res1 = 0 ;
21250 int val2 ;
21251 int ecode2 = 0 ;
21252 wxPoint temp3 ;
21253 wxSize temp4 ;
21254 long val5 ;
21255 int ecode5 = 0 ;
21256 bool temp6 = false ;
21257 PyObject * obj0 = 0 ;
21258 PyObject * obj1 = 0 ;
21259 PyObject * obj2 = 0 ;
21260 PyObject * obj3 = 0 ;
21261 PyObject * obj4 = 0 ;
21262 PyObject * obj5 = 0 ;
21263 char * kwnames[] = {
21264 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21265 };
21266
21267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21269 if (!SWIG_IsOK(res1)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21271 }
21272 arg1 = reinterpret_cast< wxWindow * >(argp1);
21273 if (obj1) {
21274 ecode2 = SWIG_AsVal_int(obj1, &val2);
21275 if (!SWIG_IsOK(ecode2)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21277 }
21278 arg2 = static_cast< int >(val2);
21279 }
21280 if (obj2) {
093d3ff1 21281 {
0085ce49
RD
21282 arg3 = &temp3;
21283 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21284 }
0085ce49
RD
21285 }
21286 if (obj3) {
093d3ff1 21287 {
0085ce49
RD
21288 arg4 = &temp4;
21289 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21290 }
0085ce49
RD
21291 }
21292 if (obj4) {
21293 ecode5 = SWIG_AsVal_long(obj4, &val5);
21294 if (!SWIG_IsOK(ecode5)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21296 }
21297 arg5 = static_cast< long >(val5);
21298 }
21299 if (obj5) {
d14a1e28 21300 {
0085ce49
RD
21301 arg6 = wxString_in_helper(obj5);
21302 if (arg6 == NULL) SWIG_fail;
21303 temp6 = true;
d14a1e28 21304 }
0085ce49
RD
21305 }
21306 {
21307 if (!wxPyCheckForApp()) SWIG_fail;
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21314 {
21315 if (temp6)
21316 delete arg6;
21317 }
21318 return resultobj;
21319fail:
21320 {
21321 if (temp6)
21322 delete arg6;
21323 }
21324 return NULL;
d14a1e28
RD
21325}
21326
21327
0085ce49
RD
21328SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21329 PyObject *resultobj = 0;
21330 wxListbook *result = 0 ;
21331
21332 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21333 {
21334 if (!wxPyCheckForApp()) SWIG_fail;
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = (wxListbook *)new wxListbook();
21337 wxPyEndAllowThreads(__tstate);
21338 if (PyErr_Occurred()) SWIG_fail;
21339 }
21340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21341 return resultobj;
21342fail:
21343 return NULL;
21344}
21345
21346
21347SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21348 PyObject *resultobj = 0;
21349 wxListbook *arg1 = (wxListbook *) 0 ;
21350 wxWindow *arg2 = (wxWindow *) 0 ;
21351 int arg3 = (int) -1 ;
21352 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21353 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21354 wxSize const &arg5_defvalue = wxDefaultSize ;
21355 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21356 long arg6 = (long) 0 ;
21357 wxString const &arg7_defvalue = wxPyEmptyString ;
21358 wxString *arg7 = (wxString *) &arg7_defvalue ;
21359 bool result;
21360 void *argp1 = 0 ;
21361 int res1 = 0 ;
21362 void *argp2 = 0 ;
21363 int res2 = 0 ;
21364 int val3 ;
21365 int ecode3 = 0 ;
21366 wxPoint temp4 ;
21367 wxSize temp5 ;
21368 long val6 ;
21369 int ecode6 = 0 ;
21370 bool temp7 = false ;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 PyObject * obj2 = 0 ;
21374 PyObject * obj3 = 0 ;
21375 PyObject * obj4 = 0 ;
21376 PyObject * obj5 = 0 ;
21377 PyObject * obj6 = 0 ;
21378 char * kwnames[] = {
21379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21380 };
21381
21382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21384 if (!SWIG_IsOK(res1)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21386 }
21387 arg1 = reinterpret_cast< wxListbook * >(argp1);
21388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21389 if (!SWIG_IsOK(res2)) {
21390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21391 }
21392 arg2 = reinterpret_cast< wxWindow * >(argp2);
21393 if (obj2) {
21394 ecode3 = SWIG_AsVal_int(obj2, &val3);
21395 if (!SWIG_IsOK(ecode3)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21397 }
21398 arg3 = static_cast< int >(val3);
21399 }
21400 if (obj3) {
22bfe96c 21401 {
0085ce49
RD
21402 arg4 = &temp4;
21403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 21404 }
0085ce49
RD
21405 }
21406 if (obj4) {
22bfe96c 21407 {
0085ce49
RD
21408 arg5 = &temp5;
21409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 21410 }
0085ce49
RD
21411 }
21412 if (obj5) {
21413 ecode6 = SWIG_AsVal_long(obj5, &val6);
21414 if (!SWIG_IsOK(ecode6)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21416 }
21417 arg6 = static_cast< long >(val6);
21418 }
21419 if (obj6) {
b2dc1044 21420 {
0085ce49
RD
21421 arg7 = wxString_in_helper(obj6);
21422 if (arg7 == NULL) SWIG_fail;
21423 temp7 = true;
b2dc1044 21424 }
0085ce49
RD
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 {
21433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21434 }
21435 {
21436 if (temp7)
21437 delete arg7;
21438 }
21439 return resultobj;
21440fail:
21441 {
21442 if (temp7)
21443 delete arg7;
21444 }
21445 return NULL;
b2dc1044
RD
21446}
21447
21448
0085ce49
RD
21449SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21450 PyObject *resultobj = 0;
21451 wxListbook *arg1 = (wxListbook *) 0 ;
21452 wxListView *result = 0 ;
21453 void *argp1 = 0 ;
21454 int res1 = 0 ;
21455 PyObject *swig_obj[1] ;
21456
21457 if (!args) SWIG_fail;
21458 swig_obj[0] = args;
21459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21460 if (!SWIG_IsOK(res1)) {
21461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21462 }
21463 arg1 = reinterpret_cast< wxListbook * >(argp1);
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 result = (wxListView *)(arg1)->GetListView();
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21471 return resultobj;
21472fail:
21473 return NULL;
21474}
21475
21476
21477SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21478 PyObject *obj;
21479 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21480 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21481 return SWIG_Py_Void();
21482}
21483
21484SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21485 return SWIG_Python_InitShadowInstance(args);
21486}
21487
21488SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj = 0;
21490 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21491 int arg2 = (int) 0 ;
21492 int arg3 = (int) -1 ;
21493 int arg4 = (int) -1 ;
21494 wxListbookEvent *result = 0 ;
21495 int val1 ;
21496 int ecode1 = 0 ;
21497 int val2 ;
21498 int ecode2 = 0 ;
21499 int val3 ;
21500 int ecode3 = 0 ;
21501 int val4 ;
21502 int ecode4 = 0 ;
21503 PyObject * obj0 = 0 ;
21504 PyObject * obj1 = 0 ;
21505 PyObject * obj2 = 0 ;
21506 PyObject * obj3 = 0 ;
21507 char * kwnames[] = {
21508 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21509 };
21510
21511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21512 if (obj0) {
21513 ecode1 = SWIG_AsVal_int(obj0, &val1);
21514 if (!SWIG_IsOK(ecode1)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21516 }
21517 arg1 = static_cast< wxEventType >(val1);
21518 }
21519 if (obj1) {
21520 ecode2 = SWIG_AsVal_int(obj1, &val2);
21521 if (!SWIG_IsOK(ecode2)) {
21522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21523 }
21524 arg2 = static_cast< int >(val2);
21525 }
21526 if (obj2) {
21527 ecode3 = SWIG_AsVal_int(obj2, &val3);
21528 if (!SWIG_IsOK(ecode3)) {
21529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21530 }
21531 arg3 = static_cast< int >(val3);
21532 }
21533 if (obj3) {
21534 ecode4 = SWIG_AsVal_int(obj3, &val4);
21535 if (!SWIG_IsOK(ecode4)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21537 }
21538 arg4 = static_cast< int >(val4);
21539 }
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21547 return resultobj;
21548fail:
21549 return NULL;
21550}
21551
21552
21553SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21554 PyObject *obj;
21555 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21556 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21557 return SWIG_Py_Void();
21558}
21559
21560SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21561 return SWIG_Python_InitShadowInstance(args);
21562}
21563
21564SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj = 0;
21566 wxWindow *arg1 = (wxWindow *) 0 ;
21567 int arg2 ;
21568 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21569 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21570 wxSize const &arg4_defvalue = wxDefaultSize ;
21571 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21572 long arg5 = (long) 0 ;
21573 wxString const &arg6_defvalue = wxPyEmptyString ;
21574 wxString *arg6 = (wxString *) &arg6_defvalue ;
21575 wxChoicebook *result = 0 ;
21576 void *argp1 = 0 ;
21577 int res1 = 0 ;
21578 int val2 ;
21579 int ecode2 = 0 ;
21580 wxPoint temp3 ;
21581 wxSize temp4 ;
21582 long val5 ;
21583 int ecode5 = 0 ;
21584 bool temp6 = false ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 PyObject * obj2 = 0 ;
21588 PyObject * obj3 = 0 ;
21589 PyObject * obj4 = 0 ;
21590 PyObject * obj5 = 0 ;
21591 char * kwnames[] = {
21592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21593 };
21594
21595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21597 if (!SWIG_IsOK(res1)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21599 }
21600 arg1 = reinterpret_cast< wxWindow * >(argp1);
21601 ecode2 = SWIG_AsVal_int(obj1, &val2);
21602 if (!SWIG_IsOK(ecode2)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21604 }
21605 arg2 = static_cast< int >(val2);
21606 if (obj2) {
d14a1e28 21607 {
0085ce49
RD
21608 arg3 = &temp3;
21609 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 21610 }
0085ce49
RD
21611 }
21612 if (obj3) {
d14a1e28 21613 {
0085ce49
RD
21614 arg4 = &temp4;
21615 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21616 }
0085ce49
RD
21617 }
21618 if (obj4) {
21619 ecode5 = SWIG_AsVal_long(obj4, &val5);
21620 if (!SWIG_IsOK(ecode5)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21622 }
21623 arg5 = static_cast< long >(val5);
21624 }
21625 if (obj5) {
d14a1e28 21626 {
0085ce49
RD
21627 arg6 = wxString_in_helper(obj5);
21628 if (arg6 == NULL) SWIG_fail;
21629 temp6 = true;
d14a1e28 21630 }
0085ce49
RD
21631 }
21632 {
21633 if (!wxPyCheckForApp()) SWIG_fail;
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21640 {
21641 if (temp6)
21642 delete arg6;
21643 }
21644 return resultobj;
21645fail:
21646 {
21647 if (temp6)
21648 delete arg6;
21649 }
21650 return NULL;
d14a1e28
RD
21651}
21652
21653
0085ce49
RD
21654SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21655 PyObject *resultobj = 0;
21656 wxChoicebook *result = 0 ;
21657
21658 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21659 {
21660 if (!wxPyCheckForApp()) SWIG_fail;
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 result = (wxChoicebook *)new wxChoicebook();
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21667 return resultobj;
21668fail:
21669 return NULL;
21670}
21671
21672
21673SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj = 0;
21675 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21676 wxWindow *arg2 = (wxWindow *) 0 ;
21677 int arg3 ;
21678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21680 wxSize const &arg5_defvalue = wxDefaultSize ;
21681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21682 long arg6 = (long) 0 ;
21683 wxString const &arg7_defvalue = wxPyEmptyString ;
21684 wxString *arg7 = (wxString *) &arg7_defvalue ;
21685 bool result;
21686 void *argp1 = 0 ;
21687 int res1 = 0 ;
21688 void *argp2 = 0 ;
21689 int res2 = 0 ;
21690 int val3 ;
21691 int ecode3 = 0 ;
21692 wxPoint temp4 ;
21693 wxSize temp5 ;
21694 long val6 ;
21695 int ecode6 = 0 ;
21696 bool temp7 = false ;
21697 PyObject * obj0 = 0 ;
21698 PyObject * obj1 = 0 ;
21699 PyObject * obj2 = 0 ;
21700 PyObject * obj3 = 0 ;
21701 PyObject * obj4 = 0 ;
21702 PyObject * obj5 = 0 ;
21703 PyObject * obj6 = 0 ;
21704 char * kwnames[] = {
21705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21706 };
21707
21708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21710 if (!SWIG_IsOK(res1)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21712 }
21713 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21715 if (!SWIG_IsOK(res2)) {
21716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21717 }
21718 arg2 = reinterpret_cast< wxWindow * >(argp2);
21719 ecode3 = SWIG_AsVal_int(obj2, &val3);
21720 if (!SWIG_IsOK(ecode3)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21722 }
21723 arg3 = static_cast< int >(val3);
21724 if (obj3) {
4f89f6a3 21725 {
0085ce49
RD
21726 arg4 = &temp4;
21727 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 21728 }
0085ce49
RD
21729 }
21730 if (obj4) {
d14a1e28 21731 {
0085ce49
RD
21732 arg5 = &temp5;
21733 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 21734 }
0085ce49
RD
21735 }
21736 if (obj5) {
21737 ecode6 = SWIG_AsVal_long(obj5, &val6);
21738 if (!SWIG_IsOK(ecode6)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21740 }
21741 arg6 = static_cast< long >(val6);
21742 }
21743 if (obj6) {
d14a1e28 21744 {
0085ce49
RD
21745 arg7 = wxString_in_helper(obj6);
21746 if (arg7 == NULL) SWIG_fail;
21747 temp7 = true;
d14a1e28 21748 }
0085ce49
RD
21749 }
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 {
21757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21758 }
21759 {
21760 if (temp7)
21761 delete arg7;
21762 }
21763 return resultobj;
21764fail:
21765 {
21766 if (temp7)
21767 delete arg7;
21768 }
21769 return NULL;
d14a1e28
RD
21770}
21771
21772
0085ce49
RD
21773SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21774 PyObject *resultobj = 0;
21775 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21776 wxChoice *result = 0 ;
21777 void *argp1 = 0 ;
21778 int res1 = 0 ;
21779 PyObject *swig_obj[1] ;
21780
21781 if (!args) SWIG_fail;
21782 swig_obj[0] = args;
21783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21784 if (!SWIG_IsOK(res1)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21786 }
21787 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21795 return resultobj;
21796fail:
21797 return NULL;
21798}
21799
21800
21801SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21802 PyObject *obj;
21803 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21804 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21805 return SWIG_Py_Void();
21806}
21807
21808SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21809 return SWIG_Python_InitShadowInstance(args);
21810}
21811
21812SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj = 0;
21814 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21815 int arg2 = (int) 0 ;
21816 int arg3 = (int) -1 ;
21817 int arg4 = (int) -1 ;
21818 wxChoicebookEvent *result = 0 ;
21819 int val1 ;
21820 int ecode1 = 0 ;
21821 int val2 ;
21822 int ecode2 = 0 ;
21823 int val3 ;
21824 int ecode3 = 0 ;
21825 int val4 ;
21826 int ecode4 = 0 ;
21827 PyObject * obj0 = 0 ;
21828 PyObject * obj1 = 0 ;
21829 PyObject * obj2 = 0 ;
21830 PyObject * obj3 = 0 ;
21831 char * kwnames[] = {
21832 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21833 };
21834
21835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21836 if (obj0) {
21837 ecode1 = SWIG_AsVal_int(obj0, &val1);
21838 if (!SWIG_IsOK(ecode1)) {
21839 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21840 }
21841 arg1 = static_cast< wxEventType >(val1);
21842 }
21843 if (obj1) {
21844 ecode2 = SWIG_AsVal_int(obj1, &val2);
21845 if (!SWIG_IsOK(ecode2)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21847 }
21848 arg2 = static_cast< int >(val2);
21849 }
21850 if (obj2) {
21851 ecode3 = SWIG_AsVal_int(obj2, &val3);
21852 if (!SWIG_IsOK(ecode3)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21854 }
21855 arg3 = static_cast< int >(val3);
21856 }
21857 if (obj3) {
21858 ecode4 = SWIG_AsVal_int(obj3, &val4);
21859 if (!SWIG_IsOK(ecode4)) {
21860 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21861 }
21862 arg4 = static_cast< int >(val4);
21863 }
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21871 return resultobj;
21872fail:
21873 return NULL;
21874}
21875
21876
21877SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21878 PyObject *obj;
21879 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21880 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21881 return SWIG_Py_Void();
21882}
21883
21884SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21885 return SWIG_Python_InitShadowInstance(args);
21886}
21887
21888SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj = 0;
21890 wxWindow *arg1 = (wxWindow *) 0 ;
21891 int arg2 ;
21892 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21893 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21894 wxSize const &arg4_defvalue = wxDefaultSize ;
21895 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21896 long arg5 = (long) wxBK_DEFAULT ;
21897 wxString const &arg6_defvalue = wxPyEmptyString ;
21898 wxString *arg6 = (wxString *) &arg6_defvalue ;
21899 wxTreebook *result = 0 ;
21900 void *argp1 = 0 ;
21901 int res1 = 0 ;
21902 int val2 ;
21903 int ecode2 = 0 ;
21904 wxPoint temp3 ;
21905 wxSize temp4 ;
21906 long val5 ;
21907 int ecode5 = 0 ;
21908 bool temp6 = false ;
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 PyObject * obj2 = 0 ;
21912 PyObject * obj3 = 0 ;
21913 PyObject * obj4 = 0 ;
21914 PyObject * obj5 = 0 ;
21915 char * kwnames[] = {
21916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21917 };
21918
21919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21921 if (!SWIG_IsOK(res1)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21923 }
21924 arg1 = reinterpret_cast< wxWindow * >(argp1);
21925 ecode2 = SWIG_AsVal_int(obj1, &val2);
21926 if (!SWIG_IsOK(ecode2)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21928 }
21929 arg2 = static_cast< int >(val2);
21930 if (obj2) {
093d3ff1 21931 {
0085ce49
RD
21932 arg3 = &temp3;
21933 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21934 }
0085ce49
RD
21935 }
21936 if (obj3) {
d14a1e28 21937 {
0085ce49
RD
21938 arg4 = &temp4;
21939 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21940 }
0085ce49
RD
21941 }
21942 if (obj4) {
21943 ecode5 = SWIG_AsVal_long(obj4, &val5);
21944 if (!SWIG_IsOK(ecode5)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21946 }
21947 arg5 = static_cast< long >(val5);
21948 }
21949 if (obj5) {
093d3ff1 21950 {
0085ce49
RD
21951 arg6 = wxString_in_helper(obj5);
21952 if (arg6 == NULL) SWIG_fail;
21953 temp6 = true;
093d3ff1 21954 }
0085ce49
RD
21955 }
21956 {
21957 if (!wxPyCheckForApp()) SWIG_fail;
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
21959 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21964 {
21965 if (temp6)
21966 delete arg6;
21967 }
21968 return resultobj;
21969fail:
21970 {
21971 if (temp6)
21972 delete arg6;
21973 }
21974 return NULL;
d14a1e28
RD
21975}
21976
21977
0085ce49
RD
21978SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21979 PyObject *resultobj = 0;
21980 wxTreebook *result = 0 ;
21981
21982 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21983 {
21984 if (!wxPyCheckForApp()) SWIG_fail;
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 result = (wxTreebook *)new wxTreebook();
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21991 return resultobj;
21992fail:
21993 return NULL;
21994}
21995
21996
21997SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21998 PyObject *resultobj = 0;
21999 wxTreebook *arg1 = (wxTreebook *) 0 ;
22000 wxWindow *arg2 = (wxWindow *) 0 ;
22001 int arg3 ;
22002 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22003 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22004 wxSize const &arg5_defvalue = wxDefaultSize ;
22005 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22006 long arg6 = (long) wxBK_DEFAULT ;
22007 wxString const &arg7_defvalue = wxPyEmptyString ;
22008 wxString *arg7 = (wxString *) &arg7_defvalue ;
22009 bool result;
22010 void *argp1 = 0 ;
22011 int res1 = 0 ;
22012 void *argp2 = 0 ;
22013 int res2 = 0 ;
22014 int val3 ;
22015 int ecode3 = 0 ;
22016 wxPoint temp4 ;
22017 wxSize temp5 ;
22018 long val6 ;
22019 int ecode6 = 0 ;
22020 bool temp7 = false ;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 PyObject * obj2 = 0 ;
22024 PyObject * obj3 = 0 ;
22025 PyObject * obj4 = 0 ;
22026 PyObject * obj5 = 0 ;
22027 PyObject * obj6 = 0 ;
22028 char * kwnames[] = {
22029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22030 };
22031
22032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22034 if (!SWIG_IsOK(res1)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22036 }
22037 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22039 if (!SWIG_IsOK(res2)) {
22040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22041 }
22042 arg2 = reinterpret_cast< wxWindow * >(argp2);
22043 ecode3 = SWIG_AsVal_int(obj2, &val3);
22044 if (!SWIG_IsOK(ecode3)) {
22045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22046 }
22047 arg3 = static_cast< int >(val3);
22048 if (obj3) {
d14a1e28 22049 {
0085ce49
RD
22050 arg4 = &temp4;
22051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 22052 }
0085ce49
RD
22053 }
22054 if (obj4) {
093d3ff1 22055 {
0085ce49
RD
22056 arg5 = &temp5;
22057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22058 }
0085ce49
RD
22059 }
22060 if (obj5) {
22061 ecode6 = SWIG_AsVal_long(obj5, &val6);
22062 if (!SWIG_IsOK(ecode6)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22064 }
22065 arg6 = static_cast< long >(val6);
22066 }
22067 if (obj6) {
093d3ff1 22068 {
0085ce49
RD
22069 arg7 = wxString_in_helper(obj6);
22070 if (arg7 == NULL) SWIG_fail;
22071 temp7 = true;
093d3ff1 22072 }
0085ce49
RD
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 {
22081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22082 }
22083 {
22084 if (temp7)
22085 delete arg7;
22086 }
22087 return resultobj;
22088fail:
22089 {
22090 if (temp7)
22091 delete arg7;
22092 }
22093 return NULL;
22094}
22095
22096
22097SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj = 0;
22099 wxTreebook *arg1 = (wxTreebook *) 0 ;
22100 size_t arg2 ;
22101 wxWindow *arg3 = (wxWindow *) 0 ;
22102 wxString *arg4 = 0 ;
22103 bool arg5 = (bool) false ;
22104 int arg6 = (int) wxNOT_FOUND ;
22105 bool result;
22106 void *argp1 = 0 ;
22107 int res1 = 0 ;
22108 size_t val2 ;
22109 int ecode2 = 0 ;
22110 void *argp3 = 0 ;
22111 int res3 = 0 ;
22112 bool temp4 = false ;
22113 bool val5 ;
22114 int ecode5 = 0 ;
22115 int val6 ;
22116 int ecode6 = 0 ;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 PyObject * obj2 = 0 ;
22120 PyObject * obj3 = 0 ;
22121 PyObject * obj4 = 0 ;
22122 PyObject * obj5 = 0 ;
22123 char * kwnames[] = {
22124 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22125 };
22126
22127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22129 if (!SWIG_IsOK(res1)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22131 }
22132 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22133 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22134 if (!SWIG_IsOK(ecode2)) {
22135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22136 }
22137 arg2 = static_cast< size_t >(val2);
22138 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22139 if (!SWIG_IsOK(res3)) {
22140 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22141 }
22142 arg3 = reinterpret_cast< wxWindow * >(argp3);
22143 {
22144 arg4 = wxString_in_helper(obj3);
22145 if (arg4 == NULL) SWIG_fail;
22146 temp4 = true;
22147 }
22148 if (obj4) {
22149 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22150 if (!SWIG_IsOK(ecode5)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22152 }
22153 arg5 = static_cast< bool >(val5);
22154 }
22155 if (obj5) {
22156 ecode6 = SWIG_AsVal_int(obj5, &val6);
22157 if (!SWIG_IsOK(ecode6)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22159 }
22160 arg6 = static_cast< int >(val6);
22161 }
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 {
22169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22170 }
22171 {
22172 if (temp4)
22173 delete arg4;
22174 }
22175 return resultobj;
22176fail:
22177 {
22178 if (temp4)
22179 delete arg4;
22180 }
22181 return NULL;
22182}
22183
22184
22185SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj = 0;
22187 wxTreebook *arg1 = (wxTreebook *) 0 ;
22188 wxWindow *arg2 = (wxWindow *) 0 ;
22189 wxString *arg3 = 0 ;
22190 bool arg4 = (bool) false ;
22191 int arg5 = (int) wxNOT_FOUND ;
22192 bool result;
22193 void *argp1 = 0 ;
22194 int res1 = 0 ;
22195 void *argp2 = 0 ;
22196 int res2 = 0 ;
22197 bool temp3 = false ;
22198 bool val4 ;
22199 int ecode4 = 0 ;
22200 int val5 ;
22201 int ecode5 = 0 ;
22202 PyObject * obj0 = 0 ;
22203 PyObject * obj1 = 0 ;
22204 PyObject * obj2 = 0 ;
22205 PyObject * obj3 = 0 ;
22206 PyObject * obj4 = 0 ;
22207 char * kwnames[] = {
22208 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22209 };
22210
22211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22213 if (!SWIG_IsOK(res1)) {
22214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22215 }
22216 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22218 if (!SWIG_IsOK(res2)) {
22219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22220 }
22221 arg2 = reinterpret_cast< wxWindow * >(argp2);
22222 {
22223 arg3 = wxString_in_helper(obj2);
22224 if (arg3 == NULL) SWIG_fail;
22225 temp3 = true;
22226 }
22227 if (obj3) {
22228 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22229 if (!SWIG_IsOK(ecode4)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22231 }
22232 arg4 = static_cast< bool >(val4);
22233 }
22234 if (obj4) {
22235 ecode5 = SWIG_AsVal_int(obj4, &val5);
22236 if (!SWIG_IsOK(ecode5)) {
22237 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22238 }
22239 arg5 = static_cast< int >(val5);
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 {
22248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22249 }
22250 {
22251 if (temp3)
22252 delete arg3;
22253 }
22254 return resultobj;
22255fail:
22256 {
22257 if (temp3)
22258 delete arg3;
22259 }
22260 return NULL;
22261}
22262
22263
22264SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj = 0;
22266 wxTreebook *arg1 = (wxTreebook *) 0 ;
22267 size_t arg2 ;
22268 bool result;
22269 void *argp1 = 0 ;
22270 int res1 = 0 ;
22271 size_t val2 ;
22272 int ecode2 = 0 ;
22273 PyObject * obj0 = 0 ;
22274 PyObject * obj1 = 0 ;
22275 char * kwnames[] = {
22276 (char *) "self",(char *) "pos", NULL
22277 };
22278
22279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22281 if (!SWIG_IsOK(res1)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22283 }
22284 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22285 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22286 if (!SWIG_IsOK(ecode2)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22288 }
22289 arg2 = static_cast< size_t >(val2);
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 {
22297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22298 }
22299 return resultobj;
22300fail:
22301 return NULL;
22302}
22303
22304
22305SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj = 0;
22307 wxTreebook *arg1 = (wxTreebook *) 0 ;
22308 size_t arg2 ;
22309 bool arg3 = (bool) true ;
22310 bool result;
22311 void *argp1 = 0 ;
22312 int res1 = 0 ;
22313 size_t val2 ;
22314 int ecode2 = 0 ;
22315 bool val3 ;
22316 int ecode3 = 0 ;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 PyObject * obj2 = 0 ;
22320 char * kwnames[] = {
22321 (char *) "self",(char *) "pos",(char *) "expand", NULL
22322 };
22323
22324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22326 if (!SWIG_IsOK(res1)) {
22327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22328 }
22329 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22330 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22331 if (!SWIG_IsOK(ecode2)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22333 }
22334 arg2 = static_cast< size_t >(val2);
22335 if (obj2) {
22336 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22337 if (!SWIG_IsOK(ecode3)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22339 }
22340 arg3 = static_cast< bool >(val3);
22341 }
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22350 }
22351 return resultobj;
22352fail:
22353 return NULL;
22354}
22355
22356
22357SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22358 PyObject *resultobj = 0;
22359 wxTreebook *arg1 = (wxTreebook *) 0 ;
22360 size_t arg2 ;
22361 bool result;
22362 void *argp1 = 0 ;
22363 int res1 = 0 ;
22364 size_t val2 ;
22365 int ecode2 = 0 ;
22366 PyObject * obj0 = 0 ;
22367 PyObject * obj1 = 0 ;
22368 char * kwnames[] = {
22369 (char *) "self",(char *) "pos", NULL
22370 };
22371
22372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22374 if (!SWIG_IsOK(res1)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22376 }
22377 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22378 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22379 if (!SWIG_IsOK(ecode2)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22381 }
22382 arg2 = static_cast< size_t >(val2);
22383 {
22384 PyThreadState* __tstate = wxPyBeginAllowThreads();
22385 result = (bool)(arg1)->CollapseNode(arg2);
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 {
22390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22391 }
22392 return resultobj;
22393fail:
22394 return NULL;
22395}
22396
22397
22398SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22399 PyObject *resultobj = 0;
22400 wxTreebook *arg1 = (wxTreebook *) 0 ;
22401 size_t arg2 ;
22402 int result;
22403 void *argp1 = 0 ;
22404 int res1 = 0 ;
22405 size_t val2 ;
22406 int ecode2 = 0 ;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char * kwnames[] = {
22410 (char *) "self",(char *) "pos", NULL
22411 };
22412
22413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22415 if (!SWIG_IsOK(res1)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22417 }
22418 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22419 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22420 if (!SWIG_IsOK(ecode2)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22422 }
22423 arg2 = static_cast< size_t >(val2);
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 resultobj = SWIG_From_int(static_cast< int >(result));
22431 return resultobj;
22432fail:
22433 return NULL;
d14a1e28
RD
22434}
22435
22436
0085ce49
RD
22437SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22438 PyObject *resultobj = 0;
22439 wxTreebook *arg1 = (wxTreebook *) 0 ;
10044bf1 22440 wxPyTreeCtrl *result = 0 ;
0085ce49
RD
22441 void *argp1 = 0 ;
22442 int res1 = 0 ;
22443 PyObject *swig_obj[1] ;
22444
22445 if (!args) SWIG_fail;
22446 swig_obj[0] = args;
22447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22448 if (!SWIG_IsOK(res1)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22450 }
22451 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 22454 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
0085ce49
RD
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
10044bf1
RD
22458 {
22459 resultobj = wxPyMake_wxObject(result, (bool)0);
22460 }
0085ce49
RD
22461 return resultobj;
22462fail:
22463 return NULL;
22464}
22465
22466
22467SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22468 PyObject *obj;
22469 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22470 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22471 return SWIG_Py_Void();
22472}
22473
22474SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22475 return SWIG_Python_InitShadowInstance(args);
22476}
22477
22478SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22479 PyObject *resultobj = 0;
22480 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22481 int arg2 = (int) 0 ;
22482 int arg3 = (int) wxNOT_FOUND ;
22483 int arg4 = (int) wxNOT_FOUND ;
22484 wxTreebookEvent *result = 0 ;
22485 int val1 ;
22486 int ecode1 = 0 ;
22487 int val2 ;
22488 int ecode2 = 0 ;
22489 int val3 ;
22490 int ecode3 = 0 ;
22491 int val4 ;
22492 int ecode4 = 0 ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 PyObject * obj3 = 0 ;
22497 char * kwnames[] = {
22498 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22499 };
22500
22501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22502 if (obj0) {
22503 ecode1 = SWIG_AsVal_int(obj0, &val1);
22504 if (!SWIG_IsOK(ecode1)) {
22505 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22506 }
22507 arg1 = static_cast< wxEventType >(val1);
22508 }
22509 if (obj1) {
22510 ecode2 = SWIG_AsVal_int(obj1, &val2);
22511 if (!SWIG_IsOK(ecode2)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22513 }
22514 arg2 = static_cast< int >(val2);
22515 }
22516 if (obj2) {
22517 ecode3 = SWIG_AsVal_int(obj2, &val3);
22518 if (!SWIG_IsOK(ecode3)) {
22519 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22520 }
22521 arg3 = static_cast< int >(val3);
22522 }
22523 if (obj3) {
22524 ecode4 = SWIG_AsVal_int(obj3, &val4);
22525 if (!SWIG_IsOK(ecode4)) {
22526 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22527 }
22528 arg4 = static_cast< int >(val4);
22529 }
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22533 wxPyEndAllowThreads(__tstate);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22537 return resultobj;
22538fail:
22539 return NULL;
22540}
22541
22542
22543SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22544 PyObject *obj;
22545 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22546 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22547 return SWIG_Py_Void();
22548}
22549
22550SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22551 return SWIG_Python_InitShadowInstance(args);
22552}
22553
22554SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj = 0;
22556 wxWindow *arg1 = (wxWindow *) 0 ;
22557 int arg2 ;
22558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22560 wxSize const &arg4_defvalue = wxDefaultSize ;
22561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22562 long arg5 = (long) wxBK_DEFAULT ;
22563 wxString const &arg6_defvalue = wxPyEmptyString ;
22564 wxString *arg6 = (wxString *) &arg6_defvalue ;
22565 wxToolbook *result = 0 ;
22566 void *argp1 = 0 ;
22567 int res1 = 0 ;
22568 int val2 ;
22569 int ecode2 = 0 ;
22570 wxPoint temp3 ;
22571 wxSize temp4 ;
22572 long val5 ;
22573 int ecode5 = 0 ;
22574 bool temp6 = false ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 PyObject * obj2 = 0 ;
22578 PyObject * obj3 = 0 ;
22579 PyObject * obj4 = 0 ;
22580 PyObject * obj5 = 0 ;
22581 char * kwnames[] = {
22582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22583 };
22584
22585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22587 if (!SWIG_IsOK(res1)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22589 }
22590 arg1 = reinterpret_cast< wxWindow * >(argp1);
22591 ecode2 = SWIG_AsVal_int(obj1, &val2);
22592 if (!SWIG_IsOK(ecode2)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22594 }
22595 arg2 = static_cast< int >(val2);
22596 if (obj2) {
d14a1e28 22597 {
0085ce49
RD
22598 arg3 = &temp3;
22599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 22600 }
0085ce49
RD
22601 }
22602 if (obj3) {
093d3ff1 22603 {
0085ce49
RD
22604 arg4 = &temp4;
22605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22606 }
0085ce49
RD
22607 }
22608 if (obj4) {
22609 ecode5 = SWIG_AsVal_long(obj4, &val5);
22610 if (!SWIG_IsOK(ecode5)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22612 }
22613 arg5 = static_cast< long >(val5);
22614 }
22615 if (obj5) {
d14a1e28 22616 {
0085ce49
RD
22617 arg6 = wxString_in_helper(obj5);
22618 if (arg6 == NULL) SWIG_fail;
22619 temp6 = true;
d14a1e28 22620 }
0085ce49
RD
22621 }
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22629 {
22630 if (temp6)
22631 delete arg6;
22632 }
22633 return resultobj;
22634fail:
22635 {
22636 if (temp6)
22637 delete arg6;
22638 }
22639 return NULL;
d14a1e28
RD
22640}
22641
22642
0085ce49
RD
22643SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22644 PyObject *resultobj = 0;
22645 wxToolbook *result = 0 ;
22646
22647 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 result = (wxToolbook *)new wxToolbook();
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22655 return resultobj;
22656fail:
22657 return NULL;
22658}
22659
22660
22661SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj = 0;
22663 wxToolbook *arg1 = (wxToolbook *) 0 ;
22664 wxWindow *arg2 = (wxWindow *) 0 ;
22665 int arg3 ;
22666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22668 wxSize const &arg5_defvalue = wxDefaultSize ;
22669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22670 long arg6 = (long) 0 ;
22671 wxString const &arg7_defvalue = wxEmptyString ;
22672 wxString *arg7 = (wxString *) &arg7_defvalue ;
22673 bool result;
22674 void *argp1 = 0 ;
22675 int res1 = 0 ;
22676 void *argp2 = 0 ;
22677 int res2 = 0 ;
22678 int val3 ;
22679 int ecode3 = 0 ;
22680 wxPoint temp4 ;
22681 wxSize temp5 ;
22682 long val6 ;
22683 int ecode6 = 0 ;
22684 bool temp7 = false ;
22685 PyObject * obj0 = 0 ;
22686 PyObject * obj1 = 0 ;
22687 PyObject * obj2 = 0 ;
22688 PyObject * obj3 = 0 ;
22689 PyObject * obj4 = 0 ;
22690 PyObject * obj5 = 0 ;
22691 PyObject * obj6 = 0 ;
22692 char * kwnames[] = {
22693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22694 };
22695
22696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22698 if (!SWIG_IsOK(res1)) {
22699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22700 }
22701 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22702 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22703 if (!SWIG_IsOK(res2)) {
22704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22705 }
22706 arg2 = reinterpret_cast< wxWindow * >(argp2);
22707 ecode3 = SWIG_AsVal_int(obj2, &val3);
22708 if (!SWIG_IsOK(ecode3)) {
22709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22710 }
22711 arg3 = static_cast< int >(val3);
22712 if (obj3) {
093d3ff1 22713 {
0085ce49
RD
22714 arg4 = &temp4;
22715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22716 }
0085ce49
RD
22717 }
22718 if (obj4) {
093d3ff1 22719 {
0085ce49
RD
22720 arg5 = &temp5;
22721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22722 }
0085ce49
RD
22723 }
22724 if (obj5) {
22725 ecode6 = SWIG_AsVal_long(obj5, &val6);
22726 if (!SWIG_IsOK(ecode6)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22728 }
22729 arg6 = static_cast< long >(val6);
22730 }
22731 if (obj6) {
994141e6 22732 {
0085ce49
RD
22733 arg7 = wxString_in_helper(obj6);
22734 if (arg7 == NULL) SWIG_fail;
22735 temp7 = true;
d14a1e28 22736 }
0085ce49
RD
22737 }
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 {
22745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22746 }
22747 {
22748 if (temp7)
22749 delete arg7;
22750 }
22751 return resultobj;
22752fail:
22753 {
22754 if (temp7)
22755 delete arg7;
22756 }
22757 return NULL;
22bfe96c
RD
22758}
22759
22760
0085ce49
RD
22761SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22762 PyObject *resultobj = 0;
22763 wxToolbook *arg1 = (wxToolbook *) 0 ;
22764 wxToolBarBase *result = 0 ;
22765 void *argp1 = 0 ;
22766 int res1 = 0 ;
22767 PyObject *swig_obj[1] ;
22768
22769 if (!args) SWIG_fail;
22770 swig_obj[0] = args;
22771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22772 if (!SWIG_IsOK(res1)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22774 }
22775 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
22782 {
22783 resultobj = wxPyMake_wxObject(result, (bool)0);
22784 }
22785 return resultobj;
22786fail:
22787 return NULL;
d14a1e28
RD
22788}
22789
22790
0085ce49
RD
22791SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22792 PyObject *resultobj = 0;
22793 wxToolbook *arg1 = (wxToolbook *) 0 ;
22794 void *argp1 = 0 ;
22795 int res1 = 0 ;
22796 PyObject *swig_obj[1] ;
22797
22798 if (!args) SWIG_fail;
22799 swig_obj[0] = args;
22800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22801 if (!SWIG_IsOK(res1)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22803 }
22804 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 (arg1)->Realize();
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 resultobj = SWIG_Py_Void();
22812 return resultobj;
22813fail:
22814 return NULL;
22815}
22816
22817
22818SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22819 PyObject *obj;
22820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22821 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22822 return SWIG_Py_Void();
22823}
22824
22825SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22826 return SWIG_Python_InitShadowInstance(args);
22827}
22828
22829SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22830 PyObject *resultobj = 0;
22831 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22832 int arg2 = (int) 0 ;
22833 int arg3 = (int) wxNOT_FOUND ;
22834 int arg4 = (int) wxNOT_FOUND ;
22835 wxToolbookEvent *result = 0 ;
22836 int val1 ;
22837 int ecode1 = 0 ;
22838 int val2 ;
22839 int ecode2 = 0 ;
22840 int val3 ;
22841 int ecode3 = 0 ;
22842 int val4 ;
22843 int ecode4 = 0 ;
22844 PyObject * obj0 = 0 ;
22845 PyObject * obj1 = 0 ;
22846 PyObject * obj2 = 0 ;
22847 PyObject * obj3 = 0 ;
22848 char * kwnames[] = {
22849 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22850 };
22851
22852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22853 if (obj0) {
22854 ecode1 = SWIG_AsVal_int(obj0, &val1);
22855 if (!SWIG_IsOK(ecode1)) {
22856 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22857 }
22858 arg1 = static_cast< wxEventType >(val1);
22859 }
22860 if (obj1) {
22861 ecode2 = SWIG_AsVal_int(obj1, &val2);
22862 if (!SWIG_IsOK(ecode2)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22864 }
22865 arg2 = static_cast< int >(val2);
22866 }
22867 if (obj2) {
22868 ecode3 = SWIG_AsVal_int(obj2, &val3);
22869 if (!SWIG_IsOK(ecode3)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22871 }
22872 arg3 = static_cast< int >(val3);
22873 }
22874 if (obj3) {
22875 ecode4 = SWIG_AsVal_int(obj3, &val4);
22876 if (!SWIG_IsOK(ecode4)) {
22877 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22878 }
22879 arg4 = static_cast< int >(val4);
22880 }
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22888 return resultobj;
22889fail:
22890 return NULL;
d14a1e28
RD
22891}
22892
22893
0085ce49
RD
22894SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22895 PyObject *obj;
22896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22897 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22898 return SWIG_Py_Void();
d14a1e28
RD
22899}
22900
0085ce49
RD
22901SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22902 return SWIG_Python_InitShadowInstance(args);
22903}
d14a1e28 22904
0085ce49
RD
22905SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22906 PyObject *resultobj = 0;
22907 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22908 int result;
22909 void *argp1 = 0 ;
22910 int res1 = 0 ;
22911 PyObject *swig_obj[1] ;
22912
22913 if (!args) SWIG_fail;
22914 swig_obj[0] = args;
22915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22916 if (!SWIG_IsOK(res1)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22918 }
22919 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 result = (int)(arg1)->GetId();
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 resultobj = SWIG_From_int(static_cast< int >(result));
22927 return resultobj;
22928fail:
22929 return NULL;
d14a1e28
RD
22930}
22931
22932
0085ce49
RD
22933SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22934 PyObject *resultobj = 0;
22935 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22936 wxControl *result = 0 ;
22937 void *argp1 = 0 ;
22938 int res1 = 0 ;
22939 PyObject *swig_obj[1] ;
22940
22941 if (!args) SWIG_fail;
22942 swig_obj[0] = args;
22943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22944 if (!SWIG_IsOK(res1)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22946 }
22947 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 result = (wxControl *)(arg1)->GetControl();
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 {
22955 resultobj = wxPyMake_wxObject(result, 0);
22956 }
22957 return resultobj;
22958fail:
22959 return NULL;
d14a1e28
RD
22960}
22961
22962
0085ce49
RD
22963SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22964 PyObject *resultobj = 0;
22965 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22966 wxToolBarBase *result = 0 ;
22967 void *argp1 = 0 ;
22968 int res1 = 0 ;
22969 PyObject *swig_obj[1] ;
22970
22971 if (!args) SWIG_fail;
22972 swig_obj[0] = args;
22973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22974 if (!SWIG_IsOK(res1)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22976 }
22977 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (wxToolBarBase *)(arg1)->GetToolBar();
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 {
22985 resultobj = wxPyMake_wxObject(result, (bool)0);
22986 }
22987 return resultobj;
22988fail:
22989 return NULL;
d14a1e28
RD
22990}
22991
22992
0085ce49
RD
22993SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22994 PyObject *resultobj = 0;
22995 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22996 int result;
22997 void *argp1 = 0 ;
22998 int res1 = 0 ;
22999 PyObject *swig_obj[1] ;
23000
23001 if (!args) SWIG_fail;
23002 swig_obj[0] = args;
23003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23004 if (!SWIG_IsOK(res1)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23006 }
23007 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (int)(arg1)->IsButton();
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 resultobj = SWIG_From_int(static_cast< int >(result));
23015 return resultobj;
23016fail:
23017 return NULL;
d14a1e28
RD
23018}
23019
23020
0085ce49
RD
23021SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23022 PyObject *resultobj = 0;
23023 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23024 int result;
23025 void *argp1 = 0 ;
23026 int res1 = 0 ;
23027 PyObject *swig_obj[1] ;
23028
23029 if (!args) SWIG_fail;
23030 swig_obj[0] = args;
23031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23032 if (!SWIG_IsOK(res1)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23034 }
23035 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = (int)(arg1)->IsControl();
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_From_int(static_cast< int >(result));
23043 return resultobj;
23044fail:
23045 return NULL;
d14a1e28
RD
23046}
23047
23048
0085ce49
RD
23049SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23050 PyObject *resultobj = 0;
23051 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23052 int result;
23053 void *argp1 = 0 ;
23054 int res1 = 0 ;
23055 PyObject *swig_obj[1] ;
23056
23057 if (!args) SWIG_fail;
23058 swig_obj[0] = args;
23059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23060 if (!SWIG_IsOK(res1)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23062 }
23063 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (int)(arg1)->IsSeparator();
23067 wxPyEndAllowThreads(__tstate);
23068 if (PyErr_Occurred()) SWIG_fail;
23069 }
23070 resultobj = SWIG_From_int(static_cast< int >(result));
23071 return resultobj;
23072fail:
23073 return NULL;
d14a1e28
RD
23074}
23075
23076
0085ce49
RD
23077SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23078 PyObject *resultobj = 0;
23079 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23080 int result;
23081 void *argp1 = 0 ;
23082 int res1 = 0 ;
23083 PyObject *swig_obj[1] ;
23084
23085 if (!args) SWIG_fail;
23086 swig_obj[0] = args;
23087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23088 if (!SWIG_IsOK(res1)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23090 }
23091 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 result = (int)(arg1)->GetStyle();
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 resultobj = SWIG_From_int(static_cast< int >(result));
23099 return resultobj;
23100fail:
23101 return NULL;
d14a1e28
RD
23102}
23103
23104
0085ce49
RD
23105SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23106 PyObject *resultobj = 0;
23107 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23108 wxItemKind result;
23109 void *argp1 = 0 ;
23110 int res1 = 0 ;
23111 PyObject *swig_obj[1] ;
23112
23113 if (!args) SWIG_fail;
23114 swig_obj[0] = args;
23115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23116 if (!SWIG_IsOK(res1)) {
23117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23118 }
23119 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 result = (wxItemKind)(arg1)->GetKind();
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 resultobj = SWIG_From_int(static_cast< int >(result));
23127 return resultobj;
23128fail:
23129 return NULL;
d14a1e28
RD
23130}
23131
23132
0085ce49
RD
23133SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23134 PyObject *resultobj = 0;
23135 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23136 bool result;
23137 void *argp1 = 0 ;
23138 int res1 = 0 ;
23139 PyObject *swig_obj[1] ;
23140
23141 if (!args) SWIG_fail;
23142 swig_obj[0] = args;
23143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23144 if (!SWIG_IsOK(res1)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23146 }
23147 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23148 {
23149 PyThreadState* __tstate = wxPyBeginAllowThreads();
23150 result = (bool)(arg1)->IsEnabled();
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 {
23155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23156 }
23157 return resultobj;
23158fail:
23159 return NULL;
d14a1e28
RD
23160}
23161
23162
0085ce49
RD
23163SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23164 PyObject *resultobj = 0;
23165 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23166 bool result;
23167 void *argp1 = 0 ;
23168 int res1 = 0 ;
23169 PyObject *swig_obj[1] ;
23170
23171 if (!args) SWIG_fail;
23172 swig_obj[0] = args;
23173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23174 if (!SWIG_IsOK(res1)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23176 }
23177 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (bool)(arg1)->IsToggled();
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23186 }
23187 return resultobj;
23188fail:
23189 return NULL;
22bfe96c
RD
23190}
23191
23192
0085ce49
RD
23193SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23194 PyObject *resultobj = 0;
23195 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23196 bool result;
23197 void *argp1 = 0 ;
23198 int res1 = 0 ;
23199 PyObject *swig_obj[1] ;
23200
23201 if (!args) SWIG_fail;
23202 swig_obj[0] = args;
23203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23204 if (!SWIG_IsOK(res1)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23206 }
23207 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 result = (bool)(arg1)->CanBeToggled();
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 {
23215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23216 }
23217 return resultobj;
23218fail:
23219 return NULL;
d1e20054
RD
23220}
23221
23222
0085ce49
RD
23223SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23224 PyObject *resultobj = 0;
23225 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23226 wxBitmap *result = 0 ;
23227 void *argp1 = 0 ;
23228 int res1 = 0 ;
23229 PyObject *swig_obj[1] ;
23230
23231 if (!args) SWIG_fail;
23232 swig_obj[0] = args;
23233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23234 if (!SWIG_IsOK(res1)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23236 }
23237 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23240 {
0085ce49
RD
23241 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23242 result = (wxBitmap *) &_result_ref;
093d3ff1 23243 }
0085ce49
RD
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 {
23248 wxBitmap* resultptr = new wxBitmap(*result);
23249 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23250 }
23251 return resultobj;
23252fail:
23253 return NULL;
d1e20054
RD
23254}
23255
23256
0085ce49
RD
23257SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23258 PyObject *resultobj = 0;
23259 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23260 wxBitmap *result = 0 ;
23261 void *argp1 = 0 ;
23262 int res1 = 0 ;
23263 PyObject *swig_obj[1] ;
23264
23265 if (!args) SWIG_fail;
23266 swig_obj[0] = args;
23267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23268 if (!SWIG_IsOK(res1)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23270 }
23271 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1e20054 23274 {
0085ce49
RD
23275 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23276 result = (wxBitmap *) &_result_ref;
d1e20054 23277 }
0085ce49
RD
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 {
23282 wxBitmap* resultptr = new wxBitmap(*result);
23283 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23284 }
23285 return resultobj;
23286fail:
23287 return NULL;
d1e20054
RD
23288}
23289
23290
0085ce49
RD
23291SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23292 PyObject *resultobj = 0;
23293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23294 wxBitmap result;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297 PyObject *swig_obj[1] ;
23298
23299 if (!args) SWIG_fail;
23300 swig_obj[0] = args;
23301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23302 if (!SWIG_IsOK(res1)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23304 }
23305 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (arg1)->GetBitmap();
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23313 return resultobj;
23314fail:
23315 return NULL;
b2dc1044
RD
23316}
23317
23318
0085ce49
RD
23319SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23320 PyObject *resultobj = 0;
23321 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23322 wxString result;
23323 void *argp1 = 0 ;
23324 int res1 = 0 ;
23325 PyObject *swig_obj[1] ;
23326
23327 if (!args) SWIG_fail;
23328 swig_obj[0] = args;
23329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23330 if (!SWIG_IsOK(res1)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23332 }
23333 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 result = (arg1)->GetLabel();
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 {
b2dc1044 23341#if wxUSE_UNICODE
0085ce49 23342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 23343#else
0085ce49 23344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 23345#endif
0085ce49
RD
23346 }
23347 return resultobj;
23348fail:
23349 return NULL;
b2dc1044
RD
23350}
23351
23352
0085ce49
RD
23353SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23354 PyObject *resultobj = 0;
23355 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23356 wxString result;
23357 void *argp1 = 0 ;
23358 int res1 = 0 ;
23359 PyObject *swig_obj[1] ;
23360
23361 if (!args) SWIG_fail;
23362 swig_obj[0] = args;
23363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23364 if (!SWIG_IsOK(res1)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23366 }
23367 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 result = (arg1)->GetShortHelp();
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 {
b2dc1044 23375#if wxUSE_UNICODE
0085ce49 23376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 23377#else
0085ce49 23378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 23379#endif
0085ce49
RD
23380 }
23381 return resultobj;
23382fail:
23383 return NULL;
d14a1e28
RD
23384}
23385
23386
0085ce49
RD
23387SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23388 PyObject *resultobj = 0;
23389 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23390 wxString result;
23391 void *argp1 = 0 ;
23392 int res1 = 0 ;
23393 PyObject *swig_obj[1] ;
23394
23395 if (!args) SWIG_fail;
23396 swig_obj[0] = args;
23397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23398 if (!SWIG_IsOK(res1)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23400 }
23401 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (arg1)->GetLongHelp();
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 {
23409#if wxUSE_UNICODE
23410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23411#else
23412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23413#endif
23414 }
23415 return resultobj;
23416fail:
23417 return NULL;
23418}
23419
23420
23421SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj = 0;
23423 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23424 bool arg2 ;
23425 bool result;
23426 void *argp1 = 0 ;
23427 int res1 = 0 ;
23428 bool val2 ;
23429 int ecode2 = 0 ;
23430 PyObject * obj0 = 0 ;
23431 PyObject * obj1 = 0 ;
23432 char * kwnames[] = {
23433 (char *) "self",(char *) "enable", NULL
23434 };
23435
23436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23438 if (!SWIG_IsOK(res1)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23440 }
23441 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23442 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23443 if (!SWIG_IsOK(ecode2)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23445 }
23446 arg2 = static_cast< bool >(val2);
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (bool)(arg1)->Enable(arg2);
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 {
23454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23455 }
23456 return resultobj;
23457fail:
23458 return NULL;
d14a1e28
RD
23459}
23460
23461
0085ce49
RD
23462SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23463 PyObject *resultobj = 0;
23464 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23465 void *argp1 = 0 ;
23466 int res1 = 0 ;
23467 PyObject *swig_obj[1] ;
23468
23469 if (!args) SWIG_fail;
23470 swig_obj[0] = args;
23471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23472 if (!SWIG_IsOK(res1)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23474 }
23475 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 (arg1)->Toggle();
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 resultobj = SWIG_Py_Void();
23483 return resultobj;
23484fail:
23485 return NULL;
23486}
23487
23488
23489SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj = 0;
23491 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23492 bool arg2 ;
23493 bool result;
23494 void *argp1 = 0 ;
23495 int res1 = 0 ;
23496 bool val2 ;
23497 int ecode2 = 0 ;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 char * kwnames[] = {
23501 (char *) "self",(char *) "toggle", NULL
23502 };
23503
23504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23506 if (!SWIG_IsOK(res1)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23508 }
23509 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23510 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23511 if (!SWIG_IsOK(ecode2)) {
23512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23513 }
23514 arg2 = static_cast< bool >(val2);
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 result = (bool)(arg1)->SetToggle(arg2);
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 {
23522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23523 }
23524 return resultobj;
23525fail:
23526 return NULL;
23527}
23528
23529
23530SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23531 PyObject *resultobj = 0;
23532 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23533 wxString *arg2 = 0 ;
23534 bool result;
23535 void *argp1 = 0 ;
23536 int res1 = 0 ;
23537 bool temp2 = false ;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char * kwnames[] = {
23541 (char *) "self",(char *) "help", NULL
23542 };
23543
23544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23546 if (!SWIG_IsOK(res1)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23548 }
23549 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23550 {
23551 arg2 = wxString_in_helper(obj1);
23552 if (arg2 == NULL) SWIG_fail;
23553 temp2 = true;
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 {
23562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23563 }
23564 {
23565 if (temp2)
23566 delete arg2;
23567 }
23568 return resultobj;
23569fail:
23570 {
23571 if (temp2)
23572 delete arg2;
23573 }
23574 return NULL;
23575}
23576
23577
23578SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23579 PyObject *resultobj = 0;
23580 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23581 wxString *arg2 = 0 ;
23582 bool result;
23583 void *argp1 = 0 ;
23584 int res1 = 0 ;
23585 bool temp2 = false ;
23586 PyObject * obj0 = 0 ;
23587 PyObject * obj1 = 0 ;
23588 char * kwnames[] = {
23589 (char *) "self",(char *) "help", NULL
23590 };
23591
23592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23594 if (!SWIG_IsOK(res1)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23596 }
23597 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23598 {
23599 arg2 = wxString_in_helper(obj1);
23600 if (arg2 == NULL) SWIG_fail;
23601 temp2 = true;
23602 }
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 {
23610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23611 }
23612 {
23613 if (temp2)
23614 delete arg2;
23615 }
23616 return resultobj;
23617fail:
23618 {
23619 if (temp2)
23620 delete arg2;
23621 }
23622 return NULL;
23623}
23624
23625
23626SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj = 0;
23628 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23629 wxBitmap *arg2 = 0 ;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 void *argp2 = 0 ;
23633 int res2 = 0 ;
23634 PyObject * obj0 = 0 ;
23635 PyObject * obj1 = 0 ;
23636 char * kwnames[] = {
23637 (char *) "self",(char *) "bmp", NULL
23638 };
23639
23640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23642 if (!SWIG_IsOK(res1)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23644 }
23645 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23646 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23647 if (!SWIG_IsOK(res2)) {
23648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23649 }
23650 if (!argp2) {
23651 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23652 }
23653 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 resultobj = SWIG_Py_Void();
23661 return resultobj;
23662fail:
23663 return NULL;
23664}
23665
23666
23667SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23668 PyObject *resultobj = 0;
23669 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23670 wxBitmap *arg2 = 0 ;
23671 void *argp1 = 0 ;
23672 int res1 = 0 ;
23673 void *argp2 = 0 ;
23674 int res2 = 0 ;
23675 PyObject * obj0 = 0 ;
23676 PyObject * obj1 = 0 ;
23677 char * kwnames[] = {
23678 (char *) "self",(char *) "bmp", NULL
23679 };
23680
23681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23683 if (!SWIG_IsOK(res1)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23685 }
23686 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23687 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23688 if (!SWIG_IsOK(res2)) {
23689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23690 }
23691 if (!argp2) {
23692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23693 }
23694 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 resultobj = SWIG_Py_Void();
23702 return resultobj;
23703fail:
23704 return NULL;
23705}
23706
23707
23708SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23709 PyObject *resultobj = 0;
23710 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23711 wxString *arg2 = 0 ;
23712 void *argp1 = 0 ;
23713 int res1 = 0 ;
23714 bool temp2 = false ;
23715 PyObject * obj0 = 0 ;
23716 PyObject * obj1 = 0 ;
23717 char * kwnames[] = {
23718 (char *) "self",(char *) "label", NULL
23719 };
23720
23721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23723 if (!SWIG_IsOK(res1)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23725 }
23726 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23727 {
23728 arg2 = wxString_in_helper(obj1);
23729 if (arg2 == NULL) SWIG_fail;
23730 temp2 = true;
23731 }
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 (arg1)->SetLabel((wxString const &)*arg2);
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = SWIG_Py_Void();
23739 {
23740 if (temp2)
23741 delete arg2;
23742 }
23743 return resultobj;
23744fail:
23745 {
23746 if (temp2)
23747 delete arg2;
23748 }
23749 return NULL;
d14a1e28
RD
23750}
23751
23752
0085ce49
RD
23753SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23754 PyObject *resultobj = 0;
23755 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23756 void *argp1 = 0 ;
23757 int res1 = 0 ;
23758 PyObject *swig_obj[1] ;
23759
23760 if (!args) SWIG_fail;
23761 swig_obj[0] = args;
23762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23763 if (!SWIG_IsOK(res1)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23765 }
23766 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 (arg1)->Detach();
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 resultobj = SWIG_Py_Void();
23774 return resultobj;
23775fail:
23776 return NULL;
23777}
23778
23779
23780SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj = 0;
23782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23783 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23784 void *argp1 = 0 ;
23785 int res1 = 0 ;
23786 void *argp2 = 0 ;
23787 int res2 = 0 ;
23788 PyObject * obj0 = 0 ;
23789 PyObject * obj1 = 0 ;
23790 char * kwnames[] = {
23791 (char *) "self",(char *) "tbar", NULL
23792 };
23793
23794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23796 if (!SWIG_IsOK(res1)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23798 }
23799 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23801 if (!SWIG_IsOK(res2)) {
23802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23803 }
23804 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 (arg1)->Attach(arg2);
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 resultobj = SWIG_Py_Void();
23812 return resultobj;
23813fail:
23814 return NULL;
d14a1e28
RD
23815}
23816
23817
0085ce49
RD
23818SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23819 PyObject *resultobj = 0;
23820 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23821 PyObject *result = 0 ;
23822 void *argp1 = 0 ;
23823 int res1 = 0 ;
23824 PyObject *swig_obj[1] ;
23825
23826 if (!args) SWIG_fail;
23827 swig_obj[0] = args;
23828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23829 if (!SWIG_IsOK(res1)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23831 }
23832 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 resultobj = result;
23840 return resultobj;
23841fail:
23842 return NULL;
23843}
23844
23845
23846SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23847 PyObject *resultobj = 0;
23848 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23849 PyObject *arg2 = (PyObject *) 0 ;
23850 void *argp1 = 0 ;
23851 int res1 = 0 ;
23852 PyObject * obj0 = 0 ;
23853 PyObject * obj1 = 0 ;
23854 char * kwnames[] = {
23855 (char *) "self",(char *) "clientData", NULL
23856 };
23857
23858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23860 if (!SWIG_IsOK(res1)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23862 }
23863 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23864 arg2 = obj1;
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 wxToolBarToolBase_SetClientData(arg1,arg2);
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 resultobj = SWIG_Py_Void();
23872 return resultobj;
23873fail:
23874 return NULL;
23875}
23876
23877
23878SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23879 PyObject *obj;
23880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23881 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23882 return SWIG_Py_Void();
23883}
23884
23885SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj = 0;
23887 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23888 int arg2 ;
23889 wxString *arg3 = 0 ;
23890 wxBitmap *arg4 = 0 ;
23891 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23892 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23893 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23894 wxString const &arg7_defvalue = wxPyEmptyString ;
23895 wxString *arg7 = (wxString *) &arg7_defvalue ;
23896 wxString const &arg8_defvalue = wxPyEmptyString ;
23897 wxString *arg8 = (wxString *) &arg8_defvalue ;
23898 PyObject *arg9 = (PyObject *) NULL ;
23899 wxToolBarToolBase *result = 0 ;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 int val2 ;
23903 int ecode2 = 0 ;
23904 bool temp3 = false ;
23905 void *argp4 = 0 ;
23906 int res4 = 0 ;
23907 void *argp5 = 0 ;
23908 int res5 = 0 ;
23909 int val6 ;
23910 int ecode6 = 0 ;
23911 bool temp7 = false ;
23912 bool temp8 = false ;
23913 PyObject * obj0 = 0 ;
23914 PyObject * obj1 = 0 ;
23915 PyObject * obj2 = 0 ;
23916 PyObject * obj3 = 0 ;
23917 PyObject * obj4 = 0 ;
23918 PyObject * obj5 = 0 ;
23919 PyObject * obj6 = 0 ;
23920 PyObject * obj7 = 0 ;
23921 PyObject * obj8 = 0 ;
23922 char * kwnames[] = {
23923 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23924 };
23925
23926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23928 if (!SWIG_IsOK(res1)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23930 }
23931 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23932 ecode2 = SWIG_AsVal_int(obj1, &val2);
23933 if (!SWIG_IsOK(ecode2)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23935 }
23936 arg2 = static_cast< int >(val2);
23937 {
23938 arg3 = wxString_in_helper(obj2);
23939 if (arg3 == NULL) SWIG_fail;
23940 temp3 = true;
23941 }
23942 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23943 if (!SWIG_IsOK(res4)) {
23944 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23945 }
23946 if (!argp4) {
23947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23948 }
23949 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23950 if (obj4) {
23951 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23952 if (!SWIG_IsOK(res5)) {
23953 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
d14a1e28 23954 }
0085ce49
RD
23955 if (!argp5) {
23956 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
d14a1e28 23957 }
0085ce49
RD
23958 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23959 }
23960 if (obj5) {
23961 ecode6 = SWIG_AsVal_int(obj5, &val6);
23962 if (!SWIG_IsOK(ecode6)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23964 }
23965 arg6 = static_cast< wxItemKind >(val6);
23966 }
23967 if (obj6) {
093d3ff1 23968 {
0085ce49
RD
23969 arg7 = wxString_in_helper(obj6);
23970 if (arg7 == NULL) SWIG_fail;
23971 temp7 = true;
093d3ff1 23972 }
0085ce49
RD
23973 }
23974 if (obj7) {
d14a1e28 23975 {
0085ce49
RD
23976 arg8 = wxString_in_helper(obj7);
23977 if (arg8 == NULL) SWIG_fail;
23978 temp8 = true;
d14a1e28 23979 }
0085ce49
RD
23980 }
23981 if (obj8) {
23982 arg9 = obj8;
23983 }
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 {
23991 resultobj = wxPyMake_wxObject(result, (bool)0);
23992 }
23993 {
23994 if (temp3)
23995 delete arg3;
23996 }
23997 {
23998 if (temp7)
23999 delete arg7;
24000 }
24001 {
24002 if (temp8)
24003 delete arg8;
24004 }
24005 return resultobj;
24006fail:
24007 {
24008 if (temp3)
24009 delete arg3;
24010 }
24011 {
24012 if (temp7)
24013 delete arg7;
24014 }
24015 {
24016 if (temp8)
24017 delete arg8;
24018 }
24019 return NULL;
24020}
24021
24022
24023SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24024 PyObject *resultobj = 0;
24025 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24026 size_t arg2 ;
24027 int arg3 ;
24028 wxString *arg4 = 0 ;
24029 wxBitmap *arg5 = 0 ;
24030 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24031 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24032 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24033 wxString const &arg8_defvalue = wxPyEmptyString ;
24034 wxString *arg8 = (wxString *) &arg8_defvalue ;
24035 wxString const &arg9_defvalue = wxPyEmptyString ;
24036 wxString *arg9 = (wxString *) &arg9_defvalue ;
24037 PyObject *arg10 = (PyObject *) NULL ;
24038 wxToolBarToolBase *result = 0 ;
24039 void *argp1 = 0 ;
24040 int res1 = 0 ;
24041 size_t val2 ;
24042 int ecode2 = 0 ;
24043 int val3 ;
24044 int ecode3 = 0 ;
24045 bool temp4 = false ;
24046 void *argp5 = 0 ;
24047 int res5 = 0 ;
24048 void *argp6 = 0 ;
24049 int res6 = 0 ;
24050 int val7 ;
24051 int ecode7 = 0 ;
24052 bool temp8 = false ;
24053 bool temp9 = false ;
24054 PyObject * obj0 = 0 ;
24055 PyObject * obj1 = 0 ;
24056 PyObject * obj2 = 0 ;
24057 PyObject * obj3 = 0 ;
24058 PyObject * obj4 = 0 ;
24059 PyObject * obj5 = 0 ;
24060 PyObject * obj6 = 0 ;
24061 PyObject * obj7 = 0 ;
24062 PyObject * obj8 = 0 ;
24063 PyObject * obj9 = 0 ;
24064 char * kwnames[] = {
24065 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24066 };
24067
24068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24070 if (!SWIG_IsOK(res1)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24072 }
24073 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24074 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24075 if (!SWIG_IsOK(ecode2)) {
24076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24077 }
24078 arg2 = static_cast< size_t >(val2);
24079 ecode3 = SWIG_AsVal_int(obj2, &val3);
24080 if (!SWIG_IsOK(ecode3)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24082 }
24083 arg3 = static_cast< int >(val3);
24084 {
24085 arg4 = wxString_in_helper(obj3);
24086 if (arg4 == NULL) SWIG_fail;
24087 temp4 = true;
24088 }
24089 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24090 if (!SWIG_IsOK(res5)) {
24091 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24092 }
24093 if (!argp5) {
24094 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24095 }
24096 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24097 if (obj5) {
24098 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24099 if (!SWIG_IsOK(res6)) {
24100 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d14a1e28 24101 }
0085ce49
RD
24102 if (!argp6) {
24103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
093d3ff1 24104 }
0085ce49
RD
24105 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24106 }
24107 if (obj6) {
24108 ecode7 = SWIG_AsVal_int(obj6, &val7);
24109 if (!SWIG_IsOK(ecode7)) {
24110 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24111 }
24112 arg7 = static_cast< wxItemKind >(val7);
24113 }
24114 if (obj7) {
d14a1e28 24115 {
0085ce49
RD
24116 arg8 = wxString_in_helper(obj7);
24117 if (arg8 == NULL) SWIG_fail;
24118 temp8 = true;
d14a1e28 24119 }
0085ce49
RD
24120 }
24121 if (obj8) {
d14a1e28 24122 {
0085ce49
RD
24123 arg9 = wxString_in_helper(obj8);
24124 if (arg9 == NULL) SWIG_fail;
24125 temp9 = true;
d14a1e28 24126 }
0085ce49
RD
24127 }
24128 if (obj9) {
24129 arg10 = obj9;
24130 }
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 {
24138 resultobj = wxPyMake_wxObject(result, (bool)0);
24139 }
24140 {
24141 if (temp4)
24142 delete arg4;
24143 }
24144 {
24145 if (temp8)
24146 delete arg8;
24147 }
24148 {
24149 if (temp9)
24150 delete arg9;
24151 }
24152 return resultobj;
24153fail:
24154 {
24155 if (temp4)
24156 delete arg4;
24157 }
24158 {
24159 if (temp8)
24160 delete arg8;
24161 }
24162 {
24163 if (temp9)
24164 delete arg9;
24165 }
24166 return NULL;
24167}
24168
24169
24170SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj = 0;
24172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24173 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24174 wxToolBarToolBase *result = 0 ;
24175 void *argp1 = 0 ;
24176 int res1 = 0 ;
24177 void *argp2 = 0 ;
24178 int res2 = 0 ;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char * kwnames[] = {
24182 (char *) "self",(char *) "tool", NULL
24183 };
24184
24185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24187 if (!SWIG_IsOK(res1)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24189 }
24190 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24192 if (!SWIG_IsOK(res2)) {
24193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24194 }
24195 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 {
24203 resultobj = wxPyMake_wxObject(result, (bool)0);
24204 }
24205 return resultobj;
24206fail:
24207 return NULL;
24208}
24209
24210
24211SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24212 PyObject *resultobj = 0;
24213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24214 size_t arg2 ;
24215 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24216 wxToolBarToolBase *result = 0 ;
24217 void *argp1 = 0 ;
24218 int res1 = 0 ;
24219 size_t val2 ;
24220 int ecode2 = 0 ;
24221 void *argp3 = 0 ;
24222 int res3 = 0 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 PyObject * obj2 = 0 ;
24226 char * kwnames[] = {
24227 (char *) "self",(char *) "pos",(char *) "tool", NULL
24228 };
24229
24230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24232 if (!SWIG_IsOK(res1)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24234 }
24235 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24236 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24237 if (!SWIG_IsOK(ecode2)) {
24238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24239 }
24240 arg2 = static_cast< size_t >(val2);
24241 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24242 if (!SWIG_IsOK(res3)) {
24243 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24244 }
24245 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 {
24253 resultobj = wxPyMake_wxObject(result, (bool)0);
24254 }
24255 return resultobj;
24256fail:
24257 return NULL;
24258}
24259
24260
24261SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj = 0;
24263 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24264 wxControl *arg2 = (wxControl *) 0 ;
24265 wxToolBarToolBase *result = 0 ;
24266 void *argp1 = 0 ;
24267 int res1 = 0 ;
24268 void *argp2 = 0 ;
24269 int res2 = 0 ;
24270 PyObject * obj0 = 0 ;
24271 PyObject * obj1 = 0 ;
24272 char * kwnames[] = {
24273 (char *) "self",(char *) "control", NULL
24274 };
24275
24276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24278 if (!SWIG_IsOK(res1)) {
24279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24280 }
24281 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24283 if (!SWIG_IsOK(res2)) {
24284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24285 }
24286 arg2 = reinterpret_cast< wxControl * >(argp2);
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 {
24294 resultobj = wxPyMake_wxObject(result, (bool)0);
24295 }
24296 return resultobj;
24297fail:
24298 return NULL;
24299}
24300
24301
24302SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj = 0;
24304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24305 size_t arg2 ;
24306 wxControl *arg3 = (wxControl *) 0 ;
24307 wxToolBarToolBase *result = 0 ;
24308 void *argp1 = 0 ;
24309 int res1 = 0 ;
24310 size_t val2 ;
24311 int ecode2 = 0 ;
24312 void *argp3 = 0 ;
24313 int res3 = 0 ;
24314 PyObject * obj0 = 0 ;
24315 PyObject * obj1 = 0 ;
24316 PyObject * obj2 = 0 ;
24317 char * kwnames[] = {
24318 (char *) "self",(char *) "pos",(char *) "control", NULL
24319 };
24320
24321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24323 if (!SWIG_IsOK(res1)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24325 }
24326 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24327 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24328 if (!SWIG_IsOK(ecode2)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24330 }
24331 arg2 = static_cast< size_t >(val2);
24332 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24333 if (!SWIG_IsOK(res3)) {
24334 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24335 }
24336 arg3 = reinterpret_cast< wxControl * >(argp3);
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 {
24344 resultobj = wxPyMake_wxObject(result, (bool)0);
24345 }
24346 return resultobj;
24347fail:
24348 return NULL;
24349}
24350
24351
24352SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj = 0;
24354 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24355 int arg2 ;
24356 wxControl *result = 0 ;
24357 void *argp1 = 0 ;
24358 int res1 = 0 ;
24359 int val2 ;
24360 int ecode2 = 0 ;
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 char * kwnames[] = {
24364 (char *) "self",(char *) "id", NULL
24365 };
24366
24367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24369 if (!SWIG_IsOK(res1)) {
24370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24371 }
24372 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24373 ecode2 = SWIG_AsVal_int(obj1, &val2);
24374 if (!SWIG_IsOK(ecode2)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24376 }
24377 arg2 = static_cast< int >(val2);
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 result = (wxControl *)(arg1)->FindControl(arg2);
24381 wxPyEndAllowThreads(__tstate);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 }
24384 {
24385 resultobj = wxPyMake_wxObject(result, 0);
24386 }
24387 return resultobj;
24388fail:
24389 return NULL;
d14a1e28
RD
24390}
24391
24392
0085ce49
RD
24393SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24394 PyObject *resultobj = 0;
24395 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24396 wxToolBarToolBase *result = 0 ;
24397 void *argp1 = 0 ;
24398 int res1 = 0 ;
24399 PyObject *swig_obj[1] ;
24400
24401 if (!args) SWIG_fail;
24402 swig_obj[0] = args;
24403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24406 }
24407 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 resultobj = wxPyMake_wxObject(result, (bool)0);
24416 }
24417 return resultobj;
24418fail:
24419 return NULL;
24420}
24421
24422
24423SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj = 0;
24425 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24426 size_t arg2 ;
24427 wxToolBarToolBase *result = 0 ;
24428 void *argp1 = 0 ;
24429 int res1 = 0 ;
24430 size_t val2 ;
24431 int ecode2 = 0 ;
24432 PyObject * obj0 = 0 ;
24433 PyObject * obj1 = 0 ;
24434 char * kwnames[] = {
24435 (char *) "self",(char *) "pos", NULL
24436 };
24437
24438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24440 if (!SWIG_IsOK(res1)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24442 }
24443 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24444 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24445 if (!SWIG_IsOK(ecode2)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24447 }
24448 arg2 = static_cast< size_t >(val2);
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
24451 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 {
24456 resultobj = wxPyMake_wxObject(result, (bool)0);
24457 }
24458 return resultobj;
24459fail:
24460 return NULL;
24461}
24462
24463
24464SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj = 0;
24466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24467 int arg2 ;
24468 wxToolBarToolBase *result = 0 ;
24469 void *argp1 = 0 ;
24470 int res1 = 0 ;
24471 int val2 ;
24472 int ecode2 = 0 ;
24473 PyObject * obj0 = 0 ;
24474 PyObject * obj1 = 0 ;
24475 char * kwnames[] = {
24476 (char *) "self",(char *) "id", NULL
24477 };
24478
24479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24481 if (!SWIG_IsOK(res1)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24483 }
24484 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24485 ecode2 = SWIG_AsVal_int(obj1, &val2);
24486 if (!SWIG_IsOK(ecode2)) {
24487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24488 }
24489 arg2 = static_cast< int >(val2);
24490 {
24491 PyThreadState* __tstate = wxPyBeginAllowThreads();
24492 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 {
24497 resultobj = wxPyMake_wxObject(result, (bool)0);
24498 }
24499 return resultobj;
24500fail:
24501 return NULL;
24502}
24503
24504
24505SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj = 0;
24507 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24508 size_t arg2 ;
24509 bool result;
24510 void *argp1 = 0 ;
24511 int res1 = 0 ;
24512 size_t val2 ;
24513 int ecode2 = 0 ;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 char * kwnames[] = {
24517 (char *) "self",(char *) "pos", NULL
24518 };
24519
24520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24522 if (!SWIG_IsOK(res1)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24524 }
24525 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24526 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24527 if (!SWIG_IsOK(ecode2)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24529 }
24530 arg2 = static_cast< size_t >(val2);
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 result = (bool)(arg1)->DeleteToolByPos(arg2);
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 {
24538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24539 }
24540 return resultobj;
24541fail:
24542 return NULL;
24543}
24544
24545
24546SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj = 0;
24548 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24549 int arg2 ;
24550 bool result;
24551 void *argp1 = 0 ;
24552 int res1 = 0 ;
24553 int val2 ;
24554 int ecode2 = 0 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char * kwnames[] = {
24558 (char *) "self",(char *) "id", NULL
24559 };
24560
24561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24563 if (!SWIG_IsOK(res1)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24565 }
24566 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24567 ecode2 = SWIG_AsVal_int(obj1, &val2);
24568 if (!SWIG_IsOK(ecode2)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24570 }
24571 arg2 = static_cast< int >(val2);
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 result = (bool)(arg1)->DeleteTool(arg2);
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;
d14a1e28
RD
24584}
24585
24586
0085ce49
RD
24587SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24588 PyObject *resultobj = 0;
24589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24590 void *argp1 = 0 ;
24591 int res1 = 0 ;
24592 PyObject *swig_obj[1] ;
24593
24594 if (!args) SWIG_fail;
24595 swig_obj[0] = args;
24596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24597 if (!SWIG_IsOK(res1)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24599 }
24600 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 (arg1)->ClearTools();
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 resultobj = SWIG_Py_Void();
24608 return resultobj;
24609fail:
24610 return NULL;
d14a1e28
RD
24611}
24612
24613
0085ce49
RD
24614SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24615 PyObject *resultobj = 0;
24616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24617 bool result;
24618 void *argp1 = 0 ;
24619 int res1 = 0 ;
24620 PyObject *swig_obj[1] ;
24621
24622 if (!args) SWIG_fail;
24623 swig_obj[0] = args;
24624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24625 if (!SWIG_IsOK(res1)) {
24626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24627 }
24628 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 result = (bool)(arg1)->Realize();
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 {
24636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24637 }
24638 return resultobj;
24639fail:
24640 return NULL;
24641}
24642
24643
24644SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj = 0;
24646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24647 int arg2 ;
24648 bool arg3 ;
24649 void *argp1 = 0 ;
24650 int res1 = 0 ;
24651 int val2 ;
24652 int ecode2 = 0 ;
24653 bool val3 ;
24654 int ecode3 = 0 ;
24655 PyObject * obj0 = 0 ;
24656 PyObject * obj1 = 0 ;
24657 PyObject * obj2 = 0 ;
24658 char * kwnames[] = {
24659 (char *) "self",(char *) "id",(char *) "enable", NULL
24660 };
24661
24662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24664 if (!SWIG_IsOK(res1)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24666 }
24667 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24668 ecode2 = SWIG_AsVal_int(obj1, &val2);
24669 if (!SWIG_IsOK(ecode2)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24671 }
24672 arg2 = static_cast< int >(val2);
24673 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24674 if (!SWIG_IsOK(ecode3)) {
24675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24676 }
24677 arg3 = static_cast< bool >(val3);
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 (arg1)->EnableTool(arg2,arg3);
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 resultobj = SWIG_Py_Void();
24685 return resultobj;
24686fail:
24687 return NULL;
24688}
24689
24690
24691SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24692 PyObject *resultobj = 0;
24693 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24694 int arg2 ;
24695 bool arg3 ;
24696 void *argp1 = 0 ;
24697 int res1 = 0 ;
24698 int val2 ;
24699 int ecode2 = 0 ;
24700 bool val3 ;
24701 int ecode3 = 0 ;
24702 PyObject * obj0 = 0 ;
24703 PyObject * obj1 = 0 ;
24704 PyObject * obj2 = 0 ;
24705 char * kwnames[] = {
24706 (char *) "self",(char *) "id",(char *) "toggle", NULL
24707 };
24708
24709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24711 if (!SWIG_IsOK(res1)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24713 }
24714 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24715 ecode2 = SWIG_AsVal_int(obj1, &val2);
24716 if (!SWIG_IsOK(ecode2)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24718 }
24719 arg2 = static_cast< int >(val2);
24720 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24721 if (!SWIG_IsOK(ecode3)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24723 }
24724 arg3 = static_cast< bool >(val3);
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 (arg1)->ToggleTool(arg2,arg3);
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
24731 resultobj = SWIG_Py_Void();
24732 return resultobj;
24733fail:
24734 return NULL;
24735}
24736
24737
24738SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj = 0;
24740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24741 int arg2 ;
24742 bool arg3 ;
24743 void *argp1 = 0 ;
24744 int res1 = 0 ;
24745 int val2 ;
24746 int ecode2 = 0 ;
24747 bool val3 ;
24748 int ecode3 = 0 ;
24749 PyObject * obj0 = 0 ;
24750 PyObject * obj1 = 0 ;
24751 PyObject * obj2 = 0 ;
24752 char * kwnames[] = {
24753 (char *) "self",(char *) "id",(char *) "toggle", NULL
24754 };
24755
24756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24758 if (!SWIG_IsOK(res1)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24760 }
24761 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24762 ecode2 = SWIG_AsVal_int(obj1, &val2);
24763 if (!SWIG_IsOK(ecode2)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24765 }
24766 arg2 = static_cast< int >(val2);
24767 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24768 if (!SWIG_IsOK(ecode3)) {
24769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24770 }
24771 arg3 = static_cast< bool >(val3);
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 (arg1)->SetToggle(arg2,arg3);
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 resultobj = SWIG_Py_Void();
24779 return resultobj;
24780fail:
24781 return NULL;
24782}
24783
24784
24785SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24786 PyObject *resultobj = 0;
24787 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24788 int arg2 ;
24789 PyObject *result = 0 ;
24790 void *argp1 = 0 ;
24791 int res1 = 0 ;
24792 int val2 ;
24793 int ecode2 = 0 ;
24794 PyObject * obj0 = 0 ;
24795 PyObject * obj1 = 0 ;
24796 char * kwnames[] = {
24797 (char *) "self",(char *) "id", NULL
24798 };
24799
24800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24802 if (!SWIG_IsOK(res1)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24804 }
24805 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24806 ecode2 = SWIG_AsVal_int(obj1, &val2);
24807 if (!SWIG_IsOK(ecode2)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24809 }
24810 arg2 = static_cast< int >(val2);
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 resultobj = result;
24818 return resultobj;
24819fail:
24820 return NULL;
24821}
24822
24823
24824SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj = 0;
24826 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24827 int arg2 ;
24828 PyObject *arg3 = (PyObject *) 0 ;
24829 void *argp1 = 0 ;
24830 int res1 = 0 ;
24831 int val2 ;
24832 int ecode2 = 0 ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 PyObject * obj2 = 0 ;
24836 char * kwnames[] = {
24837 (char *) "self",(char *) "id",(char *) "clientData", NULL
24838 };
24839
24840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24842 if (!SWIG_IsOK(res1)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24844 }
24845 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24846 ecode2 = SWIG_AsVal_int(obj1, &val2);
24847 if (!SWIG_IsOK(ecode2)) {
24848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24849 }
24850 arg2 = static_cast< int >(val2);
24851 arg3 = obj2;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 resultobj = SWIG_Py_Void();
24859 return resultobj;
24860fail:
24861 return NULL;
24862}
24863
24864
24865SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj = 0;
24867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24868 int arg2 ;
24869 int result;
24870 void *argp1 = 0 ;
24871 int res1 = 0 ;
24872 int val2 ;
24873 int ecode2 = 0 ;
24874 PyObject * obj0 = 0 ;
24875 PyObject * obj1 = 0 ;
24876 char * kwnames[] = {
24877 (char *) "self",(char *) "id", NULL
24878 };
24879
24880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24882 if (!SWIG_IsOK(res1)) {
24883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24884 }
24885 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24886 ecode2 = SWIG_AsVal_int(obj1, &val2);
24887 if (!SWIG_IsOK(ecode2)) {
24888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24889 }
24890 arg2 = static_cast< int >(val2);
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 resultobj = SWIG_From_int(static_cast< int >(result));
24898 return resultobj;
24899fail:
24900 return NULL;
24901}
24902
24903
24904SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24905 PyObject *resultobj = 0;
24906 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24907 int arg2 ;
24908 bool result;
24909 void *argp1 = 0 ;
24910 int res1 = 0 ;
24911 int val2 ;
24912 int ecode2 = 0 ;
24913 PyObject * obj0 = 0 ;
24914 PyObject * obj1 = 0 ;
24915 char * kwnames[] = {
24916 (char *) "self",(char *) "id", NULL
24917 };
24918
24919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24921 if (!SWIG_IsOK(res1)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24923 }
24924 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24925 ecode2 = SWIG_AsVal_int(obj1, &val2);
24926 if (!SWIG_IsOK(ecode2)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24928 }
24929 arg2 = static_cast< int >(val2);
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 result = (bool)(arg1)->GetToolState(arg2);
24933 wxPyEndAllowThreads(__tstate);
24934 if (PyErr_Occurred()) SWIG_fail;
24935 }
24936 {
24937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24938 }
24939 return resultobj;
24940fail:
24941 return NULL;
24942}
24943
24944
24945SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj = 0;
24947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24948 int arg2 ;
24949 bool result;
24950 void *argp1 = 0 ;
24951 int res1 = 0 ;
24952 int val2 ;
24953 int ecode2 = 0 ;
24954 PyObject * obj0 = 0 ;
24955 PyObject * obj1 = 0 ;
24956 char * kwnames[] = {
24957 (char *) "self",(char *) "id", NULL
24958 };
24959
24960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24962 if (!SWIG_IsOK(res1)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24964 }
24965 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24966 ecode2 = SWIG_AsVal_int(obj1, &val2);
24967 if (!SWIG_IsOK(ecode2)) {
24968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24969 }
24970 arg2 = static_cast< int >(val2);
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (bool)(arg1)->GetToolEnabled(arg2);
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 {
24978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24979 }
24980 return resultobj;
24981fail:
24982 return NULL;
24983}
24984
24985
24986SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj = 0;
24988 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24989 int arg2 ;
24990 wxString *arg3 = 0 ;
24991 void *argp1 = 0 ;
24992 int res1 = 0 ;
24993 int val2 ;
24994 int ecode2 = 0 ;
24995 bool temp3 = false ;
24996 PyObject * obj0 = 0 ;
24997 PyObject * obj1 = 0 ;
24998 PyObject * obj2 = 0 ;
24999 char * kwnames[] = {
25000 (char *) "self",(char *) "id",(char *) "helpString", NULL
25001 };
25002
25003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25005 if (!SWIG_IsOK(res1)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25007 }
25008 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25009 ecode2 = SWIG_AsVal_int(obj1, &val2);
25010 if (!SWIG_IsOK(ecode2)) {
25011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25012 }
25013 arg2 = static_cast< int >(val2);
25014 {
25015 arg3 = wxString_in_helper(obj2);
25016 if (arg3 == NULL) SWIG_fail;
25017 temp3 = true;
25018 }
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25022 wxPyEndAllowThreads(__tstate);
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
25025 resultobj = SWIG_Py_Void();
25026 {
25027 if (temp3)
25028 delete arg3;
25029 }
25030 return resultobj;
25031fail:
25032 {
25033 if (temp3)
25034 delete arg3;
25035 }
25036 return NULL;
25037}
25038
25039
25040SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25041 PyObject *resultobj = 0;
25042 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25043 int arg2 ;
25044 wxString result;
25045 void *argp1 = 0 ;
25046 int res1 = 0 ;
25047 int val2 ;
25048 int ecode2 = 0 ;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 char * kwnames[] = {
25052 (char *) "self",(char *) "id", NULL
25053 };
25054
25055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25057 if (!SWIG_IsOK(res1)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25059 }
25060 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25061 ecode2 = SWIG_AsVal_int(obj1, &val2);
25062 if (!SWIG_IsOK(ecode2)) {
25063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25064 }
25065 arg2 = static_cast< int >(val2);
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 result = (arg1)->GetToolShortHelp(arg2);
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 {
25073#if wxUSE_UNICODE
25074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25075#else
25076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25077#endif
25078 }
25079 return resultobj;
25080fail:
25081 return NULL;
25082}
25083
25084
25085SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj = 0;
25087 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25088 int arg2 ;
25089 wxString *arg3 = 0 ;
25090 void *argp1 = 0 ;
25091 int res1 = 0 ;
25092 int val2 ;
25093 int ecode2 = 0 ;
25094 bool temp3 = false ;
25095 PyObject * obj0 = 0 ;
25096 PyObject * obj1 = 0 ;
25097 PyObject * obj2 = 0 ;
25098 char * kwnames[] = {
25099 (char *) "self",(char *) "id",(char *) "helpString", NULL
25100 };
25101
25102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25104 if (!SWIG_IsOK(res1)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25106 }
25107 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25108 ecode2 = SWIG_AsVal_int(obj1, &val2);
25109 if (!SWIG_IsOK(ecode2)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25111 }
25112 arg2 = static_cast< int >(val2);
25113 {
25114 arg3 = wxString_in_helper(obj2);
25115 if (arg3 == NULL) SWIG_fail;
25116 temp3 = true;
25117 }
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 resultobj = SWIG_Py_Void();
25125 {
25126 if (temp3)
25127 delete arg3;
25128 }
25129 return resultobj;
25130fail:
25131 {
25132 if (temp3)
25133 delete arg3;
25134 }
25135 return NULL;
25136}
25137
25138
25139SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj = 0;
25141 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25142 int arg2 ;
25143 wxString result;
25144 void *argp1 = 0 ;
25145 int res1 = 0 ;
25146 int val2 ;
25147 int ecode2 = 0 ;
25148 PyObject * obj0 = 0 ;
25149 PyObject * obj1 = 0 ;
25150 char * kwnames[] = {
25151 (char *) "self",(char *) "id", NULL
25152 };
25153
25154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25156 if (!SWIG_IsOK(res1)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25158 }
25159 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25160 ecode2 = SWIG_AsVal_int(obj1, &val2);
25161 if (!SWIG_IsOK(ecode2)) {
25162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25163 }
25164 arg2 = static_cast< int >(val2);
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (arg1)->GetToolLongHelp(arg2);
25168 wxPyEndAllowThreads(__tstate);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 {
25172#if wxUSE_UNICODE
25173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25174#else
25175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25176#endif
25177 }
25178 return resultobj;
25179fail:
25180 return NULL;
25181}
25182
25183
25184SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25185 PyObject *resultobj = 0;
25186 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25187 int arg2 ;
25188 int arg3 ;
25189 void *argp1 = 0 ;
25190 int res1 = 0 ;
25191 int val2 ;
25192 int ecode2 = 0 ;
25193 int val3 ;
25194 int ecode3 = 0 ;
25195 PyObject * obj0 = 0 ;
25196 PyObject * obj1 = 0 ;
25197 PyObject * obj2 = 0 ;
25198 char * kwnames[] = {
25199 (char *) "self",(char *) "x",(char *) "y", NULL
25200 };
25201
25202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25204 if (!SWIG_IsOK(res1)) {
25205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25206 }
25207 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25208 ecode2 = SWIG_AsVal_int(obj1, &val2);
25209 if (!SWIG_IsOK(ecode2)) {
25210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25211 }
25212 arg2 = static_cast< int >(val2);
25213 ecode3 = SWIG_AsVal_int(obj2, &val3);
25214 if (!SWIG_IsOK(ecode3)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25216 }
25217 arg3 = static_cast< int >(val3);
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 (arg1)->SetMargins(arg2,arg3);
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 resultobj = SWIG_Py_Void();
25225 return resultobj;
25226fail:
25227 return NULL;
25228}
25229
25230
25231SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25232 PyObject *resultobj = 0;
25233 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25234 wxSize *arg2 = 0 ;
25235 void *argp1 = 0 ;
25236 int res1 = 0 ;
25237 wxSize temp2 ;
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj1 = 0 ;
25240 char * kwnames[] = {
25241 (char *) "self",(char *) "size", NULL
25242 };
25243
25244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25246 if (!SWIG_IsOK(res1)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25248 }
25249 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25250 {
25251 arg2 = &temp2;
25252 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25253 }
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 (arg1)->SetMargins((wxSize const &)*arg2);
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 resultobj = SWIG_Py_Void();
25261 return resultobj;
25262fail:
25263 return NULL;
25264}
25265
25266
25267SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25268 PyObject *resultobj = 0;
25269 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25270 int arg2 ;
25271 void *argp1 = 0 ;
25272 int res1 = 0 ;
25273 int val2 ;
25274 int ecode2 = 0 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 char * kwnames[] = {
25278 (char *) "self",(char *) "packing", NULL
25279 };
25280
25281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25283 if (!SWIG_IsOK(res1)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25285 }
25286 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25287 ecode2 = SWIG_AsVal_int(obj1, &val2);
25288 if (!SWIG_IsOK(ecode2)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25290 }
25291 arg2 = static_cast< int >(val2);
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 (arg1)->SetToolPacking(arg2);
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 resultobj = SWIG_Py_Void();
25299 return resultobj;
25300fail:
25301 return NULL;
25302}
25303
25304
25305SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj = 0;
25307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25308 int arg2 ;
25309 void *argp1 = 0 ;
25310 int res1 = 0 ;
25311 int val2 ;
25312 int ecode2 = 0 ;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
25315 char * kwnames[] = {
25316 (char *) "self",(char *) "separation", NULL
25317 };
25318
25319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25321 if (!SWIG_IsOK(res1)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25323 }
25324 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25325 ecode2 = SWIG_AsVal_int(obj1, &val2);
25326 if (!SWIG_IsOK(ecode2)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25328 }
25329 arg2 = static_cast< int >(val2);
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 (arg1)->SetToolSeparation(arg2);
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 resultobj = SWIG_Py_Void();
25337 return resultobj;
25338fail:
25339 return NULL;
d14a1e28
RD
25340}
25341
25342
0085ce49
RD
25343SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25344 PyObject *resultobj = 0;
25345 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25346 wxSize result;
25347 void *argp1 = 0 ;
25348 int res1 = 0 ;
25349 PyObject *swig_obj[1] ;
25350
25351 if (!args) SWIG_fail;
25352 swig_obj[0] = args;
25353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25354 if (!SWIG_IsOK(res1)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25356 }
25357 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 result = (arg1)->GetToolMargins();
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25365 return resultobj;
25366fail:
25367 return NULL;
d14a1e28
RD
25368}
25369
25370
0085ce49
RD
25371SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25372 PyObject *resultobj = 0;
25373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25374 wxSize result;
25375 void *argp1 = 0 ;
25376 int res1 = 0 ;
25377 PyObject *swig_obj[1] ;
25378
25379 if (!args) SWIG_fail;
25380 swig_obj[0] = args;
25381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25382 if (!SWIG_IsOK(res1)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25384 }
25385 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 result = (arg1)->GetMargins();
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25393 return resultobj;
25394fail:
25395 return NULL;
d14a1e28
RD
25396}
25397
25398
0085ce49
RD
25399SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25400 PyObject *resultobj = 0;
25401 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25402 int result;
25403 void *argp1 = 0 ;
25404 int res1 = 0 ;
25405 PyObject *swig_obj[1] ;
25406
25407 if (!args) SWIG_fail;
25408 swig_obj[0] = args;
25409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25410 if (!SWIG_IsOK(res1)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25412 }
25413 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25414 {
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 result = (int)(arg1)->GetToolPacking();
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 resultobj = SWIG_From_int(static_cast< int >(result));
25421 return resultobj;
25422fail:
25423 return NULL;
d14a1e28
RD
25424}
25425
25426
0085ce49
RD
25427SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25428 PyObject *resultobj = 0;
25429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25430 int result;
25431 void *argp1 = 0 ;
25432 int res1 = 0 ;
25433 PyObject *swig_obj[1] ;
25434
25435 if (!args) SWIG_fail;
25436 swig_obj[0] = args;
25437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25438 if (!SWIG_IsOK(res1)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25440 }
25441 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
25444 result = (int)(arg1)->GetToolSeparation();
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 resultobj = SWIG_From_int(static_cast< int >(result));
25449 return resultobj;
25450fail:
25451 return NULL;
25452}
25453
25454
25455SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25456 PyObject *resultobj = 0;
25457 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25458 int arg2 ;
25459 void *argp1 = 0 ;
25460 int res1 = 0 ;
25461 int val2 ;
25462 int ecode2 = 0 ;
25463 PyObject * obj0 = 0 ;
25464 PyObject * obj1 = 0 ;
25465 char * kwnames[] = {
25466 (char *) "self",(char *) "nRows", NULL
25467 };
25468
25469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25471 if (!SWIG_IsOK(res1)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25473 }
25474 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25475 ecode2 = SWIG_AsVal_int(obj1, &val2);
25476 if (!SWIG_IsOK(ecode2)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25478 }
25479 arg2 = static_cast< int >(val2);
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 (arg1)->SetRows(arg2);
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 resultobj = SWIG_Py_Void();
25487 return resultobj;
25488fail:
25489 return NULL;
25490}
25491
25492
25493SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25494 PyObject *resultobj = 0;
25495 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25496 int arg2 ;
25497 int arg3 ;
25498 void *argp1 = 0 ;
25499 int res1 = 0 ;
25500 int val2 ;
25501 int ecode2 = 0 ;
25502 int val3 ;
25503 int ecode3 = 0 ;
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 PyObject * obj2 = 0 ;
25507 char * kwnames[] = {
25508 (char *) "self",(char *) "rows",(char *) "cols", NULL
25509 };
25510
25511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25513 if (!SWIG_IsOK(res1)) {
25514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25515 }
25516 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25517 ecode2 = SWIG_AsVal_int(obj1, &val2);
25518 if (!SWIG_IsOK(ecode2)) {
25519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25520 }
25521 arg2 = static_cast< int >(val2);
25522 ecode3 = SWIG_AsVal_int(obj2, &val3);
25523 if (!SWIG_IsOK(ecode3)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25525 }
25526 arg3 = static_cast< int >(val3);
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 (arg1)->SetMaxRowsCols(arg2,arg3);
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 resultobj = SWIG_Py_Void();
25534 return resultobj;
25535fail:
25536 return NULL;
22bfe96c
RD
25537}
25538
25539
0085ce49
RD
25540SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25541 PyObject *resultobj = 0;
25542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25543 int result;
25544 void *argp1 = 0 ;
25545 int res1 = 0 ;
25546 PyObject *swig_obj[1] ;
25547
25548 if (!args) SWIG_fail;
25549 swig_obj[0] = args;
25550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25551 if (!SWIG_IsOK(res1)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25553 }
25554 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25555 {
25556 PyThreadState* __tstate = wxPyBeginAllowThreads();
25557 result = (int)(arg1)->GetMaxRows();
25558 wxPyEndAllowThreads(__tstate);
25559 if (PyErr_Occurred()) SWIG_fail;
25560 }
25561 resultobj = SWIG_From_int(static_cast< int >(result));
25562 return resultobj;
25563fail:
25564 return NULL;
d14a1e28
RD
25565}
25566
25567
0085ce49
RD
25568SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25569 PyObject *resultobj = 0;
25570 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25571 int result;
25572 void *argp1 = 0 ;
25573 int res1 = 0 ;
25574 PyObject *swig_obj[1] ;
25575
25576 if (!args) SWIG_fail;
25577 swig_obj[0] = args;
25578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25579 if (!SWIG_IsOK(res1)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25581 }
25582 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (int)(arg1)->GetMaxCols();
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 resultobj = SWIG_From_int(static_cast< int >(result));
25590 return resultobj;
25591fail:
25592 return NULL;
25593}
25594
25595
25596SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj = 0;
25598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25599 wxSize *arg2 = 0 ;
25600 void *argp1 = 0 ;
25601 int res1 = 0 ;
25602 wxSize temp2 ;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 char * kwnames[] = {
25606 (char *) "self",(char *) "size", NULL
25607 };
25608
25609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25611 if (!SWIG_IsOK(res1)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25613 }
25614 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25615 {
25616 arg2 = &temp2;
25617 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25618 }
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 resultobj = SWIG_Py_Void();
25626 return resultobj;
25627fail:
25628 return NULL;
d14a1e28
RD
25629}
25630
25631
0085ce49
RD
25632SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25633 PyObject *resultobj = 0;
25634 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25635 wxSize result;
25636 void *argp1 = 0 ;
25637 int res1 = 0 ;
25638 PyObject *swig_obj[1] ;
25639
25640 if (!args) SWIG_fail;
25641 swig_obj[0] = args;
25642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25643 if (!SWIG_IsOK(res1)) {
25644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25645 }
25646 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 result = (arg1)->GetToolBitmapSize();
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25654 return resultobj;
25655fail:
25656 return NULL;
d14a1e28
RD
25657}
25658
25659
0085ce49
RD
25660SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25661 PyObject *resultobj = 0;
25662 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25663 wxSize result;
25664 void *argp1 = 0 ;
25665 int res1 = 0 ;
25666 PyObject *swig_obj[1] ;
25667
25668 if (!args) SWIG_fail;
25669 swig_obj[0] = args;
25670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25671 if (!SWIG_IsOK(res1)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25673 }
25674 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 result = (arg1)->GetToolSize();
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25682 return resultobj;
25683fail:
25684 return NULL;
25685}
25686
25687
25688SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj = 0;
25690 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25691 int arg2 ;
25692 int arg3 ;
25693 wxToolBarToolBase *result = 0 ;
25694 void *argp1 = 0 ;
25695 int res1 = 0 ;
25696 int val2 ;
25697 int ecode2 = 0 ;
25698 int val3 ;
25699 int ecode3 = 0 ;
25700 PyObject * obj0 = 0 ;
25701 PyObject * obj1 = 0 ;
25702 PyObject * obj2 = 0 ;
25703 char * kwnames[] = {
25704 (char *) "self",(char *) "x",(char *) "y", NULL
25705 };
25706
25707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25709 if (!SWIG_IsOK(res1)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25711 }
25712 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25713 ecode2 = SWIG_AsVal_int(obj1, &val2);
25714 if (!SWIG_IsOK(ecode2)) {
25715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25716 }
25717 arg2 = static_cast< int >(val2);
25718 ecode3 = SWIG_AsVal_int(obj2, &val3);
25719 if (!SWIG_IsOK(ecode3)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25721 }
25722 arg3 = static_cast< int >(val3);
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 {
25730 resultobj = wxPyMake_wxObject(result, (bool)0);
25731 }
25732 return resultobj;
25733fail:
25734 return NULL;
25735}
25736
25737
25738SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25739 PyObject *resultobj = 0;
25740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25741 int arg2 ;
25742 wxToolBarToolBase *result = 0 ;
25743 void *argp1 = 0 ;
25744 int res1 = 0 ;
25745 int val2 ;
25746 int ecode2 = 0 ;
25747 PyObject * obj0 = 0 ;
25748 PyObject * obj1 = 0 ;
25749 char * kwnames[] = {
25750 (char *) "self",(char *) "toolid", NULL
25751 };
25752
25753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25755 if (!SWIG_IsOK(res1)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25757 }
25758 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25759 ecode2 = SWIG_AsVal_int(obj1, &val2);
25760 if (!SWIG_IsOK(ecode2)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25762 }
25763 arg2 = static_cast< int >(val2);
25764 {
25765 PyThreadState* __tstate = wxPyBeginAllowThreads();
25766 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 {
25771 resultobj = wxPyMake_wxObject(result, (bool)0);
25772 }
25773 return resultobj;
25774fail:
25775 return NULL;
d14a1e28
RD
25776}
25777
25778
0085ce49
RD
25779SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25780 PyObject *resultobj = 0;
25781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25782 bool result;
25783 void *argp1 = 0 ;
25784 int res1 = 0 ;
25785 PyObject *swig_obj[1] ;
25786
25787 if (!args) SWIG_fail;
25788 swig_obj[0] = args;
25789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25790 if (!SWIG_IsOK(res1)) {
25791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25792 }
25793 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 result = (bool)(arg1)->IsVertical();
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 {
25801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25802 }
25803 return resultobj;
25804fail:
25805 return NULL;
25806}
25807
25808
25809SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25810 PyObject *resultobj = 0;
25811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25812 size_t result;
25813 void *argp1 = 0 ;
25814 int res1 = 0 ;
25815 PyObject *swig_obj[1] ;
25816
25817 if (!args) SWIG_fail;
25818 swig_obj[0] = args;
25819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25820 if (!SWIG_IsOK(res1)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25822 }
25823 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25827 wxPyEndAllowThreads(__tstate);
25828 if (PyErr_Occurred()) SWIG_fail;
25829 }
25830 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25831 return resultobj;
25832fail:
25833 return NULL;
25834}
25835
25836
25837SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25838 PyObject *obj;
25839 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25840 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25841 return SWIG_Py_Void();
25842}
25843
25844SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj = 0;
25846 wxWindow *arg1 = (wxWindow *) 0 ;
25847 int arg2 = (int) -1 ;
25848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25850 wxSize const &arg4_defvalue = wxDefaultSize ;
25851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25852 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25853 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25854 wxString *arg6 = (wxString *) &arg6_defvalue ;
25855 wxToolBar *result = 0 ;
25856 void *argp1 = 0 ;
25857 int res1 = 0 ;
25858 int val2 ;
25859 int ecode2 = 0 ;
25860 wxPoint temp3 ;
25861 wxSize temp4 ;
25862 long val5 ;
25863 int ecode5 = 0 ;
25864 bool temp6 = false ;
25865 PyObject * obj0 = 0 ;
25866 PyObject * obj1 = 0 ;
25867 PyObject * obj2 = 0 ;
25868 PyObject * obj3 = 0 ;
25869 PyObject * obj4 = 0 ;
25870 PyObject * obj5 = 0 ;
25871 char * kwnames[] = {
25872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25873 };
25874
25875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25877 if (!SWIG_IsOK(res1)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25879 }
25880 arg1 = reinterpret_cast< wxWindow * >(argp1);
25881 if (obj1) {
25882 ecode2 = SWIG_AsVal_int(obj1, &val2);
25883 if (!SWIG_IsOK(ecode2)) {
25884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25885 }
25886 arg2 = static_cast< int >(val2);
25887 }
25888 if (obj2) {
25889 {
25890 arg3 = &temp3;
25891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25892 }
25893 }
25894 if (obj3) {
093d3ff1 25895 {
0085ce49
RD
25896 arg4 = &temp4;
25897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25898 }
0085ce49
RD
25899 }
25900 if (obj4) {
25901 ecode5 = SWIG_AsVal_long(obj4, &val5);
25902 if (!SWIG_IsOK(ecode5)) {
25903 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25904 }
25905 arg5 = static_cast< long >(val5);
25906 }
25907 if (obj5) {
d14a1e28 25908 {
0085ce49
RD
25909 arg6 = wxString_in_helper(obj5);
25910 if (arg6 == NULL) SWIG_fail;
25911 temp6 = true;
d14a1e28 25912 }
0085ce49
RD
25913 }
25914 {
25915 if (!wxPyCheckForApp()) SWIG_fail;
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25922 {
25923 if (temp6)
25924 delete arg6;
25925 }
25926 return resultobj;
25927fail:
25928 {
25929 if (temp6)
25930 delete arg6;
25931 }
25932 return NULL;
d14a1e28
RD
25933}
25934
25935
0085ce49
RD
25936SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25937 PyObject *resultobj = 0;
25938 wxToolBar *result = 0 ;
25939
25940 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25941 {
25942 if (!wxPyCheckForApp()) SWIG_fail;
25943 PyThreadState* __tstate = wxPyBeginAllowThreads();
25944 result = (wxToolBar *)new wxToolBar();
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25949 return resultobj;
25950fail:
25951 return NULL;
25952}
25953
25954
25955SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25956 PyObject *resultobj = 0;
25957 wxToolBar *arg1 = (wxToolBar *) 0 ;
25958 wxWindow *arg2 = (wxWindow *) 0 ;
25959 int arg3 = (int) -1 ;
25960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25962 wxSize const &arg5_defvalue = wxDefaultSize ;
25963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25964 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25965 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25966 wxString *arg7 = (wxString *) &arg7_defvalue ;
25967 bool result;
25968 void *argp1 = 0 ;
25969 int res1 = 0 ;
25970 void *argp2 = 0 ;
25971 int res2 = 0 ;
25972 int val3 ;
25973 int ecode3 = 0 ;
25974 wxPoint temp4 ;
25975 wxSize temp5 ;
25976 long val6 ;
25977 int ecode6 = 0 ;
25978 bool temp7 = false ;
25979 PyObject * obj0 = 0 ;
25980 PyObject * obj1 = 0 ;
25981 PyObject * obj2 = 0 ;
25982 PyObject * obj3 = 0 ;
25983 PyObject * obj4 = 0 ;
25984 PyObject * obj5 = 0 ;
25985 PyObject * obj6 = 0 ;
25986 char * kwnames[] = {
25987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25988 };
25989
25990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25992 if (!SWIG_IsOK(res1)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25994 }
25995 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25997 if (!SWIG_IsOK(res2)) {
25998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25999 }
26000 arg2 = reinterpret_cast< wxWindow * >(argp2);
26001 if (obj2) {
26002 ecode3 = SWIG_AsVal_int(obj2, &val3);
26003 if (!SWIG_IsOK(ecode3)) {
26004 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26005 }
26006 arg3 = static_cast< int >(val3);
26007 }
26008 if (obj3) {
26009 {
26010 arg4 = &temp4;
26011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 26012 }
0085ce49
RD
26013 }
26014 if (obj4) {
22bfe96c 26015 {
0085ce49
RD
26016 arg5 = &temp5;
26017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 26018 }
0085ce49
RD
26019 }
26020 if (obj5) {
26021 ecode6 = SWIG_AsVal_long(obj5, &val6);
26022 if (!SWIG_IsOK(ecode6)) {
26023 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26024 }
26025 arg6 = static_cast< long >(val6);
26026 }
26027 if (obj6) {
22bfe96c 26028 {
0085ce49
RD
26029 arg7 = wxString_in_helper(obj6);
26030 if (arg7 == NULL) SWIG_fail;
26031 temp7 = true;
22bfe96c 26032 }
0085ce49
RD
26033 }
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 {
26041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26042 }
26043 {
26044 if (temp7)
26045 delete arg7;
26046 }
26047 return resultobj;
26048fail:
26049 {
26050 if (temp7)
26051 delete arg7;
26052 }
26053 return NULL;
26054}
26055
26056
0085ce49
RD
26057SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26058 PyObject *resultobj = 0;
26059 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26060 SwigValueWrapper<wxVisualAttributes > result;
26061 int val1 ;
26062 int ecode1 = 0 ;
26063 PyObject * obj0 = 0 ;
26064 char * kwnames[] = {
26065 (char *) "variant", NULL
26066 };
26067
26068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26069 if (obj0) {
26070 ecode1 = SWIG_AsVal_int(obj0, &val1);
26071 if (!SWIG_IsOK(ecode1)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26073 }
26074 arg1 = static_cast< wxWindowVariant >(val1);
26075 }
26076 {
26077 if (!wxPyCheckForApp()) SWIG_fail;
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 result = wxToolBar::GetClassDefaultAttributes(arg1);
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26084 return resultobj;
26085fail:
26086 return NULL;
22bfe96c
RD
26087}
26088
26089
0085ce49
RD
26090SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26091 PyObject *obj;
26092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26093 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26094 return SWIG_Py_Void();
d14a1e28 26095}
0085ce49
RD
26096
26097SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26098 return SWIG_Python_InitShadowInstance(args);
b2dc1044
RD
26099}
26100
0085ce49
RD
26101SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26102 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26103 return 1;
26104}
b2dc1044 26105
0085ce49
RD
26106
26107SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26108 PyObject *pyobj = 0;
26109
26110 {
b2dc1044 26111#if wxUSE_UNICODE
0085ce49 26112 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
b2dc1044 26113#else
0085ce49 26114 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
b2dc1044 26115#endif
0085ce49
RD
26116 }
26117 return pyobj;
26118}
26119
26120
26121SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26122 PyObject *resultobj = 0;
26123 wxColour const &arg1_defvalue = wxNullColour ;
26124 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26125 wxColour const &arg2_defvalue = wxNullColour ;
26126 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26127 wxFont const &arg3_defvalue = wxNullFont ;
26128 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26129 wxListItemAttr *result = 0 ;
26130 wxColour temp1 ;
26131 wxColour temp2 ;
26132 void *argp3 = 0 ;
26133 int res3 = 0 ;
26134 PyObject * obj0 = 0 ;
26135 PyObject * obj1 = 0 ;
26136 PyObject * obj2 = 0 ;
26137 char * kwnames[] = {
26138 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26139 };
26140
26141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26142 if (obj0) {
d14a1e28 26143 {
0085ce49
RD
26144 arg1 = &temp1;
26145 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d14a1e28 26146 }
0085ce49
RD
26147 }
26148 if (obj1) {
d14a1e28 26149 {
0085ce49
RD
26150 arg2 = &temp2;
26151 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 26152 }
0085ce49
RD
26153 }
26154 if (obj2) {
26155 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26156 if (!SWIG_IsOK(res3)) {
26157 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 26158 }
0085ce49
RD
26159 if (!argp3) {
26160 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 26161 }
0085ce49
RD
26162 arg3 = reinterpret_cast< wxFont * >(argp3);
26163 }
26164 {
26165 PyThreadState* __tstate = wxPyBeginAllowThreads();
26166 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26171 return resultobj;
26172fail:
26173 return NULL;
d14a1e28
RD
26174}
26175
26176
0085ce49
RD
26177SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26178 PyObject *resultobj = 0;
26179 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26180 void *argp1 = 0 ;
26181 int res1 = 0 ;
26182 PyObject *swig_obj[1] ;
26183
26184 if (!args) SWIG_fail;
26185 swig_obj[0] = args;
26186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26187 if (!SWIG_IsOK(res1)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26189 }
26190 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 delete arg1;
d14a1e28 26194
0085ce49
RD
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 resultobj = SWIG_Py_Void();
26199 return resultobj;
26200fail:
26201 return NULL;
26202}
26203
26204
26205SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj = 0;
26207 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26208 wxColour *arg2 = 0 ;
26209 void *argp1 = 0 ;
26210 int res1 = 0 ;
26211 wxColour temp2 ;
26212 PyObject * obj0 = 0 ;
26213 PyObject * obj1 = 0 ;
26214 char * kwnames[] = {
26215 (char *) "self",(char *) "colText", NULL
26216 };
26217
26218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26220 if (!SWIG_IsOK(res1)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26222 }
26223 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26224 {
26225 arg2 = &temp2;
26226 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26227 }
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 (arg1)->SetTextColour((wxColour const &)*arg2);
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 resultobj = SWIG_Py_Void();
26235 return resultobj;
26236fail:
26237 return NULL;
26238}
26239
26240
26241SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj = 0;
26243 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26244 wxColour *arg2 = 0 ;
26245 void *argp1 = 0 ;
26246 int res1 = 0 ;
26247 wxColour temp2 ;
26248 PyObject * obj0 = 0 ;
26249 PyObject * obj1 = 0 ;
26250 char * kwnames[] = {
26251 (char *) "self",(char *) "colBack", NULL
26252 };
26253
26254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26256 if (!SWIG_IsOK(res1)) {
26257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26258 }
26259 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26260 {
26261 arg2 = &temp2;
26262 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26263 }
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 resultobj = SWIG_Py_Void();
26271 return resultobj;
26272fail:
26273 return NULL;
26274}
26275
26276
26277SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26278 PyObject *resultobj = 0;
26279 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26280 wxFont *arg2 = 0 ;
26281 void *argp1 = 0 ;
26282 int res1 = 0 ;
26283 void *argp2 = 0 ;
26284 int res2 = 0 ;
26285 PyObject * obj0 = 0 ;
26286 PyObject * obj1 = 0 ;
26287 char * kwnames[] = {
26288 (char *) "self",(char *) "font", NULL
26289 };
26290
26291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26293 if (!SWIG_IsOK(res1)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26295 }
26296 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26297 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26298 if (!SWIG_IsOK(res2)) {
26299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26300 }
26301 if (!argp2) {
26302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26303 }
26304 arg2 = reinterpret_cast< wxFont * >(argp2);
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 (arg1)->SetFont((wxFont const &)*arg2);
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 resultobj = SWIG_Py_Void();
26312 return resultobj;
26313fail:
26314 return NULL;
d14a1e28
RD
26315}
26316
26317
0085ce49
RD
26318SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26319 PyObject *resultobj = 0;
26320 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26321 bool result;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 PyObject *swig_obj[1] ;
26325
26326 if (!args) SWIG_fail;
26327 swig_obj[0] = args;
26328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26329 if (!SWIG_IsOK(res1)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26331 }
26332 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 result = (bool)(arg1)->HasTextColour();
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 {
26340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26341 }
26342 return resultobj;
26343fail:
26344 return NULL;
d14a1e28
RD
26345}
26346
26347
0085ce49
RD
26348SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26349 PyObject *resultobj = 0;
26350 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26351 bool result;
26352 void *argp1 = 0 ;
26353 int res1 = 0 ;
26354 PyObject *swig_obj[1] ;
26355
26356 if (!args) SWIG_fail;
26357 swig_obj[0] = args;
26358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26359 if (!SWIG_IsOK(res1)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26361 }
26362 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = (bool)(arg1)->HasBackgroundColour();
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26371 }
26372 return resultobj;
26373fail:
26374 return NULL;
d14a1e28
RD
26375}
26376
26377
0085ce49
RD
26378SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26379 PyObject *resultobj = 0;
26380 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26381 bool result;
26382 void *argp1 = 0 ;
26383 int res1 = 0 ;
26384 PyObject *swig_obj[1] ;
26385
26386 if (!args) SWIG_fail;
26387 swig_obj[0] = args;
26388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26389 if (!SWIG_IsOK(res1)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26391 }
26392 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 result = (bool)(arg1)->HasFont();
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 {
26400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26401 }
26402 return resultobj;
26403fail:
26404 return NULL;
d14a1e28
RD
26405}
26406
26407
0085ce49
RD
26408SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26409 PyObject *resultobj = 0;
26410 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26411 wxColour result;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 PyObject *swig_obj[1] ;
26415
26416 if (!args) SWIG_fail;
26417 swig_obj[0] = args;
26418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26419 if (!SWIG_IsOK(res1)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26421 }
26422 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26423 {
26424 PyThreadState* __tstate = wxPyBeginAllowThreads();
26425 result = (arg1)->GetTextColour();
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26430 return resultobj;
26431fail:
26432 return NULL;
d14a1e28
RD
26433}
26434
26435
0085ce49
RD
26436SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26437 PyObject *resultobj = 0;
26438 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26439 wxColour result;
26440 void *argp1 = 0 ;
26441 int res1 = 0 ;
26442 PyObject *swig_obj[1] ;
26443
26444 if (!args) SWIG_fail;
26445 swig_obj[0] = args;
26446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26447 if (!SWIG_IsOK(res1)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26449 }
26450 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 result = (arg1)->GetBackgroundColour();
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26458 return resultobj;
26459fail:
26460 return NULL;
d14a1e28
RD
26461}
26462
26463
0085ce49
RD
26464SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26465 PyObject *resultobj = 0;
26466 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26467 wxFont result;
26468 void *argp1 = 0 ;
26469 int res1 = 0 ;
26470 PyObject *swig_obj[1] ;
26471
26472 if (!args) SWIG_fail;
26473 swig_obj[0] = args;
26474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26475 if (!SWIG_IsOK(res1)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26477 }
26478 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 result = (arg1)->GetFont();
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26486 return resultobj;
26487fail:
26488 return NULL;
26489}
26490
26491
26492SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26493 PyObject *resultobj = 0;
26494 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26495 wxListItemAttr *arg2 = 0 ;
26496 void *argp1 = 0 ;
26497 int res1 = 0 ;
26498 void *argp2 = 0 ;
26499 int res2 = 0 ;
26500 PyObject * obj0 = 0 ;
26501 PyObject * obj1 = 0 ;
26502 char * kwnames[] = {
26503 (char *) "self",(char *) "source", NULL
26504 };
26505
26506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26508 if (!SWIG_IsOK(res1)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26510 }
26511 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26513 if (!SWIG_IsOK(res2)) {
26514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26515 }
26516 if (!argp2) {
26517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26518 }
26519 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26523 wxPyEndAllowThreads(__tstate);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 }
26526 resultobj = SWIG_Py_Void();
26527 return resultobj;
26528fail:
26529 return NULL;
d14a1e28
RD
26530}
26531
26532
0085ce49
RD
26533SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26534 PyObject *resultobj = 0;
26535 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26536 void *argp1 = 0 ;
26537 int res1 = 0 ;
26538 PyObject *swig_obj[1] ;
26539
26540 if (!args) SWIG_fail;
26541 swig_obj[0] = args;
26542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26543 if (!SWIG_IsOK(res1)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26545 }
26546 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 wxListItemAttr_Destroy(arg1);
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 *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26561 PyObject *obj;
26562 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26563 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26564 return SWIG_Py_Void();
d14a1e28
RD
26565}
26566
0085ce49
RD
26567SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26568 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
26569}
26570
0085ce49
RD
26571SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26572 PyObject *resultobj = 0;
26573 wxListItem *result = 0 ;
26574
26575 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26576 {
26577 PyThreadState* __tstate = wxPyBeginAllowThreads();
26578 result = (wxListItem *)new wxListItem();
26579 wxPyEndAllowThreads(__tstate);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 }
3ecece7e 26582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
0085ce49
RD
26583 return resultobj;
26584fail:
26585 return NULL;
d14a1e28
RD
26586}
26587
26588
0085ce49
RD
26589SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26590 PyObject *resultobj = 0;
26591 wxListItem *arg1 = (wxListItem *) 0 ;
26592 void *argp1 = 0 ;
26593 int res1 = 0 ;
26594 PyObject *swig_obj[1] ;
26595
26596 if (!args) SWIG_fail;
26597 swig_obj[0] = args;
26598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26599 if (!SWIG_IsOK(res1)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26601 }
26602 arg1 = reinterpret_cast< wxListItem * >(argp1);
26603 {
26604 PyThreadState* __tstate = wxPyBeginAllowThreads();
26605 delete arg1;
d14a1e28 26606
0085ce49
RD
26607 wxPyEndAllowThreads(__tstate);
26608 if (PyErr_Occurred()) SWIG_fail;
26609 }
26610 resultobj = SWIG_Py_Void();
26611 return resultobj;
26612fail:
26613 return NULL;
d14a1e28
RD
26614}
26615
26616
0085ce49
RD
26617SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26618 PyObject *resultobj = 0;
26619 wxListItem *arg1 = (wxListItem *) 0 ;
26620 void *argp1 = 0 ;
26621 int res1 = 0 ;
26622 PyObject *swig_obj[1] ;
26623
26624 if (!args) SWIG_fail;
26625 swig_obj[0] = args;
26626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26627 if (!SWIG_IsOK(res1)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26629 }
26630 arg1 = reinterpret_cast< wxListItem * >(argp1);
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 (arg1)->Clear();
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 resultobj = SWIG_Py_Void();
26638 return resultobj;
26639fail:
26640 return NULL;
d14a1e28
RD
26641}
26642
26643
0085ce49
RD
26644SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26645 PyObject *resultobj = 0;
26646 wxListItem *arg1 = (wxListItem *) 0 ;
26647 void *argp1 = 0 ;
26648 int res1 = 0 ;
26649 PyObject *swig_obj[1] ;
26650
26651 if (!args) SWIG_fail;
26652 swig_obj[0] = args;
26653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26654 if (!SWIG_IsOK(res1)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26656 }
26657 arg1 = reinterpret_cast< wxListItem * >(argp1);
26658 {
26659 PyThreadState* __tstate = wxPyBeginAllowThreads();
26660 (arg1)->ClearAttributes();
26661 wxPyEndAllowThreads(__tstate);
26662 if (PyErr_Occurred()) SWIG_fail;
26663 }
26664 resultobj = SWIG_Py_Void();
26665 return resultobj;
26666fail:
26667 return NULL;
26668}
26669
26670
26671SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26672 PyObject *resultobj = 0;
26673 wxListItem *arg1 = (wxListItem *) 0 ;
26674 long arg2 ;
26675 void *argp1 = 0 ;
26676 int res1 = 0 ;
26677 long val2 ;
26678 int ecode2 = 0 ;
26679 PyObject * obj0 = 0 ;
26680 PyObject * obj1 = 0 ;
26681 char * kwnames[] = {
26682 (char *) "self",(char *) "mask", NULL
26683 };
26684
26685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26687 if (!SWIG_IsOK(res1)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26689 }
26690 arg1 = reinterpret_cast< wxListItem * >(argp1);
26691 ecode2 = SWIG_AsVal_long(obj1, &val2);
26692 if (!SWIG_IsOK(ecode2)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26694 }
26695 arg2 = static_cast< long >(val2);
26696 {
26697 PyThreadState* __tstate = wxPyBeginAllowThreads();
26698 (arg1)->SetMask(arg2);
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
26702 resultobj = SWIG_Py_Void();
26703 return resultobj;
26704fail:
26705 return NULL;
26706}
26707
26708
26709SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj = 0;
26711 wxListItem *arg1 = (wxListItem *) 0 ;
26712 long arg2 ;
26713 void *argp1 = 0 ;
26714 int res1 = 0 ;
26715 long val2 ;
26716 int ecode2 = 0 ;
26717 PyObject * obj0 = 0 ;
26718 PyObject * obj1 = 0 ;
26719 char * kwnames[] = {
26720 (char *) "self",(char *) "id", NULL
26721 };
26722
26723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26725 if (!SWIG_IsOK(res1)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26727 }
26728 arg1 = reinterpret_cast< wxListItem * >(argp1);
26729 ecode2 = SWIG_AsVal_long(obj1, &val2);
26730 if (!SWIG_IsOK(ecode2)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26732 }
26733 arg2 = static_cast< long >(val2);
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 (arg1)->SetId(arg2);
26737 wxPyEndAllowThreads(__tstate);
26738 if (PyErr_Occurred()) SWIG_fail;
26739 }
26740 resultobj = SWIG_Py_Void();
26741 return resultobj;
26742fail:
26743 return NULL;
26744}
26745
26746
26747SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26748 PyObject *resultobj = 0;
26749 wxListItem *arg1 = (wxListItem *) 0 ;
26750 int arg2 ;
26751 void *argp1 = 0 ;
26752 int res1 = 0 ;
26753 int val2 ;
26754 int ecode2 = 0 ;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 char * kwnames[] = {
26758 (char *) "self",(char *) "col", NULL
26759 };
26760
26761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26763 if (!SWIG_IsOK(res1)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26765 }
26766 arg1 = reinterpret_cast< wxListItem * >(argp1);
26767 ecode2 = SWIG_AsVal_int(obj1, &val2);
26768 if (!SWIG_IsOK(ecode2)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26770 }
26771 arg2 = static_cast< int >(val2);
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 (arg1)->SetColumn(arg2);
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 resultobj = SWIG_Py_Void();
26779 return resultobj;
26780fail:
26781 return NULL;
26782}
26783
26784
26785SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj = 0;
26787 wxListItem *arg1 = (wxListItem *) 0 ;
26788 long arg2 ;
26789 void *argp1 = 0 ;
26790 int res1 = 0 ;
26791 long val2 ;
26792 int ecode2 = 0 ;
26793 PyObject * obj0 = 0 ;
26794 PyObject * obj1 = 0 ;
26795 char * kwnames[] = {
26796 (char *) "self",(char *) "state", NULL
26797 };
26798
26799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26801 if (!SWIG_IsOK(res1)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26803 }
26804 arg1 = reinterpret_cast< wxListItem * >(argp1);
26805 ecode2 = SWIG_AsVal_long(obj1, &val2);
26806 if (!SWIG_IsOK(ecode2)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26808 }
26809 arg2 = static_cast< long >(val2);
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 (arg1)->SetState(arg2);
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 resultobj = SWIG_Py_Void();
26817 return resultobj;
26818fail:
26819 return NULL;
26820}
26821
26822
26823SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj = 0;
26825 wxListItem *arg1 = (wxListItem *) 0 ;
26826 long arg2 ;
26827 void *argp1 = 0 ;
26828 int res1 = 0 ;
26829 long val2 ;
26830 int ecode2 = 0 ;
26831 PyObject * obj0 = 0 ;
26832 PyObject * obj1 = 0 ;
26833 char * kwnames[] = {
26834 (char *) "self",(char *) "stateMask", NULL
26835 };
26836
26837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26839 if (!SWIG_IsOK(res1)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26841 }
26842 arg1 = reinterpret_cast< wxListItem * >(argp1);
26843 ecode2 = SWIG_AsVal_long(obj1, &val2);
26844 if (!SWIG_IsOK(ecode2)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26846 }
26847 arg2 = static_cast< long >(val2);
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 (arg1)->SetStateMask(arg2);
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 resultobj = SWIG_Py_Void();
26855 return resultobj;
26856fail:
26857 return NULL;
26858}
26859
26860
26861SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26862 PyObject *resultobj = 0;
26863 wxListItem *arg1 = (wxListItem *) 0 ;
26864 wxString *arg2 = 0 ;
26865 void *argp1 = 0 ;
26866 int res1 = 0 ;
26867 bool temp2 = false ;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char * kwnames[] = {
26871 (char *) "self",(char *) "text", NULL
26872 };
26873
26874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26876 if (!SWIG_IsOK(res1)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26878 }
26879 arg1 = reinterpret_cast< wxListItem * >(argp1);
26880 {
26881 arg2 = wxString_in_helper(obj1);
26882 if (arg2 == NULL) SWIG_fail;
26883 temp2 = true;
26884 }
26885 {
26886 PyThreadState* __tstate = wxPyBeginAllowThreads();
26887 (arg1)->SetText((wxString const &)*arg2);
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 resultobj = SWIG_Py_Void();
26892 {
26893 if (temp2)
26894 delete arg2;
26895 }
26896 return resultobj;
26897fail:
26898 {
26899 if (temp2)
26900 delete arg2;
26901 }
26902 return NULL;
26903}
26904
26905
26906SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26907 PyObject *resultobj = 0;
26908 wxListItem *arg1 = (wxListItem *) 0 ;
26909 int arg2 ;
26910 void *argp1 = 0 ;
26911 int res1 = 0 ;
26912 int val2 ;
26913 int ecode2 = 0 ;
26914 PyObject * obj0 = 0 ;
26915 PyObject * obj1 = 0 ;
26916 char * kwnames[] = {
26917 (char *) "self",(char *) "image", NULL
26918 };
26919
26920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26922 if (!SWIG_IsOK(res1)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26924 }
26925 arg1 = reinterpret_cast< wxListItem * >(argp1);
26926 ecode2 = SWIG_AsVal_int(obj1, &val2);
26927 if (!SWIG_IsOK(ecode2)) {
26928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26929 }
26930 arg2 = static_cast< int >(val2);
26931 {
26932 PyThreadState* __tstate = wxPyBeginAllowThreads();
26933 (arg1)->SetImage(arg2);
26934 wxPyEndAllowThreads(__tstate);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 }
26937 resultobj = SWIG_Py_Void();
26938 return resultobj;
26939fail:
26940 return NULL;
26941}
26942
26943
26944SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26945 PyObject *resultobj = 0;
26946 wxListItem *arg1 = (wxListItem *) 0 ;
26947 long arg2 ;
26948 void *argp1 = 0 ;
26949 int res1 = 0 ;
26950 long val2 ;
26951 int ecode2 = 0 ;
26952 PyObject * obj0 = 0 ;
26953 PyObject * obj1 = 0 ;
26954 char * kwnames[] = {
26955 (char *) "self",(char *) "data", NULL
26956 };
26957
26958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26960 if (!SWIG_IsOK(res1)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26962 }
26963 arg1 = reinterpret_cast< wxListItem * >(argp1);
26964 ecode2 = SWIG_AsVal_long(obj1, &val2);
26965 if (!SWIG_IsOK(ecode2)) {
26966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26967 }
26968 arg2 = static_cast< long >(val2);
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 (arg1)->SetData(arg2);
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 resultobj = SWIG_Py_Void();
26976 return resultobj;
26977fail:
26978 return NULL;
26979}
26980
26981
26982SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26983 PyObject *resultobj = 0;
26984 wxListItem *arg1 = (wxListItem *) 0 ;
26985 int arg2 ;
26986 void *argp1 = 0 ;
26987 int res1 = 0 ;
26988 int val2 ;
26989 int ecode2 = 0 ;
26990 PyObject * obj0 = 0 ;
26991 PyObject * obj1 = 0 ;
26992 char * kwnames[] = {
26993 (char *) "self",(char *) "width", NULL
26994 };
26995
26996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26998 if (!SWIG_IsOK(res1)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27000 }
27001 arg1 = reinterpret_cast< wxListItem * >(argp1);
27002 ecode2 = SWIG_AsVal_int(obj1, &val2);
27003 if (!SWIG_IsOK(ecode2)) {
27004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27005 }
27006 arg2 = static_cast< int >(val2);
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 (arg1)->SetWidth(arg2);
27010 wxPyEndAllowThreads(__tstate);
27011 if (PyErr_Occurred()) SWIG_fail;
27012 }
27013 resultobj = SWIG_Py_Void();
27014 return resultobj;
27015fail:
27016 return NULL;
27017}
27018
27019
27020SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27021 PyObject *resultobj = 0;
27022 wxListItem *arg1 = (wxListItem *) 0 ;
27023 wxListColumnFormat arg2 ;
27024 void *argp1 = 0 ;
27025 int res1 = 0 ;
27026 int val2 ;
27027 int ecode2 = 0 ;
27028 PyObject * obj0 = 0 ;
27029 PyObject * obj1 = 0 ;
27030 char * kwnames[] = {
27031 (char *) "self",(char *) "align", NULL
27032 };
27033
27034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27036 if (!SWIG_IsOK(res1)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27038 }
27039 arg1 = reinterpret_cast< wxListItem * >(argp1);
27040 ecode2 = SWIG_AsVal_int(obj1, &val2);
27041 if (!SWIG_IsOK(ecode2)) {
27042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27043 }
27044 arg2 = static_cast< wxListColumnFormat >(val2);
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 (arg1)->SetAlign(arg2);
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 resultobj = SWIG_Py_Void();
27052 return resultobj;
27053fail:
27054 return NULL;
27055}
27056
27057
27058SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27059 PyObject *resultobj = 0;
27060 wxListItem *arg1 = (wxListItem *) 0 ;
27061 wxColour *arg2 = 0 ;
27062 void *argp1 = 0 ;
27063 int res1 = 0 ;
27064 wxColour temp2 ;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 char * kwnames[] = {
27068 (char *) "self",(char *) "colText", NULL
27069 };
27070
27071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27073 if (!SWIG_IsOK(res1)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27075 }
27076 arg1 = reinterpret_cast< wxListItem * >(argp1);
27077 {
27078 arg2 = &temp2;
27079 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27080 }
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 (arg1)->SetTextColour((wxColour const &)*arg2);
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 resultobj = SWIG_Py_Void();
27088 return resultobj;
27089fail:
27090 return NULL;
27091}
27092
27093
27094SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27095 PyObject *resultobj = 0;
27096 wxListItem *arg1 = (wxListItem *) 0 ;
27097 wxColour *arg2 = 0 ;
27098 void *argp1 = 0 ;
27099 int res1 = 0 ;
27100 wxColour temp2 ;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 char * kwnames[] = {
27104 (char *) "self",(char *) "colBack", NULL
27105 };
27106
27107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27109 if (!SWIG_IsOK(res1)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27111 }
27112 arg1 = reinterpret_cast< wxListItem * >(argp1);
27113 {
27114 arg2 = &temp2;
27115 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27116 }
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 resultobj = SWIG_Py_Void();
27124 return resultobj;
27125fail:
27126 return NULL;
27127}
27128
27129
27130SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj = 0;
27132 wxListItem *arg1 = (wxListItem *) 0 ;
27133 wxFont *arg2 = 0 ;
27134 void *argp1 = 0 ;
27135 int res1 = 0 ;
27136 void *argp2 = 0 ;
27137 int res2 = 0 ;
27138 PyObject * obj0 = 0 ;
27139 PyObject * obj1 = 0 ;
27140 char * kwnames[] = {
27141 (char *) "self",(char *) "font", NULL
27142 };
27143
27144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27146 if (!SWIG_IsOK(res1)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27148 }
27149 arg1 = reinterpret_cast< wxListItem * >(argp1);
27150 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27151 if (!SWIG_IsOK(res2)) {
27152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27153 }
27154 if (!argp2) {
27155 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27156 }
27157 arg2 = reinterpret_cast< wxFont * >(argp2);
27158 {
27159 PyThreadState* __tstate = wxPyBeginAllowThreads();
27160 (arg1)->SetFont((wxFont const &)*arg2);
27161 wxPyEndAllowThreads(__tstate);
27162 if (PyErr_Occurred()) SWIG_fail;
27163 }
27164 resultobj = SWIG_Py_Void();
27165 return resultobj;
27166fail:
27167 return NULL;
d14a1e28
RD
27168}
27169
27170
0085ce49
RD
27171SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27172 PyObject *resultobj = 0;
27173 wxListItem *arg1 = (wxListItem *) 0 ;
27174 long result;
27175 void *argp1 = 0 ;
27176 int res1 = 0 ;
27177 PyObject *swig_obj[1] ;
27178
27179 if (!args) SWIG_fail;
27180 swig_obj[0] = args;
27181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27182 if (!SWIG_IsOK(res1)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27184 }
27185 arg1 = reinterpret_cast< wxListItem * >(argp1);
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (long)(arg1)->GetMask();
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 resultobj = SWIG_From_long(static_cast< long >(result));
27193 return resultobj;
27194fail:
27195 return NULL;
d14a1e28
RD
27196}
27197
27198
0085ce49
RD
27199SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27200 PyObject *resultobj = 0;
27201 wxListItem *arg1 = (wxListItem *) 0 ;
27202 long result;
27203 void *argp1 = 0 ;
27204 int res1 = 0 ;
27205 PyObject *swig_obj[1] ;
27206
27207 if (!args) SWIG_fail;
27208 swig_obj[0] = args;
27209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27210 if (!SWIG_IsOK(res1)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27212 }
27213 arg1 = reinterpret_cast< wxListItem * >(argp1);
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 result = (long)(arg1)->GetId();
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 resultobj = SWIG_From_long(static_cast< long >(result));
27221 return resultobj;
27222fail:
27223 return NULL;
d14a1e28
RD
27224}
27225
27226
0085ce49
RD
27227SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27228 PyObject *resultobj = 0;
27229 wxListItem *arg1 = (wxListItem *) 0 ;
27230 int result;
27231 void *argp1 = 0 ;
27232 int res1 = 0 ;
27233 PyObject *swig_obj[1] ;
27234
27235 if (!args) SWIG_fail;
27236 swig_obj[0] = args;
27237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27238 if (!SWIG_IsOK(res1)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27240 }
27241 arg1 = reinterpret_cast< wxListItem * >(argp1);
27242 {
27243 PyThreadState* __tstate = wxPyBeginAllowThreads();
27244 result = (int)(arg1)->GetColumn();
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
27248 resultobj = SWIG_From_int(static_cast< int >(result));
27249 return resultobj;
27250fail:
27251 return NULL;
22bfe96c
RD
27252}
27253
27254
0085ce49
RD
27255SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27256 PyObject *resultobj = 0;
27257 wxListItem *arg1 = (wxListItem *) 0 ;
27258 long result;
27259 void *argp1 = 0 ;
27260 int res1 = 0 ;
27261 PyObject *swig_obj[1] ;
27262
27263 if (!args) SWIG_fail;
27264 swig_obj[0] = args;
27265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27266 if (!SWIG_IsOK(res1)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27268 }
27269 arg1 = reinterpret_cast< wxListItem * >(argp1);
27270 {
27271 PyThreadState* __tstate = wxPyBeginAllowThreads();
27272 result = (long)(arg1)->GetState();
27273 wxPyEndAllowThreads(__tstate);
27274 if (PyErr_Occurred()) SWIG_fail;
27275 }
27276 resultobj = SWIG_From_long(static_cast< long >(result));
27277 return resultobj;
27278fail:
27279 return NULL;
b2dc1044
RD
27280}
27281
27282
0085ce49
RD
27283SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27284 PyObject *resultobj = 0;
27285 wxListItem *arg1 = (wxListItem *) 0 ;
27286 wxString *result = 0 ;
27287 void *argp1 = 0 ;
27288 int res1 = 0 ;
27289 PyObject *swig_obj[1] ;
27290
27291 if (!args) SWIG_fail;
27292 swig_obj[0] = args;
27293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27294 if (!SWIG_IsOK(res1)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27296 }
27297 arg1 = reinterpret_cast< wxListItem * >(argp1);
27298 {
27299 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 27300 {
0085ce49
RD
27301 wxString const &_result_ref = (arg1)->GetText();
27302 result = (wxString *) &_result_ref;
27303 }
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 {
b2dc1044 27308#if wxUSE_UNICODE
0085ce49 27309 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
b2dc1044 27310#else
0085ce49 27311 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
b2dc1044 27312#endif
0085ce49
RD
27313 }
27314 return resultobj;
27315fail:
27316 return NULL;
d14a1e28
RD
27317}
27318
27319
0085ce49
RD
27320SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27321 PyObject *resultobj = 0;
27322 wxListItem *arg1 = (wxListItem *) 0 ;
27323 int result;
27324 void *argp1 = 0 ;
27325 int res1 = 0 ;
27326 PyObject *swig_obj[1] ;
27327
27328 if (!args) SWIG_fail;
27329 swig_obj[0] = args;
27330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27331 if (!SWIG_IsOK(res1)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27333 }
27334 arg1 = reinterpret_cast< wxListItem * >(argp1);
27335 {
27336 PyThreadState* __tstate = wxPyBeginAllowThreads();
27337 result = (int)(arg1)->GetImage();
27338 wxPyEndAllowThreads(__tstate);
27339 if (PyErr_Occurred()) SWIG_fail;
27340 }
27341 resultobj = SWIG_From_int(static_cast< int >(result));
27342 return resultobj;
27343fail:
27344 return NULL;
d14a1e28
RD
27345}
27346
27347
0085ce49
RD
27348SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27349 PyObject *resultobj = 0;
27350 wxListItem *arg1 = (wxListItem *) 0 ;
27351 long result;
27352 void *argp1 = 0 ;
27353 int res1 = 0 ;
27354 PyObject *swig_obj[1] ;
27355
27356 if (!args) SWIG_fail;
27357 swig_obj[0] = args;
27358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27359 if (!SWIG_IsOK(res1)) {
27360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27361 }
27362 arg1 = reinterpret_cast< wxListItem * >(argp1);
27363 {
27364 PyThreadState* __tstate = wxPyBeginAllowThreads();
27365 result = (long)(arg1)->GetData();
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 resultobj = SWIG_From_long(static_cast< long >(result));
27370 return resultobj;
27371fail:
27372 return NULL;
d14a1e28
RD
27373}
27374
27375
0085ce49
RD
27376SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27377 PyObject *resultobj = 0;
27378 wxListItem *arg1 = (wxListItem *) 0 ;
27379 int result;
27380 void *argp1 = 0 ;
27381 int res1 = 0 ;
27382 PyObject *swig_obj[1] ;
27383
27384 if (!args) SWIG_fail;
27385 swig_obj[0] = args;
27386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27387 if (!SWIG_IsOK(res1)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27389 }
27390 arg1 = reinterpret_cast< wxListItem * >(argp1);
27391 {
27392 PyThreadState* __tstate = wxPyBeginAllowThreads();
27393 result = (int)(arg1)->GetWidth();
27394 wxPyEndAllowThreads(__tstate);
27395 if (PyErr_Occurred()) SWIG_fail;
27396 }
27397 resultobj = SWIG_From_int(static_cast< int >(result));
27398 return resultobj;
27399fail:
27400 return NULL;
d14a1e28
RD
27401}
27402
27403
0085ce49
RD
27404SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27405 PyObject *resultobj = 0;
27406 wxListItem *arg1 = (wxListItem *) 0 ;
27407 wxListColumnFormat result;
27408 void *argp1 = 0 ;
27409 int res1 = 0 ;
27410 PyObject *swig_obj[1] ;
27411
27412 if (!args) SWIG_fail;
27413 swig_obj[0] = args;
27414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27415 if (!SWIG_IsOK(res1)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27417 }
27418 arg1 = reinterpret_cast< wxListItem * >(argp1);
27419 {
27420 PyThreadState* __tstate = wxPyBeginAllowThreads();
27421 result = (wxListColumnFormat)(arg1)->GetAlign();
27422 wxPyEndAllowThreads(__tstate);
27423 if (PyErr_Occurred()) SWIG_fail;
27424 }
27425 resultobj = SWIG_From_int(static_cast< int >(result));
27426 return resultobj;
27427fail:
27428 return NULL;
d14a1e28
RD
27429}
27430
27431
0085ce49
RD
27432SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27433 PyObject *resultobj = 0;
27434 wxListItem *arg1 = (wxListItem *) 0 ;
27435 wxListItemAttr *result = 0 ;
27436 void *argp1 = 0 ;
27437 int res1 = 0 ;
27438 PyObject *swig_obj[1] ;
27439
27440 if (!args) SWIG_fail;
27441 swig_obj[0] = args;
27442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27443 if (!SWIG_IsOK(res1)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27445 }
27446 arg1 = reinterpret_cast< wxListItem * >(argp1);
27447 {
27448 PyThreadState* __tstate = wxPyBeginAllowThreads();
27449 result = (wxListItemAttr *)(arg1)->GetAttributes();
27450 wxPyEndAllowThreads(__tstate);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
27453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27454 return resultobj;
27455fail:
27456 return NULL;
d14a1e28
RD
27457}
27458
27459
0085ce49
RD
27460SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27461 PyObject *resultobj = 0;
27462 wxListItem *arg1 = (wxListItem *) 0 ;
27463 bool result;
27464 void *argp1 = 0 ;
27465 int res1 = 0 ;
27466 PyObject *swig_obj[1] ;
27467
27468 if (!args) SWIG_fail;
27469 swig_obj[0] = args;
27470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27471 if (!SWIG_IsOK(res1)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27473 }
27474 arg1 = reinterpret_cast< wxListItem * >(argp1);
27475 {
27476 PyThreadState* __tstate = wxPyBeginAllowThreads();
27477 result = (bool)(arg1)->HasAttributes();
27478 wxPyEndAllowThreads(__tstate);
27479 if (PyErr_Occurred()) SWIG_fail;
27480 }
27481 {
27482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27483 }
27484 return resultobj;
27485fail:
27486 return NULL;
22bfe96c
RD
27487}
27488
27489
0085ce49
RD
27490SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27491 PyObject *resultobj = 0;
27492 wxListItem *arg1 = (wxListItem *) 0 ;
27493 wxColour result;
27494 void *argp1 = 0 ;
27495 int res1 = 0 ;
27496 PyObject *swig_obj[1] ;
27497
27498 if (!args) SWIG_fail;
27499 swig_obj[0] = args;
27500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27503 }
27504 arg1 = reinterpret_cast< wxListItem * >(argp1);
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 result = ((wxListItem const *)arg1)->GetTextColour();
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27512 return resultobj;
27513fail:
27514 return NULL;
d14a1e28 27515}
0085ce49
RD
27516
27517
27518SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27519 PyObject *resultobj = 0;
27520 wxListItem *arg1 = (wxListItem *) 0 ;
27521 wxColour result;
27522 void *argp1 = 0 ;
27523 int res1 = 0 ;
27524 PyObject *swig_obj[1] ;
27525
27526 if (!args) SWIG_fail;
27527 swig_obj[0] = args;
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_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27531 }
27532 arg1 = reinterpret_cast< wxListItem * >(argp1);
27533 {
27534 PyThreadState* __tstate = wxPyBeginAllowThreads();
27535 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27536 wxPyEndAllowThreads(__tstate);
27537 if (PyErr_Occurred()) SWIG_fail;
27538 }
27539 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27540 return resultobj;
27541fail:
27542 return NULL;
b2dc1044
RD
27543}
27544
27545
0085ce49
RD
27546SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27547 PyObject *resultobj = 0;
27548 wxListItem *arg1 = (wxListItem *) 0 ;
27549 wxFont result;
27550 void *argp1 = 0 ;
27551 int res1 = 0 ;
27552 PyObject *swig_obj[1] ;
27553
27554 if (!args) SWIG_fail;
27555 swig_obj[0] = args;
27556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27557 if (!SWIG_IsOK(res1)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27559 }
27560 arg1 = reinterpret_cast< wxListItem * >(argp1);
27561 {
27562 PyThreadState* __tstate = wxPyBeginAllowThreads();
27563 result = ((wxListItem const *)arg1)->GetFont();
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27568 return resultobj;
27569fail:
27570 return NULL;
27571}
27572
27573
27574SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27575 PyObject *resultobj = 0;
27576 wxListItem *arg1 = (wxListItem *) 0 ;
27577 long arg2 ;
27578 void *argp1 = 0 ;
27579 int res1 = 0 ;
27580 long val2 ;
27581 int ecode2 = 0 ;
27582 PyObject *swig_obj[2] ;
27583
27584 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27586 if (!SWIG_IsOK(res1)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27588 }
27589 arg1 = reinterpret_cast< wxListItem * >(argp1);
27590 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27591 if (!SWIG_IsOK(ecode2)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27593 }
27594 arg2 = static_cast< long >(val2);
27595 if (arg1) (arg1)->m_mask = arg2;
27596
27597 resultobj = SWIG_Py_Void();
27598 return resultobj;
27599fail:
27600 return NULL;
b2dc1044
RD
27601}
27602
27603
0085ce49
RD
27604SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27605 PyObject *resultobj = 0;
27606 wxListItem *arg1 = (wxListItem *) 0 ;
27607 long result;
27608 void *argp1 = 0 ;
27609 int res1 = 0 ;
27610 PyObject *swig_obj[1] ;
27611
27612 if (!args) SWIG_fail;
27613 swig_obj[0] = args;
27614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27615 if (!SWIG_IsOK(res1)) {
27616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27617 }
27618 arg1 = reinterpret_cast< wxListItem * >(argp1);
27619 result = (long) ((arg1)->m_mask);
27620 resultobj = SWIG_From_long(static_cast< long >(result));
27621 return resultobj;
27622fail:
27623 return NULL;
27624}
27625
27626
27627SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27628 PyObject *resultobj = 0;
27629 wxListItem *arg1 = (wxListItem *) 0 ;
27630 long arg2 ;
27631 void *argp1 = 0 ;
27632 int res1 = 0 ;
27633 long val2 ;
27634 int ecode2 = 0 ;
27635 PyObject *swig_obj[2] ;
27636
27637 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27639 if (!SWIG_IsOK(res1)) {
27640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27641 }
27642 arg1 = reinterpret_cast< wxListItem * >(argp1);
27643 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27644 if (!SWIG_IsOK(ecode2)) {
27645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27646 }
27647 arg2 = static_cast< long >(val2);
27648 if (arg1) (arg1)->m_itemId = arg2;
27649
27650 resultobj = SWIG_Py_Void();
27651 return resultobj;
27652fail:
27653 return NULL;
d14a1e28
RD
27654}
27655
27656
0085ce49
RD
27657SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27658 PyObject *resultobj = 0;
27659 wxListItem *arg1 = (wxListItem *) 0 ;
27660 long result;
27661 void *argp1 = 0 ;
27662 int res1 = 0 ;
27663 PyObject *swig_obj[1] ;
27664
27665 if (!args) SWIG_fail;
27666 swig_obj[0] = args;
27667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27668 if (!SWIG_IsOK(res1)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27670 }
27671 arg1 = reinterpret_cast< wxListItem * >(argp1);
27672 result = (long) ((arg1)->m_itemId);
27673 resultobj = SWIG_From_long(static_cast< long >(result));
27674 return resultobj;
27675fail:
27676 return NULL;
27677}
27678
27679
27680SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27681 PyObject *resultobj = 0;
27682 wxListItem *arg1 = (wxListItem *) 0 ;
27683 int arg2 ;
27684 void *argp1 = 0 ;
27685 int res1 = 0 ;
27686 int val2 ;
27687 int ecode2 = 0 ;
27688 PyObject *swig_obj[2] ;
27689
27690 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27692 if (!SWIG_IsOK(res1)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27694 }
27695 arg1 = reinterpret_cast< wxListItem * >(argp1);
27696 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27697 if (!SWIG_IsOK(ecode2)) {
27698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27699 }
27700 arg2 = static_cast< int >(val2);
27701 if (arg1) (arg1)->m_col = arg2;
27702
27703 resultobj = SWIG_Py_Void();
27704 return resultobj;
27705fail:
27706 return NULL;
d14a1e28
RD
27707}
27708
27709
0085ce49
RD
27710SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27711 PyObject *resultobj = 0;
27712 wxListItem *arg1 = (wxListItem *) 0 ;
27713 int result;
27714 void *argp1 = 0 ;
27715 int res1 = 0 ;
27716 PyObject *swig_obj[1] ;
27717
27718 if (!args) SWIG_fail;
27719 swig_obj[0] = args;
27720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27721 if (!SWIG_IsOK(res1)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27723 }
27724 arg1 = reinterpret_cast< wxListItem * >(argp1);
27725 result = (int) ((arg1)->m_col);
27726 resultobj = SWIG_From_int(static_cast< int >(result));
27727 return resultobj;
27728fail:
27729 return NULL;
27730}
27731
27732
27733SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27734 PyObject *resultobj = 0;
27735 wxListItem *arg1 = (wxListItem *) 0 ;
27736 long arg2 ;
27737 void *argp1 = 0 ;
27738 int res1 = 0 ;
27739 long val2 ;
27740 int ecode2 = 0 ;
27741 PyObject *swig_obj[2] ;
27742
27743 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27745 if (!SWIG_IsOK(res1)) {
27746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27747 }
27748 arg1 = reinterpret_cast< wxListItem * >(argp1);
27749 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27750 if (!SWIG_IsOK(ecode2)) {
27751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27752 }
27753 arg2 = static_cast< long >(val2);
27754 if (arg1) (arg1)->m_state = arg2;
27755
27756 resultobj = SWIG_Py_Void();
27757 return resultobj;
27758fail:
27759 return NULL;
8fb0e70a
RD
27760}
27761
27762
0085ce49
RD
27763SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27764 PyObject *resultobj = 0;
27765 wxListItem *arg1 = (wxListItem *) 0 ;
27766 long result;
27767 void *argp1 = 0 ;
27768 int res1 = 0 ;
27769 PyObject *swig_obj[1] ;
27770
27771 if (!args) SWIG_fail;
27772 swig_obj[0] = args;
27773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27774 if (!SWIG_IsOK(res1)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27776 }
27777 arg1 = reinterpret_cast< wxListItem * >(argp1);
27778 result = (long) ((arg1)->m_state);
27779 resultobj = SWIG_From_long(static_cast< long >(result));
27780 return resultobj;
27781fail:
27782 return NULL;
27783}
27784
27785
27786SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27787 PyObject *resultobj = 0;
27788 wxListItem *arg1 = (wxListItem *) 0 ;
27789 long arg2 ;
27790 void *argp1 = 0 ;
27791 int res1 = 0 ;
27792 long val2 ;
27793 int ecode2 = 0 ;
27794 PyObject *swig_obj[2] ;
27795
27796 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27798 if (!SWIG_IsOK(res1)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27800 }
27801 arg1 = reinterpret_cast< wxListItem * >(argp1);
27802 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27803 if (!SWIG_IsOK(ecode2)) {
27804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27805 }
27806 arg2 = static_cast< long >(val2);
27807 if (arg1) (arg1)->m_stateMask = arg2;
27808
27809 resultobj = SWIG_Py_Void();
27810 return resultobj;
27811fail:
27812 return NULL;
d14a1e28
RD
27813}
27814
27815
0085ce49
RD
27816SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27817 PyObject *resultobj = 0;
27818 wxListItem *arg1 = (wxListItem *) 0 ;
27819 long result;
27820 void *argp1 = 0 ;
27821 int res1 = 0 ;
27822 PyObject *swig_obj[1] ;
27823
27824 if (!args) SWIG_fail;
27825 swig_obj[0] = args;
27826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27827 if (!SWIG_IsOK(res1)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27829 }
27830 arg1 = reinterpret_cast< wxListItem * >(argp1);
27831 result = (long) ((arg1)->m_stateMask);
27832 resultobj = SWIG_From_long(static_cast< long >(result));
27833 return resultobj;
27834fail:
27835 return NULL;
27836}
27837
27838
27839SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27840 PyObject *resultobj = 0;
27841 wxListItem *arg1 = (wxListItem *) 0 ;
27842 wxString *arg2 = (wxString *) 0 ;
27843 void *argp1 = 0 ;
27844 int res1 = 0 ;
27845 bool temp2 = false ;
27846 PyObject *swig_obj[2] ;
27847
27848 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27850 if (!SWIG_IsOK(res1)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27852 }
27853 arg1 = reinterpret_cast< wxListItem * >(argp1);
27854 {
27855 arg2 = wxString_in_helper(swig_obj[1]);
27856 if (arg2 == NULL) SWIG_fail;
27857 temp2 = true;
27858 }
27859 if (arg1) (arg1)->m_text = *arg2;
27860
27861 resultobj = SWIG_Py_Void();
27862 {
27863 if (temp2)
27864 delete arg2;
27865 }
27866 return resultobj;
27867fail:
27868 {
27869 if (temp2)
27870 delete arg2;
27871 }
27872 return NULL;
d14a1e28
RD
27873}
27874
27875
0085ce49
RD
27876SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27877 PyObject *resultobj = 0;
27878 wxListItem *arg1 = (wxListItem *) 0 ;
27879 wxString *result = 0 ;
27880 void *argp1 = 0 ;
27881 int res1 = 0 ;
27882 PyObject *swig_obj[1] ;
27883
27884 if (!args) SWIG_fail;
27885 swig_obj[0] = args;
27886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27887 if (!SWIG_IsOK(res1)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27889 }
27890 arg1 = reinterpret_cast< wxListItem * >(argp1);
27891 result = (wxString *)& ((arg1)->m_text);
27892 {
d14a1e28 27893#if wxUSE_UNICODE
0085ce49 27894 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 27895#else
0085ce49 27896 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28 27897#endif
0085ce49
RD
27898 }
27899 return resultobj;
27900fail:
27901 return NULL;
d14a1e28
RD
27902}
27903
27904
0085ce49
RD
27905SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27906 PyObject *resultobj = 0;
27907 wxListItem *arg1 = (wxListItem *) 0 ;
27908 int arg2 ;
27909 void *argp1 = 0 ;
27910 int res1 = 0 ;
27911 int val2 ;
27912 int ecode2 = 0 ;
27913 PyObject *swig_obj[2] ;
27914
27915 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27917 if (!SWIG_IsOK(res1)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27919 }
27920 arg1 = reinterpret_cast< wxListItem * >(argp1);
27921 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27922 if (!SWIG_IsOK(ecode2)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27924 }
27925 arg2 = static_cast< int >(val2);
27926 if (arg1) (arg1)->m_image = arg2;
27927
27928 resultobj = SWIG_Py_Void();
27929 return resultobj;
27930fail:
27931 return NULL;
d14a1e28
RD
27932}
27933
27934
0085ce49
RD
27935SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27936 PyObject *resultobj = 0;
27937 wxListItem *arg1 = (wxListItem *) 0 ;
27938 int result;
27939 void *argp1 = 0 ;
27940 int res1 = 0 ;
27941 PyObject *swig_obj[1] ;
27942
27943 if (!args) SWIG_fail;
27944 swig_obj[0] = args;
27945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27946 if (!SWIG_IsOK(res1)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27948 }
27949 arg1 = reinterpret_cast< wxListItem * >(argp1);
27950 result = (int) ((arg1)->m_image);
27951 resultobj = SWIG_From_int(static_cast< int >(result));
27952 return resultobj;
27953fail:
27954 return NULL;
27955}
27956
27957
27958SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27959 PyObject *resultobj = 0;
27960 wxListItem *arg1 = (wxListItem *) 0 ;
27961 long arg2 ;
27962 void *argp1 = 0 ;
27963 int res1 = 0 ;
27964 long val2 ;
27965 int ecode2 = 0 ;
27966 PyObject *swig_obj[2] ;
27967
27968 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27970 if (!SWIG_IsOK(res1)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27972 }
27973 arg1 = reinterpret_cast< wxListItem * >(argp1);
27974 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27975 if (!SWIG_IsOK(ecode2)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27977 }
27978 arg2 = static_cast< long >(val2);
27979 if (arg1) (arg1)->m_data = arg2;
27980
27981 resultobj = SWIG_Py_Void();
27982 return resultobj;
27983fail:
27984 return NULL;
d14a1e28
RD
27985}
27986
27987
0085ce49
RD
27988SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27989 PyObject *resultobj = 0;
27990 wxListItem *arg1 = (wxListItem *) 0 ;
27991 long result;
27992 void *argp1 = 0 ;
27993 int res1 = 0 ;
27994 PyObject *swig_obj[1] ;
27995
27996 if (!args) SWIG_fail;
27997 swig_obj[0] = args;
27998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27999 if (!SWIG_IsOK(res1)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28001 }
28002 arg1 = reinterpret_cast< wxListItem * >(argp1);
28003 result = (long) ((arg1)->m_data);
28004 resultobj = SWIG_From_long(static_cast< long >(result));
28005 return resultobj;
28006fail:
28007 return NULL;
28008}
28009
28010
28011SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28012 PyObject *resultobj = 0;
28013 wxListItem *arg1 = (wxListItem *) 0 ;
28014 int arg2 ;
28015 void *argp1 = 0 ;
28016 int res1 = 0 ;
28017 int val2 ;
28018 int ecode2 = 0 ;
28019 PyObject *swig_obj[2] ;
28020
28021 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28023 if (!SWIG_IsOK(res1)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28025 }
28026 arg1 = reinterpret_cast< wxListItem * >(argp1);
28027 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28028 if (!SWIG_IsOK(ecode2)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28030 }
28031 arg2 = static_cast< int >(val2);
28032 if (arg1) (arg1)->m_format = arg2;
28033
28034 resultobj = SWIG_Py_Void();
28035 return resultobj;
28036fail:
28037 return NULL;
d14a1e28
RD
28038}
28039
28040
0085ce49
RD
28041SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28042 PyObject *resultobj = 0;
28043 wxListItem *arg1 = (wxListItem *) 0 ;
28044 int result;
28045 void *argp1 = 0 ;
28046 int res1 = 0 ;
28047 PyObject *swig_obj[1] ;
28048
28049 if (!args) SWIG_fail;
28050 swig_obj[0] = args;
28051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28052 if (!SWIG_IsOK(res1)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28054 }
28055 arg1 = reinterpret_cast< wxListItem * >(argp1);
28056 result = (int) ((arg1)->m_format);
28057 resultobj = SWIG_From_int(static_cast< int >(result));
28058 return resultobj;
28059fail:
28060 return NULL;
28061}
28062
28063
28064SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28065 PyObject *resultobj = 0;
28066 wxListItem *arg1 = (wxListItem *) 0 ;
28067 int arg2 ;
28068 void *argp1 = 0 ;
28069 int res1 = 0 ;
28070 int val2 ;
28071 int ecode2 = 0 ;
28072 PyObject *swig_obj[2] ;
28073
28074 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28076 if (!SWIG_IsOK(res1)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28078 }
28079 arg1 = reinterpret_cast< wxListItem * >(argp1);
28080 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28081 if (!SWIG_IsOK(ecode2)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28083 }
28084 arg2 = static_cast< int >(val2);
28085 if (arg1) (arg1)->m_width = arg2;
28086
28087 resultobj = SWIG_Py_Void();
28088 return resultobj;
28089fail:
28090 return NULL;
d14a1e28
RD
28091}
28092
28093
0085ce49
RD
28094SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28095 PyObject *resultobj = 0;
28096 wxListItem *arg1 = (wxListItem *) 0 ;
28097 int result;
28098 void *argp1 = 0 ;
28099 int res1 = 0 ;
28100 PyObject *swig_obj[1] ;
28101
28102 if (!args) SWIG_fail;
28103 swig_obj[0] = args;
28104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28105 if (!SWIG_IsOK(res1)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28107 }
28108 arg1 = reinterpret_cast< wxListItem * >(argp1);
28109 result = (int) ((arg1)->m_width);
28110 resultobj = SWIG_From_int(static_cast< int >(result));
28111 return resultobj;
28112fail:
28113 return NULL;
28114}
28115
28116
28117SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28118 PyObject *obj;
28119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28120 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28121 return SWIG_Py_Void();
28122}
28123
28124SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28125 return SWIG_Python_InitShadowInstance(args);
28126}
28127
28128SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28129 PyObject *resultobj = 0;
28130 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28131 int arg2 = (int) 0 ;
28132 wxListEvent *result = 0 ;
28133 int val1 ;
28134 int ecode1 = 0 ;
28135 int val2 ;
28136 int ecode2 = 0 ;
28137 PyObject * obj0 = 0 ;
28138 PyObject * obj1 = 0 ;
28139 char * kwnames[] = {
28140 (char *) "commandType",(char *) "id", NULL
28141 };
28142
28143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28144 if (obj0) {
28145 ecode1 = SWIG_AsVal_int(obj0, &val1);
28146 if (!SWIG_IsOK(ecode1)) {
28147 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28148 }
28149 arg1 = static_cast< wxEventType >(val1);
28150 }
28151 if (obj1) {
28152 ecode2 = SWIG_AsVal_int(obj1, &val2);
28153 if (!SWIG_IsOK(ecode2)) {
28154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28155 }
28156 arg2 = static_cast< int >(val2);
28157 }
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28161 wxPyEndAllowThreads(__tstate);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
28164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28165 return resultobj;
28166fail:
28167 return NULL;
28168}
28169
28170
28171SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28172 PyObject *resultobj = 0;
28173 wxListEvent *arg1 = (wxListEvent *) 0 ;
28174 int arg2 ;
28175 void *argp1 = 0 ;
28176 int res1 = 0 ;
28177 int val2 ;
28178 int ecode2 = 0 ;
28179 PyObject *swig_obj[2] ;
28180
28181 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28183 if (!SWIG_IsOK(res1)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28185 }
28186 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28187 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28188 if (!SWIG_IsOK(ecode2)) {
28189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28190 }
28191 arg2 = static_cast< int >(val2);
28192 if (arg1) (arg1)->m_code = arg2;
28193
28194 resultobj = SWIG_Py_Void();
28195 return resultobj;
28196fail:
28197 return NULL;
d14a1e28
RD
28198}
28199
28200
0085ce49
RD
28201SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28202 PyObject *resultobj = 0;
28203 wxListEvent *arg1 = (wxListEvent *) 0 ;
28204 int result;
28205 void *argp1 = 0 ;
28206 int res1 = 0 ;
28207 PyObject *swig_obj[1] ;
28208
28209 if (!args) SWIG_fail;
28210 swig_obj[0] = args;
28211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28212 if (!SWIG_IsOK(res1)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28214 }
28215 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28216 result = (int) ((arg1)->m_code);
28217 resultobj = SWIG_From_int(static_cast< int >(result));
28218 return resultobj;
28219fail:
28220 return NULL;
28221}
28222
28223
28224SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28225 PyObject *resultobj = 0;
28226 wxListEvent *arg1 = (wxListEvent *) 0 ;
28227 long arg2 ;
28228 void *argp1 = 0 ;
28229 int res1 = 0 ;
28230 long val2 ;
28231 int ecode2 = 0 ;
28232 PyObject *swig_obj[2] ;
28233
28234 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28236 if (!SWIG_IsOK(res1)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28238 }
28239 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28240 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28241 if (!SWIG_IsOK(ecode2)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28243 }
28244 arg2 = static_cast< long >(val2);
28245 if (arg1) (arg1)->m_oldItemIndex = arg2;
28246
28247 resultobj = SWIG_Py_Void();
28248 return resultobj;
28249fail:
28250 return NULL;
d14a1e28
RD
28251}
28252
28253
0085ce49
RD
28254SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28255 PyObject *resultobj = 0;
28256 wxListEvent *arg1 = (wxListEvent *) 0 ;
28257 long result;
28258 void *argp1 = 0 ;
28259 int res1 = 0 ;
28260 PyObject *swig_obj[1] ;
28261
28262 if (!args) SWIG_fail;
28263 swig_obj[0] = args;
28264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28265 if (!SWIG_IsOK(res1)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28267 }
28268 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28269 result = (long) ((arg1)->m_oldItemIndex);
28270 resultobj = SWIG_From_long(static_cast< long >(result));
28271 return resultobj;
28272fail:
28273 return NULL;
28274}
28275
28276
28277SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28278 PyObject *resultobj = 0;
28279 wxListEvent *arg1 = (wxListEvent *) 0 ;
28280 long arg2 ;
28281 void *argp1 = 0 ;
28282 int res1 = 0 ;
28283 long val2 ;
28284 int ecode2 = 0 ;
28285 PyObject *swig_obj[2] ;
28286
28287 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28289 if (!SWIG_IsOK(res1)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28291 }
28292 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28293 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28294 if (!SWIG_IsOK(ecode2)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28296 }
28297 arg2 = static_cast< long >(val2);
28298 if (arg1) (arg1)->m_itemIndex = arg2;
28299
28300 resultobj = SWIG_Py_Void();
28301 return resultobj;
28302fail:
28303 return NULL;
d14a1e28
RD
28304}
28305
28306
0085ce49
RD
28307SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28308 PyObject *resultobj = 0;
28309 wxListEvent *arg1 = (wxListEvent *) 0 ;
28310 long result;
28311 void *argp1 = 0 ;
28312 int res1 = 0 ;
28313 PyObject *swig_obj[1] ;
28314
28315 if (!args) SWIG_fail;
28316 swig_obj[0] = args;
28317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28318 if (!SWIG_IsOK(res1)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28320 }
28321 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28322 result = (long) ((arg1)->m_itemIndex);
28323 resultobj = SWIG_From_long(static_cast< long >(result));
28324 return resultobj;
28325fail:
28326 return NULL;
28327}
28328
28329
28330SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28331 PyObject *resultobj = 0;
28332 wxListEvent *arg1 = (wxListEvent *) 0 ;
28333 int arg2 ;
28334 void *argp1 = 0 ;
28335 int res1 = 0 ;
28336 int val2 ;
28337 int ecode2 = 0 ;
28338 PyObject *swig_obj[2] ;
28339
28340 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28342 if (!SWIG_IsOK(res1)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28344 }
28345 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28346 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28347 if (!SWIG_IsOK(ecode2)) {
28348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28349 }
28350 arg2 = static_cast< int >(val2);
28351 if (arg1) (arg1)->m_col = arg2;
28352
28353 resultobj = SWIG_Py_Void();
28354 return resultobj;
28355fail:
28356 return NULL;
7e08d4ef
RD
28357}
28358
28359
0085ce49
RD
28360SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28361 PyObject *resultobj = 0;
28362 wxListEvent *arg1 = (wxListEvent *) 0 ;
28363 int result;
28364 void *argp1 = 0 ;
28365 int res1 = 0 ;
28366 PyObject *swig_obj[1] ;
28367
28368 if (!args) SWIG_fail;
28369 swig_obj[0] = args;
28370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28371 if (!SWIG_IsOK(res1)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28373 }
28374 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28375 result = (int) ((arg1)->m_col);
28376 resultobj = SWIG_From_int(static_cast< int >(result));
28377 return resultobj;
28378fail:
28379 return NULL;
28380}
28381
28382
28383SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28384 PyObject *resultobj = 0;
28385 wxListEvent *arg1 = (wxListEvent *) 0 ;
28386 wxPoint *arg2 = (wxPoint *) 0 ;
28387 void *argp1 = 0 ;
28388 int res1 = 0 ;
28389 void *argp2 = 0 ;
28390 int res2 = 0 ;
28391 PyObject *swig_obj[2] ;
28392
28393 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28395 if (!SWIG_IsOK(res1)) {
28396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28397 }
28398 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28399 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28400 if (!SWIG_IsOK(res2)) {
28401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28402 }
28403 arg2 = reinterpret_cast< wxPoint * >(argp2);
28404 if (arg1) (arg1)->m_pointDrag = *arg2;
28405
28406 resultobj = SWIG_Py_Void();
28407 return resultobj;
28408fail:
28409 return NULL;
7e08d4ef
RD
28410}
28411
28412
0085ce49
RD
28413SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28414 PyObject *resultobj = 0;
28415 wxListEvent *arg1 = (wxListEvent *) 0 ;
28416 wxPoint *result = 0 ;
28417 void *argp1 = 0 ;
28418 int res1 = 0 ;
28419 PyObject *swig_obj[1] ;
28420
28421 if (!args) SWIG_fail;
28422 swig_obj[0] = args;
28423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28424 if (!SWIG_IsOK(res1)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28426 }
28427 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28428 result = (wxPoint *)& ((arg1)->m_pointDrag);
28429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28430 return resultobj;
28431fail:
28432 return NULL;
28433}
28434
28435
28436SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28437 PyObject *resultobj = 0;
28438 wxListEvent *arg1 = (wxListEvent *) 0 ;
28439 wxListItem *result = 0 ;
28440 void *argp1 = 0 ;
28441 int res1 = 0 ;
28442 PyObject *swig_obj[1] ;
28443
28444 if (!args) SWIG_fail;
28445 swig_obj[0] = args;
28446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28447 if (!SWIG_IsOK(res1)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28449 }
28450 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28451 result = (wxListItem *)& ((arg1)->m_item);
28452 {
3ecece7e 28453 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
28454 }
28455 return resultobj;
28456fail:
28457 return NULL;
7e08d4ef
RD
28458}
28459
28460
0085ce49
RD
28461SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28462 PyObject *resultobj = 0;
28463 wxListEvent *arg1 = (wxListEvent *) 0 ;
28464 int result;
28465 void *argp1 = 0 ;
28466 int res1 = 0 ;
28467 PyObject *swig_obj[1] ;
28468
28469 if (!args) SWIG_fail;
28470 swig_obj[0] = args;
28471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28472 if (!SWIG_IsOK(res1)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28474 }
28475 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28476 {
28477 PyThreadState* __tstate = wxPyBeginAllowThreads();
28478 result = (int)(arg1)->GetKeyCode();
28479 wxPyEndAllowThreads(__tstate);
28480 if (PyErr_Occurred()) SWIG_fail;
28481 }
28482 resultobj = SWIG_From_int(static_cast< int >(result));
28483 return resultobj;
28484fail:
28485 return NULL;
7e08d4ef
RD
28486}
28487
28488
0085ce49
RD
28489SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28490 PyObject *resultobj = 0;
28491 wxListEvent *arg1 = (wxListEvent *) 0 ;
28492 long result;
28493 void *argp1 = 0 ;
28494 int res1 = 0 ;
28495 PyObject *swig_obj[1] ;
28496
28497 if (!args) SWIG_fail;
28498 swig_obj[0] = args;
28499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28500 if (!SWIG_IsOK(res1)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28502 }
28503 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28504 {
28505 PyThreadState* __tstate = wxPyBeginAllowThreads();
28506 result = (long)(arg1)->GetIndex();
28507 wxPyEndAllowThreads(__tstate);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
28510 resultobj = SWIG_From_long(static_cast< long >(result));
28511 return resultobj;
28512fail:
28513 return NULL;
7e08d4ef
RD
28514}
28515
28516
0085ce49
RD
28517SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28518 PyObject *resultobj = 0;
28519 wxListEvent *arg1 = (wxListEvent *) 0 ;
28520 int result;
28521 void *argp1 = 0 ;
28522 int res1 = 0 ;
28523 PyObject *swig_obj[1] ;
28524
28525 if (!args) SWIG_fail;
28526 swig_obj[0] = args;
28527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28528 if (!SWIG_IsOK(res1)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28530 }
28531 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 result = (int)(arg1)->GetColumn();
28535 wxPyEndAllowThreads(__tstate);
28536 if (PyErr_Occurred()) SWIG_fail;
28537 }
28538 resultobj = SWIG_From_int(static_cast< int >(result));
28539 return resultobj;
28540fail:
28541 return NULL;
d14a1e28
RD
28542}
28543
28544
0085ce49
RD
28545SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28546 PyObject *resultobj = 0;
28547 wxListEvent *arg1 = (wxListEvent *) 0 ;
28548 wxPoint result;
28549 void *argp1 = 0 ;
28550 int res1 = 0 ;
28551 PyObject *swig_obj[1] ;
28552
28553 if (!args) SWIG_fail;
28554 swig_obj[0] = args;
28555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28556 if (!SWIG_IsOK(res1)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28558 }
28559 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 result = (arg1)->GetPoint();
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28567 return resultobj;
28568fail:
28569 return NULL;
d14a1e28
RD
28570}
28571
28572
0085ce49
RD
28573SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28574 PyObject *resultobj = 0;
28575 wxListEvent *arg1 = (wxListEvent *) 0 ;
28576 wxString *result = 0 ;
28577 void *argp1 = 0 ;
28578 int res1 = 0 ;
28579 PyObject *swig_obj[1] ;
28580
28581 if (!args) SWIG_fail;
28582 swig_obj[0] = args;
28583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28584 if (!SWIG_IsOK(res1)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28586 }
28587 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28588 {
28589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 28590 {
0085ce49
RD
28591 wxString const &_result_ref = (arg1)->GetLabel();
28592 result = (wxString *) &_result_ref;
4f89f6a3 28593 }
0085ce49
RD
28594 wxPyEndAllowThreads(__tstate);
28595 if (PyErr_Occurred()) SWIG_fail;
28596 }
28597 {
28598#if wxUSE_UNICODE
28599 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28600#else
28601 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28602#endif
28603 }
28604 return resultobj;
28605fail:
28606 return NULL;
d14a1e28
RD
28607}
28608
28609
0085ce49
RD
28610SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28611 PyObject *resultobj = 0;
28612 wxListEvent *arg1 = (wxListEvent *) 0 ;
28613 wxString *result = 0 ;
28614 void *argp1 = 0 ;
28615 int res1 = 0 ;
28616 PyObject *swig_obj[1] ;
28617
28618 if (!args) SWIG_fail;
28619 swig_obj[0] = args;
28620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28621 if (!SWIG_IsOK(res1)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28623 }
28624 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28625 {
28626 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 28627 {
0085ce49
RD
28628 wxString const &_result_ref = (arg1)->GetText();
28629 result = (wxString *) &_result_ref;
d14a1e28 28630 }
0085ce49
RD
28631 wxPyEndAllowThreads(__tstate);
28632 if (PyErr_Occurred()) SWIG_fail;
28633 }
28634 {
28635#if wxUSE_UNICODE
28636 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28637#else
28638 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28639#endif
28640 }
28641 return resultobj;
28642fail:
28643 return NULL;
d14a1e28
RD
28644}
28645
28646
0085ce49
RD
28647SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28648 PyObject *resultobj = 0;
28649 wxListEvent *arg1 = (wxListEvent *) 0 ;
28650 int result;
28651 void *argp1 = 0 ;
28652 int res1 = 0 ;
28653 PyObject *swig_obj[1] ;
28654
28655 if (!args) SWIG_fail;
28656 swig_obj[0] = args;
28657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28658 if (!SWIG_IsOK(res1)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28660 }
28661 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 result = (int)(arg1)->GetImage();
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_From_int(static_cast< int >(result));
28669 return resultobj;
28670fail:
28671 return NULL;
d14a1e28
RD
28672}
28673
28674
0085ce49
RD
28675SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 PyObject *resultobj = 0;
28677 wxListEvent *arg1 = (wxListEvent *) 0 ;
28678 long result;
28679 void *argp1 = 0 ;
28680 int res1 = 0 ;
28681 PyObject *swig_obj[1] ;
28682
28683 if (!args) SWIG_fail;
28684 swig_obj[0] = args;
28685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28686 if (!SWIG_IsOK(res1)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28688 }
28689 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 result = (long)(arg1)->GetData();
28693 wxPyEndAllowThreads(__tstate);
28694 if (PyErr_Occurred()) SWIG_fail;
28695 }
28696 resultobj = SWIG_From_long(static_cast< long >(result));
28697 return resultobj;
28698fail:
28699 return NULL;
d14a1e28
RD
28700}
28701
28702
0085ce49
RD
28703SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28704 PyObject *resultobj = 0;
28705 wxListEvent *arg1 = (wxListEvent *) 0 ;
28706 long result;
28707 void *argp1 = 0 ;
28708 int res1 = 0 ;
28709 PyObject *swig_obj[1] ;
28710
28711 if (!args) SWIG_fail;
28712 swig_obj[0] = args;
28713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28714 if (!SWIG_IsOK(res1)) {
28715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28716 }
28717 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 result = (long)(arg1)->GetMask();
28721 wxPyEndAllowThreads(__tstate);
28722 if (PyErr_Occurred()) SWIG_fail;
28723 }
28724 resultobj = SWIG_From_long(static_cast< long >(result));
28725 return resultobj;
28726fail:
28727 return NULL;
d14a1e28
RD
28728}
28729
28730
0085ce49
RD
28731SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28732 PyObject *resultobj = 0;
28733 wxListEvent *arg1 = (wxListEvent *) 0 ;
28734 wxListItem *result = 0 ;
28735 void *argp1 = 0 ;
28736 int res1 = 0 ;
28737 PyObject *swig_obj[1] ;
28738
28739 if (!args) SWIG_fail;
28740 swig_obj[0] = args;
28741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28742 if (!SWIG_IsOK(res1)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28744 }
28745 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28746 {
28747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 28748 {
0085ce49
RD
28749 wxListItem const &_result_ref = (arg1)->GetItem();
28750 result = (wxListItem *) &_result_ref;
22bfe96c 28751 }
0085ce49
RD
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28756 return resultobj;
28757fail:
28758 return NULL;
22bfe96c
RD
28759}
28760
28761
0085ce49
RD
28762SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28763 PyObject *resultobj = 0;
28764 wxListEvent *arg1 = (wxListEvent *) 0 ;
28765 long result;
28766 void *argp1 = 0 ;
28767 int res1 = 0 ;
28768 PyObject *swig_obj[1] ;
28769
28770 if (!args) SWIG_fail;
28771 swig_obj[0] = args;
28772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28773 if (!SWIG_IsOK(res1)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28775 }
28776 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28777 {
28778 PyThreadState* __tstate = wxPyBeginAllowThreads();
28779 result = (long)(arg1)->GetCacheFrom();
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 resultobj = SWIG_From_long(static_cast< long >(result));
28784 return resultobj;
28785fail:
28786 return NULL;
d14a1e28
RD
28787}
28788
28789
0085ce49
RD
28790SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28791 PyObject *resultobj = 0;
28792 wxListEvent *arg1 = (wxListEvent *) 0 ;
28793 long result;
28794 void *argp1 = 0 ;
28795 int res1 = 0 ;
28796 PyObject *swig_obj[1] ;
28797
28798 if (!args) SWIG_fail;
28799 swig_obj[0] = args;
28800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28801 if (!SWIG_IsOK(res1)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28803 }
28804 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 result = (long)(arg1)->GetCacheTo();
28808 wxPyEndAllowThreads(__tstate);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 resultobj = SWIG_From_long(static_cast< long >(result));
28812 return resultobj;
28813fail:
28814 return NULL;
d14a1e28
RD
28815}
28816
28817
0085ce49
RD
28818SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28819 PyObject *resultobj = 0;
28820 wxListEvent *arg1 = (wxListEvent *) 0 ;
28821 bool result;
28822 void *argp1 = 0 ;
28823 int res1 = 0 ;
28824 PyObject *swig_obj[1] ;
28825
28826 if (!args) SWIG_fail;
28827 swig_obj[0] = args;
28828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28829 if (!SWIG_IsOK(res1)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28831 }
28832 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28833 {
28834 PyThreadState* __tstate = wxPyBeginAllowThreads();
28835 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28836 wxPyEndAllowThreads(__tstate);
28837 if (PyErr_Occurred()) SWIG_fail;
28838 }
28839 {
28840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28841 }
28842 return resultobj;
28843fail:
28844 return NULL;
28845}
28846
28847
28848SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28849 PyObject *resultobj = 0;
28850 wxListEvent *arg1 = (wxListEvent *) 0 ;
28851 bool arg2 ;
28852 void *argp1 = 0 ;
28853 int res1 = 0 ;
28854 bool val2 ;
28855 int ecode2 = 0 ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 char * kwnames[] = {
28859 (char *) "self",(char *) "editCancelled", NULL
28860 };
28861
28862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28864 if (!SWIG_IsOK(res1)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28866 }
28867 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28868 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28869 if (!SWIG_IsOK(ecode2)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28871 }
28872 arg2 = static_cast< bool >(val2);
28873 {
28874 PyThreadState* __tstate = wxPyBeginAllowThreads();
28875 (arg1)->SetEditCanceled(arg2);
28876 wxPyEndAllowThreads(__tstate);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 }
28879 resultobj = SWIG_Py_Void();
28880 return resultobj;
28881fail:
28882 return NULL;
28883}
28884
28885
28886SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28887 PyObject *obj;
28888 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28889 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28890 return SWIG_Py_Void();
28891}
28892
28893SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28894 return SWIG_Python_InitShadowInstance(args);
28895}
28896
28897SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28898 PyObject *resultobj = 0;
28899 wxWindow *arg1 = (wxWindow *) 0 ;
28900 int arg2 = (int) -1 ;
28901 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28902 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28903 wxSize const &arg4_defvalue = wxDefaultSize ;
28904 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28905 long arg5 = (long) wxLC_ICON ;
28906 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28907 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28908 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28909 wxString *arg7 = (wxString *) &arg7_defvalue ;
28910 wxPyListCtrl *result = 0 ;
28911 void *argp1 = 0 ;
28912 int res1 = 0 ;
28913 int val2 ;
28914 int ecode2 = 0 ;
28915 wxPoint temp3 ;
28916 wxSize temp4 ;
28917 long val5 ;
28918 int ecode5 = 0 ;
28919 void *argp6 = 0 ;
28920 int res6 = 0 ;
28921 bool temp7 = false ;
28922 PyObject * obj0 = 0 ;
28923 PyObject * obj1 = 0 ;
28924 PyObject * obj2 = 0 ;
28925 PyObject * obj3 = 0 ;
28926 PyObject * obj4 = 0 ;
28927 PyObject * obj5 = 0 ;
28928 PyObject * obj6 = 0 ;
28929 char * kwnames[] = {
28930 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28931 };
28932
28933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28935 if (!SWIG_IsOK(res1)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28937 }
28938 arg1 = reinterpret_cast< wxWindow * >(argp1);
28939 if (obj1) {
28940 ecode2 = SWIG_AsVal_int(obj1, &val2);
28941 if (!SWIG_IsOK(ecode2)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28943 }
28944 arg2 = static_cast< int >(val2);
28945 }
28946 if (obj2) {
093d3ff1 28947 {
0085ce49
RD
28948 arg3 = &temp3;
28949 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28950 }
0085ce49
RD
28951 }
28952 if (obj3) {
d14a1e28 28953 {
0085ce49
RD
28954 arg4 = &temp4;
28955 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 28956 }
0085ce49
RD
28957 }
28958 if (obj4) {
28959 ecode5 = SWIG_AsVal_long(obj4, &val5);
28960 if (!SWIG_IsOK(ecode5)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28962 }
28963 arg5 = static_cast< long >(val5);
28964 }
28965 if (obj5) {
28966 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28967 if (!SWIG_IsOK(res6)) {
28968 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 28969 }
0085ce49
RD
28970 if (!argp6) {
28971 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28972 }
28973 arg6 = reinterpret_cast< wxValidator * >(argp6);
28974 }
28975 if (obj6) {
093d3ff1 28976 {
0085ce49
RD
28977 arg7 = wxString_in_helper(obj6);
28978 if (arg7 == NULL) SWIG_fail;
28979 temp7 = true;
093d3ff1 28980 }
0085ce49
RD
28981 }
28982 {
28983 if (!wxPyCheckForApp()) SWIG_fail;
28984 PyThreadState* __tstate = wxPyBeginAllowThreads();
28985 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28990 {
28991 if (temp7)
28992 delete arg7;
28993 }
28994 return resultobj;
28995fail:
28996 {
28997 if (temp7)
28998 delete arg7;
28999 }
29000 return NULL;
d14a1e28
RD
29001}
29002
29003
0085ce49
RD
29004SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29005 PyObject *resultobj = 0;
29006 wxPyListCtrl *result = 0 ;
29007
29008 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29009 {
29010 if (!wxPyCheckForApp()) SWIG_fail;
29011 PyThreadState* __tstate = wxPyBeginAllowThreads();
29012 result = (wxPyListCtrl *)new wxPyListCtrl();
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29017 return resultobj;
29018fail:
29019 return NULL;
29020}
29021
29022
29023SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29024 PyObject *resultobj = 0;
29025 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29026 wxWindow *arg2 = (wxWindow *) 0 ;
29027 int arg3 = (int) -1 ;
29028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29030 wxSize const &arg5_defvalue = wxDefaultSize ;
29031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29032 long arg6 = (long) wxLC_ICON ;
29033 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29034 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29035 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29036 wxString *arg8 = (wxString *) &arg8_defvalue ;
29037 bool result;
29038 void *argp1 = 0 ;
29039 int res1 = 0 ;
29040 void *argp2 = 0 ;
29041 int res2 = 0 ;
29042 int val3 ;
29043 int ecode3 = 0 ;
29044 wxPoint temp4 ;
29045 wxSize temp5 ;
29046 long val6 ;
29047 int ecode6 = 0 ;
29048 void *argp7 = 0 ;
29049 int res7 = 0 ;
29050 bool temp8 = false ;
29051 PyObject * obj0 = 0 ;
29052 PyObject * obj1 = 0 ;
29053 PyObject * obj2 = 0 ;
29054 PyObject * obj3 = 0 ;
29055 PyObject * obj4 = 0 ;
29056 PyObject * obj5 = 0 ;
29057 PyObject * obj6 = 0 ;
29058 PyObject * obj7 = 0 ;
29059 char * kwnames[] = {
29060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29061 };
29062
29063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29065 if (!SWIG_IsOK(res1)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29067 }
29068 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29069 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29070 if (!SWIG_IsOK(res2)) {
29071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29072 }
29073 arg2 = reinterpret_cast< wxWindow * >(argp2);
29074 if (obj2) {
29075 ecode3 = SWIG_AsVal_int(obj2, &val3);
29076 if (!SWIG_IsOK(ecode3)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29078 }
29079 arg3 = static_cast< int >(val3);
29080 }
29081 if (obj3) {
093d3ff1 29082 {
0085ce49
RD
29083 arg4 = &temp4;
29084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 29085 }
0085ce49
RD
29086 }
29087 if (obj4) {
d14a1e28 29088 {
0085ce49
RD
29089 arg5 = &temp5;
29090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 29091 }
0085ce49
RD
29092 }
29093 if (obj5) {
29094 ecode6 = SWIG_AsVal_long(obj5, &val6);
29095 if (!SWIG_IsOK(ecode6)) {
29096 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29097 }
29098 arg6 = static_cast< long >(val6);
29099 }
29100 if (obj6) {
29101 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29102 if (!SWIG_IsOK(res7)) {
29103 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 29104 }
0085ce49
RD
29105 if (!argp7) {
29106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 29107 }
0085ce49
RD
29108 arg7 = reinterpret_cast< wxValidator * >(argp7);
29109 }
29110 if (obj7) {
d14a1e28 29111 {
0085ce49
RD
29112 arg8 = wxString_in_helper(obj7);
29113 if (arg8 == NULL) SWIG_fail;
29114 temp8 = true;
d14a1e28 29115 }
0085ce49
RD
29116 }
29117 {
29118 PyThreadState* __tstate = wxPyBeginAllowThreads();
29119 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
29124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29125 }
29126 {
29127 if (temp8)
29128 delete arg8;
29129 }
29130 return resultobj;
29131fail:
29132 {
29133 if (temp8)
29134 delete arg8;
29135 }
29136 return NULL;
29137}
29138
29139
29140SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29141 PyObject *resultobj = 0;
29142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29143 PyObject *arg2 = (PyObject *) 0 ;
29144 PyObject *arg3 = (PyObject *) 0 ;
29145 void *argp1 = 0 ;
29146 int res1 = 0 ;
29147 PyObject * obj0 = 0 ;
29148 PyObject * obj1 = 0 ;
29149 PyObject * obj2 = 0 ;
29150 char * kwnames[] = {
29151 (char *) "self",(char *) "self",(char *) "_class", NULL
29152 };
29153
29154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29156 if (!SWIG_IsOK(res1)) {
29157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29158 }
29159 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29160 arg2 = obj1;
29161 arg3 = obj2;
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 (arg1)->_setCallbackInfo(arg2,arg3);
29165 wxPyEndAllowThreads(__tstate);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
29168 resultobj = SWIG_Py_Void();
29169 return resultobj;
29170fail:
29171 return NULL;
29172}
29173
29174
29175SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29176 PyObject *resultobj = 0;
29177 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29178 int arg2 ;
29179 wxListItem *result = 0 ;
29180 void *argp1 = 0 ;
29181 int res1 = 0 ;
29182 int val2 ;
29183 int ecode2 = 0 ;
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
29186 char * kwnames[] = {
29187 (char *) "self",(char *) "col", NULL
29188 };
29189
29190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29192 if (!SWIG_IsOK(res1)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29194 }
29195 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29196 ecode2 = SWIG_AsVal_int(obj1, &val2);
29197 if (!SWIG_IsOK(ecode2)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29199 }
29200 arg2 = static_cast< int >(val2);
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29204 wxPyEndAllowThreads(__tstate);
29205 if (PyErr_Occurred()) SWIG_fail;
29206 }
29207 {
3ecece7e 29208 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
29209 }
29210 return resultobj;
29211fail:
29212 return NULL;
29213}
29214
29215
29216SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29217 PyObject *resultobj = 0;
29218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29219 int arg2 ;
29220 wxListItem *arg3 = 0 ;
29221 bool result;
29222 void *argp1 = 0 ;
29223 int res1 = 0 ;
29224 int val2 ;
29225 int ecode2 = 0 ;
29226 void *argp3 = 0 ;
29227 int res3 = 0 ;
29228 PyObject * obj0 = 0 ;
29229 PyObject * obj1 = 0 ;
29230 PyObject * obj2 = 0 ;
29231 char * kwnames[] = {
29232 (char *) "self",(char *) "col",(char *) "item", NULL
29233 };
29234
29235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29237 if (!SWIG_IsOK(res1)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29239 }
29240 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29241 ecode2 = SWIG_AsVal_int(obj1, &val2);
29242 if (!SWIG_IsOK(ecode2)) {
29243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29244 }
29245 arg2 = static_cast< int >(val2);
29246 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29247 if (!SWIG_IsOK(res3)) {
29248 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29249 }
29250 if (!argp3) {
29251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29252 }
29253 arg3 = reinterpret_cast< wxListItem * >(argp3);
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29257 wxPyEndAllowThreads(__tstate);
29258 if (PyErr_Occurred()) SWIG_fail;
29259 }
29260 {
29261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29262 }
29263 return resultobj;
29264fail:
29265 return NULL;
29266}
29267
29268
29269SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29270 PyObject *resultobj = 0;
29271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29272 int arg2 ;
29273 int result;
29274 void *argp1 = 0 ;
29275 int res1 = 0 ;
29276 int val2 ;
29277 int ecode2 = 0 ;
29278 PyObject * obj0 = 0 ;
29279 PyObject * obj1 = 0 ;
29280 char * kwnames[] = {
29281 (char *) "self",(char *) "col", NULL
29282 };
29283
29284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29286 if (!SWIG_IsOK(res1)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29288 }
29289 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29290 ecode2 = SWIG_AsVal_int(obj1, &val2);
29291 if (!SWIG_IsOK(ecode2)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29293 }
29294 arg2 = static_cast< int >(val2);
29295 {
29296 PyThreadState* __tstate = wxPyBeginAllowThreads();
29297 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29298 wxPyEndAllowThreads(__tstate);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 resultobj = SWIG_From_int(static_cast< int >(result));
29302 return resultobj;
29303fail:
29304 return NULL;
29305}
29306
29307
29308SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29309 PyObject *resultobj = 0;
29310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29311 int arg2 ;
29312 int arg3 ;
29313 bool result;
29314 void *argp1 = 0 ;
29315 int res1 = 0 ;
29316 int val2 ;
29317 int ecode2 = 0 ;
29318 int val3 ;
29319 int ecode3 = 0 ;
29320 PyObject * obj0 = 0 ;
29321 PyObject * obj1 = 0 ;
29322 PyObject * obj2 = 0 ;
29323 char * kwnames[] = {
29324 (char *) "self",(char *) "col",(char *) "width", NULL
29325 };
29326
29327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29329 if (!SWIG_IsOK(res1)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29331 }
29332 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29333 ecode2 = SWIG_AsVal_int(obj1, &val2);
29334 if (!SWIG_IsOK(ecode2)) {
29335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29336 }
29337 arg2 = static_cast< int >(val2);
29338 ecode3 = SWIG_AsVal_int(obj2, &val3);
29339 if (!SWIG_IsOK(ecode3)) {
29340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29341 }
29342 arg3 = static_cast< int >(val3);
29343 {
29344 PyThreadState* __tstate = wxPyBeginAllowThreads();
29345 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29346 wxPyEndAllowThreads(__tstate);
29347 if (PyErr_Occurred()) SWIG_fail;
29348 }
29349 {
29350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29351 }
29352 return resultobj;
29353fail:
29354 return NULL;
d14a1e28
RD
29355}
29356
29357
0085ce49
RD
29358SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29359 PyObject *resultobj = 0;
29360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29361 int result;
29362 void *argp1 = 0 ;
29363 int res1 = 0 ;
29364 PyObject *swig_obj[1] ;
29365
29366 if (!args) SWIG_fail;
29367 swig_obj[0] = args;
29368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29369 if (!SWIG_IsOK(res1)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29371 }
29372 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29373 {
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
29375 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29376 wxPyEndAllowThreads(__tstate);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 }
29379 resultobj = SWIG_From_int(static_cast< int >(result));
29380 return resultobj;
29381fail:
29382 return NULL;
d14a1e28
RD
29383}
29384
29385
0085ce49
RD
29386SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29387 PyObject *resultobj = 0;
29388 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29389 wxRect result;
29390 void *argp1 = 0 ;
29391 int res1 = 0 ;
29392 PyObject *swig_obj[1] ;
29393
29394 if (!args) SWIG_fail;
29395 swig_obj[0] = args;
29396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29397 if (!SWIG_IsOK(res1)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29399 }
29400 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29401 {
29402 PyThreadState* __tstate = wxPyBeginAllowThreads();
29403 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29408 return resultobj;
29409fail:
29410 return NULL;
d14a1e28
RD
29411}
29412
29413
0085ce49
RD
29414SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29415 PyObject *resultobj = 0;
29416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29417 wxTextCtrl *result = 0 ;
29418 void *argp1 = 0 ;
29419 int res1 = 0 ;
29420 PyObject *swig_obj[1] ;
29421
29422 if (!args) SWIG_fail;
29423 swig_obj[0] = args;
29424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29425 if (!SWIG_IsOK(res1)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29427 }
29428 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29429 {
29430 PyThreadState* __tstate = wxPyBeginAllowThreads();
29431 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
29435 {
29436 resultobj = wxPyMake_wxObject(result, 0);
29437 }
29438 return resultobj;
29439fail:
29440 return NULL;
29441}
29442
29443
29444SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29445 PyObject *resultobj = 0;
29446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29447 long arg2 ;
29448 int arg3 = (int) 0 ;
29449 wxListItem *result = 0 ;
29450 void *argp1 = 0 ;
29451 int res1 = 0 ;
29452 long val2 ;
29453 int ecode2 = 0 ;
29454 int val3 ;
29455 int ecode3 = 0 ;
29456 PyObject * obj0 = 0 ;
29457 PyObject * obj1 = 0 ;
29458 PyObject * obj2 = 0 ;
29459 char * kwnames[] = {
29460 (char *) "self",(char *) "itemId",(char *) "col", NULL
29461 };
29462
29463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29465 if (!SWIG_IsOK(res1)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29467 }
29468 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29469 ecode2 = SWIG_AsVal_long(obj1, &val2);
29470 if (!SWIG_IsOK(ecode2)) {
29471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29472 }
29473 arg2 = static_cast< long >(val2);
29474 if (obj2) {
29475 ecode3 = SWIG_AsVal_int(obj2, &val3);
29476 if (!SWIG_IsOK(ecode3)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29478 }
29479 arg3 = static_cast< int >(val3);
29480 }
29481 {
29482 PyThreadState* __tstate = wxPyBeginAllowThreads();
29483 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29484 wxPyEndAllowThreads(__tstate);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
3ecece7e 29488 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
29489 }
29490 return resultobj;
29491fail:
29492 return NULL;
29493}
29494
29495
29496SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj = 0;
29498 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29499 wxListItem *arg2 = 0 ;
29500 bool result;
29501 void *argp1 = 0 ;
29502 int res1 = 0 ;
29503 void *argp2 = 0 ;
29504 int res2 = 0 ;
29505 PyObject * obj0 = 0 ;
29506 PyObject * obj1 = 0 ;
29507 char * kwnames[] = {
29508 (char *) "self",(char *) "info", NULL
29509 };
29510
29511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29513 if (!SWIG_IsOK(res1)) {
29514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29515 }
29516 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29517 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29518 if (!SWIG_IsOK(res2)) {
29519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29520 }
29521 if (!argp2) {
29522 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29523 }
29524 arg2 = reinterpret_cast< wxListItem * >(argp2);
29525 {
29526 PyThreadState* __tstate = wxPyBeginAllowThreads();
29527 result = (bool)(arg1)->SetItem(*arg2);
29528 wxPyEndAllowThreads(__tstate);
29529 if (PyErr_Occurred()) SWIG_fail;
29530 }
29531 {
29532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29533 }
29534 return resultobj;
29535fail:
29536 return NULL;
29537}
29538
29539
29540SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29541 PyObject *resultobj = 0;
29542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29543 long arg2 ;
29544 int arg3 ;
29545 wxString *arg4 = 0 ;
29546 int arg5 = (int) -1 ;
29547 long result;
29548 void *argp1 = 0 ;
29549 int res1 = 0 ;
29550 long val2 ;
29551 int ecode2 = 0 ;
29552 int val3 ;
29553 int ecode3 = 0 ;
29554 bool temp4 = false ;
29555 int val5 ;
29556 int ecode5 = 0 ;
29557 PyObject * obj0 = 0 ;
29558 PyObject * obj1 = 0 ;
29559 PyObject * obj2 = 0 ;
29560 PyObject * obj3 = 0 ;
29561 PyObject * obj4 = 0 ;
29562 char * kwnames[] = {
29563 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29564 };
29565
29566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29568 if (!SWIG_IsOK(res1)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29570 }
29571 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29572 ecode2 = SWIG_AsVal_long(obj1, &val2);
29573 if (!SWIG_IsOK(ecode2)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29575 }
29576 arg2 = static_cast< long >(val2);
29577 ecode3 = SWIG_AsVal_int(obj2, &val3);
29578 if (!SWIG_IsOK(ecode3)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29580 }
29581 arg3 = static_cast< int >(val3);
29582 {
29583 arg4 = wxString_in_helper(obj3);
29584 if (arg4 == NULL) SWIG_fail;
29585 temp4 = true;
29586 }
29587 if (obj4) {
29588 ecode5 = SWIG_AsVal_int(obj4, &val5);
29589 if (!SWIG_IsOK(ecode5)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29591 }
29592 arg5 = static_cast< int >(val5);
29593 }
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 resultobj = SWIG_From_long(static_cast< long >(result));
29601 {
29602 if (temp4)
29603 delete arg4;
29604 }
29605 return resultobj;
29606fail:
29607 {
29608 if (temp4)
29609 delete arg4;
29610 }
29611 return NULL;
29612}
29613
29614
29615SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29616 PyObject *resultobj = 0;
29617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29618 long arg2 ;
29619 long arg3 ;
29620 int result;
29621 void *argp1 = 0 ;
29622 int res1 = 0 ;
29623 long val2 ;
29624 int ecode2 = 0 ;
29625 long val3 ;
29626 int ecode3 = 0 ;
29627 PyObject * obj0 = 0 ;
29628 PyObject * obj1 = 0 ;
29629 PyObject * obj2 = 0 ;
29630 char * kwnames[] = {
29631 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29632 };
29633
29634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29636 if (!SWIG_IsOK(res1)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29638 }
29639 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29640 ecode2 = SWIG_AsVal_long(obj1, &val2);
29641 if (!SWIG_IsOK(ecode2)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29643 }
29644 arg2 = static_cast< long >(val2);
29645 ecode3 = SWIG_AsVal_long(obj2, &val3);
29646 if (!SWIG_IsOK(ecode3)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29648 }
29649 arg3 = static_cast< long >(val3);
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 resultobj = SWIG_From_int(static_cast< int >(result));
29657 return resultobj;
29658fail:
29659 return NULL;
29660}
29661
29662
29663SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29664 PyObject *resultobj = 0;
29665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29666 long arg2 ;
29667 long arg3 ;
29668 long arg4 ;
29669 bool result;
29670 void *argp1 = 0 ;
29671 int res1 = 0 ;
29672 long val2 ;
29673 int ecode2 = 0 ;
29674 long val3 ;
29675 int ecode3 = 0 ;
29676 long val4 ;
29677 int ecode4 = 0 ;
29678 PyObject * obj0 = 0 ;
29679 PyObject * obj1 = 0 ;
29680 PyObject * obj2 = 0 ;
29681 PyObject * obj3 = 0 ;
29682 char * kwnames[] = {
29683 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29684 };
29685
29686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29688 if (!SWIG_IsOK(res1)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29690 }
29691 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29692 ecode2 = SWIG_AsVal_long(obj1, &val2);
29693 if (!SWIG_IsOK(ecode2)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29695 }
29696 arg2 = static_cast< long >(val2);
29697 ecode3 = SWIG_AsVal_long(obj2, &val3);
29698 if (!SWIG_IsOK(ecode3)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29700 }
29701 arg3 = static_cast< long >(val3);
29702 ecode4 = SWIG_AsVal_long(obj3, &val4);
29703 if (!SWIG_IsOK(ecode4)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29705 }
29706 arg4 = static_cast< long >(val4);
29707 {
29708 PyThreadState* __tstate = wxPyBeginAllowThreads();
29709 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29710 wxPyEndAllowThreads(__tstate);
29711 if (PyErr_Occurred()) SWIG_fail;
29712 }
29713 {
29714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29715 }
29716 return resultobj;
29717fail:
29718 return NULL;
29719}
29720
29721
29722SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29723 PyObject *resultobj = 0;
29724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29725 long arg2 ;
29726 int arg3 ;
29727 int arg4 = (int) -1 ;
29728 bool result;
29729 void *argp1 = 0 ;
29730 int res1 = 0 ;
29731 long val2 ;
29732 int ecode2 = 0 ;
29733 int val3 ;
29734 int ecode3 = 0 ;
29735 int val4 ;
29736 int ecode4 = 0 ;
29737 PyObject * obj0 = 0 ;
29738 PyObject * obj1 = 0 ;
29739 PyObject * obj2 = 0 ;
29740 PyObject * obj3 = 0 ;
29741 char * kwnames[] = {
29742 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29743 };
29744
29745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29747 if (!SWIG_IsOK(res1)) {
29748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29749 }
29750 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29751 ecode2 = SWIG_AsVal_long(obj1, &val2);
29752 if (!SWIG_IsOK(ecode2)) {
29753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29754 }
29755 arg2 = static_cast< long >(val2);
29756 ecode3 = SWIG_AsVal_int(obj2, &val3);
29757 if (!SWIG_IsOK(ecode3)) {
29758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29759 }
29760 arg3 = static_cast< int >(val3);
29761 if (obj3) {
29762 ecode4 = SWIG_AsVal_int(obj3, &val4);
29763 if (!SWIG_IsOK(ecode4)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29765 }
29766 arg4 = static_cast< int >(val4);
29767 }
29768 {
29769 PyThreadState* __tstate = wxPyBeginAllowThreads();
29770 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29771 wxPyEndAllowThreads(__tstate);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
29774 {
29775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29776 }
29777 return resultobj;
29778fail:
29779 return NULL;
29780}
29781
29782
29783SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29784 PyObject *resultobj = 0;
29785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29786 long arg2 ;
29787 long arg3 ;
29788 int arg4 ;
29789 bool result;
29790 void *argp1 = 0 ;
29791 int res1 = 0 ;
29792 long val2 ;
29793 int ecode2 = 0 ;
29794 long val3 ;
29795 int ecode3 = 0 ;
29796 int val4 ;
29797 int ecode4 = 0 ;
29798 PyObject * obj0 = 0 ;
29799 PyObject * obj1 = 0 ;
29800 PyObject * obj2 = 0 ;
29801 PyObject * obj3 = 0 ;
29802 char * kwnames[] = {
29803 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29804 };
29805
29806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29808 if (!SWIG_IsOK(res1)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29810 }
29811 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29812 ecode2 = SWIG_AsVal_long(obj1, &val2);
29813 if (!SWIG_IsOK(ecode2)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29815 }
29816 arg2 = static_cast< long >(val2);
29817 ecode3 = SWIG_AsVal_long(obj2, &val3);
29818 if (!SWIG_IsOK(ecode3)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29820 }
29821 arg3 = static_cast< long >(val3);
29822 ecode4 = SWIG_AsVal_int(obj3, &val4);
29823 if (!SWIG_IsOK(ecode4)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29825 }
29826 arg4 = static_cast< int >(val4);
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 {
29834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29835 }
29836 return resultobj;
29837fail:
29838 return NULL;
29839}
29840
29841
29842SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29843 PyObject *resultobj = 0;
29844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29845 long arg2 ;
29846 wxString result;
29847 void *argp1 = 0 ;
29848 int res1 = 0 ;
29849 long val2 ;
29850 int ecode2 = 0 ;
29851 PyObject * obj0 = 0 ;
29852 PyObject * obj1 = 0 ;
29853 char * kwnames[] = {
29854 (char *) "self",(char *) "item", NULL
29855 };
29856
29857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29859 if (!SWIG_IsOK(res1)) {
29860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29861 }
29862 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29863 ecode2 = SWIG_AsVal_long(obj1, &val2);
29864 if (!SWIG_IsOK(ecode2)) {
29865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29866 }
29867 arg2 = static_cast< long >(val2);
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 {
29875#if wxUSE_UNICODE
29876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29877#else
29878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29879#endif
29880 }
29881 return resultobj;
29882fail:
29883 return NULL;
29884}
29885
29886
29887SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29888 PyObject *resultobj = 0;
29889 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29890 long arg2 ;
29891 wxString *arg3 = 0 ;
29892 void *argp1 = 0 ;
29893 int res1 = 0 ;
29894 long val2 ;
29895 int ecode2 = 0 ;
29896 bool temp3 = false ;
29897 PyObject * obj0 = 0 ;
29898 PyObject * obj1 = 0 ;
29899 PyObject * obj2 = 0 ;
29900 char * kwnames[] = {
29901 (char *) "self",(char *) "item",(char *) "str", NULL
29902 };
29903
29904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29906 if (!SWIG_IsOK(res1)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29908 }
29909 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29910 ecode2 = SWIG_AsVal_long(obj1, &val2);
29911 if (!SWIG_IsOK(ecode2)) {
29912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29913 }
29914 arg2 = static_cast< long >(val2);
29915 {
29916 arg3 = wxString_in_helper(obj2);
29917 if (arg3 == NULL) SWIG_fail;
29918 temp3 = true;
29919 }
29920 {
29921 PyThreadState* __tstate = wxPyBeginAllowThreads();
29922 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29923 wxPyEndAllowThreads(__tstate);
29924 if (PyErr_Occurred()) SWIG_fail;
29925 }
29926 resultobj = SWIG_Py_Void();
29927 {
29928 if (temp3)
29929 delete arg3;
29930 }
29931 return resultobj;
29932fail:
29933 {
29934 if (temp3)
29935 delete arg3;
29936 }
29937 return NULL;
29938}
29939
29940
29941SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29942 PyObject *resultobj = 0;
29943 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29944 long arg2 ;
29945 long result;
29946 void *argp1 = 0 ;
29947 int res1 = 0 ;
29948 long val2 ;
29949 int ecode2 = 0 ;
29950 PyObject * obj0 = 0 ;
29951 PyObject * obj1 = 0 ;
29952 char * kwnames[] = {
29953 (char *) "self",(char *) "item", NULL
29954 };
29955
29956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29958 if (!SWIG_IsOK(res1)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29960 }
29961 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29962 ecode2 = SWIG_AsVal_long(obj1, &val2);
29963 if (!SWIG_IsOK(ecode2)) {
29964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29965 }
29966 arg2 = static_cast< long >(val2);
29967 {
29968 PyThreadState* __tstate = wxPyBeginAllowThreads();
29969 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
29973 resultobj = SWIG_From_long(static_cast< long >(result));
29974 return resultobj;
29975fail:
29976 return NULL;
29977}
29978
29979
29980SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29981 PyObject *resultobj = 0;
29982 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29983 long arg2 ;
29984 long arg3 ;
29985 bool result;
29986 void *argp1 = 0 ;
29987 int res1 = 0 ;
29988 long val2 ;
29989 int ecode2 = 0 ;
29990 long val3 ;
29991 int ecode3 = 0 ;
29992 PyObject * obj0 = 0 ;
29993 PyObject * obj1 = 0 ;
29994 PyObject * obj2 = 0 ;
29995 char * kwnames[] = {
29996 (char *) "self",(char *) "item",(char *) "data", NULL
29997 };
29998
29999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30001 if (!SWIG_IsOK(res1)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30003 }
30004 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30005 ecode2 = SWIG_AsVal_long(obj1, &val2);
30006 if (!SWIG_IsOK(ecode2)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30008 }
30009 arg2 = static_cast< long >(val2);
30010 ecode3 = SWIG_AsVal_long(obj2, &val3);
30011 if (!SWIG_IsOK(ecode3)) {
30012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30013 }
30014 arg3 = static_cast< long >(val3);
30015 {
30016 PyThreadState* __tstate = wxPyBeginAllowThreads();
30017 result = (bool)(arg1)->SetItemData(arg2,arg3);
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 {
30022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30023 }
30024 return resultobj;
30025fail:
30026 return NULL;
30027}
30028
30029
30030SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30031 PyObject *resultobj = 0;
30032 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30033 long arg2 ;
30034 wxPoint result;
30035 void *argp1 = 0 ;
30036 int res1 = 0 ;
30037 long val2 ;
30038 int ecode2 = 0 ;
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 char * kwnames[] = {
30042 (char *) "self",(char *) "item", NULL
30043 };
30044
30045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30047 if (!SWIG_IsOK(res1)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30049 }
30050 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30051 ecode2 = SWIG_AsVal_long(obj1, &val2);
30052 if (!SWIG_IsOK(ecode2)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30054 }
30055 arg2 = static_cast< long >(val2);
30056 {
30057 PyThreadState* __tstate = wxPyBeginAllowThreads();
30058 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30063 return resultobj;
30064fail:
30065 return NULL;
30066}
30067
30068
30069SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30070 PyObject *resultobj = 0;
30071 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30072 long arg2 ;
30073 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30074 wxRect result;
30075 void *argp1 = 0 ;
30076 int res1 = 0 ;
30077 long val2 ;
30078 int ecode2 = 0 ;
30079 int val3 ;
30080 int ecode3 = 0 ;
30081 PyObject * obj0 = 0 ;
30082 PyObject * obj1 = 0 ;
30083 PyObject * obj2 = 0 ;
30084 char * kwnames[] = {
30085 (char *) "self",(char *) "item",(char *) "code", NULL
30086 };
30087
30088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30090 if (!SWIG_IsOK(res1)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30092 }
30093 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30094 ecode2 = SWIG_AsVal_long(obj1, &val2);
30095 if (!SWIG_IsOK(ecode2)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30097 }
30098 arg2 = static_cast< long >(val2);
30099 if (obj2) {
30100 ecode3 = SWIG_AsVal_int(obj2, &val3);
30101 if (!SWIG_IsOK(ecode3)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30103 }
30104 arg3 = static_cast< int >(val3);
30105 }
30106 {
30107 PyThreadState* __tstate = wxPyBeginAllowThreads();
30108 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30109 wxPyEndAllowThreads(__tstate);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 }
30112 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30113 return resultobj;
30114fail:
30115 return NULL;
30116}
30117
30118
30119SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30120 PyObject *resultobj = 0;
30121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30122 long arg2 ;
30123 wxPoint *arg3 = 0 ;
30124 bool result;
30125 void *argp1 = 0 ;
30126 int res1 = 0 ;
30127 long val2 ;
30128 int ecode2 = 0 ;
30129 wxPoint temp3 ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 PyObject * obj2 = 0 ;
30133 char * kwnames[] = {
30134 (char *) "self",(char *) "item",(char *) "pos", NULL
30135 };
30136
30137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30139 if (!SWIG_IsOK(res1)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30141 }
30142 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30143 ecode2 = SWIG_AsVal_long(obj1, &val2);
30144 if (!SWIG_IsOK(ecode2)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30146 }
30147 arg2 = static_cast< long >(val2);
30148 {
30149 arg3 = &temp3;
30150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30151 }
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30155 wxPyEndAllowThreads(__tstate);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 {
30159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30160 }
30161 return resultobj;
30162fail:
30163 return NULL;
d14a1e28
RD
30164}
30165
30166
0085ce49
RD
30167SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30168 PyObject *resultobj = 0;
30169 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30170 int result;
30171 void *argp1 = 0 ;
30172 int res1 = 0 ;
30173 PyObject *swig_obj[1] ;
30174
30175 if (!args) SWIG_fail;
30176 swig_obj[0] = args;
30177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30178 if (!SWIG_IsOK(res1)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30180 }
30181 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30182 {
30183 PyThreadState* __tstate = wxPyBeginAllowThreads();
30184 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30185 wxPyEndAllowThreads(__tstate);
30186 if (PyErr_Occurred()) SWIG_fail;
30187 }
30188 resultobj = SWIG_From_int(static_cast< int >(result));
30189 return resultobj;
30190fail:
30191 return NULL;
d14a1e28
RD
30192}
30193
30194
0085ce49
RD
30195SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30196 PyObject *resultobj = 0;
30197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30198 int result;
30199 void *argp1 = 0 ;
30200 int res1 = 0 ;
30201 PyObject *swig_obj[1] ;
30202
30203 if (!args) SWIG_fail;
30204 swig_obj[0] = args;
30205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30206 if (!SWIG_IsOK(res1)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30208 }
30209 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30210 {
30211 PyThreadState* __tstate = wxPyBeginAllowThreads();
30212 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30213 wxPyEndAllowThreads(__tstate);
30214 if (PyErr_Occurred()) SWIG_fail;
30215 }
30216 resultobj = SWIG_From_int(static_cast< int >(result));
30217 return resultobj;
30218fail:
30219 return NULL;
d14a1e28
RD
30220}
30221
30222
0085ce49
RD
30223SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30224 PyObject *resultobj = 0;
30225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30226 wxSize result;
30227 void *argp1 = 0 ;
30228 int res1 = 0 ;
30229 PyObject *swig_obj[1] ;
30230
30231 if (!args) SWIG_fail;
30232 swig_obj[0] = args;
30233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30234 if (!SWIG_IsOK(res1)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30236 }
30237 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30238 {
30239 PyThreadState* __tstate = wxPyBeginAllowThreads();
30240 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30241 wxPyEndAllowThreads(__tstate);
30242 if (PyErr_Occurred()) SWIG_fail;
30243 }
30244 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30245 return resultobj;
30246fail:
30247 return NULL;
30248}
30249
30250
30251SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30252 PyObject *resultobj = 0;
30253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30254 int arg2 ;
30255 bool arg3 = (bool) false ;
30256 void *argp1 = 0 ;
30257 int res1 = 0 ;
30258 int val2 ;
30259 int ecode2 = 0 ;
30260 bool val3 ;
30261 int ecode3 = 0 ;
30262 PyObject * obj0 = 0 ;
30263 PyObject * obj1 = 0 ;
30264 PyObject * obj2 = 0 ;
30265 char * kwnames[] = {
30266 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30267 };
30268
30269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30271 if (!SWIG_IsOK(res1)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30273 }
30274 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30275 ecode2 = SWIG_AsVal_int(obj1, &val2);
30276 if (!SWIG_IsOK(ecode2)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30278 }
30279 arg2 = static_cast< int >(val2);
30280 if (obj2) {
30281 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30282 if (!SWIG_IsOK(ecode3)) {
30283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30284 }
30285 arg3 = static_cast< bool >(val3);
30286 }
30287 {
30288 PyThreadState* __tstate = wxPyBeginAllowThreads();
30289 (arg1)->SetItemSpacing(arg2,arg3);
30290 wxPyEndAllowThreads(__tstate);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 resultobj = SWIG_Py_Void();
30294 return resultobj;
30295fail:
30296 return NULL;
22bfe96c
RD
30297}
30298
30299
0085ce49
RD
30300SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30301 PyObject *resultobj = 0;
30302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30303 int result;
30304 void *argp1 = 0 ;
30305 int res1 = 0 ;
30306 PyObject *swig_obj[1] ;
30307
30308 if (!args) SWIG_fail;
30309 swig_obj[0] = args;
30310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30311 if (!SWIG_IsOK(res1)) {
30312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30313 }
30314 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30315 {
30316 PyThreadState* __tstate = wxPyBeginAllowThreads();
30317 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30318 wxPyEndAllowThreads(__tstate);
30319 if (PyErr_Occurred()) SWIG_fail;
30320 }
30321 resultobj = SWIG_From_int(static_cast< int >(result));
30322 return resultobj;
30323fail:
30324 return NULL;
d14a1e28
RD
30325}
30326
30327
0085ce49
RD
30328SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30329 PyObject *resultobj = 0;
30330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30331 wxColour result;
30332 void *argp1 = 0 ;
30333 int res1 = 0 ;
30334 PyObject *swig_obj[1] ;
30335
30336 if (!args) SWIG_fail;
30337 swig_obj[0] = args;
30338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30339 if (!SWIG_IsOK(res1)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30341 }
30342 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30350 return resultobj;
30351fail:
30352 return NULL;
30353}
30354
30355
30356SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30357 PyObject *resultobj = 0;
30358 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30359 wxColour *arg2 = 0 ;
30360 void *argp1 = 0 ;
30361 int res1 = 0 ;
30362 wxColour temp2 ;
30363 PyObject * obj0 = 0 ;
30364 PyObject * obj1 = 0 ;
30365 char * kwnames[] = {
30366 (char *) "self",(char *) "col", NULL
30367 };
30368
30369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30371 if (!SWIG_IsOK(res1)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30373 }
30374 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30375 {
30376 arg2 = &temp2;
30377 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30378 }
30379 {
30380 PyThreadState* __tstate = wxPyBeginAllowThreads();
30381 (arg1)->SetTextColour((wxColour const &)*arg2);
30382 wxPyEndAllowThreads(__tstate);
30383 if (PyErr_Occurred()) SWIG_fail;
30384 }
30385 resultobj = SWIG_Py_Void();
30386 return resultobj;
30387fail:
30388 return NULL;
d14a1e28
RD
30389}
30390
30391
0085ce49
RD
30392SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30393 PyObject *resultobj = 0;
30394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30395 long result;
30396 void *argp1 = 0 ;
30397 int res1 = 0 ;
30398 PyObject *swig_obj[1] ;
30399
30400 if (!args) SWIG_fail;
30401 swig_obj[0] = args;
30402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30403 if (!SWIG_IsOK(res1)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30405 }
30406 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30407 {
30408 PyThreadState* __tstate = wxPyBeginAllowThreads();
30409 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30410 wxPyEndAllowThreads(__tstate);
30411 if (PyErr_Occurred()) SWIG_fail;
30412 }
30413 resultobj = SWIG_From_long(static_cast< long >(result));
30414 return resultobj;
30415fail:
30416 return NULL;
30417}
30418
30419
30420SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30421 PyObject *resultobj = 0;
30422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30423 long arg2 ;
30424 bool arg3 = (bool) true ;
30425 void *argp1 = 0 ;
30426 int res1 = 0 ;
30427 long val2 ;
30428 int ecode2 = 0 ;
30429 bool val3 ;
30430 int ecode3 = 0 ;
30431 PyObject * obj0 = 0 ;
30432 PyObject * obj1 = 0 ;
30433 PyObject * obj2 = 0 ;
30434 char * kwnames[] = {
30435 (char *) "self",(char *) "style",(char *) "add", NULL
30436 };
30437
30438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30440 if (!SWIG_IsOK(res1)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30442 }
30443 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30444 ecode2 = SWIG_AsVal_long(obj1, &val2);
30445 if (!SWIG_IsOK(ecode2)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30447 }
30448 arg2 = static_cast< long >(val2);
30449 if (obj2) {
30450 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30451 if (!SWIG_IsOK(ecode3)) {
30452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30453 }
30454 arg3 = static_cast< bool >(val3);
30455 }
30456 {
30457 PyThreadState* __tstate = wxPyBeginAllowThreads();
30458 (arg1)->SetSingleStyle(arg2,arg3);
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 resultobj = SWIG_Py_Void();
30463 return resultobj;
30464fail:
30465 return NULL;
30466}
30467
30468
30469SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30470 PyObject *resultobj = 0;
30471 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30472 long arg2 ;
30473 int arg3 = (int) wxLIST_NEXT_ALL ;
30474 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30475 long result;
30476 void *argp1 = 0 ;
30477 int res1 = 0 ;
30478 long val2 ;
30479 int ecode2 = 0 ;
30480 int val3 ;
30481 int ecode3 = 0 ;
30482 int val4 ;
30483 int ecode4 = 0 ;
30484 PyObject * obj0 = 0 ;
30485 PyObject * obj1 = 0 ;
30486 PyObject * obj2 = 0 ;
30487 PyObject * obj3 = 0 ;
30488 char * kwnames[] = {
30489 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30490 };
30491
30492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30494 if (!SWIG_IsOK(res1)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30496 }
30497 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30498 ecode2 = SWIG_AsVal_long(obj1, &val2);
30499 if (!SWIG_IsOK(ecode2)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30501 }
30502 arg2 = static_cast< long >(val2);
30503 if (obj2) {
30504 ecode3 = SWIG_AsVal_int(obj2, &val3);
30505 if (!SWIG_IsOK(ecode3)) {
30506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30507 }
30508 arg3 = static_cast< int >(val3);
30509 }
30510 if (obj3) {
30511 ecode4 = SWIG_AsVal_int(obj3, &val4);
30512 if (!SWIG_IsOK(ecode4)) {
30513 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30514 }
30515 arg4 = static_cast< int >(val4);
30516 }
30517 {
30518 PyThreadState* __tstate = wxPyBeginAllowThreads();
30519 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30520 wxPyEndAllowThreads(__tstate);
30521 if (PyErr_Occurred()) SWIG_fail;
30522 }
30523 resultobj = SWIG_From_long(static_cast< long >(result));
30524 return resultobj;
30525fail:
30526 return NULL;
30527}
30528
30529
30530SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30531 PyObject *resultobj = 0;
30532 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30533 int arg2 ;
30534 wxImageList *result = 0 ;
30535 void *argp1 = 0 ;
30536 int res1 = 0 ;
30537 int val2 ;
30538 int ecode2 = 0 ;
30539 PyObject * obj0 = 0 ;
30540 PyObject * obj1 = 0 ;
30541 char * kwnames[] = {
30542 (char *) "self",(char *) "which", NULL
30543 };
30544
30545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30547 if (!SWIG_IsOK(res1)) {
30548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30549 }
30550 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30551 ecode2 = SWIG_AsVal_int(obj1, &val2);
30552 if (!SWIG_IsOK(ecode2)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30554 }
30555 arg2 = static_cast< int >(val2);
30556 {
30557 PyThreadState* __tstate = wxPyBeginAllowThreads();
30558 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30559 wxPyEndAllowThreads(__tstate);
30560 if (PyErr_Occurred()) SWIG_fail;
30561 }
3ecece7e
RD
30562 {
30563 resultobj = wxPyMake_wxObject(result, (bool)0);
30564 }
0085ce49
RD
30565 return resultobj;
30566fail:
30567 return NULL;
30568}
30569
30570
30571SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30572 PyObject *resultobj = 0;
30573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30574 wxImageList *arg2 = (wxImageList *) 0 ;
30575 int arg3 ;
30576 void *argp1 = 0 ;
30577 int res1 = 0 ;
30578 void *argp2 = 0 ;
30579 int res2 = 0 ;
30580 int val3 ;
30581 int ecode3 = 0 ;
30582 PyObject * obj0 = 0 ;
30583 PyObject * obj1 = 0 ;
30584 PyObject * obj2 = 0 ;
30585 char * kwnames[] = {
30586 (char *) "self",(char *) "imageList",(char *) "which", NULL
30587 };
30588
30589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30591 if (!SWIG_IsOK(res1)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30593 }
30594 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30595 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30596 if (!SWIG_IsOK(res2)) {
30597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30598 }
30599 arg2 = reinterpret_cast< wxImageList * >(argp2);
30600 ecode3 = SWIG_AsVal_int(obj2, &val3);
30601 if (!SWIG_IsOK(ecode3)) {
30602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30603 }
30604 arg3 = static_cast< int >(val3);
30605 {
30606 PyThreadState* __tstate = wxPyBeginAllowThreads();
30607 (arg1)->SetImageList(arg2,arg3);
30608 wxPyEndAllowThreads(__tstate);
30609 if (PyErr_Occurred()) SWIG_fail;
30610 }
30611 resultobj = SWIG_Py_Void();
30612 return resultobj;
30613fail:
30614 return NULL;
30615}
30616
30617
30618SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30619 PyObject *resultobj = 0;
30620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30621 wxImageList *arg2 = (wxImageList *) 0 ;
30622 int arg3 ;
30623 void *argp1 = 0 ;
30624 int res1 = 0 ;
30625 int res2 = 0 ;
30626 int val3 ;
30627 int ecode3 = 0 ;
30628 PyObject * obj0 = 0 ;
30629 PyObject * obj1 = 0 ;
30630 PyObject * obj2 = 0 ;
30631 char * kwnames[] = {
30632 (char *) "self",(char *) "imageList",(char *) "which", NULL
30633 };
30634
30635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30637 if (!SWIG_IsOK(res1)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30639 }
30640 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30641 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30642 if (!SWIG_IsOK(res2)) {
30643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30644 }
30645 ecode3 = SWIG_AsVal_int(obj2, &val3);
30646 if (!SWIG_IsOK(ecode3)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30648 }
30649 arg3 = static_cast< int >(val3);
30650 {
30651 PyThreadState* __tstate = wxPyBeginAllowThreads();
30652 (arg1)->AssignImageList(arg2,arg3);
30653 wxPyEndAllowThreads(__tstate);
30654 if (PyErr_Occurred()) SWIG_fail;
30655 }
30656 resultobj = SWIG_Py_Void();
30657 return resultobj;
30658fail:
30659 return NULL;
d14a1e28
RD
30660}
30661
30662
0085ce49
RD
30663SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30664 PyObject *resultobj = 0;
30665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30666 bool result;
30667 void *argp1 = 0 ;
30668 int res1 = 0 ;
30669 PyObject *swig_obj[1] ;
30670
30671 if (!args) SWIG_fail;
30672 swig_obj[0] = args;
30673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30674 if (!SWIG_IsOK(res1)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30676 }
30677 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30678 {
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30681 wxPyEndAllowThreads(__tstate);
30682 if (PyErr_Occurred()) SWIG_fail;
30683 }
30684 {
30685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30686 }
30687 return resultobj;
30688fail:
30689 return NULL;
d14a1e28
RD
30690}
30691
30692
0085ce49
RD
30693SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30694 PyObject *resultobj = 0;
30695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30696 bool result;
30697 void *argp1 = 0 ;
30698 int res1 = 0 ;
30699 PyObject *swig_obj[1] ;
30700
30701 if (!args) SWIG_fail;
30702 swig_obj[0] = args;
30703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30704 if (!SWIG_IsOK(res1)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30706 }
30707 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30708 {
30709 PyThreadState* __tstate = wxPyBeginAllowThreads();
30710 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30711 wxPyEndAllowThreads(__tstate);
30712 if (PyErr_Occurred()) SWIG_fail;
30713 }
30714 {
30715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30716 }
30717 return resultobj;
30718fail:
30719 return NULL;
30720}
30721
30722
30723SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30724 PyObject *resultobj = 0;
30725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30726 long arg2 ;
30727 void *argp1 = 0 ;
30728 int res1 = 0 ;
30729 long val2 ;
30730 int ecode2 = 0 ;
30731 PyObject * obj0 = 0 ;
30732 PyObject * obj1 = 0 ;
30733 char * kwnames[] = {
30734 (char *) "self",(char *) "item", NULL
30735 };
30736
30737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30739 if (!SWIG_IsOK(res1)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30741 }
30742 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30743 ecode2 = SWIG_AsVal_long(obj1, &val2);
30744 if (!SWIG_IsOK(ecode2)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30746 }
30747 arg2 = static_cast< long >(val2);
30748 {
30749 PyThreadState* __tstate = wxPyBeginAllowThreads();
30750 (arg1)->RefreshItem(arg2);
30751 wxPyEndAllowThreads(__tstate);
30752 if (PyErr_Occurred()) SWIG_fail;
30753 }
30754 resultobj = SWIG_Py_Void();
30755 return resultobj;
30756fail:
30757 return NULL;
30758}
30759
30760
30761SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30762 PyObject *resultobj = 0;
30763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30764 long arg2 ;
30765 long arg3 ;
30766 void *argp1 = 0 ;
30767 int res1 = 0 ;
30768 long val2 ;
30769 int ecode2 = 0 ;
30770 long val3 ;
30771 int ecode3 = 0 ;
30772 PyObject * obj0 = 0 ;
30773 PyObject * obj1 = 0 ;
30774 PyObject * obj2 = 0 ;
30775 char * kwnames[] = {
30776 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30777 };
30778
30779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30781 if (!SWIG_IsOK(res1)) {
30782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30783 }
30784 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30785 ecode2 = SWIG_AsVal_long(obj1, &val2);
30786 if (!SWIG_IsOK(ecode2)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30788 }
30789 arg2 = static_cast< long >(val2);
30790 ecode3 = SWIG_AsVal_long(obj2, &val3);
30791 if (!SWIG_IsOK(ecode3)) {
30792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30793 }
30794 arg3 = static_cast< long >(val3);
30795 {
30796 PyThreadState* __tstate = wxPyBeginAllowThreads();
30797 (arg1)->RefreshItems(arg2,arg3);
30798 wxPyEndAllowThreads(__tstate);
30799 if (PyErr_Occurred()) SWIG_fail;
30800 }
30801 resultobj = SWIG_Py_Void();
30802 return resultobj;
30803fail:
30804 return NULL;
30805}
30806
30807
30808SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30809 PyObject *resultobj = 0;
30810 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30811 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30812 bool result;
30813 void *argp1 = 0 ;
30814 int res1 = 0 ;
30815 int val2 ;
30816 int ecode2 = 0 ;
30817 PyObject * obj0 = 0 ;
30818 PyObject * obj1 = 0 ;
30819 char * kwnames[] = {
30820 (char *) "self",(char *) "flag", NULL
30821 };
30822
30823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30825 if (!SWIG_IsOK(res1)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30827 }
30828 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30829 if (obj1) {
30830 ecode2 = SWIG_AsVal_int(obj1, &val2);
30831 if (!SWIG_IsOK(ecode2)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30833 }
30834 arg2 = static_cast< int >(val2);
30835 }
30836 {
30837 PyThreadState* __tstate = wxPyBeginAllowThreads();
30838 result = (bool)(arg1)->Arrange(arg2);
30839 wxPyEndAllowThreads(__tstate);
30840 if (PyErr_Occurred()) SWIG_fail;
30841 }
30842 {
30843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30844 }
30845 return resultobj;
30846fail:
30847 return NULL;
30848}
30849
30850
30851SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30852 PyObject *resultobj = 0;
30853 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30854 long arg2 ;
30855 bool result;
30856 void *argp1 = 0 ;
30857 int res1 = 0 ;
30858 long val2 ;
30859 int ecode2 = 0 ;
30860 PyObject * obj0 = 0 ;
30861 PyObject * obj1 = 0 ;
30862 char * kwnames[] = {
30863 (char *) "self",(char *) "item", NULL
30864 };
30865
30866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30868 if (!SWIG_IsOK(res1)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30870 }
30871 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30872 ecode2 = SWIG_AsVal_long(obj1, &val2);
30873 if (!SWIG_IsOK(ecode2)) {
30874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30875 }
30876 arg2 = static_cast< long >(val2);
30877 {
30878 PyThreadState* __tstate = wxPyBeginAllowThreads();
30879 result = (bool)(arg1)->DeleteItem(arg2);
30880 wxPyEndAllowThreads(__tstate);
30881 if (PyErr_Occurred()) SWIG_fail;
30882 }
30883 {
30884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30885 }
30886 return resultobj;
30887fail:
30888 return NULL;
7e08d4ef
RD
30889}
30890
30891
0085ce49
RD
30892SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30893 PyObject *resultobj = 0;
30894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30895 bool result;
30896 void *argp1 = 0 ;
30897 int res1 = 0 ;
30898 PyObject *swig_obj[1] ;
30899
30900 if (!args) SWIG_fail;
30901 swig_obj[0] = args;
30902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30903 if (!SWIG_IsOK(res1)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30905 }
30906 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30907 {
30908 PyThreadState* __tstate = wxPyBeginAllowThreads();
30909 result = (bool)(arg1)->DeleteAllItems();
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
30913 {
30914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30915 }
30916 return resultobj;
30917fail:
30918 return NULL;
30919}
30920
30921
30922SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30923 PyObject *resultobj = 0;
30924 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30925 int arg2 ;
30926 bool result;
30927 void *argp1 = 0 ;
30928 int res1 = 0 ;
30929 int val2 ;
30930 int ecode2 = 0 ;
30931 PyObject * obj0 = 0 ;
30932 PyObject * obj1 = 0 ;
30933 char * kwnames[] = {
30934 (char *) "self",(char *) "col", NULL
30935 };
30936
30937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30939 if (!SWIG_IsOK(res1)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30941 }
30942 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30943 ecode2 = SWIG_AsVal_int(obj1, &val2);
30944 if (!SWIG_IsOK(ecode2)) {
30945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30946 }
30947 arg2 = static_cast< int >(val2);
30948 {
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = (bool)(arg1)->DeleteColumn(arg2);
30951 wxPyEndAllowThreads(__tstate);
30952 if (PyErr_Occurred()) SWIG_fail;
30953 }
30954 {
30955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30956 }
30957 return resultobj;
30958fail:
30959 return NULL;
7e08d4ef
RD
30960}
30961
30962
0085ce49
RD
30963SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30964 PyObject *resultobj = 0;
30965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30966 bool result;
30967 void *argp1 = 0 ;
30968 int res1 = 0 ;
30969 PyObject *swig_obj[1] ;
30970
30971 if (!args) SWIG_fail;
30972 swig_obj[0] = args;
30973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30974 if (!SWIG_IsOK(res1)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30976 }
30977 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30978 {
30979 PyThreadState* __tstate = wxPyBeginAllowThreads();
30980 result = (bool)(arg1)->DeleteAllColumns();
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
30984 {
30985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30986 }
30987 return resultobj;
30988fail:
30989 return NULL;
7e08d4ef
RD
30990}
30991
30992
0085ce49
RD
30993SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30994 PyObject *resultobj = 0;
30995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30996 void *argp1 = 0 ;
30997 int res1 = 0 ;
30998 PyObject *swig_obj[1] ;
30999
31000 if (!args) SWIG_fail;
31001 swig_obj[0] = args;
31002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31003 if (!SWIG_IsOK(res1)) {
31004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31005 }
31006 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 (arg1)->ClearAll();
31010 wxPyEndAllowThreads(__tstate);
31011 if (PyErr_Occurred()) SWIG_fail;
31012 }
31013 resultobj = SWIG_Py_Void();
31014 return resultobj;
31015fail:
31016 return NULL;
31017}
31018
31019
31020SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31021 PyObject *resultobj = 0;
31022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31023 long arg2 ;
31024 void *argp1 = 0 ;
31025 int res1 = 0 ;
31026 long val2 ;
31027 int ecode2 = 0 ;
31028 PyObject * obj0 = 0 ;
31029 PyObject * obj1 = 0 ;
31030 char * kwnames[] = {
31031 (char *) "self",(char *) "item", NULL
31032 };
31033
31034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31036 if (!SWIG_IsOK(res1)) {
31037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31038 }
31039 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31040 ecode2 = SWIG_AsVal_long(obj1, &val2);
31041 if (!SWIG_IsOK(ecode2)) {
31042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31043 }
31044 arg2 = static_cast< long >(val2);
31045 {
31046 PyThreadState* __tstate = wxPyBeginAllowThreads();
31047 (arg1)->EditLabel(arg2);
31048 wxPyEndAllowThreads(__tstate);
31049 if (PyErr_Occurred()) SWIG_fail;
31050 }
31051 resultobj = SWIG_Py_Void();
31052 return resultobj;
31053fail:
31054 return NULL;
31055}
31056
31057
31058SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31059 PyObject *resultobj = 0;
31060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31061 long arg2 ;
31062 bool result;
31063 void *argp1 = 0 ;
31064 int res1 = 0 ;
31065 long val2 ;
31066 int ecode2 = 0 ;
31067 PyObject * obj0 = 0 ;
31068 PyObject * obj1 = 0 ;
31069 char * kwnames[] = {
31070 (char *) "self",(char *) "item", NULL
31071 };
31072
31073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31075 if (!SWIG_IsOK(res1)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31077 }
31078 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31079 ecode2 = SWIG_AsVal_long(obj1, &val2);
31080 if (!SWIG_IsOK(ecode2)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31082 }
31083 arg2 = static_cast< long >(val2);
31084 {
31085 PyThreadState* __tstate = wxPyBeginAllowThreads();
31086 result = (bool)(arg1)->EnsureVisible(arg2);
31087 wxPyEndAllowThreads(__tstate);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
31090 {
31091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31092 }
31093 return resultobj;
31094fail:
31095 return NULL;
31096}
31097
31098
31099SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31100 PyObject *resultobj = 0;
31101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31102 long arg2 ;
31103 wxString *arg3 = 0 ;
31104 bool arg4 = (bool) false ;
31105 long result;
31106 void *argp1 = 0 ;
31107 int res1 = 0 ;
31108 long val2 ;
31109 int ecode2 = 0 ;
31110 bool temp3 = false ;
31111 bool val4 ;
31112 int ecode4 = 0 ;
31113 PyObject * obj0 = 0 ;
31114 PyObject * obj1 = 0 ;
31115 PyObject * obj2 = 0 ;
31116 PyObject * obj3 = 0 ;
31117 char * kwnames[] = {
31118 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31119 };
31120
31121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31123 if (!SWIG_IsOK(res1)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31125 }
31126 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31127 ecode2 = SWIG_AsVal_long(obj1, &val2);
31128 if (!SWIG_IsOK(ecode2)) {
31129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31130 }
31131 arg2 = static_cast< long >(val2);
31132 {
31133 arg3 = wxString_in_helper(obj2);
31134 if (arg3 == NULL) SWIG_fail;
31135 temp3 = true;
31136 }
31137 if (obj3) {
31138 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31139 if (!SWIG_IsOK(ecode4)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31141 }
31142 arg4 = static_cast< bool >(val4);
31143 }
31144 {
31145 PyThreadState* __tstate = wxPyBeginAllowThreads();
31146 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31147 wxPyEndAllowThreads(__tstate);
31148 if (PyErr_Occurred()) SWIG_fail;
31149 }
31150 resultobj = SWIG_From_long(static_cast< long >(result));
31151 {
31152 if (temp3)
31153 delete arg3;
31154 }
31155 return resultobj;
31156fail:
31157 {
31158 if (temp3)
31159 delete arg3;
31160 }
31161 return NULL;
31162}
31163
31164
31165SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31166 PyObject *resultobj = 0;
31167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31168 long arg2 ;
31169 long arg3 ;
31170 long result;
31171 void *argp1 = 0 ;
31172 int res1 = 0 ;
31173 long val2 ;
31174 int ecode2 = 0 ;
31175 long val3 ;
31176 int ecode3 = 0 ;
31177 PyObject * obj0 = 0 ;
31178 PyObject * obj1 = 0 ;
31179 PyObject * obj2 = 0 ;
31180 char * kwnames[] = {
31181 (char *) "self",(char *) "start",(char *) "data", NULL
31182 };
31183
31184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31186 if (!SWIG_IsOK(res1)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31188 }
31189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31190 ecode2 = SWIG_AsVal_long(obj1, &val2);
31191 if (!SWIG_IsOK(ecode2)) {
31192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31193 }
31194 arg2 = static_cast< long >(val2);
31195 ecode3 = SWIG_AsVal_long(obj2, &val3);
31196 if (!SWIG_IsOK(ecode3)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31198 }
31199 arg3 = static_cast< long >(val3);
31200 {
31201 PyThreadState* __tstate = wxPyBeginAllowThreads();
31202 result = (long)(arg1)->FindItem(arg2,arg3);
31203 wxPyEndAllowThreads(__tstate);
31204 if (PyErr_Occurred()) SWIG_fail;
31205 }
31206 resultobj = SWIG_From_long(static_cast< long >(result));
31207 return resultobj;
31208fail:
31209 return NULL;
31210}
31211
31212
31213SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31214 PyObject *resultobj = 0;
31215 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31216 long arg2 ;
31217 wxPoint *arg3 = 0 ;
31218 int arg4 ;
31219 long result;
31220 void *argp1 = 0 ;
31221 int res1 = 0 ;
31222 long val2 ;
31223 int ecode2 = 0 ;
31224 wxPoint temp3 ;
31225 int val4 ;
31226 int ecode4 = 0 ;
31227 PyObject * obj0 = 0 ;
31228 PyObject * obj1 = 0 ;
31229 PyObject * obj2 = 0 ;
31230 PyObject * obj3 = 0 ;
31231 char * kwnames[] = {
31232 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31233 };
31234
31235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31237 if (!SWIG_IsOK(res1)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31239 }
31240 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31241 ecode2 = SWIG_AsVal_long(obj1, &val2);
31242 if (!SWIG_IsOK(ecode2)) {
31243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31244 }
31245 arg2 = static_cast< long >(val2);
31246 {
31247 arg3 = &temp3;
31248 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31249 }
31250 ecode4 = SWIG_AsVal_int(obj3, &val4);
31251 if (!SWIG_IsOK(ecode4)) {
31252 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31253 }
31254 arg4 = static_cast< int >(val4);
31255 {
31256 PyThreadState* __tstate = wxPyBeginAllowThreads();
31257 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 resultobj = SWIG_From_long(static_cast< long >(result));
31262 return resultobj;
31263fail:
31264 return NULL;
31265}
31266
31267
31268SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31269 PyObject *resultobj = 0;
31270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31271 wxPoint *arg2 = 0 ;
31272 int *arg3 = 0 ;
31273 long result;
31274 void *argp1 = 0 ;
31275 int res1 = 0 ;
31276 wxPoint temp2 ;
31277 int temp3 ;
31278 int res3 = SWIG_TMPOBJ ;
31279 PyObject * obj0 = 0 ;
31280 PyObject * obj1 = 0 ;
31281 char * kwnames[] = {
31282 (char *) "self",(char *) "point", NULL
31283 };
31284
31285 arg3 = &temp3;
31286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31288 if (!SWIG_IsOK(res1)) {
31289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31290 }
31291 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31292 {
31293 arg2 = &temp2;
31294 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31295 }
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 resultobj = SWIG_From_long(static_cast< long >(result));
31303 if (SWIG_IsTmpObj(res3)) {
31304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31305 } else {
31306 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31307 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31308 }
31309 return resultobj;
31310fail:
31311 return NULL;
31312}
31313
31314
704eda0c
RD
31315SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31316 PyObject *resultobj = 0;
31317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31318 wxPoint *arg2 = 0 ;
31319 int *arg3 = 0 ;
31320 long *arg4 = (long *) 0 ;
31321 long result;
31322 void *argp1 = 0 ;
31323 int res1 = 0 ;
31324 wxPoint temp2 ;
31325 int temp3 ;
31326 int res3 = SWIG_TMPOBJ ;
31327 long temp4 ;
31328 int res4 = SWIG_TMPOBJ ;
31329 PyObject * obj0 = 0 ;
31330 PyObject * obj1 = 0 ;
31331 char * kwnames[] = {
31332 (char *) "self",(char *) "point", NULL
31333 };
31334
31335 arg3 = &temp3;
31336 arg4 = &temp4;
31337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31339 if (!SWIG_IsOK(res1)) {
31340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31341 }
31342 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31343 {
31344 arg2 = &temp2;
31345 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31346 }
31347 {
31348 PyThreadState* __tstate = wxPyBeginAllowThreads();
31349 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31350 wxPyEndAllowThreads(__tstate);
31351 if (PyErr_Occurred()) SWIG_fail;
31352 }
31353 resultobj = SWIG_From_long(static_cast< long >(result));
31354 if (SWIG_IsTmpObj(res3)) {
31355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31356 } else {
31357 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31359 }
31360 if (SWIG_IsTmpObj(res4)) {
31361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31362 } else {
31363 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31365 }
31366 return resultobj;
31367fail:
31368 return NULL;
31369}
31370
31371
0085ce49
RD
31372SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31373 PyObject *resultobj = 0;
31374 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31375 wxListItem *arg2 = 0 ;
31376 long result;
31377 void *argp1 = 0 ;
31378 int res1 = 0 ;
31379 void *argp2 = 0 ;
31380 int res2 = 0 ;
31381 PyObject * obj0 = 0 ;
31382 PyObject * obj1 = 0 ;
31383 char * kwnames[] = {
31384 (char *) "self",(char *) "info", NULL
31385 };
31386
31387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31389 if (!SWIG_IsOK(res1)) {
31390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31391 }
31392 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31393 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31394 if (!SWIG_IsOK(res2)) {
31395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31396 }
31397 if (!argp2) {
31398 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31399 }
31400 arg2 = reinterpret_cast< wxListItem * >(argp2);
31401 {
31402 PyThreadState* __tstate = wxPyBeginAllowThreads();
31403 result = (long)(arg1)->InsertItem(*arg2);
31404 wxPyEndAllowThreads(__tstate);
31405 if (PyErr_Occurred()) SWIG_fail;
31406 }
31407 resultobj = SWIG_From_long(static_cast< long >(result));
31408 return resultobj;
31409fail:
31410 return NULL;
31411}
31412
31413
31414SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31415 PyObject *resultobj = 0;
31416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31417 long arg2 ;
31418 wxString *arg3 = 0 ;
31419 int arg4 = (int) -1 ;
31420 long result;
31421 void *argp1 = 0 ;
31422 int res1 = 0 ;
31423 long val2 ;
31424 int ecode2 = 0 ;
31425 bool temp3 = false ;
31426 int val4 ;
31427 int ecode4 = 0 ;
31428 PyObject * obj0 = 0 ;
31429 PyObject * obj1 = 0 ;
31430 PyObject * obj2 = 0 ;
31431 PyObject * obj3 = 0 ;
31432 char * kwnames[] = {
31433 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31434 };
31435
31436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31438 if (!SWIG_IsOK(res1)) {
31439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31440 }
31441 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31442 ecode2 = SWIG_AsVal_long(obj1, &val2);
31443 if (!SWIG_IsOK(ecode2)) {
31444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31445 }
31446 arg2 = static_cast< long >(val2);
31447 {
31448 arg3 = wxString_in_helper(obj2);
31449 if (arg3 == NULL) SWIG_fail;
31450 temp3 = true;
31451 }
31452 if (obj3) {
31453 ecode4 = SWIG_AsVal_int(obj3, &val4);
31454 if (!SWIG_IsOK(ecode4)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31456 }
31457 arg4 = static_cast< int >(val4);
31458 }
31459 {
31460 PyThreadState* __tstate = wxPyBeginAllowThreads();
31461 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31462 wxPyEndAllowThreads(__tstate);
31463 if (PyErr_Occurred()) SWIG_fail;
31464 }
31465 resultobj = SWIG_From_long(static_cast< long >(result));
31466 {
31467 if (temp3)
31468 delete arg3;
31469 }
31470 return resultobj;
31471fail:
31472 {
31473 if (temp3)
31474 delete arg3;
31475 }
31476 return NULL;
31477}
31478
31479
31480SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31481 PyObject *resultobj = 0;
31482 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31483 long arg2 ;
31484 int arg3 ;
31485 long result;
31486 void *argp1 = 0 ;
31487 int res1 = 0 ;
31488 long val2 ;
31489 int ecode2 = 0 ;
31490 int val3 ;
31491 int ecode3 = 0 ;
31492 PyObject * obj0 = 0 ;
31493 PyObject * obj1 = 0 ;
31494 PyObject * obj2 = 0 ;
31495 char * kwnames[] = {
31496 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31497 };
31498
31499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31501 if (!SWIG_IsOK(res1)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31503 }
31504 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31505 ecode2 = SWIG_AsVal_long(obj1, &val2);
31506 if (!SWIG_IsOK(ecode2)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31508 }
31509 arg2 = static_cast< long >(val2);
31510 ecode3 = SWIG_AsVal_int(obj2, &val3);
31511 if (!SWIG_IsOK(ecode3)) {
31512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31513 }
31514 arg3 = static_cast< int >(val3);
31515 {
31516 PyThreadState* __tstate = wxPyBeginAllowThreads();
31517 result = (long)(arg1)->InsertItem(arg2,arg3);
31518 wxPyEndAllowThreads(__tstate);
31519 if (PyErr_Occurred()) SWIG_fail;
31520 }
31521 resultobj = SWIG_From_long(static_cast< long >(result));
31522 return resultobj;
31523fail:
31524 return NULL;
31525}
31526
31527
31528SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31529 PyObject *resultobj = 0;
31530 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31531 long arg2 ;
31532 wxString *arg3 = 0 ;
31533 int arg4 ;
31534 long result;
31535 void *argp1 = 0 ;
31536 int res1 = 0 ;
31537 long val2 ;
31538 int ecode2 = 0 ;
31539 bool temp3 = false ;
31540 int val4 ;
31541 int ecode4 = 0 ;
31542 PyObject * obj0 = 0 ;
31543 PyObject * obj1 = 0 ;
31544 PyObject * obj2 = 0 ;
31545 PyObject * obj3 = 0 ;
31546 char * kwnames[] = {
31547 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31548 };
31549
31550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31552 if (!SWIG_IsOK(res1)) {
31553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31554 }
31555 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31556 ecode2 = SWIG_AsVal_long(obj1, &val2);
31557 if (!SWIG_IsOK(ecode2)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31559 }
31560 arg2 = static_cast< long >(val2);
31561 {
31562 arg3 = wxString_in_helper(obj2);
31563 if (arg3 == NULL) SWIG_fail;
31564 temp3 = true;
31565 }
31566 ecode4 = SWIG_AsVal_int(obj3, &val4);
31567 if (!SWIG_IsOK(ecode4)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31569 }
31570 arg4 = static_cast< int >(val4);
31571 {
31572 PyThreadState* __tstate = wxPyBeginAllowThreads();
31573 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 resultobj = SWIG_From_long(static_cast< long >(result));
31578 {
31579 if (temp3)
31580 delete arg3;
31581 }
31582 return resultobj;
31583fail:
31584 {
31585 if (temp3)
31586 delete arg3;
31587 }
31588 return NULL;
31589}
31590
31591
31592SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31593 PyObject *resultobj = 0;
31594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31595 long arg2 ;
31596 wxListItem *arg3 = 0 ;
31597 long result;
31598 void *argp1 = 0 ;
31599 int res1 = 0 ;
31600 long val2 ;
31601 int ecode2 = 0 ;
31602 void *argp3 = 0 ;
31603 int res3 = 0 ;
31604 PyObject * obj0 = 0 ;
31605 PyObject * obj1 = 0 ;
31606 PyObject * obj2 = 0 ;
31607 char * kwnames[] = {
31608 (char *) "self",(char *) "col",(char *) "info", NULL
31609 };
31610
31611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31613 if (!SWIG_IsOK(res1)) {
31614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31615 }
31616 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31617 ecode2 = SWIG_AsVal_long(obj1, &val2);
31618 if (!SWIG_IsOK(ecode2)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31620 }
31621 arg2 = static_cast< long >(val2);
31622 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31623 if (!SWIG_IsOK(res3)) {
31624 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31625 }
31626 if (!argp3) {
31627 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31628 }
31629 arg3 = reinterpret_cast< wxListItem * >(argp3);
31630 {
31631 PyThreadState* __tstate = wxPyBeginAllowThreads();
31632 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31633 wxPyEndAllowThreads(__tstate);
31634 if (PyErr_Occurred()) SWIG_fail;
31635 }
31636 resultobj = SWIG_From_long(static_cast< long >(result));
31637 return resultobj;
31638fail:
31639 return NULL;
31640}
31641
31642
31643SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31644 PyObject *resultobj = 0;
31645 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31646 long arg2 ;
31647 wxString *arg3 = 0 ;
31648 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31649 int arg5 = (int) -1 ;
31650 long result;
31651 void *argp1 = 0 ;
31652 int res1 = 0 ;
31653 long val2 ;
31654 int ecode2 = 0 ;
31655 bool temp3 = false ;
31656 int val4 ;
31657 int ecode4 = 0 ;
31658 int val5 ;
31659 int ecode5 = 0 ;
31660 PyObject * obj0 = 0 ;
31661 PyObject * obj1 = 0 ;
31662 PyObject * obj2 = 0 ;
31663 PyObject * obj3 = 0 ;
31664 PyObject * obj4 = 0 ;
31665 char * kwnames[] = {
31666 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31667 };
31668
31669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31671 if (!SWIG_IsOK(res1)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31673 }
31674 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31675 ecode2 = SWIG_AsVal_long(obj1, &val2);
31676 if (!SWIG_IsOK(ecode2)) {
31677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31678 }
31679 arg2 = static_cast< long >(val2);
31680 {
31681 arg3 = wxString_in_helper(obj2);
31682 if (arg3 == NULL) SWIG_fail;
31683 temp3 = true;
31684 }
31685 if (obj3) {
31686 ecode4 = SWIG_AsVal_int(obj3, &val4);
31687 if (!SWIG_IsOK(ecode4)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31689 }
31690 arg4 = static_cast< int >(val4);
31691 }
31692 if (obj4) {
31693 ecode5 = SWIG_AsVal_int(obj4, &val5);
31694 if (!SWIG_IsOK(ecode5)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31696 }
31697 arg5 = static_cast< int >(val5);
31698 }
31699 {
31700 PyThreadState* __tstate = wxPyBeginAllowThreads();
31701 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31702 wxPyEndAllowThreads(__tstate);
31703 if (PyErr_Occurred()) SWIG_fail;
31704 }
31705 resultobj = SWIG_From_long(static_cast< long >(result));
31706 {
31707 if (temp3)
31708 delete arg3;
31709 }
31710 return resultobj;
31711fail:
31712 {
31713 if (temp3)
31714 delete arg3;
31715 }
31716 return NULL;
31717}
31718
31719
31720SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31721 PyObject *resultobj = 0;
31722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31723 long arg2 ;
31724 void *argp1 = 0 ;
31725 int res1 = 0 ;
31726 long val2 ;
31727 int ecode2 = 0 ;
31728 PyObject * obj0 = 0 ;
31729 PyObject * obj1 = 0 ;
31730 char * kwnames[] = {
31731 (char *) "self",(char *) "count", NULL
31732 };
31733
31734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31736 if (!SWIG_IsOK(res1)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31738 }
31739 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31740 ecode2 = SWIG_AsVal_long(obj1, &val2);
31741 if (!SWIG_IsOK(ecode2)) {
31742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31743 }
31744 arg2 = static_cast< long >(val2);
31745 {
31746 PyThreadState* __tstate = wxPyBeginAllowThreads();
31747 (arg1)->SetItemCount(arg2);
31748 wxPyEndAllowThreads(__tstate);
31749 if (PyErr_Occurred()) SWIG_fail;
31750 }
31751 resultobj = SWIG_Py_Void();
31752 return resultobj;
31753fail:
31754 return NULL;
31755}
31756
31757
31758SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31759 PyObject *resultobj = 0;
31760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31761 int arg2 ;
31762 int arg3 ;
31763 bool result;
31764 void *argp1 = 0 ;
31765 int res1 = 0 ;
31766 int val2 ;
31767 int ecode2 = 0 ;
31768 int val3 ;
31769 int ecode3 = 0 ;
31770 PyObject * obj0 = 0 ;
31771 PyObject * obj1 = 0 ;
31772 PyObject * obj2 = 0 ;
31773 char * kwnames[] = {
31774 (char *) "self",(char *) "dx",(char *) "dy", NULL
31775 };
31776
31777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31779 if (!SWIG_IsOK(res1)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31781 }
31782 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31783 ecode2 = SWIG_AsVal_int(obj1, &val2);
31784 if (!SWIG_IsOK(ecode2)) {
31785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31786 }
31787 arg2 = static_cast< int >(val2);
31788 ecode3 = SWIG_AsVal_int(obj2, &val3);
31789 if (!SWIG_IsOK(ecode3)) {
31790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31791 }
31792 arg3 = static_cast< int >(val3);
31793 {
31794 PyThreadState* __tstate = wxPyBeginAllowThreads();
31795 result = (bool)(arg1)->ScrollList(arg2,arg3);
31796 wxPyEndAllowThreads(__tstate);
31797 if (PyErr_Occurred()) SWIG_fail;
31798 }
31799 {
31800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31801 }
31802 return resultobj;
31803fail:
31804 return NULL;
31805}
31806
31807
31808SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31809 PyObject *resultobj = 0;
31810 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31811 long arg2 ;
31812 wxColour *arg3 = 0 ;
31813 void *argp1 = 0 ;
31814 int res1 = 0 ;
31815 long val2 ;
31816 int ecode2 = 0 ;
31817 wxColour temp3 ;
31818 PyObject * obj0 = 0 ;
31819 PyObject * obj1 = 0 ;
31820 PyObject * obj2 = 0 ;
31821 char * kwnames[] = {
31822 (char *) "self",(char *) "item",(char *) "col", NULL
31823 };
31824
31825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31827 if (!SWIG_IsOK(res1)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31829 }
31830 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31831 ecode2 = SWIG_AsVal_long(obj1, &val2);
31832 if (!SWIG_IsOK(ecode2)) {
31833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31834 }
31835 arg2 = static_cast< long >(val2);
31836 {
31837 arg3 = &temp3;
31838 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31839 }
31840 {
31841 PyThreadState* __tstate = wxPyBeginAllowThreads();
31842 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31843 wxPyEndAllowThreads(__tstate);
31844 if (PyErr_Occurred()) SWIG_fail;
31845 }
31846 resultobj = SWIG_Py_Void();
31847 return resultobj;
31848fail:
31849 return NULL;
31850}
31851
31852
31853SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31854 PyObject *resultobj = 0;
31855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31856 long arg2 ;
31857 wxColour result;
31858 void *argp1 = 0 ;
31859 int res1 = 0 ;
31860 long val2 ;
31861 int ecode2 = 0 ;
31862 PyObject * obj0 = 0 ;
31863 PyObject * obj1 = 0 ;
31864 char * kwnames[] = {
31865 (char *) "self",(char *) "item", NULL
31866 };
31867
31868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31870 if (!SWIG_IsOK(res1)) {
31871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31872 }
31873 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31874 ecode2 = SWIG_AsVal_long(obj1, &val2);
31875 if (!SWIG_IsOK(ecode2)) {
31876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31877 }
31878 arg2 = static_cast< long >(val2);
31879 {
31880 PyThreadState* __tstate = wxPyBeginAllowThreads();
31881 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31882 wxPyEndAllowThreads(__tstate);
31883 if (PyErr_Occurred()) SWIG_fail;
31884 }
31885 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31886 return resultobj;
31887fail:
31888 return NULL;
31889}
31890
31891
31892SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31893 PyObject *resultobj = 0;
31894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31895 long arg2 ;
31896 wxColour *arg3 = 0 ;
31897 void *argp1 = 0 ;
31898 int res1 = 0 ;
31899 long val2 ;
31900 int ecode2 = 0 ;
31901 wxColour temp3 ;
31902 PyObject * obj0 = 0 ;
31903 PyObject * obj1 = 0 ;
31904 PyObject * obj2 = 0 ;
31905 char * kwnames[] = {
31906 (char *) "self",(char *) "item",(char *) "col", NULL
31907 };
31908
31909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31911 if (!SWIG_IsOK(res1)) {
31912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31913 }
31914 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31915 ecode2 = SWIG_AsVal_long(obj1, &val2);
31916 if (!SWIG_IsOK(ecode2)) {
31917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31918 }
31919 arg2 = static_cast< long >(val2);
31920 {
31921 arg3 = &temp3;
31922 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31923 }
31924 {
31925 PyThreadState* __tstate = wxPyBeginAllowThreads();
31926 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 resultobj = SWIG_Py_Void();
31931 return resultobj;
31932fail:
31933 return NULL;
31934}
31935
31936
31937SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31938 PyObject *resultobj = 0;
31939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31940 long arg2 ;
31941 wxColour result;
31942 void *argp1 = 0 ;
31943 int res1 = 0 ;
31944 long val2 ;
31945 int ecode2 = 0 ;
31946 PyObject * obj0 = 0 ;
31947 PyObject * obj1 = 0 ;
31948 char * kwnames[] = {
31949 (char *) "self",(char *) "item", NULL
31950 };
31951
31952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31954 if (!SWIG_IsOK(res1)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31956 }
31957 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31958 ecode2 = SWIG_AsVal_long(obj1, &val2);
31959 if (!SWIG_IsOK(ecode2)) {
31960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31961 }
31962 arg2 = static_cast< long >(val2);
31963 {
31964 PyThreadState* __tstate = wxPyBeginAllowThreads();
31965 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31966 wxPyEndAllowThreads(__tstate);
31967 if (PyErr_Occurred()) SWIG_fail;
31968 }
31969 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31970 return resultobj;
31971fail:
31972 return NULL;
31973}
31974
31975
31976SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31977 PyObject *resultobj = 0;
31978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31979 long arg2 ;
31980 wxFont *arg3 = 0 ;
31981 void *argp1 = 0 ;
31982 int res1 = 0 ;
31983 long val2 ;
31984 int ecode2 = 0 ;
31985 void *argp3 = 0 ;
31986 int res3 = 0 ;
31987 PyObject * obj0 = 0 ;
31988 PyObject * obj1 = 0 ;
31989 PyObject * obj2 = 0 ;
31990 char * kwnames[] = {
31991 (char *) "self",(char *) "item",(char *) "f", NULL
31992 };
31993
31994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31996 if (!SWIG_IsOK(res1)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31998 }
31999 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32000 ecode2 = SWIG_AsVal_long(obj1, &val2);
32001 if (!SWIG_IsOK(ecode2)) {
32002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32003 }
32004 arg2 = static_cast< long >(val2);
32005 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32006 if (!SWIG_IsOK(res3)) {
32007 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32008 }
32009 if (!argp3) {
32010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32011 }
32012 arg3 = reinterpret_cast< wxFont * >(argp3);
32013 {
32014 PyThreadState* __tstate = wxPyBeginAllowThreads();
32015 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32016 wxPyEndAllowThreads(__tstate);
32017 if (PyErr_Occurred()) SWIG_fail;
32018 }
32019 resultobj = SWIG_Py_Void();
32020 return resultobj;
32021fail:
32022 return NULL;
32023}
32024
32025
32026SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32027 PyObject *resultobj = 0;
32028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32029 long arg2 ;
32030 wxFont result;
32031 void *argp1 = 0 ;
32032 int res1 = 0 ;
32033 long val2 ;
32034 int ecode2 = 0 ;
32035 PyObject * obj0 = 0 ;
32036 PyObject * obj1 = 0 ;
32037 char * kwnames[] = {
32038 (char *) "self",(char *) "item", NULL
32039 };
32040
32041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32043 if (!SWIG_IsOK(res1)) {
32044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32045 }
32046 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32047 ecode2 = SWIG_AsVal_long(obj1, &val2);
32048 if (!SWIG_IsOK(ecode2)) {
32049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32050 }
32051 arg2 = static_cast< long >(val2);
32052 {
32053 PyThreadState* __tstate = wxPyBeginAllowThreads();
32054 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32055 wxPyEndAllowThreads(__tstate);
32056 if (PyErr_Occurred()) SWIG_fail;
32057 }
32058 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32059 return resultobj;
32060fail:
32061 return NULL;
32062}
32063
32064
32065SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32066 PyObject *resultobj = 0;
32067 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32068 PyObject *arg2 = (PyObject *) 0 ;
32069 bool result;
32070 void *argp1 = 0 ;
32071 int res1 = 0 ;
32072 PyObject * obj0 = 0 ;
32073 PyObject * obj1 = 0 ;
32074 char * kwnames[] = {
32075 (char *) "self",(char *) "func", NULL
32076 };
32077
32078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32080 if (!SWIG_IsOK(res1)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32082 }
32083 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32084 arg2 = obj1;
32085 {
32086 PyThreadState* __tstate = wxPyBeginAllowThreads();
32087 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32088 wxPyEndAllowThreads(__tstate);
32089 if (PyErr_Occurred()) SWIG_fail;
32090 }
32091 {
32092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32093 }
32094 return resultobj;
32095fail:
32096 return NULL;
7e08d4ef
RD
32097}
32098
32099
0085ce49
RD
32100SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32101 PyObject *resultobj = 0;
32102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32103 wxWindow *result = 0 ;
32104 void *argp1 = 0 ;
32105 int res1 = 0 ;
32106 PyObject *swig_obj[1] ;
32107
32108 if (!args) SWIG_fail;
32109 swig_obj[0] = args;
32110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32111 if (!SWIG_IsOK(res1)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32113 }
32114 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32115 {
32116 PyThreadState* __tstate = wxPyBeginAllowThreads();
32117 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32118 wxPyEndAllowThreads(__tstate);
32119 if (PyErr_Occurred()) SWIG_fail;
32120 }
32121 {
32122 resultobj = wxPyMake_wxObject(result, 0);
32123 }
32124 return resultobj;
32125fail:
32126 return NULL;
32127}
32128
32129
32130SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32131 PyObject *resultobj = 0;
32132 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32133 SwigValueWrapper<wxVisualAttributes > result;
32134 int val1 ;
32135 int ecode1 = 0 ;
32136 PyObject * obj0 = 0 ;
32137 char * kwnames[] = {
32138 (char *) "variant", NULL
32139 };
32140
32141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32142 if (obj0) {
32143 ecode1 = SWIG_AsVal_int(obj0, &val1);
32144 if (!SWIG_IsOK(ecode1)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32146 }
32147 arg1 = static_cast< wxWindowVariant >(val1);
32148 }
32149 {
32150 if (!wxPyCheckForApp()) SWIG_fail;
32151 PyThreadState* __tstate = wxPyBeginAllowThreads();
32152 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32153 wxPyEndAllowThreads(__tstate);
32154 if (PyErr_Occurred()) SWIG_fail;
32155 }
32156 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32157 return resultobj;
32158fail:
32159 return NULL;
32160}
32161
32162
32163SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32164 PyObject *obj;
32165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32167 return SWIG_Py_Void();
32168}
32169
32170SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32171 return SWIG_Python_InitShadowInstance(args);
32172}
32173
32174SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32175 PyObject *resultobj = 0;
32176 wxWindow *arg1 = (wxWindow *) 0 ;
32177 int arg2 = (int) -1 ;
32178 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32179 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32180 wxSize const &arg4_defvalue = wxDefaultSize ;
32181 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32182 long arg5 = (long) wxLC_REPORT ;
32183 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32184 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32185 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32186 wxString *arg7 = (wxString *) &arg7_defvalue ;
32187 wxListView *result = 0 ;
32188 void *argp1 = 0 ;
32189 int res1 = 0 ;
32190 int val2 ;
32191 int ecode2 = 0 ;
32192 wxPoint temp3 ;
32193 wxSize temp4 ;
32194 long val5 ;
32195 int ecode5 = 0 ;
32196 void *argp6 = 0 ;
32197 int res6 = 0 ;
32198 bool temp7 = false ;
32199 PyObject * obj0 = 0 ;
32200 PyObject * obj1 = 0 ;
32201 PyObject * obj2 = 0 ;
32202 PyObject * obj3 = 0 ;
32203 PyObject * obj4 = 0 ;
32204 PyObject * obj5 = 0 ;
32205 PyObject * obj6 = 0 ;
32206 char * kwnames[] = {
32207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32208 };
32209
32210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32212 if (!SWIG_IsOK(res1)) {
32213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32214 }
32215 arg1 = reinterpret_cast< wxWindow * >(argp1);
32216 if (obj1) {
32217 ecode2 = SWIG_AsVal_int(obj1, &val2);
32218 if (!SWIG_IsOK(ecode2)) {
32219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32220 }
32221 arg2 = static_cast< int >(val2);
32222 }
32223 if (obj2) {
7e08d4ef 32224 {
0085ce49
RD
32225 arg3 = &temp3;
32226 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7e08d4ef 32227 }
0085ce49
RD
32228 }
32229 if (obj3) {
7e08d4ef 32230 {
0085ce49
RD
32231 arg4 = &temp4;
32232 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 32233 }
0085ce49
RD
32234 }
32235 if (obj4) {
32236 ecode5 = SWIG_AsVal_long(obj4, &val5);
32237 if (!SWIG_IsOK(ecode5)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32239 }
32240 arg5 = static_cast< long >(val5);
32241 }
32242 if (obj5) {
32243 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32244 if (!SWIG_IsOK(res6)) {
32245 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 32246 }
0085ce49
RD
32247 if (!argp6) {
32248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 32249 }
0085ce49
RD
32250 arg6 = reinterpret_cast< wxValidator * >(argp6);
32251 }
32252 if (obj6) {
7e08d4ef 32253 {
0085ce49
RD
32254 arg7 = wxString_in_helper(obj6);
32255 if (arg7 == NULL) SWIG_fail;
32256 temp7 = true;
7e08d4ef 32257 }
0085ce49
RD
32258 }
32259 {
32260 if (!wxPyCheckForApp()) SWIG_fail;
32261 PyThreadState* __tstate = wxPyBeginAllowThreads();
32262 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32263 wxPyEndAllowThreads(__tstate);
32264 if (PyErr_Occurred()) SWIG_fail;
32265 }
32266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32267 {
32268 if (temp7)
32269 delete arg7;
32270 }
32271 return resultobj;
32272fail:
32273 {
32274 if (temp7)
32275 delete arg7;
32276 }
32277 return NULL;
7e08d4ef
RD
32278}
32279
32280
0085ce49
RD
32281SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32282 PyObject *resultobj = 0;
32283 wxListView *result = 0 ;
32284
32285 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32286 {
32287 if (!wxPyCheckForApp()) SWIG_fail;
32288 PyThreadState* __tstate = wxPyBeginAllowThreads();
32289 result = (wxListView *)new wxListView();
32290 wxPyEndAllowThreads(__tstate);
32291 if (PyErr_Occurred()) SWIG_fail;
32292 }
32293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32294 return resultobj;
32295fail:
32296 return NULL;
32297}
32298
32299
32300SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32301 PyObject *resultobj = 0;
32302 wxListView *arg1 = (wxListView *) 0 ;
32303 wxWindow *arg2 = (wxWindow *) 0 ;
32304 int arg3 = (int) -1 ;
32305 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32306 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32307 wxSize const &arg5_defvalue = wxDefaultSize ;
32308 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32309 long arg6 = (long) wxLC_REPORT ;
32310 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32311 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32312 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32313 wxString *arg8 = (wxString *) &arg8_defvalue ;
32314 bool result;
32315 void *argp1 = 0 ;
32316 int res1 = 0 ;
32317 void *argp2 = 0 ;
32318 int res2 = 0 ;
32319 int val3 ;
32320 int ecode3 = 0 ;
32321 wxPoint temp4 ;
32322 wxSize temp5 ;
32323 long val6 ;
32324 int ecode6 = 0 ;
32325 void *argp7 = 0 ;
32326 int res7 = 0 ;
32327 bool temp8 = false ;
32328 PyObject * obj0 = 0 ;
32329 PyObject * obj1 = 0 ;
32330 PyObject * obj2 = 0 ;
32331 PyObject * obj3 = 0 ;
32332 PyObject * obj4 = 0 ;
32333 PyObject * obj5 = 0 ;
32334 PyObject * obj6 = 0 ;
32335 PyObject * obj7 = 0 ;
32336 char * kwnames[] = {
32337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32338 };
32339
32340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32342 if (!SWIG_IsOK(res1)) {
32343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32344 }
32345 arg1 = reinterpret_cast< wxListView * >(argp1);
32346 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32347 if (!SWIG_IsOK(res2)) {
32348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32349 }
32350 arg2 = reinterpret_cast< wxWindow * >(argp2);
32351 if (obj2) {
32352 ecode3 = SWIG_AsVal_int(obj2, &val3);
32353 if (!SWIG_IsOK(ecode3)) {
32354 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32355 }
32356 arg3 = static_cast< int >(val3);
32357 }
32358 if (obj3) {
7e08d4ef 32359 {
0085ce49
RD
32360 arg4 = &temp4;
32361 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 32362 }
0085ce49
RD
32363 }
32364 if (obj4) {
7e08d4ef 32365 {
0085ce49
RD
32366 arg5 = &temp5;
32367 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7e08d4ef 32368 }
0085ce49
RD
32369 }
32370 if (obj5) {
32371 ecode6 = SWIG_AsVal_long(obj5, &val6);
32372 if (!SWIG_IsOK(ecode6)) {
32373 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32374 }
32375 arg6 = static_cast< long >(val6);
32376 }
32377 if (obj6) {
32378 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32379 if (!SWIG_IsOK(res7)) {
32380 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 32381 }
0085ce49
RD
32382 if (!argp7) {
32383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 32384 }
0085ce49
RD
32385 arg7 = reinterpret_cast< wxValidator * >(argp7);
32386 }
32387 if (obj7) {
7e08d4ef 32388 {
0085ce49
RD
32389 arg8 = wxString_in_helper(obj7);
32390 if (arg8 == NULL) SWIG_fail;
32391 temp8 = true;
7e08d4ef 32392 }
0085ce49
RD
32393 }
32394 {
32395 PyThreadState* __tstate = wxPyBeginAllowThreads();
32396 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32397 wxPyEndAllowThreads(__tstate);
32398 if (PyErr_Occurred()) SWIG_fail;
32399 }
32400 {
32401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32402 }
32403 {
32404 if (temp8)
32405 delete arg8;
32406 }
32407 return resultobj;
32408fail:
32409 {
32410 if (temp8)
32411 delete arg8;
32412 }
32413 return NULL;
32414}
32415
32416
32417SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32418 PyObject *resultobj = 0;
32419 wxListView *arg1 = (wxListView *) 0 ;
32420 long arg2 ;
32421 bool arg3 = (bool) true ;
32422 void *argp1 = 0 ;
32423 int res1 = 0 ;
32424 long val2 ;
32425 int ecode2 = 0 ;
32426 bool val3 ;
32427 int ecode3 = 0 ;
32428 PyObject * obj0 = 0 ;
32429 PyObject * obj1 = 0 ;
32430 PyObject * obj2 = 0 ;
32431 char * kwnames[] = {
32432 (char *) "self",(char *) "n",(char *) "on", NULL
32433 };
32434
32435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32437 if (!SWIG_IsOK(res1)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32439 }
32440 arg1 = reinterpret_cast< wxListView * >(argp1);
32441 ecode2 = SWIG_AsVal_long(obj1, &val2);
32442 if (!SWIG_IsOK(ecode2)) {
32443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32444 }
32445 arg2 = static_cast< long >(val2);
32446 if (obj2) {
32447 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32448 if (!SWIG_IsOK(ecode3)) {
32449 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32450 }
32451 arg3 = static_cast< bool >(val3);
32452 }
32453 {
32454 PyThreadState* __tstate = wxPyBeginAllowThreads();
32455 (arg1)->Select(arg2,arg3);
32456 wxPyEndAllowThreads(__tstate);
32457 if (PyErr_Occurred()) SWIG_fail;
32458 }
32459 resultobj = SWIG_Py_Void();
32460 return resultobj;
32461fail:
32462 return NULL;
32463}
32464
32465
32466SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32467 PyObject *resultobj = 0;
32468 wxListView *arg1 = (wxListView *) 0 ;
32469 long arg2 ;
32470 void *argp1 = 0 ;
32471 int res1 = 0 ;
32472 long val2 ;
32473 int ecode2 = 0 ;
32474 PyObject * obj0 = 0 ;
32475 PyObject * obj1 = 0 ;
32476 char * kwnames[] = {
32477 (char *) "self",(char *) "index", NULL
32478 };
32479
32480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32482 if (!SWIG_IsOK(res1)) {
32483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32484 }
32485 arg1 = reinterpret_cast< wxListView * >(argp1);
32486 ecode2 = SWIG_AsVal_long(obj1, &val2);
32487 if (!SWIG_IsOK(ecode2)) {
32488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32489 }
32490 arg2 = static_cast< long >(val2);
32491 {
32492 PyThreadState* __tstate = wxPyBeginAllowThreads();
32493 (arg1)->Focus(arg2);
32494 wxPyEndAllowThreads(__tstate);
32495 if (PyErr_Occurred()) SWIG_fail;
32496 }
32497 resultobj = SWIG_Py_Void();
32498 return resultobj;
32499fail:
32500 return NULL;
7e08d4ef
RD
32501}
32502
32503
0085ce49
RD
32504SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32505 PyObject *resultobj = 0;
32506 wxListView *arg1 = (wxListView *) 0 ;
32507 long result;
32508 void *argp1 = 0 ;
32509 int res1 = 0 ;
32510 PyObject *swig_obj[1] ;
32511
32512 if (!args) SWIG_fail;
32513 swig_obj[0] = args;
32514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32515 if (!SWIG_IsOK(res1)) {
32516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32517 }
32518 arg1 = reinterpret_cast< wxListView * >(argp1);
32519 {
32520 PyThreadState* __tstate = wxPyBeginAllowThreads();
32521 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32522 wxPyEndAllowThreads(__tstate);
32523 if (PyErr_Occurred()) SWIG_fail;
32524 }
32525 resultobj = SWIG_From_long(static_cast< long >(result));
32526 return resultobj;
32527fail:
32528 return NULL;
32529}
32530
32531
32532SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32533 PyObject *resultobj = 0;
32534 wxListView *arg1 = (wxListView *) 0 ;
32535 long arg2 ;
32536 long result;
32537 void *argp1 = 0 ;
32538 int res1 = 0 ;
32539 long val2 ;
32540 int ecode2 = 0 ;
32541 PyObject * obj0 = 0 ;
32542 PyObject * obj1 = 0 ;
32543 char * kwnames[] = {
32544 (char *) "self",(char *) "item", NULL
32545 };
32546
32547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32549 if (!SWIG_IsOK(res1)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32551 }
32552 arg1 = reinterpret_cast< wxListView * >(argp1);
32553 ecode2 = SWIG_AsVal_long(obj1, &val2);
32554 if (!SWIG_IsOK(ecode2)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32556 }
32557 arg2 = static_cast< long >(val2);
32558 {
32559 PyThreadState* __tstate = wxPyBeginAllowThreads();
32560 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 resultobj = SWIG_From_long(static_cast< long >(result));
32565 return resultobj;
32566fail:
32567 return NULL;
7e08d4ef
RD
32568}
32569
32570
0085ce49
RD
32571SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32572 PyObject *resultobj = 0;
32573 wxListView *arg1 = (wxListView *) 0 ;
32574 long result;
32575 void *argp1 = 0 ;
32576 int res1 = 0 ;
32577 PyObject *swig_obj[1] ;
32578
32579 if (!args) SWIG_fail;
32580 swig_obj[0] = args;
32581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32582 if (!SWIG_IsOK(res1)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32584 }
32585 arg1 = reinterpret_cast< wxListView * >(argp1);
32586 {
32587 PyThreadState* __tstate = wxPyBeginAllowThreads();
32588 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 resultobj = SWIG_From_long(static_cast< long >(result));
32593 return resultobj;
32594fail:
32595 return NULL;
32596}
32597
32598
32599SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32600 PyObject *resultobj = 0;
32601 wxListView *arg1 = (wxListView *) 0 ;
32602 long arg2 ;
32603 bool result;
32604 void *argp1 = 0 ;
32605 int res1 = 0 ;
32606 long val2 ;
32607 int ecode2 = 0 ;
32608 PyObject * obj0 = 0 ;
32609 PyObject * obj1 = 0 ;
32610 char * kwnames[] = {
32611 (char *) "self",(char *) "index", NULL
32612 };
32613
32614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32616 if (!SWIG_IsOK(res1)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32618 }
32619 arg1 = reinterpret_cast< wxListView * >(argp1);
32620 ecode2 = SWIG_AsVal_long(obj1, &val2);
32621 if (!SWIG_IsOK(ecode2)) {
32622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32623 }
32624 arg2 = static_cast< long >(val2);
32625 {
32626 PyThreadState* __tstate = wxPyBeginAllowThreads();
32627 result = (bool)(arg1)->IsSelected(arg2);
32628 wxPyEndAllowThreads(__tstate);
32629 if (PyErr_Occurred()) SWIG_fail;
32630 }
32631 {
32632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32633 }
32634 return resultobj;
32635fail:
32636 return NULL;
32637}
32638
32639
32640SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32641 PyObject *resultobj = 0;
32642 wxListView *arg1 = (wxListView *) 0 ;
32643 int arg2 ;
32644 int arg3 ;
32645 void *argp1 = 0 ;
32646 int res1 = 0 ;
32647 int val2 ;
32648 int ecode2 = 0 ;
32649 int val3 ;
32650 int ecode3 = 0 ;
32651 PyObject * obj0 = 0 ;
32652 PyObject * obj1 = 0 ;
32653 PyObject * obj2 = 0 ;
32654 char * kwnames[] = {
32655 (char *) "self",(char *) "col",(char *) "image", NULL
32656 };
32657
32658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32660 if (!SWIG_IsOK(res1)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32662 }
32663 arg1 = reinterpret_cast< wxListView * >(argp1);
32664 ecode2 = SWIG_AsVal_int(obj1, &val2);
32665 if (!SWIG_IsOK(ecode2)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32667 }
32668 arg2 = static_cast< int >(val2);
32669 ecode3 = SWIG_AsVal_int(obj2, &val3);
32670 if (!SWIG_IsOK(ecode3)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32672 }
32673 arg3 = static_cast< int >(val3);
32674 {
32675 PyThreadState* __tstate = wxPyBeginAllowThreads();
32676 (arg1)->SetColumnImage(arg2,arg3);
32677 wxPyEndAllowThreads(__tstate);
32678 if (PyErr_Occurred()) SWIG_fail;
32679 }
32680 resultobj = SWIG_Py_Void();
32681 return resultobj;
32682fail:
32683 return NULL;
32684}
32685
32686
32687SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32688 PyObject *resultobj = 0;
32689 wxListView *arg1 = (wxListView *) 0 ;
32690 int arg2 ;
32691 void *argp1 = 0 ;
32692 int res1 = 0 ;
32693 int val2 ;
32694 int ecode2 = 0 ;
32695 PyObject * obj0 = 0 ;
32696 PyObject * obj1 = 0 ;
32697 char * kwnames[] = {
32698 (char *) "self",(char *) "col", NULL
32699 };
32700
32701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32703 if (!SWIG_IsOK(res1)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32705 }
32706 arg1 = reinterpret_cast< wxListView * >(argp1);
32707 ecode2 = SWIG_AsVal_int(obj1, &val2);
32708 if (!SWIG_IsOK(ecode2)) {
32709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32710 }
32711 arg2 = static_cast< int >(val2);
32712 {
32713 PyThreadState* __tstate = wxPyBeginAllowThreads();
32714 (arg1)->ClearColumnImage(arg2);
32715 wxPyEndAllowThreads(__tstate);
32716 if (PyErr_Occurred()) SWIG_fail;
32717 }
32718 resultobj = SWIG_Py_Void();
32719 return resultobj;
32720fail:
32721 return NULL;
7e08d4ef
RD
32722}
32723
32724
0085ce49
RD
32725SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32726 PyObject *obj;
32727 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32728 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32729 return SWIG_Py_Void();
7e08d4ef
RD
32730}
32731
0085ce49
RD
32732SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32733 return SWIG_Python_InitShadowInstance(args);
32734}
7e08d4ef 32735
0085ce49
RD
32736SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32737 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32738 return 1;
7e08d4ef
RD
32739}
32740
32741
0085ce49
RD
32742SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32743 PyObject *pyobj = 0;
32744
32745 {
32746#if wxUSE_UNICODE
32747 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32748#else
32749 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32750#endif
32751 }
32752 return pyobj;
7e08d4ef
RD
32753}
32754
32755
0085ce49
RD
32756SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32757 PyObject *resultobj = 0;
32758 wxTreeItemId *result = 0 ;
32759
32760 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32761 {
32762 PyThreadState* __tstate = wxPyBeginAllowThreads();
32763 result = (wxTreeItemId *)new wxTreeItemId();
32764 wxPyEndAllowThreads(__tstate);
32765 if (PyErr_Occurred()) SWIG_fail;
32766 }
32767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32768 return resultobj;
32769fail:
32770 return NULL;
d14a1e28
RD
32771}
32772
32773
0085ce49
RD
32774SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32775 PyObject *resultobj = 0;
32776 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32777 void *argp1 = 0 ;
32778 int res1 = 0 ;
32779 PyObject *swig_obj[1] ;
32780
32781 if (!args) SWIG_fail;
32782 swig_obj[0] = args;
32783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32784 if (!SWIG_IsOK(res1)) {
32785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32786 }
32787 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32788 {
32789 PyThreadState* __tstate = wxPyBeginAllowThreads();
32790 delete arg1;
7e08d4ef 32791
0085ce49
RD
32792 wxPyEndAllowThreads(__tstate);
32793 if (PyErr_Occurred()) SWIG_fail;
32794 }
32795 resultobj = SWIG_Py_Void();
32796 return resultobj;
32797fail:
32798 return NULL;
7e08d4ef
RD
32799}
32800
32801
0085ce49
RD
32802SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32803 PyObject *resultobj = 0;
32804 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32805 bool result;
32806 void *argp1 = 0 ;
32807 int res1 = 0 ;
32808 PyObject *swig_obj[1] ;
32809
32810 if (!args) SWIG_fail;
32811 swig_obj[0] = args;
32812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32813 if (!SWIG_IsOK(res1)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32815 }
32816 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32817 {
32818 PyThreadState* __tstate = wxPyBeginAllowThreads();
32819 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32820 wxPyEndAllowThreads(__tstate);
32821 if (PyErr_Occurred()) SWIG_fail;
32822 }
32823 {
32824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32825 }
32826 return resultobj;
32827fail:
32828 return NULL;
32829}
32830
32831
32832SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32833 PyObject *resultobj = 0;
32834 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32835 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32836 bool result;
32837 void *argp1 = 0 ;
32838 int res1 = 0 ;
32839 void *argp2 = 0 ;
32840 int res2 = 0 ;
32841 PyObject * obj0 = 0 ;
32842 PyObject * obj1 = 0 ;
32843 char * kwnames[] = {
32844 (char *) "self",(char *) "other", NULL
32845 };
32846
32847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32849 if (!SWIG_IsOK(res1)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32851 }
32852 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32853 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32854 if (!SWIG_IsOK(res2)) {
32855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32856 }
32857 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32858 {
32859 PyThreadState* __tstate = wxPyBeginAllowThreads();
32860 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32861 wxPyEndAllowThreads(__tstate);
32862 if (PyErr_Occurred()) SWIG_fail;
32863 }
32864 {
32865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32866 }
32867 return resultobj;
32868fail:
32869 return NULL;
32870}
32871
32872
32873SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32874 PyObject *resultobj = 0;
32875 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32876 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32877 bool result;
32878 void *argp1 = 0 ;
32879 int res1 = 0 ;
32880 void *argp2 = 0 ;
32881 int res2 = 0 ;
32882 PyObject * obj0 = 0 ;
32883 PyObject * obj1 = 0 ;
32884 char * kwnames[] = {
32885 (char *) "self",(char *) "other", NULL
32886 };
32887
32888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32890 if (!SWIG_IsOK(res1)) {
32891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32892 }
32893 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32895 if (!SWIG_IsOK(res2)) {
32896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32897 }
32898 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32899 {
32900 PyThreadState* __tstate = wxPyBeginAllowThreads();
32901 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32902 wxPyEndAllowThreads(__tstate);
32903 if (PyErr_Occurred()) SWIG_fail;
32904 }
32905 {
32906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32907 }
32908 return resultobj;
32909fail:
32910 return NULL;
7e08d4ef
RD
32911}
32912
32913
0085ce49
RD
32914SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32915 PyObject *resultobj = 0;
32916 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32917 void *arg2 = (void *) 0 ;
32918 void *argp1 = 0 ;
32919 int res1 = 0 ;
32920 int res2 ;
32921 PyObject *swig_obj[2] ;
32922
32923 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32925 if (!SWIG_IsOK(res1)) {
32926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32927 }
32928 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32929 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32930 if (!SWIG_IsOK(res2)) {
32931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32932 }
32933 if (arg1) (arg1)->m_pItem = arg2;
32934
32935 resultobj = SWIG_Py_Void();
32936 return resultobj;
32937fail:
32938 return NULL;
7e08d4ef
RD
32939}
32940
32941
0085ce49
RD
32942SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32943 PyObject *resultobj = 0;
32944 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32945 void *result = 0 ;
32946 void *argp1 = 0 ;
32947 int res1 = 0 ;
32948 PyObject *swig_obj[1] ;
32949
32950 if (!args) SWIG_fail;
32951 swig_obj[0] = args;
32952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32953 if (!SWIG_IsOK(res1)) {
32954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32955 }
32956 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32957 result = (void *) ((arg1)->m_pItem);
32958 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32959 return resultobj;
32960fail:
32961 return NULL;
7e08d4ef
RD
32962}
32963
32964
0085ce49
RD
32965SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32966 PyObject *obj;
32967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32968 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32969 return SWIG_Py_Void();
7e08d4ef
RD
32970}
32971
0085ce49
RD
32972SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32973 return SWIG_Python_InitShadowInstance(args);
32974}
7e08d4ef 32975
0085ce49
RD
32976SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32977 PyObject *resultobj = 0;
32978 PyObject *arg1 = (PyObject *) NULL ;
32979 wxPyTreeItemData *result = 0 ;
32980 PyObject * obj0 = 0 ;
32981 char * kwnames[] = {
32982 (char *) "obj", NULL
32983 };
32984
32985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32986 if (obj0) {
32987 arg1 = obj0;
32988 }
32989 {
32990 PyThreadState* __tstate = wxPyBeginAllowThreads();
32991 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32992 wxPyEndAllowThreads(__tstate);
32993 if (PyErr_Occurred()) SWIG_fail;
32994 }
32995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32996 return resultobj;
32997fail:
32998 return NULL;
7e08d4ef
RD
32999}
33000
33001
0085ce49
RD
33002SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33003 PyObject *resultobj = 0;
33004 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33005 void *argp1 = 0 ;
33006 int res1 = 0 ;
33007 PyObject *swig_obj[1] ;
33008
33009 if (!args) SWIG_fail;
33010 swig_obj[0] = args;
33011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33012 if (!SWIG_IsOK(res1)) {
33013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33014 }
33015 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33016 {
33017 PyThreadState* __tstate = wxPyBeginAllowThreads();
33018 delete arg1;
1fbf26be 33019
0085ce49
RD
33020 wxPyEndAllowThreads(__tstate);
33021 if (PyErr_Occurred()) SWIG_fail;
33022 }
33023 resultobj = SWIG_Py_Void();
33024 return resultobj;
33025fail:
33026 return NULL;
1fbf26be
RD
33027}
33028
33029
0085ce49
RD
33030SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33031 PyObject *resultobj = 0;
33032 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33033 PyObject *result = 0 ;
33034 void *argp1 = 0 ;
33035 int res1 = 0 ;
33036 PyObject *swig_obj[1] ;
33037
33038 if (!args) SWIG_fail;
33039 swig_obj[0] = args;
33040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33041 if (!SWIG_IsOK(res1)) {
33042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33043 }
33044 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33045 {
33046 PyThreadState* __tstate = wxPyBeginAllowThreads();
33047 result = (PyObject *)(arg1)->GetData();
33048 wxPyEndAllowThreads(__tstate);
33049 if (PyErr_Occurred()) SWIG_fail;
33050 }
33051 resultobj = result;
33052 return resultobj;
33053fail:
33054 return NULL;
33055}
33056
33057
33058SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33059 PyObject *resultobj = 0;
33060 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33061 PyObject *arg2 = (PyObject *) 0 ;
33062 void *argp1 = 0 ;
33063 int res1 = 0 ;
33064 PyObject * obj0 = 0 ;
33065 PyObject * obj1 = 0 ;
33066 char * kwnames[] = {
33067 (char *) "self",(char *) "obj", NULL
33068 };
33069
33070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33072 if (!SWIG_IsOK(res1)) {
33073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33074 }
33075 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33076 arg2 = obj1;
33077 {
33078 PyThreadState* __tstate = wxPyBeginAllowThreads();
33079 (arg1)->SetData(arg2);
33080 wxPyEndAllowThreads(__tstate);
33081 if (PyErr_Occurred()) SWIG_fail;
33082 }
33083 resultobj = SWIG_Py_Void();
33084 return resultobj;
33085fail:
33086 return NULL;
d14a1e28
RD
33087}
33088
33089
0085ce49
RD
33090SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33091 PyObject *resultobj = 0;
33092 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33093 wxTreeItemId *result = 0 ;
33094 void *argp1 = 0 ;
33095 int res1 = 0 ;
33096 PyObject *swig_obj[1] ;
33097
33098 if (!args) SWIG_fail;
33099 swig_obj[0] = args;
33100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33101 if (!SWIG_IsOK(res1)) {
33102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33103 }
33104 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33105 {
33106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2ef75293 33107 {
0085ce49
RD
33108 wxTreeItemId const &_result_ref = (arg1)->GetId();
33109 result = (wxTreeItemId *) &_result_ref;
2ef75293 33110 }
0085ce49
RD
33111 wxPyEndAllowThreads(__tstate);
33112 if (PyErr_Occurred()) SWIG_fail;
33113 }
33114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33115 return resultobj;
33116fail:
33117 return NULL;
33118}
33119
33120
33121SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33122 PyObject *resultobj = 0;
33123 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33124 wxTreeItemId *arg2 = 0 ;
33125 void *argp1 = 0 ;
33126 int res1 = 0 ;
33127 void *argp2 = 0 ;
33128 int res2 = 0 ;
33129 PyObject * obj0 = 0 ;
33130 PyObject * obj1 = 0 ;
33131 char * kwnames[] = {
33132 (char *) "self",(char *) "id", NULL
33133 };
33134
33135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33137 if (!SWIG_IsOK(res1)) {
33138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33139 }
33140 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33142 if (!SWIG_IsOK(res2)) {
33143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33144 }
33145 if (!argp2) {
33146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33147 }
33148 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33149 {
33150 PyThreadState* __tstate = wxPyBeginAllowThreads();
33151 (arg1)->SetId((wxTreeItemId const &)*arg2);
33152 wxPyEndAllowThreads(__tstate);
33153 if (PyErr_Occurred()) SWIG_fail;
33154 }
33155 resultobj = SWIG_Py_Void();
33156 return resultobj;
33157fail:
33158 return NULL;
2ef75293
RD
33159}
33160
33161
0085ce49
RD
33162SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33163 PyObject *resultobj = 0;
33164 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33165 void *argp1 = 0 ;
33166 int res1 = 0 ;
33167 PyObject *swig_obj[1] ;
33168
33169 if (!args) SWIG_fail;
33170 swig_obj[0] = args;
33171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33172 if (!SWIG_IsOK(res1)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33174 }
33175 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33176 {
33177 PyThreadState* __tstate = wxPyBeginAllowThreads();
33178 wxPyTreeItemData_Destroy(arg1);
33179 wxPyEndAllowThreads(__tstate);
33180 if (PyErr_Occurred()) SWIG_fail;
33181 }
33182 resultobj = SWIG_Py_Void();
33183 return resultobj;
33184fail:
33185 return NULL;
2ef75293
RD
33186}
33187
33188
0085ce49
RD
33189SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33190 PyObject *obj;
33191 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33193 return SWIG_Py_Void();
2ef75293
RD
33194}
33195
0085ce49
RD
33196SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33197 return SWIG_Python_InitShadowInstance(args);
33198}
2ef75293 33199
b02396e8
RD
33200SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33201 {
33202 void *argp = 0;
33203 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33204 if (!SWIG_IsOK(res)) {
33205 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33206 }
33207 if (!argp) {
33208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33209 } else {
33210 wxTreeItemId * temp;
33211 temp = reinterpret_cast< wxTreeItemId * >(argp);
33212 wxNullTreeItemId = *temp;
33213 if (SWIG_IsNewObj(res)) delete temp;
33214 }
33215 }
33216 return 0;
33217fail:
33218 return 1;
33219}
33220
33221
33222SWIGINTERN PyObject *NullTreeItemId_get(void) {
33223 PyObject *pyobj = 0;
33224
33225 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33226 return pyobj;
33227}
33228
33229
33230SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
0085ce49
RD
33231 PyObject *resultobj = 0;
33232 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33233 int arg2 = (int) 0 ;
33234 wxTreeEvent *result = 0 ;
33235 int val1 ;
33236 int ecode1 = 0 ;
33237 int val2 ;
33238 int ecode2 = 0 ;
0085ce49 33239
b02396e8
RD
33240 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33241 if (swig_obj[0]) {
33242 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
0085ce49
RD
33243 if (!SWIG_IsOK(ecode1)) {
33244 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33245 }
33246 arg1 = static_cast< wxEventType >(val1);
33247 }
b02396e8
RD
33248 if (swig_obj[1]) {
33249 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
0085ce49
RD
33250 if (!SWIG_IsOK(ecode2)) {
33251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33252 }
33253 arg2 = static_cast< int >(val2);
33254 }
33255 {
33256 PyThreadState* __tstate = wxPyBeginAllowThreads();
33257 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33258 wxPyEndAllowThreads(__tstate);
33259 if (PyErr_Occurred()) SWIG_fail;
33260 }
33261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33262 return resultobj;
33263fail:
33264 return NULL;
70b7a5fe
RD
33265}
33266
33267
b02396e8
RD
33268SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33269 PyObject *resultobj = 0;
33270 wxEventType arg1 ;
33271 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33272 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33273 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33274 wxTreeEvent *result = 0 ;
33275 int val1 ;
33276 int ecode1 = 0 ;
33277 void *argp2 = 0 ;
33278 int res2 = 0 ;
33279 void *argp3 = 0 ;
33280 int res3 = 0 ;
33281
33282 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33283 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33284 if (!SWIG_IsOK(ecode1)) {
33285 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33286 }
33287 arg1 = static_cast< wxEventType >(val1);
33288 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33289 if (!SWIG_IsOK(res2)) {
33290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33291 }
33292 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33293 if (swig_obj[2]) {
33294 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33295 if (!SWIG_IsOK(res3)) {
33296 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33297 }
33298 if (!argp3) {
33299 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33300 }
33301 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33302 }
33303 {
33304 PyThreadState* __tstate = wxPyBeginAllowThreads();
33305 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33306 wxPyEndAllowThreads(__tstate);
33307 if (PyErr_Occurred()) SWIG_fail;
33308 }
33309 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33310 return resultobj;
33311fail:
33312 return NULL;
33313}
33314
33315
33316SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33317 int argc;
33318 PyObject *argv[4];
33319
33320 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33321 --argc;
33322 if ((argc >= 0) && (argc <= 2)) {
33323 int _v = 0;
33324 if (argc > 1) {
33325 {
33326 {
33327 int res = SWIG_AsVal_int(argv[1], NULL);
33328 _v = SWIG_CheckState(res);
33329 }
33330 }
33331 if (!_v) goto check_1;
33332 }
33333 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33334 }
33335check_1:
33336
33337 if ((argc >= 2) && (argc <= 3)) {
33338 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33339 }
33340
33341fail:
33342 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33343 return NULL;
33344}
33345
33346
0085ce49
RD
33347SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33348 PyObject *resultobj = 0;
33349 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33350 wxTreeItemId result;
33351 void *argp1 = 0 ;
33352 int res1 = 0 ;
33353 PyObject *swig_obj[1] ;
33354
33355 if (!args) SWIG_fail;
33356 swig_obj[0] = args;
33357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33358 if (!SWIG_IsOK(res1)) {
33359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33360 }
33361 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33362 {
33363 PyThreadState* __tstate = wxPyBeginAllowThreads();
33364 result = ((wxTreeEvent const *)arg1)->GetItem();
33365 wxPyEndAllowThreads(__tstate);
33366 if (PyErr_Occurred()) SWIG_fail;
33367 }
33368 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33369 return resultobj;
33370fail:
33371 return NULL;
33372}
33373
33374
33375SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33376 PyObject *resultobj = 0;
33377 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33378 wxTreeItemId *arg2 = 0 ;
33379 void *argp1 = 0 ;
33380 int res1 = 0 ;
33381 void *argp2 = 0 ;
33382 int res2 = 0 ;
33383 PyObject * obj0 = 0 ;
33384 PyObject * obj1 = 0 ;
33385 char * kwnames[] = {
33386 (char *) "self",(char *) "item", NULL
33387 };
33388
33389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33391 if (!SWIG_IsOK(res1)) {
33392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33393 }
33394 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33395 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33396 if (!SWIG_IsOK(res2)) {
33397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33398 }
33399 if (!argp2) {
33400 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33401 }
33402 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33403 {
33404 PyThreadState* __tstate = wxPyBeginAllowThreads();
33405 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33406 wxPyEndAllowThreads(__tstate);
33407 if (PyErr_Occurred()) SWIG_fail;
33408 }
33409 resultobj = SWIG_Py_Void();
33410 return resultobj;
33411fail:
33412 return NULL;
2ef75293
RD
33413}
33414
33415
0085ce49
RD
33416SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33417 PyObject *resultobj = 0;
33418 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33419 wxTreeItemId result;
33420 void *argp1 = 0 ;
33421 int res1 = 0 ;
33422 PyObject *swig_obj[1] ;
33423
33424 if (!args) SWIG_fail;
33425 swig_obj[0] = args;
33426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33427 if (!SWIG_IsOK(res1)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33429 }
33430 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33431 {
33432 PyThreadState* __tstate = wxPyBeginAllowThreads();
33433 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33434 wxPyEndAllowThreads(__tstate);
33435 if (PyErr_Occurred()) SWIG_fail;
33436 }
33437 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33438 return resultobj;
33439fail:
33440 return NULL;
33441}
33442
33443
33444SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33445 PyObject *resultobj = 0;
33446 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33447 wxTreeItemId *arg2 = 0 ;
33448 void *argp1 = 0 ;
33449 int res1 = 0 ;
33450 void *argp2 = 0 ;
33451 int res2 = 0 ;
33452 PyObject * obj0 = 0 ;
33453 PyObject * obj1 = 0 ;
33454 char * kwnames[] = {
33455 (char *) "self",(char *) "item", NULL
33456 };
33457
33458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33460 if (!SWIG_IsOK(res1)) {
33461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33462 }
33463 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33464 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33465 if (!SWIG_IsOK(res2)) {
33466 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33467 }
33468 if (!argp2) {
33469 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33470 }
33471 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33472 {
33473 PyThreadState* __tstate = wxPyBeginAllowThreads();
33474 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33475 wxPyEndAllowThreads(__tstate);
33476 if (PyErr_Occurred()) SWIG_fail;
33477 }
33478 resultobj = SWIG_Py_Void();
33479 return resultobj;
33480fail:
33481 return NULL;
2ef75293
RD
33482}
33483
33484
0085ce49
RD
33485SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33486 PyObject *resultobj = 0;
33487 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33488 wxPoint result;
33489 void *argp1 = 0 ;
33490 int res1 = 0 ;
33491 PyObject *swig_obj[1] ;
33492
33493 if (!args) SWIG_fail;
33494 swig_obj[0] = args;
33495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33496 if (!SWIG_IsOK(res1)) {
33497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33498 }
33499 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33500 {
33501 PyThreadState* __tstate = wxPyBeginAllowThreads();
33502 result = ((wxTreeEvent const *)arg1)->GetPoint();
33503 wxPyEndAllowThreads(__tstate);
33504 if (PyErr_Occurred()) SWIG_fail;
33505 }
33506 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33507 return resultobj;
33508fail:
33509 return NULL;
33510}
33511
33512
33513SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33514 PyObject *resultobj = 0;
33515 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33516 wxPoint *arg2 = 0 ;
33517 void *argp1 = 0 ;
33518 int res1 = 0 ;
33519 wxPoint temp2 ;
33520 PyObject * obj0 = 0 ;
33521 PyObject * obj1 = 0 ;
33522 char * kwnames[] = {
33523 (char *) "self",(char *) "pt", NULL
33524 };
33525
33526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33528 if (!SWIG_IsOK(res1)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33530 }
33531 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33532 {
33533 arg2 = &temp2;
33534 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33535 }
33536 {
33537 PyThreadState* __tstate = wxPyBeginAllowThreads();
33538 (arg1)->SetPoint((wxPoint const &)*arg2);
33539 wxPyEndAllowThreads(__tstate);
33540 if (PyErr_Occurred()) SWIG_fail;
33541 }
33542 resultobj = SWIG_Py_Void();
33543 return resultobj;
33544fail:
33545 return NULL;
d14a1e28
RD
33546}
33547
33548
0085ce49
RD
33549SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33550 PyObject *resultobj = 0;
33551 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33552 wxKeyEvent *result = 0 ;
33553 void *argp1 = 0 ;
33554 int res1 = 0 ;
33555 PyObject *swig_obj[1] ;
33556
33557 if (!args) SWIG_fail;
33558 swig_obj[0] = args;
33559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33560 if (!SWIG_IsOK(res1)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33562 }
33563 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33564 {
33565 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 33566 {
0085ce49
RD
33567 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33568 result = (wxKeyEvent *) &_result_ref;
d14a1e28 33569 }
0085ce49
RD
33570 wxPyEndAllowThreads(__tstate);
33571 if (PyErr_Occurred()) SWIG_fail;
33572 }
33573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33574 return resultobj;
33575fail:
33576 return NULL;
d14a1e28
RD
33577}
33578
33579
0085ce49
RD
33580SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33581 PyObject *resultobj = 0;
33582 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33583 int result;
33584 void *argp1 = 0 ;
33585 int res1 = 0 ;
33586 PyObject *swig_obj[1] ;
33587
33588 if (!args) SWIG_fail;
33589 swig_obj[0] = args;
33590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33591 if (!SWIG_IsOK(res1)) {
33592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33593 }
33594 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33595 {
33596 PyThreadState* __tstate = wxPyBeginAllowThreads();
33597 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33598 wxPyEndAllowThreads(__tstate);
33599 if (PyErr_Occurred()) SWIG_fail;
33600 }
33601 resultobj = SWIG_From_int(static_cast< int >(result));
33602 return resultobj;
33603fail:
33604 return NULL;
33605}
33606
33607
33608SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33609 PyObject *resultobj = 0;
33610 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33611 wxKeyEvent *arg2 = 0 ;
33612 void *argp1 = 0 ;
33613 int res1 = 0 ;
33614 void *argp2 = 0 ;
33615 int res2 = 0 ;
33616 PyObject * obj0 = 0 ;
33617 PyObject * obj1 = 0 ;
33618 char * kwnames[] = {
33619 (char *) "self",(char *) "evt", NULL
33620 };
33621
33622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33624 if (!SWIG_IsOK(res1)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33626 }
33627 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33628 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33629 if (!SWIG_IsOK(res2)) {
33630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33631 }
33632 if (!argp2) {
33633 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33634 }
33635 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33636 {
33637 PyThreadState* __tstate = wxPyBeginAllowThreads();
33638 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33639 wxPyEndAllowThreads(__tstate);
33640 if (PyErr_Occurred()) SWIG_fail;
33641 }
33642 resultobj = SWIG_Py_Void();
33643 return resultobj;
33644fail:
33645 return NULL;
d14a1e28
RD
33646}
33647
33648
0085ce49
RD
33649SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33650 PyObject *resultobj = 0;
33651 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33652 wxString *result = 0 ;
33653 void *argp1 = 0 ;
33654 int res1 = 0 ;
33655 PyObject *swig_obj[1] ;
33656
33657 if (!args) SWIG_fail;
33658 swig_obj[0] = args;
33659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33660 if (!SWIG_IsOK(res1)) {
33661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33662 }
33663 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33664 {
33665 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 33666 {
0085ce49
RD
33667 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33668 result = (wxString *) &_result_ref;
093d3ff1 33669 }
0085ce49
RD
33670 wxPyEndAllowThreads(__tstate);
33671 if (PyErr_Occurred()) SWIG_fail;
33672 }
33673 {
33674#if wxUSE_UNICODE
33675 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33676#else
33677 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33678#endif
33679 }
33680 return resultobj;
33681fail:
33682 return NULL;
33683}
33684
33685
33686SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33687 PyObject *resultobj = 0;
33688 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33689 wxString *arg2 = 0 ;
33690 void *argp1 = 0 ;
33691 int res1 = 0 ;
33692 bool temp2 = false ;
33693 PyObject * obj0 = 0 ;
33694 PyObject * obj1 = 0 ;
33695 char * kwnames[] = {
33696 (char *) "self",(char *) "label", NULL
33697 };
33698
33699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33701 if (!SWIG_IsOK(res1)) {
33702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33703 }
33704 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33705 {
33706 arg2 = wxString_in_helper(obj1);
33707 if (arg2 == NULL) SWIG_fail;
33708 temp2 = true;
33709 }
33710 {
33711 PyThreadState* __tstate = wxPyBeginAllowThreads();
33712 (arg1)->SetLabel((wxString const &)*arg2);
33713 wxPyEndAllowThreads(__tstate);
33714 if (PyErr_Occurred()) SWIG_fail;
33715 }
33716 resultobj = SWIG_Py_Void();
33717 {
33718 if (temp2)
33719 delete arg2;
33720 }
33721 return resultobj;
33722fail:
33723 {
33724 if (temp2)
33725 delete arg2;
33726 }
33727 return NULL;
d14a1e28
RD
33728}
33729
33730
0085ce49
RD
33731SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33732 PyObject *resultobj = 0;
33733 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33734 bool result;
33735 void *argp1 = 0 ;
33736 int res1 = 0 ;
33737 PyObject *swig_obj[1] ;
33738
33739 if (!args) SWIG_fail;
33740 swig_obj[0] = args;
33741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33742 if (!SWIG_IsOK(res1)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33744 }
33745 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33746 {
33747 PyThreadState* __tstate = wxPyBeginAllowThreads();
33748 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33749 wxPyEndAllowThreads(__tstate);
33750 if (PyErr_Occurred()) SWIG_fail;
33751 }
33752 {
33753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33754 }
33755 return resultobj;
33756fail:
33757 return NULL;
33758}
33759
33760
33761SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33762 PyObject *resultobj = 0;
33763 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33764 bool arg2 ;
33765 void *argp1 = 0 ;
33766 int res1 = 0 ;
33767 bool val2 ;
33768 int ecode2 = 0 ;
33769 PyObject * obj0 = 0 ;
33770 PyObject * obj1 = 0 ;
33771 char * kwnames[] = {
33772 (char *) "self",(char *) "editCancelled", NULL
33773 };
33774
33775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33777 if (!SWIG_IsOK(res1)) {
33778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33779 }
33780 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33781 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33782 if (!SWIG_IsOK(ecode2)) {
33783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33784 }
33785 arg2 = static_cast< bool >(val2);
33786 {
33787 PyThreadState* __tstate = wxPyBeginAllowThreads();
33788 (arg1)->SetEditCanceled(arg2);
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 resultobj = SWIG_Py_Void();
33793 return resultobj;
33794fail:
33795 return NULL;
33796}
33797
33798
33799SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33800 PyObject *resultobj = 0;
33801 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33802 wxString *arg2 = 0 ;
33803 void *argp1 = 0 ;
33804 int res1 = 0 ;
33805 bool temp2 = false ;
33806 PyObject * obj0 = 0 ;
33807 PyObject * obj1 = 0 ;
33808 char * kwnames[] = {
33809 (char *) "self",(char *) "toolTip", NULL
33810 };
33811
33812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33814 if (!SWIG_IsOK(res1)) {
33815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33816 }
33817 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33818 {
33819 arg2 = wxString_in_helper(obj1);
33820 if (arg2 == NULL) SWIG_fail;
33821 temp2 = true;
33822 }
33823 {
33824 PyThreadState* __tstate = wxPyBeginAllowThreads();
33825 (arg1)->SetToolTip((wxString const &)*arg2);
33826 wxPyEndAllowThreads(__tstate);
33827 if (PyErr_Occurred()) SWIG_fail;
33828 }
33829 resultobj = SWIG_Py_Void();
33830 {
33831 if (temp2)
33832 delete arg2;
33833 }
33834 return resultobj;
33835fail:
33836 {
33837 if (temp2)
33838 delete arg2;
33839 }
33840 return NULL;
d14a1e28
RD
33841}
33842
33843
0085ce49
RD
33844SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33845 PyObject *resultobj = 0;
33846 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33847 wxString result;
33848 void *argp1 = 0 ;
33849 int res1 = 0 ;
33850 PyObject *swig_obj[1] ;
33851
33852 if (!args) SWIG_fail;
33853 swig_obj[0] = args;
33854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33855 if (!SWIG_IsOK(res1)) {
33856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33857 }
33858 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33859 {
33860 PyThreadState* __tstate = wxPyBeginAllowThreads();
33861 result = (arg1)->GetToolTip();
33862 wxPyEndAllowThreads(__tstate);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 }
33865 {
33866#if wxUSE_UNICODE
33867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33868#else
33869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33870#endif
33871 }
33872 return resultobj;
33873fail:
33874 return NULL;
33875}
33876
33877
33878SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33879 PyObject *obj;
33880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33881 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33882 return SWIG_Py_Void();
33883}
33884
33885SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33886 return SWIG_Python_InitShadowInstance(args);
33887}
33888
33889SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33890 PyObject *resultobj = 0;
33891 wxWindow *arg1 = (wxWindow *) 0 ;
33892 int arg2 = (int) -1 ;
33893 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33894 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33895 wxSize const &arg4_defvalue = wxDefaultSize ;
33896 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33897 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33898 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33899 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33900 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33901 wxString *arg7 = (wxString *) &arg7_defvalue ;
33902 wxPyTreeCtrl *result = 0 ;
33903 void *argp1 = 0 ;
33904 int res1 = 0 ;
33905 int val2 ;
33906 int ecode2 = 0 ;
33907 wxPoint temp3 ;
33908 wxSize temp4 ;
33909 long val5 ;
33910 int ecode5 = 0 ;
33911 void *argp6 = 0 ;
33912 int res6 = 0 ;
33913 bool temp7 = false ;
33914 PyObject * obj0 = 0 ;
33915 PyObject * obj1 = 0 ;
33916 PyObject * obj2 = 0 ;
33917 PyObject * obj3 = 0 ;
33918 PyObject * obj4 = 0 ;
33919 PyObject * obj5 = 0 ;
33920 PyObject * obj6 = 0 ;
33921 char * kwnames[] = {
33922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33923 };
33924
33925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33927 if (!SWIG_IsOK(res1)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33929 }
33930 arg1 = reinterpret_cast< wxWindow * >(argp1);
33931 if (obj1) {
33932 ecode2 = SWIG_AsVal_int(obj1, &val2);
33933 if (!SWIG_IsOK(ecode2)) {
33934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33935 }
33936 arg2 = static_cast< int >(val2);
33937 }
33938 if (obj2) {
d14a1e28 33939 {
0085ce49
RD
33940 arg3 = &temp3;
33941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 33942 }
0085ce49
RD
33943 }
33944 if (obj3) {
093d3ff1 33945 {
0085ce49
RD
33946 arg4 = &temp4;
33947 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 33948 }
0085ce49
RD
33949 }
33950 if (obj4) {
33951 ecode5 = SWIG_AsVal_long(obj4, &val5);
33952 if (!SWIG_IsOK(ecode5)) {
33953 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33954 }
33955 arg5 = static_cast< long >(val5);
33956 }
33957 if (obj5) {
33958 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33959 if (!SWIG_IsOK(res6)) {
33960 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 33961 }
0085ce49
RD
33962 if (!argp6) {
33963 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 33964 }
0085ce49
RD
33965 arg6 = reinterpret_cast< wxValidator * >(argp6);
33966 }
33967 if (obj6) {
4f89f6a3 33968 {
0085ce49
RD
33969 arg7 = wxString_in_helper(obj6);
33970 if (arg7 == NULL) SWIG_fail;
33971 temp7 = true;
4f89f6a3 33972 }
0085ce49
RD
33973 }
33974 {
33975 if (!wxPyCheckForApp()) SWIG_fail;
33976 PyThreadState* __tstate = wxPyBeginAllowThreads();
33977 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33978 wxPyEndAllowThreads(__tstate);
33979 if (PyErr_Occurred()) SWIG_fail;
33980 }
33981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33982 {
33983 if (temp7)
33984 delete arg7;
33985 }
33986 return resultobj;
33987fail:
33988 {
33989 if (temp7)
33990 delete arg7;
33991 }
33992 return NULL;
d14a1e28
RD
33993}
33994
33995
0085ce49
RD
33996SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33997 PyObject *resultobj = 0;
33998 wxPyTreeCtrl *result = 0 ;
33999
34000 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34001 {
34002 if (!wxPyCheckForApp()) SWIG_fail;
34003 PyThreadState* __tstate = wxPyBeginAllowThreads();
34004 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34005 wxPyEndAllowThreads(__tstate);
34006 if (PyErr_Occurred()) SWIG_fail;
34007 }
34008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34009 return resultobj;
34010fail:
34011 return NULL;
34012}
34013
34014
34015SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34016 PyObject *resultobj = 0;
34017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34018 wxWindow *arg2 = (wxWindow *) 0 ;
34019 int arg3 = (int) -1 ;
34020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34022 wxSize const &arg5_defvalue = wxDefaultSize ;
34023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34024 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34025 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34026 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34027 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34028 wxString *arg8 = (wxString *) &arg8_defvalue ;
34029 bool result;
34030 void *argp1 = 0 ;
34031 int res1 = 0 ;
34032 void *argp2 = 0 ;
34033 int res2 = 0 ;
34034 int val3 ;
34035 int ecode3 = 0 ;
34036 wxPoint temp4 ;
34037 wxSize temp5 ;
34038 long val6 ;
34039 int ecode6 = 0 ;
34040 void *argp7 = 0 ;
34041 int res7 = 0 ;
34042 bool temp8 = false ;
34043 PyObject * obj0 = 0 ;
34044 PyObject * obj1 = 0 ;
34045 PyObject * obj2 = 0 ;
34046 PyObject * obj3 = 0 ;
34047 PyObject * obj4 = 0 ;
34048 PyObject * obj5 = 0 ;
34049 PyObject * obj6 = 0 ;
34050 PyObject * obj7 = 0 ;
34051 char * kwnames[] = {
34052 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34053 };
34054
34055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34057 if (!SWIG_IsOK(res1)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34059 }
34060 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34062 if (!SWIG_IsOK(res2)) {
34063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34064 }
34065 arg2 = reinterpret_cast< wxWindow * >(argp2);
34066 if (obj2) {
34067 ecode3 = SWIG_AsVal_int(obj2, &val3);
34068 if (!SWIG_IsOK(ecode3)) {
34069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34070 }
34071 arg3 = static_cast< int >(val3);
34072 }
34073 if (obj3) {
4f89f6a3 34074 {
0085ce49
RD
34075 arg4 = &temp4;
34076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 34077 }
0085ce49
RD
34078 }
34079 if (obj4) {
d14a1e28 34080 {
0085ce49
RD
34081 arg5 = &temp5;
34082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 34083 }
0085ce49
RD
34084 }
34085 if (obj5) {
34086 ecode6 = SWIG_AsVal_long(obj5, &val6);
34087 if (!SWIG_IsOK(ecode6)) {
34088 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34089 }
34090 arg6 = static_cast< long >(val6);
34091 }
34092 if (obj6) {
34093 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34094 if (!SWIG_IsOK(res7)) {
34095 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 34096 }
0085ce49
RD
34097 if (!argp7) {
34098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 34099 }
0085ce49
RD
34100 arg7 = reinterpret_cast< wxValidator * >(argp7);
34101 }
34102 if (obj7) {
4276dc52 34103 {
0085ce49
RD
34104 arg8 = wxString_in_helper(obj7);
34105 if (arg8 == NULL) SWIG_fail;
34106 temp8 = true;
4276dc52 34107 }
0085ce49
RD
34108 }
34109 {
34110 PyThreadState* __tstate = wxPyBeginAllowThreads();
34111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34112 wxPyEndAllowThreads(__tstate);
34113 if (PyErr_Occurred()) SWIG_fail;
34114 }
34115 {
34116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34117 }
34118 {
34119 if (temp8)
34120 delete arg8;
34121 }
34122 return resultobj;
34123fail:
34124 {
34125 if (temp8)
34126 delete arg8;
34127 }
34128 return NULL;
34129}
34130
34131
34132SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34133 PyObject *resultobj = 0;
34134 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34135 PyObject *arg2 = (PyObject *) 0 ;
34136 PyObject *arg3 = (PyObject *) 0 ;
34137 void *argp1 = 0 ;
34138 int res1 = 0 ;
34139 PyObject * obj0 = 0 ;
34140 PyObject * obj1 = 0 ;
34141 PyObject * obj2 = 0 ;
34142 char * kwnames[] = {
34143 (char *) "self",(char *) "self",(char *) "_class", NULL
34144 };
34145
34146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34148 if (!SWIG_IsOK(res1)) {
34149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34150 }
34151 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34152 arg2 = obj1;
34153 arg3 = obj2;
34154 {
34155 PyThreadState* __tstate = wxPyBeginAllowThreads();
34156 (arg1)->_setCallbackInfo(arg2,arg3);
34157 wxPyEndAllowThreads(__tstate);
34158 if (PyErr_Occurred()) SWIG_fail;
34159 }
34160 resultobj = SWIG_Py_Void();
34161 return resultobj;
34162fail:
34163 return NULL;
d14a1e28
RD
34164}
34165
34166
0085ce49
RD
34167SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34168 PyObject *resultobj = 0;
34169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 34170 unsigned int result;
0085ce49
RD
34171 void *argp1 = 0 ;
34172 int res1 = 0 ;
34173 PyObject *swig_obj[1] ;
34174
34175 if (!args) SWIG_fail;
34176 swig_obj[0] = args;
34177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34178 if (!SWIG_IsOK(res1)) {
34179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34180 }
34181 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34182 {
34183 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 34184 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
0085ce49
RD
34185 wxPyEndAllowThreads(__tstate);
34186 if (PyErr_Occurred()) SWIG_fail;
34187 }
e9d6f3a4 34188 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
34189 return resultobj;
34190fail:
34191 return NULL;
d14a1e28
RD
34192}
34193
34194
0085ce49
RD
34195SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34196 PyObject *resultobj = 0;
34197 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34198 unsigned int result;
34199 void *argp1 = 0 ;
34200 int res1 = 0 ;
34201 PyObject *swig_obj[1] ;
34202
34203 if (!args) SWIG_fail;
34204 swig_obj[0] = args;
34205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34206 if (!SWIG_IsOK(res1)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34208 }
34209 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34210 {
34211 PyThreadState* __tstate = wxPyBeginAllowThreads();
34212 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34213 wxPyEndAllowThreads(__tstate);
34214 if (PyErr_Occurred()) SWIG_fail;
34215 }
34216 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34217 return resultobj;
34218fail:
34219 return NULL;
34220}
34221
34222
34223SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34224 PyObject *resultobj = 0;
34225 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34226 unsigned int arg2 ;
34227 void *argp1 = 0 ;
34228 int res1 = 0 ;
34229 unsigned int val2 ;
34230 int ecode2 = 0 ;
34231 PyObject * obj0 = 0 ;
34232 PyObject * obj1 = 0 ;
34233 char * kwnames[] = {
34234 (char *) "self",(char *) "indent", NULL
34235 };
34236
34237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34239 if (!SWIG_IsOK(res1)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34241 }
34242 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34243 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34244 if (!SWIG_IsOK(ecode2)) {
34245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34246 }
34247 arg2 = static_cast< unsigned int >(val2);
34248 {
34249 PyThreadState* __tstate = wxPyBeginAllowThreads();
34250 (arg1)->SetIndent(arg2);
34251 wxPyEndAllowThreads(__tstate);
34252 if (PyErr_Occurred()) SWIG_fail;
34253 }
34254 resultobj = SWIG_Py_Void();
34255 return resultobj;
34256fail:
34257 return NULL;
d14a1e28
RD
34258}
34259
34260
0085ce49
RD
34261SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34262 PyObject *resultobj = 0;
34263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34264 unsigned int result;
34265 void *argp1 = 0 ;
34266 int res1 = 0 ;
34267 PyObject *swig_obj[1] ;
34268
34269 if (!args) SWIG_fail;
34270 swig_obj[0] = args;
34271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34272 if (!SWIG_IsOK(res1)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34274 }
34275 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34276 {
34277 PyThreadState* __tstate = wxPyBeginAllowThreads();
34278 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34279 wxPyEndAllowThreads(__tstate);
34280 if (PyErr_Occurred()) SWIG_fail;
34281 }
34282 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34283 return resultobj;
34284fail:
34285 return NULL;
34286}
34287
34288
34289SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34290 PyObject *resultobj = 0;
34291 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34292 unsigned int arg2 ;
34293 void *argp1 = 0 ;
34294 int res1 = 0 ;
34295 unsigned int val2 ;
34296 int ecode2 = 0 ;
34297 PyObject * obj0 = 0 ;
34298 PyObject * obj1 = 0 ;
34299 char * kwnames[] = {
34300 (char *) "self",(char *) "spacing", NULL
34301 };
34302
34303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34305 if (!SWIG_IsOK(res1)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34307 }
34308 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34309 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34310 if (!SWIG_IsOK(ecode2)) {
34311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34312 }
34313 arg2 = static_cast< unsigned int >(val2);
34314 {
34315 PyThreadState* __tstate = wxPyBeginAllowThreads();
34316 (arg1)->SetSpacing(arg2);
34317 wxPyEndAllowThreads(__tstate);
34318 if (PyErr_Occurred()) SWIG_fail;
34319 }
34320 resultobj = SWIG_Py_Void();
34321 return resultobj;
34322fail:
34323 return NULL;
d14a1e28
RD
34324}
34325
34326
0085ce49
RD
34327SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34328 PyObject *resultobj = 0;
34329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34330 wxImageList *result = 0 ;
34331 void *argp1 = 0 ;
34332 int res1 = 0 ;
34333 PyObject *swig_obj[1] ;
34334
34335 if (!args) SWIG_fail;
34336 swig_obj[0] = args;
34337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34338 if (!SWIG_IsOK(res1)) {
34339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34340 }
34341 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34342 {
34343 PyThreadState* __tstate = wxPyBeginAllowThreads();
34344 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34345 wxPyEndAllowThreads(__tstate);
34346 if (PyErr_Occurred()) SWIG_fail;
34347 }
3ecece7e
RD
34348 {
34349 resultobj = wxPyMake_wxObject(result, (bool)0);
34350 }
0085ce49
RD
34351 return resultobj;
34352fail:
34353 return NULL;
d14a1e28
RD
34354}
34355
34356
0085ce49
RD
34357SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34358 PyObject *resultobj = 0;
34359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34360 wxImageList *result = 0 ;
34361 void *argp1 = 0 ;
34362 int res1 = 0 ;
34363 PyObject *swig_obj[1] ;
34364
34365 if (!args) SWIG_fail;
34366 swig_obj[0] = args;
34367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34368 if (!SWIG_IsOK(res1)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34370 }
34371 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34372 {
34373 PyThreadState* __tstate = wxPyBeginAllowThreads();
34374 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34375 wxPyEndAllowThreads(__tstate);
34376 if (PyErr_Occurred()) SWIG_fail;
34377 }
3ecece7e
RD
34378 {
34379 resultobj = wxPyMake_wxObject(result, (bool)0);
34380 }
0085ce49
RD
34381 return resultobj;
34382fail:
34383 return NULL;
34384}
34385
34386
34387SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34388 PyObject *resultobj = 0;
34389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34390 wxImageList *arg2 = (wxImageList *) 0 ;
34391 void *argp1 = 0 ;
34392 int res1 = 0 ;
34393 void *argp2 = 0 ;
34394 int res2 = 0 ;
34395 PyObject * obj0 = 0 ;
34396 PyObject * obj1 = 0 ;
34397 char * kwnames[] = {
34398 (char *) "self",(char *) "imageList", NULL
34399 };
34400
34401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34403 if (!SWIG_IsOK(res1)) {
34404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34405 }
34406 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34407 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34408 if (!SWIG_IsOK(res2)) {
34409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34410 }
34411 arg2 = reinterpret_cast< wxImageList * >(argp2);
34412 {
34413 PyThreadState* __tstate = wxPyBeginAllowThreads();
34414 (arg1)->SetImageList(arg2);
34415 wxPyEndAllowThreads(__tstate);
34416 if (PyErr_Occurred()) SWIG_fail;
34417 }
34418 resultobj = SWIG_Py_Void();
34419 return resultobj;
34420fail:
34421 return NULL;
34422}
34423
34424
34425SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34426 PyObject *resultobj = 0;
34427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34428 wxImageList *arg2 = (wxImageList *) 0 ;
34429 void *argp1 = 0 ;
34430 int res1 = 0 ;
34431 void *argp2 = 0 ;
34432 int res2 = 0 ;
34433 PyObject * obj0 = 0 ;
34434 PyObject * obj1 = 0 ;
34435 char * kwnames[] = {
34436 (char *) "self",(char *) "imageList", NULL
34437 };
34438
34439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34441 if (!SWIG_IsOK(res1)) {
34442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34443 }
34444 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34446 if (!SWIG_IsOK(res2)) {
34447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34448 }
34449 arg2 = reinterpret_cast< wxImageList * >(argp2);
34450 {
34451 PyThreadState* __tstate = wxPyBeginAllowThreads();
34452 (arg1)->SetStateImageList(arg2);
34453 wxPyEndAllowThreads(__tstate);
34454 if (PyErr_Occurred()) SWIG_fail;
34455 }
34456 resultobj = SWIG_Py_Void();
34457 return resultobj;
34458fail:
34459 return NULL;
34460}
34461
34462
34463SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34464 PyObject *resultobj = 0;
34465 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34466 wxImageList *arg2 = (wxImageList *) 0 ;
34467 void *argp1 = 0 ;
34468 int res1 = 0 ;
34469 int res2 = 0 ;
34470 PyObject * obj0 = 0 ;
34471 PyObject * obj1 = 0 ;
34472 char * kwnames[] = {
34473 (char *) "self",(char *) "imageList", NULL
34474 };
34475
34476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34478 if (!SWIG_IsOK(res1)) {
34479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34480 }
34481 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34482 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34483 if (!SWIG_IsOK(res2)) {
34484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34485 }
34486 {
34487 PyThreadState* __tstate = wxPyBeginAllowThreads();
34488 (arg1)->AssignImageList(arg2);
34489 wxPyEndAllowThreads(__tstate);
34490 if (PyErr_Occurred()) SWIG_fail;
34491 }
34492 resultobj = SWIG_Py_Void();
34493 return resultobj;
34494fail:
34495 return NULL;
34496}
34497
34498
34499SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34500 PyObject *resultobj = 0;
34501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34502 wxImageList *arg2 = (wxImageList *) 0 ;
34503 void *argp1 = 0 ;
34504 int res1 = 0 ;
34505 int res2 = 0 ;
34506 PyObject * obj0 = 0 ;
34507 PyObject * obj1 = 0 ;
34508 char * kwnames[] = {
34509 (char *) "self",(char *) "imageList", NULL
34510 };
34511
34512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34514 if (!SWIG_IsOK(res1)) {
34515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34516 }
34517 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34518 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34519 if (!SWIG_IsOK(res2)) {
34520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34521 }
34522 {
34523 PyThreadState* __tstate = wxPyBeginAllowThreads();
34524 (arg1)->AssignStateImageList(arg2);
34525 wxPyEndAllowThreads(__tstate);
34526 if (PyErr_Occurred()) SWIG_fail;
34527 }
34528 resultobj = SWIG_Py_Void();
34529 return resultobj;
34530fail:
34531 return NULL;
34532}
34533
34534
34535SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34536 PyObject *resultobj = 0;
34537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34538 wxTreeItemId *arg2 = 0 ;
34539 wxString result;
34540 void *argp1 = 0 ;
34541 int res1 = 0 ;
34542 void *argp2 = 0 ;
34543 int res2 = 0 ;
34544 PyObject * obj0 = 0 ;
34545 PyObject * obj1 = 0 ;
34546 char * kwnames[] = {
34547 (char *) "self",(char *) "item", NULL
34548 };
34549
34550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34552 if (!SWIG_IsOK(res1)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34554 }
34555 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34556 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34557 if (!SWIG_IsOK(res2)) {
34558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 }
34560 if (!argp2) {
34561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34562 }
34563 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34564 {
34565 PyThreadState* __tstate = wxPyBeginAllowThreads();
34566 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34567 wxPyEndAllowThreads(__tstate);
34568 if (PyErr_Occurred()) SWIG_fail;
34569 }
34570 {
d14a1e28 34571#if wxUSE_UNICODE
0085ce49 34572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 34573#else
0085ce49 34574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 34575#endif
0085ce49
RD
34576 }
34577 return resultobj;
34578fail:
34579 return NULL;
34580}
34581
34582
34583SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34584 PyObject *resultobj = 0;
34585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34586 wxTreeItemId *arg2 = 0 ;
34587 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34588 int result;
34589 void *argp1 = 0 ;
34590 int res1 = 0 ;
34591 void *argp2 = 0 ;
34592 int res2 = 0 ;
34593 int val3 ;
34594 int ecode3 = 0 ;
34595 PyObject * obj0 = 0 ;
34596 PyObject * obj1 = 0 ;
34597 PyObject * obj2 = 0 ;
34598 char * kwnames[] = {
34599 (char *) "self",(char *) "item",(char *) "which", NULL
34600 };
34601
34602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34604 if (!SWIG_IsOK(res1)) {
34605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34606 }
34607 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34608 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34609 if (!SWIG_IsOK(res2)) {
34610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34611 }
34612 if (!argp2) {
34613 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34614 }
34615 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34616 if (obj2) {
34617 ecode3 = SWIG_AsVal_int(obj2, &val3);
34618 if (!SWIG_IsOK(ecode3)) {
34619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34620 }
34621 arg3 = static_cast< wxTreeItemIcon >(val3);
34622 }
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34626 wxPyEndAllowThreads(__tstate);
34627 if (PyErr_Occurred()) SWIG_fail;
34628 }
34629 resultobj = SWIG_From_int(static_cast< int >(result));
34630 return resultobj;
34631fail:
34632 return NULL;
34633}
34634
34635
34636SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34637 PyObject *resultobj = 0;
34638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34639 wxTreeItemId *arg2 = 0 ;
34640 wxPyTreeItemData *result = 0 ;
34641 void *argp1 = 0 ;
34642 int res1 = 0 ;
34643 void *argp2 = 0 ;
34644 int res2 = 0 ;
34645 PyObject * obj0 = 0 ;
34646 PyObject * obj1 = 0 ;
34647 char * kwnames[] = {
34648 (char *) "self",(char *) "item", NULL
34649 };
34650
34651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34653 if (!SWIG_IsOK(res1)) {
34654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34655 }
34656 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34657 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34658 if (!SWIG_IsOK(res2)) {
34659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34660 }
34661 if (!argp2) {
34662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34663 }
34664 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34665 {
34666 PyThreadState* __tstate = wxPyBeginAllowThreads();
34667 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34668 wxPyEndAllowThreads(__tstate);
34669 if (PyErr_Occurred()) SWIG_fail;
34670 }
34671 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34672 return resultobj;
34673fail:
34674 return NULL;
34675}
34676
34677
34678SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34679 PyObject *resultobj = 0;
34680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34681 wxTreeItemId *arg2 = 0 ;
34682 PyObject *result = 0 ;
34683 void *argp1 = 0 ;
34684 int res1 = 0 ;
34685 void *argp2 = 0 ;
34686 int res2 = 0 ;
34687 PyObject * obj0 = 0 ;
34688 PyObject * obj1 = 0 ;
34689 char * kwnames[] = {
34690 (char *) "self",(char *) "item", NULL
34691 };
34692
34693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34695 if (!SWIG_IsOK(res1)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34697 }
34698 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34700 if (!SWIG_IsOK(res2)) {
34701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34702 }
34703 if (!argp2) {
34704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34705 }
34706 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34707 {
34708 PyThreadState* __tstate = wxPyBeginAllowThreads();
34709 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34710 wxPyEndAllowThreads(__tstate);
34711 if (PyErr_Occurred()) SWIG_fail;
34712 }
34713 resultobj = result;
34714 return resultobj;
34715fail:
34716 return NULL;
34717}
34718
34719
34720SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34721 PyObject *resultobj = 0;
34722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34723 wxTreeItemId *arg2 = 0 ;
34724 wxColour result;
34725 void *argp1 = 0 ;
34726 int res1 = 0 ;
34727 void *argp2 = 0 ;
34728 int res2 = 0 ;
34729 PyObject * obj0 = 0 ;
34730 PyObject * obj1 = 0 ;
34731 char * kwnames[] = {
34732 (char *) "self",(char *) "item", NULL
34733 };
34734
34735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34737 if (!SWIG_IsOK(res1)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34739 }
34740 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34742 if (!SWIG_IsOK(res2)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34744 }
34745 if (!argp2) {
34746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34747 }
34748 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34749 {
34750 PyThreadState* __tstate = wxPyBeginAllowThreads();
34751 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34752 wxPyEndAllowThreads(__tstate);
34753 if (PyErr_Occurred()) SWIG_fail;
34754 }
34755 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34756 return resultobj;
34757fail:
34758 return NULL;
34759}
34760
34761
34762SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34763 PyObject *resultobj = 0;
34764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34765 wxTreeItemId *arg2 = 0 ;
34766 wxColour result;
34767 void *argp1 = 0 ;
34768 int res1 = 0 ;
34769 void *argp2 = 0 ;
34770 int res2 = 0 ;
34771 PyObject * obj0 = 0 ;
34772 PyObject * obj1 = 0 ;
34773 char * kwnames[] = {
34774 (char *) "self",(char *) "item", NULL
34775 };
34776
34777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34779 if (!SWIG_IsOK(res1)) {
34780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34781 }
34782 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34784 if (!SWIG_IsOK(res2)) {
34785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34786 }
34787 if (!argp2) {
34788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34789 }
34790 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34791 {
34792 PyThreadState* __tstate = wxPyBeginAllowThreads();
34793 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34794 wxPyEndAllowThreads(__tstate);
34795 if (PyErr_Occurred()) SWIG_fail;
34796 }
34797 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34798 return resultobj;
34799fail:
34800 return NULL;
34801}
34802
34803
34804SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34805 PyObject *resultobj = 0;
34806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34807 wxTreeItemId *arg2 = 0 ;
34808 wxFont result;
34809 void *argp1 = 0 ;
34810 int res1 = 0 ;
34811 void *argp2 = 0 ;
34812 int res2 = 0 ;
34813 PyObject * obj0 = 0 ;
34814 PyObject * obj1 = 0 ;
34815 char * kwnames[] = {
34816 (char *) "self",(char *) "item", NULL
34817 };
34818
34819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34821 if (!SWIG_IsOK(res1)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34823 }
34824 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34825 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34826 if (!SWIG_IsOK(res2)) {
34827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34828 }
34829 if (!argp2) {
34830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 }
34832 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34833 {
34834 PyThreadState* __tstate = wxPyBeginAllowThreads();
34835 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34836 wxPyEndAllowThreads(__tstate);
34837 if (PyErr_Occurred()) SWIG_fail;
34838 }
34839 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34840 return resultobj;
34841fail:
34842 return NULL;
34843}
34844
34845
34846SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34847 PyObject *resultobj = 0;
34848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34849 wxTreeItemId *arg2 = 0 ;
34850 wxString *arg3 = 0 ;
34851 void *argp1 = 0 ;
34852 int res1 = 0 ;
34853 void *argp2 = 0 ;
34854 int res2 = 0 ;
34855 bool temp3 = false ;
34856 PyObject * obj0 = 0 ;
34857 PyObject * obj1 = 0 ;
34858 PyObject * obj2 = 0 ;
34859 char * kwnames[] = {
34860 (char *) "self",(char *) "item",(char *) "text", NULL
34861 };
34862
34863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34865 if (!SWIG_IsOK(res1)) {
34866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34867 }
34868 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34869 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34870 if (!SWIG_IsOK(res2)) {
34871 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34872 }
34873 if (!argp2) {
34874 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34875 }
34876 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34877 {
34878 arg3 = wxString_in_helper(obj2);
34879 if (arg3 == NULL) SWIG_fail;
34880 temp3 = true;
34881 }
34882 {
34883 PyThreadState* __tstate = wxPyBeginAllowThreads();
34884 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34885 wxPyEndAllowThreads(__tstate);
34886 if (PyErr_Occurred()) SWIG_fail;
34887 }
34888 resultobj = SWIG_Py_Void();
34889 {
34890 if (temp3)
34891 delete arg3;
34892 }
34893 return resultobj;
34894fail:
34895 {
34896 if (temp3)
34897 delete arg3;
34898 }
34899 return NULL;
34900}
34901
34902
34903SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34904 PyObject *resultobj = 0;
34905 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34906 wxTreeItemId *arg2 = 0 ;
34907 int arg3 ;
34908 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34909 void *argp1 = 0 ;
34910 int res1 = 0 ;
34911 void *argp2 = 0 ;
34912 int res2 = 0 ;
34913 int val3 ;
34914 int ecode3 = 0 ;
34915 int val4 ;
34916 int ecode4 = 0 ;
34917 PyObject * obj0 = 0 ;
34918 PyObject * obj1 = 0 ;
34919 PyObject * obj2 = 0 ;
34920 PyObject * obj3 = 0 ;
34921 char * kwnames[] = {
34922 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34923 };
34924
34925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34927 if (!SWIG_IsOK(res1)) {
34928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34929 }
34930 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34931 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34932 if (!SWIG_IsOK(res2)) {
34933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34934 }
34935 if (!argp2) {
34936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34937 }
34938 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34939 ecode3 = SWIG_AsVal_int(obj2, &val3);
34940 if (!SWIG_IsOK(ecode3)) {
34941 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34942 }
34943 arg3 = static_cast< int >(val3);
34944 if (obj3) {
34945 ecode4 = SWIG_AsVal_int(obj3, &val4);
34946 if (!SWIG_IsOK(ecode4)) {
34947 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34948 }
34949 arg4 = static_cast< wxTreeItemIcon >(val4);
34950 }
34951 {
34952 PyThreadState* __tstate = wxPyBeginAllowThreads();
34953 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34954 wxPyEndAllowThreads(__tstate);
34955 if (PyErr_Occurred()) SWIG_fail;
34956 }
34957 resultobj = SWIG_Py_Void();
34958 return resultobj;
34959fail:
34960 return NULL;
34961}
34962
34963
34964SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34965 PyObject *resultobj = 0;
34966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34967 wxTreeItemId *arg2 = 0 ;
34968 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34969 void *argp1 = 0 ;
34970 int res1 = 0 ;
34971 void *argp2 = 0 ;
34972 int res2 = 0 ;
34973 int res3 = 0 ;
34974 PyObject * obj0 = 0 ;
34975 PyObject * obj1 = 0 ;
34976 PyObject * obj2 = 0 ;
34977 char * kwnames[] = {
34978 (char *) "self",(char *) "item",(char *) "data", NULL
34979 };
34980
34981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34983 if (!SWIG_IsOK(res1)) {
34984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34985 }
34986 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34987 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34988 if (!SWIG_IsOK(res2)) {
34989 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34990 }
34991 if (!argp2) {
34992 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34993 }
34994 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34995 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34996 if (!SWIG_IsOK(res3)) {
34997 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34998 }
34999 {
35000 PyThreadState* __tstate = wxPyBeginAllowThreads();
35001 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35002 wxPyEndAllowThreads(__tstate);
35003 if (PyErr_Occurred()) SWIG_fail;
35004 }
35005 resultobj = SWIG_Py_Void();
35006 return resultobj;
35007fail:
35008 return NULL;
35009}
35010
35011
35012SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35013 PyObject *resultobj = 0;
35014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35015 wxTreeItemId *arg2 = 0 ;
35016 PyObject *arg3 = (PyObject *) 0 ;
35017 void *argp1 = 0 ;
35018 int res1 = 0 ;
35019 void *argp2 = 0 ;
35020 int res2 = 0 ;
35021 PyObject * obj0 = 0 ;
35022 PyObject * obj1 = 0 ;
35023 PyObject * obj2 = 0 ;
35024 char * kwnames[] = {
35025 (char *) "self",(char *) "item",(char *) "obj", NULL
35026 };
35027
35028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35030 if (!SWIG_IsOK(res1)) {
35031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35032 }
35033 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35034 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35035 if (!SWIG_IsOK(res2)) {
35036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35037 }
35038 if (!argp2) {
35039 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35040 }
35041 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35042 arg3 = obj2;
35043 {
35044 PyThreadState* __tstate = wxPyBeginAllowThreads();
35045 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35046 wxPyEndAllowThreads(__tstate);
35047 if (PyErr_Occurred()) SWIG_fail;
35048 }
35049 resultobj = SWIG_Py_Void();
35050 return resultobj;
35051fail:
35052 return NULL;
35053}
35054
35055
35056SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35057 PyObject *resultobj = 0;
35058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35059 wxTreeItemId *arg2 = 0 ;
35060 bool arg3 = (bool) true ;
35061 void *argp1 = 0 ;
35062 int res1 = 0 ;
35063 void *argp2 = 0 ;
35064 int res2 = 0 ;
35065 bool val3 ;
35066 int ecode3 = 0 ;
35067 PyObject * obj0 = 0 ;
35068 PyObject * obj1 = 0 ;
35069 PyObject * obj2 = 0 ;
35070 char * kwnames[] = {
35071 (char *) "self",(char *) "item",(char *) "has", NULL
35072 };
35073
35074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35076 if (!SWIG_IsOK(res1)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35078 }
35079 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35080 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35081 if (!SWIG_IsOK(res2)) {
35082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35083 }
35084 if (!argp2) {
35085 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35086 }
35087 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35088 if (obj2) {
35089 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35090 if (!SWIG_IsOK(ecode3)) {
35091 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35092 }
35093 arg3 = static_cast< bool >(val3);
35094 }
35095 {
35096 PyThreadState* __tstate = wxPyBeginAllowThreads();
35097 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35098 wxPyEndAllowThreads(__tstate);
35099 if (PyErr_Occurred()) SWIG_fail;
35100 }
35101 resultobj = SWIG_Py_Void();
35102 return resultobj;
35103fail:
35104 return NULL;
35105}
35106
35107
35108SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35109 PyObject *resultobj = 0;
35110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35111 wxTreeItemId *arg2 = 0 ;
35112 bool arg3 = (bool) true ;
35113 void *argp1 = 0 ;
35114 int res1 = 0 ;
35115 void *argp2 = 0 ;
35116 int res2 = 0 ;
35117 bool val3 ;
35118 int ecode3 = 0 ;
35119 PyObject * obj0 = 0 ;
35120 PyObject * obj1 = 0 ;
35121 PyObject * obj2 = 0 ;
35122 char * kwnames[] = {
35123 (char *) "self",(char *) "item",(char *) "bold", NULL
35124 };
35125
35126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35128 if (!SWIG_IsOK(res1)) {
35129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35130 }
35131 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35132 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35133 if (!SWIG_IsOK(res2)) {
35134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35135 }
35136 if (!argp2) {
35137 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35138 }
35139 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35140 if (obj2) {
35141 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35142 if (!SWIG_IsOK(ecode3)) {
35143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35144 }
35145 arg3 = static_cast< bool >(val3);
35146 }
35147 {
35148 PyThreadState* __tstate = wxPyBeginAllowThreads();
35149 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35150 wxPyEndAllowThreads(__tstate);
35151 if (PyErr_Occurred()) SWIG_fail;
35152 }
35153 resultobj = SWIG_Py_Void();
35154 return resultobj;
35155fail:
35156 return NULL;
35157}
35158
35159
35160SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35161 PyObject *resultobj = 0;
35162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35163 wxTreeItemId *arg2 = 0 ;
35164 bool arg3 = (bool) true ;
35165 void *argp1 = 0 ;
35166 int res1 = 0 ;
35167 void *argp2 = 0 ;
35168 int res2 = 0 ;
35169 bool val3 ;
35170 int ecode3 = 0 ;
35171 PyObject * obj0 = 0 ;
35172 PyObject * obj1 = 0 ;
35173 PyObject * obj2 = 0 ;
35174 char * kwnames[] = {
35175 (char *) "self",(char *) "item",(char *) "highlight", NULL
35176 };
35177
35178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35180 if (!SWIG_IsOK(res1)) {
35181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35182 }
35183 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35184 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35185 if (!SWIG_IsOK(res2)) {
35186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35187 }
35188 if (!argp2) {
35189 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35190 }
35191 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35192 if (obj2) {
35193 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35194 if (!SWIG_IsOK(ecode3)) {
35195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35196 }
35197 arg3 = static_cast< bool >(val3);
35198 }
35199 {
35200 PyThreadState* __tstate = wxPyBeginAllowThreads();
35201 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35202 wxPyEndAllowThreads(__tstate);
35203 if (PyErr_Occurred()) SWIG_fail;
35204 }
35205 resultobj = SWIG_Py_Void();
35206 return resultobj;
35207fail:
35208 return NULL;
35209}
35210
35211
35212SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35213 PyObject *resultobj = 0;
35214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35215 wxTreeItemId *arg2 = 0 ;
35216 wxColour *arg3 = 0 ;
35217 void *argp1 = 0 ;
35218 int res1 = 0 ;
35219 void *argp2 = 0 ;
35220 int res2 = 0 ;
35221 wxColour temp3 ;
35222 PyObject * obj0 = 0 ;
35223 PyObject * obj1 = 0 ;
35224 PyObject * obj2 = 0 ;
35225 char * kwnames[] = {
35226 (char *) "self",(char *) "item",(char *) "col", NULL
35227 };
35228
35229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35231 if (!SWIG_IsOK(res1)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35233 }
35234 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35235 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35236 if (!SWIG_IsOK(res2)) {
35237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35238 }
35239 if (!argp2) {
35240 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35241 }
35242 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35243 {
35244 arg3 = &temp3;
35245 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35246 }
35247 {
35248 PyThreadState* __tstate = wxPyBeginAllowThreads();
35249 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35250 wxPyEndAllowThreads(__tstate);
35251 if (PyErr_Occurred()) SWIG_fail;
35252 }
35253 resultobj = SWIG_Py_Void();
35254 return resultobj;
35255fail:
35256 return NULL;
35257}
35258
35259
35260SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35261 PyObject *resultobj = 0;
35262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35263 wxTreeItemId *arg2 = 0 ;
35264 wxColour *arg3 = 0 ;
35265 void *argp1 = 0 ;
35266 int res1 = 0 ;
35267 void *argp2 = 0 ;
35268 int res2 = 0 ;
35269 wxColour temp3 ;
35270 PyObject * obj0 = 0 ;
35271 PyObject * obj1 = 0 ;
35272 PyObject * obj2 = 0 ;
35273 char * kwnames[] = {
35274 (char *) "self",(char *) "item",(char *) "col", NULL
35275 };
35276
35277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35279 if (!SWIG_IsOK(res1)) {
35280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35281 }
35282 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35283 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35284 if (!SWIG_IsOK(res2)) {
35285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35286 }
35287 if (!argp2) {
35288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35289 }
35290 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35291 {
35292 arg3 = &temp3;
35293 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35294 }
35295 {
35296 PyThreadState* __tstate = wxPyBeginAllowThreads();
35297 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35298 wxPyEndAllowThreads(__tstate);
35299 if (PyErr_Occurred()) SWIG_fail;
35300 }
35301 resultobj = SWIG_Py_Void();
35302 return resultobj;
35303fail:
35304 return NULL;
35305}
35306
35307
35308SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35309 PyObject *resultobj = 0;
35310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35311 wxTreeItemId *arg2 = 0 ;
35312 wxFont *arg3 = 0 ;
35313 void *argp1 = 0 ;
35314 int res1 = 0 ;
35315 void *argp2 = 0 ;
35316 int res2 = 0 ;
35317 void *argp3 = 0 ;
35318 int res3 = 0 ;
35319 PyObject * obj0 = 0 ;
35320 PyObject * obj1 = 0 ;
35321 PyObject * obj2 = 0 ;
35322 char * kwnames[] = {
35323 (char *) "self",(char *) "item",(char *) "font", NULL
35324 };
35325
35326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35328 if (!SWIG_IsOK(res1)) {
35329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35330 }
35331 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35332 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35333 if (!SWIG_IsOK(res2)) {
35334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35335 }
35336 if (!argp2) {
35337 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35338 }
35339 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35340 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35341 if (!SWIG_IsOK(res3)) {
35342 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35343 }
35344 if (!argp3) {
35345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35346 }
35347 arg3 = reinterpret_cast< wxFont * >(argp3);
35348 {
35349 PyThreadState* __tstate = wxPyBeginAllowThreads();
35350 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35351 wxPyEndAllowThreads(__tstate);
35352 if (PyErr_Occurred()) SWIG_fail;
35353 }
35354 resultobj = SWIG_Py_Void();
35355 return resultobj;
35356fail:
35357 return NULL;
35358}
35359
35360
35361SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35362 PyObject *resultobj = 0;
35363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35364 wxTreeItemId *arg2 = 0 ;
35365 bool result;
35366 void *argp1 = 0 ;
35367 int res1 = 0 ;
35368 void *argp2 = 0 ;
35369 int res2 = 0 ;
35370 PyObject * obj0 = 0 ;
35371 PyObject * obj1 = 0 ;
35372 char * kwnames[] = {
35373 (char *) "self",(char *) "item", NULL
35374 };
35375
35376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35378 if (!SWIG_IsOK(res1)) {
35379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35380 }
35381 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35382 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35383 if (!SWIG_IsOK(res2)) {
35384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35385 }
35386 if (!argp2) {
35387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35388 }
35389 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35390 {
35391 PyThreadState* __tstate = wxPyBeginAllowThreads();
35392 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35393 wxPyEndAllowThreads(__tstate);
35394 if (PyErr_Occurred()) SWIG_fail;
35395 }
35396 {
35397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35398 }
35399 return resultobj;
35400fail:
35401 return NULL;
35402}
35403
35404
35405SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35406 PyObject *resultobj = 0;
35407 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35408 wxTreeItemId *arg2 = 0 ;
35409 bool result;
35410 void *argp1 = 0 ;
35411 int res1 = 0 ;
35412 void *argp2 = 0 ;
35413 int res2 = 0 ;
35414 PyObject * obj0 = 0 ;
35415 PyObject * obj1 = 0 ;
35416 char * kwnames[] = {
35417 (char *) "self",(char *) "item", NULL
35418 };
35419
35420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35422 if (!SWIG_IsOK(res1)) {
35423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35424 }
35425 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35426 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35427 if (!SWIG_IsOK(res2)) {
35428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35429 }
35430 if (!argp2) {
35431 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35432 }
35433 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35434 {
35435 PyThreadState* __tstate = wxPyBeginAllowThreads();
35436 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35437 wxPyEndAllowThreads(__tstate);
35438 if (PyErr_Occurred()) SWIG_fail;
35439 }
35440 {
35441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35442 }
35443 return resultobj;
35444fail:
35445 return NULL;
35446}
35447
35448
35449SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35450 PyObject *resultobj = 0;
35451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35452 wxTreeItemId *arg2 = 0 ;
35453 bool result;
35454 void *argp1 = 0 ;
35455 int res1 = 0 ;
35456 void *argp2 = 0 ;
35457 int res2 = 0 ;
35458 PyObject * obj0 = 0 ;
35459 PyObject * obj1 = 0 ;
35460 char * kwnames[] = {
35461 (char *) "self",(char *) "item", NULL
35462 };
35463
35464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35466 if (!SWIG_IsOK(res1)) {
35467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35468 }
35469 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35470 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35471 if (!SWIG_IsOK(res2)) {
35472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35473 }
35474 if (!argp2) {
35475 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35476 }
35477 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35478 {
35479 PyThreadState* __tstate = wxPyBeginAllowThreads();
35480 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35481 wxPyEndAllowThreads(__tstate);
35482 if (PyErr_Occurred()) SWIG_fail;
35483 }
35484 {
35485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35486 }
35487 return resultobj;
35488fail:
35489 return NULL;
35490}
35491
35492
35493SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35494 PyObject *resultobj = 0;
35495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35496 wxTreeItemId *arg2 = 0 ;
35497 bool result;
35498 void *argp1 = 0 ;
35499 int res1 = 0 ;
35500 void *argp2 = 0 ;
35501 int res2 = 0 ;
35502 PyObject * obj0 = 0 ;
35503 PyObject * obj1 = 0 ;
35504 char * kwnames[] = {
35505 (char *) "self",(char *) "item", NULL
35506 };
35507
35508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35510 if (!SWIG_IsOK(res1)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35512 }
35513 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35514 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35515 if (!SWIG_IsOK(res2)) {
35516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35517 }
35518 if (!argp2) {
35519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 }
35521 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35522 {
35523 PyThreadState* __tstate = wxPyBeginAllowThreads();
35524 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35525 wxPyEndAllowThreads(__tstate);
35526 if (PyErr_Occurred()) SWIG_fail;
35527 }
35528 {
35529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35530 }
35531 return resultobj;
35532fail:
35533 return NULL;
35534}
35535
35536
35537SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35538 PyObject *resultobj = 0;
35539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35540 wxTreeItemId *arg2 = 0 ;
35541 bool result;
35542 void *argp1 = 0 ;
35543 int res1 = 0 ;
35544 void *argp2 = 0 ;
35545 int res2 = 0 ;
35546 PyObject * obj0 = 0 ;
35547 PyObject * obj1 = 0 ;
35548 char * kwnames[] = {
35549 (char *) "self",(char *) "item", NULL
35550 };
35551
35552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35554 if (!SWIG_IsOK(res1)) {
35555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35556 }
35557 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35558 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35559 if (!SWIG_IsOK(res2)) {
35560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35561 }
35562 if (!argp2) {
35563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35564 }
35565 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35566 {
35567 PyThreadState* __tstate = wxPyBeginAllowThreads();
35568 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35569 wxPyEndAllowThreads(__tstate);
35570 if (PyErr_Occurred()) SWIG_fail;
35571 }
35572 {
35573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35574 }
35575 return resultobj;
35576fail:
35577 return NULL;
35578}
35579
35580
1ceb4f4d
RD
35581SWIGINTERN PyObject *_wrap_TreeCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35582 PyObject *resultobj = 0;
35583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35584 bool result;
35585 void *argp1 = 0 ;
35586 int res1 = 0 ;
35587 PyObject *swig_obj[1] ;
35588
35589 if (!args) SWIG_fail;
35590 swig_obj[0] = args;
35591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35592 if (!SWIG_IsOK(res1)) {
35593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35594 }
35595 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35596 {
35597 PyThreadState* __tstate = wxPyBeginAllowThreads();
35598 result = (bool)((wxPyTreeCtrl const *)arg1)->IsEmpty();
35599 wxPyEndAllowThreads(__tstate);
35600 if (PyErr_Occurred()) SWIG_fail;
35601 }
35602 {
35603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35604 }
35605 return resultobj;
35606fail:
35607 return NULL;
35608}
35609
35610
0085ce49
RD
35611SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35612 PyObject *resultobj = 0;
35613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35614 wxTreeItemId *arg2 = 0 ;
35615 bool arg3 = (bool) true ;
35616 size_t result;
35617 void *argp1 = 0 ;
35618 int res1 = 0 ;
35619 void *argp2 = 0 ;
35620 int res2 = 0 ;
35621 bool val3 ;
35622 int ecode3 = 0 ;
35623 PyObject * obj0 = 0 ;
35624 PyObject * obj1 = 0 ;
35625 PyObject * obj2 = 0 ;
35626 char * kwnames[] = {
35627 (char *) "self",(char *) "item",(char *) "recursively", NULL
35628 };
35629
35630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35632 if (!SWIG_IsOK(res1)) {
35633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35634 }
35635 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35636 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35637 if (!SWIG_IsOK(res2)) {
35638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35639 }
35640 if (!argp2) {
35641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35642 }
35643 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35644 if (obj2) {
35645 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35646 if (!SWIG_IsOK(ecode3)) {
35647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35648 }
35649 arg3 = static_cast< bool >(val3);
35650 }
35651 {
35652 PyThreadState* __tstate = wxPyBeginAllowThreads();
35653 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35654 wxPyEndAllowThreads(__tstate);
35655 if (PyErr_Occurred()) SWIG_fail;
35656 }
35657 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35658 return resultobj;
35659fail:
35660 return NULL;
d14a1e28
RD
35661}
35662
35663
0085ce49
RD
35664SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35665 PyObject *resultobj = 0;
35666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35667 wxTreeItemId result;
35668 void *argp1 = 0 ;
35669 int res1 = 0 ;
35670 PyObject *swig_obj[1] ;
35671
35672 if (!args) SWIG_fail;
35673 swig_obj[0] = args;
35674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35675 if (!SWIG_IsOK(res1)) {
35676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35677 }
35678 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35679 {
35680 PyThreadState* __tstate = wxPyBeginAllowThreads();
35681 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35682 wxPyEndAllowThreads(__tstate);
35683 if (PyErr_Occurred()) SWIG_fail;
35684 }
35685 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35686 return resultobj;
35687fail:
35688 return NULL;
d14a1e28
RD
35689}
35690
35691
0085ce49
RD
35692SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35693 PyObject *resultobj = 0;
35694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35695 wxTreeItemId result;
35696 void *argp1 = 0 ;
35697 int res1 = 0 ;
35698 PyObject *swig_obj[1] ;
35699
35700 if (!args) SWIG_fail;
35701 swig_obj[0] = args;
35702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35703 if (!SWIG_IsOK(res1)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35705 }
35706 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35707 {
35708 PyThreadState* __tstate = wxPyBeginAllowThreads();
35709 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35710 wxPyEndAllowThreads(__tstate);
35711 if (PyErr_Occurred()) SWIG_fail;
35712 }
35713 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35714 return resultobj;
35715fail:
35716 return NULL;
d14a1e28
RD
35717}
35718
35719
0085ce49
RD
35720SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35721 PyObject *resultobj = 0;
35722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35723 PyObject *result = 0 ;
35724 void *argp1 = 0 ;
35725 int res1 = 0 ;
35726 PyObject *swig_obj[1] ;
35727
35728 if (!args) SWIG_fail;
35729 swig_obj[0] = args;
35730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35731 if (!SWIG_IsOK(res1)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35733 }
35734 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35735 {
35736 PyThreadState* __tstate = wxPyBeginAllowThreads();
35737 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35738 wxPyEndAllowThreads(__tstate);
35739 if (PyErr_Occurred()) SWIG_fail;
35740 }
35741 resultobj = result;
35742 return resultobj;
35743fail:
35744 return NULL;
35745}
35746
35747
35748SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35749 PyObject *resultobj = 0;
35750 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35751 wxTreeItemId *arg2 = 0 ;
35752 wxTreeItemId result;
35753 void *argp1 = 0 ;
35754 int res1 = 0 ;
35755 void *argp2 = 0 ;
35756 int res2 = 0 ;
35757 PyObject * obj0 = 0 ;
35758 PyObject * obj1 = 0 ;
35759 char * kwnames[] = {
35760 (char *) "self",(char *) "item", NULL
35761 };
35762
35763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) 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_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35772 }
35773 if (!argp2) {
35774 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35775 }
35776 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35777 {
35778 PyThreadState* __tstate = wxPyBeginAllowThreads();
35779 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35780 wxPyEndAllowThreads(__tstate);
35781 if (PyErr_Occurred()) SWIG_fail;
35782 }
35783 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35784 return resultobj;
35785fail:
35786 return NULL;
35787}
35788
35789
35790SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35791 PyObject *resultobj = 0;
35792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35793 wxTreeItemId *arg2 = 0 ;
35794 PyObject *result = 0 ;
35795 void *argp1 = 0 ;
35796 int res1 = 0 ;
35797 void *argp2 = 0 ;
35798 int res2 = 0 ;
35799 PyObject * obj0 = 0 ;
35800 PyObject * obj1 = 0 ;
35801 char * kwnames[] = {
35802 (char *) "self",(char *) "item", NULL
35803 };
35804
35805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35807 if (!SWIG_IsOK(res1)) {
35808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35809 }
35810 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35811 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35812 if (!SWIG_IsOK(res2)) {
35813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35814 }
35815 if (!argp2) {
35816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35817 }
35818 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35819 {
35820 PyThreadState* __tstate = wxPyBeginAllowThreads();
35821 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35822 wxPyEndAllowThreads(__tstate);
35823 if (PyErr_Occurred()) SWIG_fail;
35824 }
35825 resultobj = result;
35826 return resultobj;
35827fail:
35828 return NULL;
35829}
35830
35831
35832SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35833 PyObject *resultobj = 0;
35834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35835 wxTreeItemId *arg2 = 0 ;
35836 void *arg3 = (void *) 0 ;
35837 PyObject *result = 0 ;
35838 void *argp1 = 0 ;
35839 int res1 = 0 ;
35840 void *argp2 = 0 ;
35841 int res2 = 0 ;
35842 int res3 ;
35843 PyObject * obj0 = 0 ;
35844 PyObject * obj1 = 0 ;
35845 PyObject * obj2 = 0 ;
35846 char * kwnames[] = {
35847 (char *) "self",(char *) "item",(char *) "cookie", NULL
35848 };
35849
35850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35852 if (!SWIG_IsOK(res1)) {
35853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35854 }
35855 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35856 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35857 if (!SWIG_IsOK(res2)) {
35858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35859 }
35860 if (!argp2) {
35861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35862 }
35863 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35864 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35865 if (!SWIG_IsOK(res3)) {
35866 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35867 }
35868 {
35869 PyThreadState* __tstate = wxPyBeginAllowThreads();
35870 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35871 wxPyEndAllowThreads(__tstate);
35872 if (PyErr_Occurred()) SWIG_fail;
35873 }
35874 resultobj = result;
35875 return resultobj;
35876fail:
35877 return NULL;
35878}
35879
35880
35881SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35882 PyObject *resultobj = 0;
35883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35884 wxTreeItemId *arg2 = 0 ;
35885 wxTreeItemId result;
35886 void *argp1 = 0 ;
35887 int res1 = 0 ;
35888 void *argp2 = 0 ;
35889 int res2 = 0 ;
35890 PyObject * obj0 = 0 ;
35891 PyObject * obj1 = 0 ;
35892 char * kwnames[] = {
35893 (char *) "self",(char *) "item", NULL
35894 };
35895
35896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35898 if (!SWIG_IsOK(res1)) {
35899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35900 }
35901 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35902 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35903 if (!SWIG_IsOK(res2)) {
35904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35905 }
35906 if (!argp2) {
35907 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35908 }
35909 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35910 {
35911 PyThreadState* __tstate = wxPyBeginAllowThreads();
35912 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35913 wxPyEndAllowThreads(__tstate);
35914 if (PyErr_Occurred()) SWIG_fail;
35915 }
35916 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35917 return resultobj;
35918fail:
35919 return NULL;
35920}
35921
35922
35923SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35924 PyObject *resultobj = 0;
35925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35926 wxTreeItemId *arg2 = 0 ;
35927 wxTreeItemId result;
35928 void *argp1 = 0 ;
35929 int res1 = 0 ;
35930 void *argp2 = 0 ;
35931 int res2 = 0 ;
35932 PyObject * obj0 = 0 ;
35933 PyObject * obj1 = 0 ;
35934 char * kwnames[] = {
35935 (char *) "self",(char *) "item", NULL
35936 };
35937
35938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35940 if (!SWIG_IsOK(res1)) {
35941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35942 }
35943 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35944 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35945 if (!SWIG_IsOK(res2)) {
35946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35947 }
35948 if (!argp2) {
35949 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35950 }
35951 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35952 {
35953 PyThreadState* __tstate = wxPyBeginAllowThreads();
35954 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35955 wxPyEndAllowThreads(__tstate);
35956 if (PyErr_Occurred()) SWIG_fail;
35957 }
35958 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35959 return resultobj;
35960fail:
35961 return NULL;
35962}
35963
35964
35965SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35966 PyObject *resultobj = 0;
35967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35968 wxTreeItemId *arg2 = 0 ;
35969 wxTreeItemId result;
35970 void *argp1 = 0 ;
35971 int res1 = 0 ;
35972 void *argp2 = 0 ;
35973 int res2 = 0 ;
35974 PyObject * obj0 = 0 ;
35975 PyObject * obj1 = 0 ;
35976 char * kwnames[] = {
35977 (char *) "self",(char *) "item", NULL
35978 };
35979
35980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35982 if (!SWIG_IsOK(res1)) {
35983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35984 }
35985 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35986 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35987 if (!SWIG_IsOK(res2)) {
35988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35989 }
35990 if (!argp2) {
35991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35992 }
35993 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35994 {
35995 PyThreadState* __tstate = wxPyBeginAllowThreads();
35996 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35997 wxPyEndAllowThreads(__tstate);
35998 if (PyErr_Occurred()) SWIG_fail;
35999 }
36000 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36001 return resultobj;
36002fail:
36003 return NULL;
d14a1e28
RD
36004}
36005
36006
0085ce49
RD
36007SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36008 PyObject *resultobj = 0;
36009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36010 wxTreeItemId result;
36011 void *argp1 = 0 ;
36012 int res1 = 0 ;
36013 PyObject *swig_obj[1] ;
36014
36015 if (!args) SWIG_fail;
36016 swig_obj[0] = args;
36017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36018 if (!SWIG_IsOK(res1)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36020 }
36021 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36022 {
36023 PyThreadState* __tstate = wxPyBeginAllowThreads();
36024 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36025 wxPyEndAllowThreads(__tstate);
36026 if (PyErr_Occurred()) SWIG_fail;
36027 }
36028 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36029 return resultobj;
36030fail:
36031 return NULL;
36032}
36033
36034
36035SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36036 PyObject *resultobj = 0;
36037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36038 wxTreeItemId *arg2 = 0 ;
36039 wxTreeItemId result;
36040 void *argp1 = 0 ;
36041 int res1 = 0 ;
36042 void *argp2 = 0 ;
36043 int res2 = 0 ;
36044 PyObject * obj0 = 0 ;
36045 PyObject * obj1 = 0 ;
36046 char * kwnames[] = {
36047 (char *) "self",(char *) "item", NULL
36048 };
36049
36050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36052 if (!SWIG_IsOK(res1)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36054 }
36055 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36057 if (!SWIG_IsOK(res2)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36059 }
36060 if (!argp2) {
36061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36062 }
36063 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36064 {
36065 PyThreadState* __tstate = wxPyBeginAllowThreads();
36066 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36067 wxPyEndAllowThreads(__tstate);
36068 if (PyErr_Occurred()) SWIG_fail;
36069 }
36070 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36071 return resultobj;
36072fail:
36073 return NULL;
36074}
36075
36076
36077SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36078 PyObject *resultobj = 0;
36079 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36080 wxTreeItemId *arg2 = 0 ;
36081 wxTreeItemId result;
36082 void *argp1 = 0 ;
36083 int res1 = 0 ;
36084 void *argp2 = 0 ;
36085 int res2 = 0 ;
36086 PyObject * obj0 = 0 ;
36087 PyObject * obj1 = 0 ;
36088 char * kwnames[] = {
36089 (char *) "self",(char *) "item", NULL
36090 };
36091
36092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36094 if (!SWIG_IsOK(res1)) {
36095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36096 }
36097 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36098 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36099 if (!SWIG_IsOK(res2)) {
36100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36101 }
36102 if (!argp2) {
36103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36104 }
36105 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36106 {
36107 PyThreadState* __tstate = wxPyBeginAllowThreads();
36108 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36109 wxPyEndAllowThreads(__tstate);
36110 if (PyErr_Occurred()) SWIG_fail;
36111 }
36112 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36113 return resultobj;
36114fail:
36115 return NULL;
36116}
36117
36118
36119SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36120 PyObject *resultobj = 0;
36121 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36122 wxString *arg2 = 0 ;
36123 int arg3 = (int) -1 ;
36124 int arg4 = (int) -1 ;
36125 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36126 wxTreeItemId result;
36127 void *argp1 = 0 ;
36128 int res1 = 0 ;
36129 bool temp2 = false ;
36130 int val3 ;
36131 int ecode3 = 0 ;
36132 int val4 ;
36133 int ecode4 = 0 ;
36134 int res5 = 0 ;
36135 PyObject * obj0 = 0 ;
36136 PyObject * obj1 = 0 ;
36137 PyObject * obj2 = 0 ;
36138 PyObject * obj3 = 0 ;
36139 PyObject * obj4 = 0 ;
36140 char * kwnames[] = {
36141 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36142 };
36143
36144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36146 if (!SWIG_IsOK(res1)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36148 }
36149 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36150 {
36151 arg2 = wxString_in_helper(obj1);
36152 if (arg2 == NULL) SWIG_fail;
36153 temp2 = true;
36154 }
36155 if (obj2) {
36156 ecode3 = SWIG_AsVal_int(obj2, &val3);
36157 if (!SWIG_IsOK(ecode3)) {
36158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36159 }
36160 arg3 = static_cast< int >(val3);
36161 }
36162 if (obj3) {
36163 ecode4 = SWIG_AsVal_int(obj3, &val4);
36164 if (!SWIG_IsOK(ecode4)) {
36165 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36166 }
36167 arg4 = static_cast< int >(val4);
36168 }
36169 if (obj4) {
36170 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36171 if (!SWIG_IsOK(res5)) {
36172 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
3a04f143 36173 }
0085ce49
RD
36174 }
36175 {
36176 PyThreadState* __tstate = wxPyBeginAllowThreads();
36177 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36178 wxPyEndAllowThreads(__tstate);
36179 if (PyErr_Occurred()) SWIG_fail;
36180 }
36181 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36182 {
36183 if (temp2)
36184 delete arg2;
36185 }
36186 return resultobj;
36187fail:
36188 {
36189 if (temp2)
36190 delete arg2;
36191 }
36192 return NULL;
36193}
36194
36195
36196SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36197 PyObject *resultobj = 0;
36198 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36199 wxTreeItemId *arg2 = 0 ;
36200 wxString *arg3 = 0 ;
36201 int arg4 = (int) -1 ;
36202 int arg5 = (int) -1 ;
36203 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36204 wxTreeItemId result;
36205 void *argp1 = 0 ;
36206 int res1 = 0 ;
36207 void *argp2 = 0 ;
36208 int res2 = 0 ;
36209 bool temp3 = false ;
36210 int val4 ;
36211 int ecode4 = 0 ;
36212 int val5 ;
36213 int ecode5 = 0 ;
36214 int res6 = 0 ;
36215 PyObject * obj0 = 0 ;
36216 PyObject * obj1 = 0 ;
36217 PyObject * obj2 = 0 ;
36218 PyObject * obj3 = 0 ;
36219 PyObject * obj4 = 0 ;
36220 PyObject * obj5 = 0 ;
36221 char * kwnames[] = {
36222 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36223 };
36224
36225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36227 if (!SWIG_IsOK(res1)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36229 }
36230 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36232 if (!SWIG_IsOK(res2)) {
36233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36234 }
36235 if (!argp2) {
36236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36237 }
36238 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36239 {
36240 arg3 = wxString_in_helper(obj2);
36241 if (arg3 == NULL) SWIG_fail;
36242 temp3 = true;
36243 }
36244 if (obj3) {
36245 ecode4 = SWIG_AsVal_int(obj3, &val4);
36246 if (!SWIG_IsOK(ecode4)) {
36247 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36248 }
36249 arg4 = static_cast< int >(val4);
36250 }
36251 if (obj4) {
36252 ecode5 = SWIG_AsVal_int(obj4, &val5);
36253 if (!SWIG_IsOK(ecode5)) {
36254 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36255 }
36256 arg5 = static_cast< int >(val5);
36257 }
36258 if (obj5) {
36259 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36260 if (!SWIG_IsOK(res6)) {
36261 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
3a04f143 36262 }
0085ce49
RD
36263 }
36264 {
36265 PyThreadState* __tstate = wxPyBeginAllowThreads();
36266 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36267 wxPyEndAllowThreads(__tstate);
36268 if (PyErr_Occurred()) SWIG_fail;
36269 }
36270 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36271 {
36272 if (temp3)
36273 delete arg3;
36274 }
36275 return resultobj;
36276fail:
36277 {
36278 if (temp3)
36279 delete arg3;
36280 }
36281 return NULL;
36282}
36283
36284
36285SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36286 PyObject *resultobj = 0;
36287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36288 wxTreeItemId *arg2 = 0 ;
36289 wxTreeItemId *arg3 = 0 ;
36290 wxString *arg4 = 0 ;
36291 int arg5 = (int) -1 ;
36292 int arg6 = (int) -1 ;
36293 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36294 wxTreeItemId result;
36295 void *argp1 = 0 ;
36296 int res1 = 0 ;
36297 void *argp2 = 0 ;
36298 int res2 = 0 ;
36299 void *argp3 = 0 ;
36300 int res3 = 0 ;
36301 bool temp4 = false ;
36302 int val5 ;
36303 int ecode5 = 0 ;
36304 int val6 ;
36305 int ecode6 = 0 ;
36306 int res7 = 0 ;
36307 PyObject * obj0 = 0 ;
36308 PyObject * obj1 = 0 ;
36309 PyObject * obj2 = 0 ;
36310 PyObject * obj3 = 0 ;
36311 PyObject * obj4 = 0 ;
36312 PyObject * obj5 = 0 ;
36313 PyObject * obj6 = 0 ;
36314 char * kwnames[] = {
36315 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36316 };
36317
36318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36320 if (!SWIG_IsOK(res1)) {
36321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36322 }
36323 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36324 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36325 if (!SWIG_IsOK(res2)) {
36326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36327 }
36328 if (!argp2) {
36329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36330 }
36331 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36332 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36333 if (!SWIG_IsOK(res3)) {
36334 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36335 }
36336 if (!argp3) {
36337 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36338 }
36339 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36340 {
36341 arg4 = wxString_in_helper(obj3);
36342 if (arg4 == NULL) SWIG_fail;
36343 temp4 = true;
36344 }
36345 if (obj4) {
36346 ecode5 = SWIG_AsVal_int(obj4, &val5);
36347 if (!SWIG_IsOK(ecode5)) {
36348 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36349 }
36350 arg5 = static_cast< int >(val5);
36351 }
36352 if (obj5) {
36353 ecode6 = SWIG_AsVal_int(obj5, &val6);
36354 if (!SWIG_IsOK(ecode6)) {
36355 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36356 }
36357 arg6 = static_cast< int >(val6);
36358 }
36359 if (obj6) {
36360 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36361 if (!SWIG_IsOK(res7)) {
36362 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36363 }
0085ce49
RD
36364 }
36365 {
36366 PyThreadState* __tstate = wxPyBeginAllowThreads();
36367 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36368 wxPyEndAllowThreads(__tstate);
36369 if (PyErr_Occurred()) SWIG_fail;
36370 }
36371 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36372 {
36373 if (temp4)
36374 delete arg4;
36375 }
36376 return resultobj;
36377fail:
36378 {
36379 if (temp4)
36380 delete arg4;
36381 }
36382 return NULL;
36383}
36384
36385
36386SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36387 PyObject *resultobj = 0;
36388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36389 wxTreeItemId *arg2 = 0 ;
36390 size_t arg3 ;
36391 wxString *arg4 = 0 ;
36392 int arg5 = (int) -1 ;
36393 int arg6 = (int) -1 ;
36394 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36395 wxTreeItemId result;
36396 void *argp1 = 0 ;
36397 int res1 = 0 ;
36398 void *argp2 = 0 ;
36399 int res2 = 0 ;
36400 size_t val3 ;
36401 int ecode3 = 0 ;
36402 bool temp4 = false ;
36403 int val5 ;
36404 int ecode5 = 0 ;
36405 int val6 ;
36406 int ecode6 = 0 ;
36407 int res7 = 0 ;
36408 PyObject * obj0 = 0 ;
36409 PyObject * obj1 = 0 ;
36410 PyObject * obj2 = 0 ;
36411 PyObject * obj3 = 0 ;
36412 PyObject * obj4 = 0 ;
36413 PyObject * obj5 = 0 ;
36414 PyObject * obj6 = 0 ;
36415 char * kwnames[] = {
36416 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36417 };
36418
36419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36421 if (!SWIG_IsOK(res1)) {
36422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36423 }
36424 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36425 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36426 if (!SWIG_IsOK(res2)) {
36427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36428 }
36429 if (!argp2) {
36430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36431 }
36432 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36433 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36434 if (!SWIG_IsOK(ecode3)) {
36435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36436 }
36437 arg3 = static_cast< size_t >(val3);
36438 {
36439 arg4 = wxString_in_helper(obj3);
36440 if (arg4 == NULL) SWIG_fail;
36441 temp4 = true;
36442 }
36443 if (obj4) {
36444 ecode5 = SWIG_AsVal_int(obj4, &val5);
36445 if (!SWIG_IsOK(ecode5)) {
36446 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36447 }
36448 arg5 = static_cast< int >(val5);
36449 }
36450 if (obj5) {
36451 ecode6 = SWIG_AsVal_int(obj5, &val6);
36452 if (!SWIG_IsOK(ecode6)) {
36453 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36454 }
36455 arg6 = static_cast< int >(val6);
36456 }
36457 if (obj6) {
36458 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36459 if (!SWIG_IsOK(res7)) {
36460 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
3a04f143 36461 }
0085ce49
RD
36462 }
36463 {
36464 PyThreadState* __tstate = wxPyBeginAllowThreads();
36465 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36466 wxPyEndAllowThreads(__tstate);
36467 if (PyErr_Occurred()) SWIG_fail;
36468 }
36469 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36470 {
36471 if (temp4)
36472 delete arg4;
36473 }
36474 return resultobj;
36475fail:
36476 {
36477 if (temp4)
36478 delete arg4;
36479 }
36480 return NULL;
36481}
36482
36483
36484SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36485 PyObject *resultobj = 0;
36486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36487 wxTreeItemId *arg2 = 0 ;
36488 wxString *arg3 = 0 ;
36489 int arg4 = (int) -1 ;
36490 int arg5 = (int) -1 ;
36491 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36492 wxTreeItemId result;
36493 void *argp1 = 0 ;
36494 int res1 = 0 ;
36495 void *argp2 = 0 ;
36496 int res2 = 0 ;
36497 bool temp3 = false ;
36498 int val4 ;
36499 int ecode4 = 0 ;
36500 int val5 ;
36501 int ecode5 = 0 ;
36502 int res6 = 0 ;
36503 PyObject * obj0 = 0 ;
36504 PyObject * obj1 = 0 ;
36505 PyObject * obj2 = 0 ;
36506 PyObject * obj3 = 0 ;
36507 PyObject * obj4 = 0 ;
36508 PyObject * obj5 = 0 ;
36509 char * kwnames[] = {
36510 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36511 };
36512
36513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36515 if (!SWIG_IsOK(res1)) {
36516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36517 }
36518 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36519 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36520 if (!SWIG_IsOK(res2)) {
36521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 }
36523 if (!argp2) {
36524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36525 }
36526 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36527 {
36528 arg3 = wxString_in_helper(obj2);
36529 if (arg3 == NULL) SWIG_fail;
36530 temp3 = true;
36531 }
36532 if (obj3) {
36533 ecode4 = SWIG_AsVal_int(obj3, &val4);
36534 if (!SWIG_IsOK(ecode4)) {
36535 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36536 }
36537 arg4 = static_cast< int >(val4);
36538 }
36539 if (obj4) {
36540 ecode5 = SWIG_AsVal_int(obj4, &val5);
36541 if (!SWIG_IsOK(ecode5)) {
36542 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36543 }
36544 arg5 = static_cast< int >(val5);
36545 }
36546 if (obj5) {
36547 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36548 if (!SWIG_IsOK(res6)) {
36549 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
3a04f143 36550 }
0085ce49
RD
36551 }
36552 {
36553 PyThreadState* __tstate = wxPyBeginAllowThreads();
36554 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36555 wxPyEndAllowThreads(__tstate);
36556 if (PyErr_Occurred()) SWIG_fail;
36557 }
36558 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36559 {
36560 if (temp3)
36561 delete arg3;
36562 }
36563 return resultobj;
36564fail:
36565 {
36566 if (temp3)
36567 delete arg3;
36568 }
36569 return NULL;
36570}
36571
36572
36573SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36574 PyObject *resultobj = 0;
36575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36576 wxTreeItemId *arg2 = 0 ;
36577 void *argp1 = 0 ;
36578 int res1 = 0 ;
36579 void *argp2 = 0 ;
36580 int res2 = 0 ;
36581 PyObject * obj0 = 0 ;
36582 PyObject * obj1 = 0 ;
36583 char * kwnames[] = {
36584 (char *) "self",(char *) "item", NULL
36585 };
36586
36587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36589 if (!SWIG_IsOK(res1)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36591 }
36592 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36593 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36594 if (!SWIG_IsOK(res2)) {
36595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36596 }
36597 if (!argp2) {
36598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36599 }
36600 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36601 {
36602 PyThreadState* __tstate = wxPyBeginAllowThreads();
36603 (arg1)->Delete((wxTreeItemId const &)*arg2);
36604 wxPyEndAllowThreads(__tstate);
36605 if (PyErr_Occurred()) SWIG_fail;
36606 }
36607 resultobj = SWIG_Py_Void();
36608 return resultobj;
36609fail:
36610 return NULL;
36611}
36612
36613
36614SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36615 PyObject *resultobj = 0;
36616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36617 wxTreeItemId *arg2 = 0 ;
36618 void *argp1 = 0 ;
36619 int res1 = 0 ;
36620 void *argp2 = 0 ;
36621 int res2 = 0 ;
36622 PyObject * obj0 = 0 ;
36623 PyObject * obj1 = 0 ;
36624 char * kwnames[] = {
36625 (char *) "self",(char *) "item", NULL
36626 };
36627
36628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36630 if (!SWIG_IsOK(res1)) {
36631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36632 }
36633 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36634 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36635 if (!SWIG_IsOK(res2)) {
36636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36637 }
36638 if (!argp2) {
36639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36640 }
36641 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36642 {
36643 PyThreadState* __tstate = wxPyBeginAllowThreads();
36644 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36645 wxPyEndAllowThreads(__tstate);
36646 if (PyErr_Occurred()) SWIG_fail;
36647 }
36648 resultobj = SWIG_Py_Void();
36649 return resultobj;
36650fail:
36651 return NULL;
3a04f143
RD
36652}
36653
36654
0085ce49
RD
36655SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36656 PyObject *resultobj = 0;
36657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36658 void *argp1 = 0 ;
36659 int res1 = 0 ;
36660 PyObject *swig_obj[1] ;
36661
36662 if (!args) SWIG_fail;
36663 swig_obj[0] = args;
36664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36665 if (!SWIG_IsOK(res1)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36667 }
36668 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36669 {
36670 PyThreadState* __tstate = wxPyBeginAllowThreads();
36671 (arg1)->DeleteAllItems();
36672 wxPyEndAllowThreads(__tstate);
36673 if (PyErr_Occurred()) SWIG_fail;
36674 }
36675 resultobj = SWIG_Py_Void();
36676 return resultobj;
36677fail:
36678 return NULL;
36679}
36680
36681
36682SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36683 PyObject *resultobj = 0;
36684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36685 wxTreeItemId *arg2 = 0 ;
36686 void *argp1 = 0 ;
36687 int res1 = 0 ;
36688 void *argp2 = 0 ;
36689 int res2 = 0 ;
36690 PyObject * obj0 = 0 ;
36691 PyObject * obj1 = 0 ;
36692 char * kwnames[] = {
36693 (char *) "self",(char *) "item", NULL
36694 };
36695
36696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36698 if (!SWIG_IsOK(res1)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36700 }
36701 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36702 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36703 if (!SWIG_IsOK(res2)) {
36704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36705 }
36706 if (!argp2) {
36707 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36708 }
36709 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36710 {
36711 PyThreadState* __tstate = wxPyBeginAllowThreads();
36712 (arg1)->Expand((wxTreeItemId const &)*arg2);
36713 wxPyEndAllowThreads(__tstate);
36714 if (PyErr_Occurred()) SWIG_fail;
36715 }
36716 resultobj = SWIG_Py_Void();
36717 return resultobj;
36718fail:
36719 return NULL;
36720}
36721
36722
453fb36b
RD
36723SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36724 PyObject *resultobj = 0;
36725 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36726 wxTreeItemId *arg2 = 0 ;
36727 void *argp1 = 0 ;
36728 int res1 = 0 ;
36729 void *argp2 = 0 ;
36730 int res2 = 0 ;
36731 PyObject * obj0 = 0 ;
36732 PyObject * obj1 = 0 ;
36733 char * kwnames[] = {
36734 (char *) "self",(char *) "item", NULL
36735 };
36736
36737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36739 if (!SWIG_IsOK(res1)) {
36740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36741 }
36742 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36743 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36744 if (!SWIG_IsOK(res2)) {
36745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36746 }
36747 if (!argp2) {
36748 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36749 }
36750 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36751 {
36752 PyThreadState* __tstate = wxPyBeginAllowThreads();
36753 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36754 wxPyEndAllowThreads(__tstate);
36755 if (PyErr_Occurred()) SWIG_fail;
36756 }
36757 resultobj = SWIG_Py_Void();
36758 return resultobj;
36759fail:
36760 return NULL;
36761}
36762
36763
36764SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36765 PyObject *resultobj = 0;
36766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36767 void *argp1 = 0 ;
36768 int res1 = 0 ;
36769 PyObject *swig_obj[1] ;
36770
36771 if (!args) SWIG_fail;
36772 swig_obj[0] = args;
36773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36774 if (!SWIG_IsOK(res1)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36776 }
36777 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36778 {
36779 PyThreadState* __tstate = wxPyBeginAllowThreads();
36780 (arg1)->ExpandAll();
36781 wxPyEndAllowThreads(__tstate);
36782 if (PyErr_Occurred()) SWIG_fail;
36783 }
36784 resultobj = SWIG_Py_Void();
36785 return resultobj;
36786fail:
36787 return NULL;
36788}
36789
36790
0085ce49
RD
36791SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36792 PyObject *resultobj = 0;
36793 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36794 wxTreeItemId *arg2 = 0 ;
36795 void *argp1 = 0 ;
36796 int res1 = 0 ;
36797 void *argp2 = 0 ;
36798 int res2 = 0 ;
36799 PyObject * obj0 = 0 ;
36800 PyObject * obj1 = 0 ;
36801 char * kwnames[] = {
36802 (char *) "self",(char *) "item", NULL
36803 };
36804
36805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36807 if (!SWIG_IsOK(res1)) {
36808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36809 }
36810 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36811 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36812 if (!SWIG_IsOK(res2)) {
36813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36814 }
36815 if (!argp2) {
36816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36817 }
36818 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36819 {
36820 PyThreadState* __tstate = wxPyBeginAllowThreads();
36821 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36822 wxPyEndAllowThreads(__tstate);
36823 if (PyErr_Occurred()) SWIG_fail;
36824 }
36825 resultobj = SWIG_Py_Void();
36826 return resultobj;
36827fail:
36828 return NULL;
36829}
36830
36831
1ceb4f4d
RD
36832SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36833 PyObject *resultobj = 0;
36834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36835 wxTreeItemId *arg2 = 0 ;
36836 void *argp1 = 0 ;
36837 int res1 = 0 ;
36838 void *argp2 = 0 ;
36839 int res2 = 0 ;
36840 PyObject * obj0 = 0 ;
36841 PyObject * obj1 = 0 ;
36842 char * kwnames[] = {
36843 (char *) "self",(char *) "item", NULL
36844 };
36845
36846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36848 if (!SWIG_IsOK(res1)) {
36849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36850 }
36851 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36852 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36853 if (!SWIG_IsOK(res2)) {
36854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36855 }
36856 if (!argp2) {
36857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36858 }
36859 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36860 {
36861 PyThreadState* __tstate = wxPyBeginAllowThreads();
36862 (arg1)->CollapseAllChildren((wxTreeItemId const &)*arg2);
36863 wxPyEndAllowThreads(__tstate);
36864 if (PyErr_Occurred()) SWIG_fail;
36865 }
36866 resultobj = SWIG_Py_Void();
36867 return resultobj;
36868fail:
36869 return NULL;
36870}
36871
36872
36873SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36874 PyObject *resultobj = 0;
36875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36876 void *argp1 = 0 ;
36877 int res1 = 0 ;
36878 PyObject *swig_obj[1] ;
36879
36880 if (!args) SWIG_fail;
36881 swig_obj[0] = args;
36882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36883 if (!SWIG_IsOK(res1)) {
36884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36885 }
36886 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36887 {
36888 PyThreadState* __tstate = wxPyBeginAllowThreads();
36889 (arg1)->CollapseAll();
36890 wxPyEndAllowThreads(__tstate);
36891 if (PyErr_Occurred()) SWIG_fail;
36892 }
36893 resultobj = SWIG_Py_Void();
36894 return resultobj;
36895fail:
36896 return NULL;
36897}
36898
36899
0085ce49
RD
36900SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36901 PyObject *resultobj = 0;
36902 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36903 wxTreeItemId *arg2 = 0 ;
36904 void *argp1 = 0 ;
36905 int res1 = 0 ;
36906 void *argp2 = 0 ;
36907 int res2 = 0 ;
36908 PyObject * obj0 = 0 ;
36909 PyObject * obj1 = 0 ;
36910 char * kwnames[] = {
36911 (char *) "self",(char *) "item", NULL
36912 };
36913
36914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36916 if (!SWIG_IsOK(res1)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36918 }
36919 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36920 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36921 if (!SWIG_IsOK(res2)) {
36922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36923 }
36924 if (!argp2) {
36925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36926 }
36927 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36928 {
36929 PyThreadState* __tstate = wxPyBeginAllowThreads();
36930 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36931 wxPyEndAllowThreads(__tstate);
36932 if (PyErr_Occurred()) SWIG_fail;
36933 }
36934 resultobj = SWIG_Py_Void();
36935 return resultobj;
36936fail:
36937 return NULL;
36938}
36939
36940
36941SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36942 PyObject *resultobj = 0;
36943 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36944 wxTreeItemId *arg2 = 0 ;
36945 void *argp1 = 0 ;
36946 int res1 = 0 ;
36947 void *argp2 = 0 ;
36948 int res2 = 0 ;
36949 PyObject * obj0 = 0 ;
36950 PyObject * obj1 = 0 ;
36951 char * kwnames[] = {
36952 (char *) "self",(char *) "item", NULL
36953 };
36954
36955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36957 if (!SWIG_IsOK(res1)) {
36958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36959 }
36960 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36961 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36962 if (!SWIG_IsOK(res2)) {
36963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36964 }
36965 if (!argp2) {
36966 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36967 }
36968 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36969 {
36970 PyThreadState* __tstate = wxPyBeginAllowThreads();
36971 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36972 wxPyEndAllowThreads(__tstate);
36973 if (PyErr_Occurred()) SWIG_fail;
36974 }
36975 resultobj = SWIG_Py_Void();
36976 return resultobj;
36977fail:
36978 return NULL;
d14a1e28
RD
36979}
36980
36981
0085ce49
RD
36982SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36983 PyObject *resultobj = 0;
36984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36985 void *argp1 = 0 ;
36986 int res1 = 0 ;
36987 PyObject *swig_obj[1] ;
36988
36989 if (!args) SWIG_fail;
36990 swig_obj[0] = args;
36991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36992 if (!SWIG_IsOK(res1)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36994 }
36995 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36996 {
36997 PyThreadState* __tstate = wxPyBeginAllowThreads();
36998 (arg1)->Unselect();
36999 wxPyEndAllowThreads(__tstate);
37000 if (PyErr_Occurred()) SWIG_fail;
37001 }
37002 resultobj = SWIG_Py_Void();
37003 return resultobj;
37004fail:
37005 return NULL;
37006}
37007
37008
37009SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37010 PyObject *resultobj = 0;
37011 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37012 wxTreeItemId *arg2 = 0 ;
37013 void *argp1 = 0 ;
37014 int res1 = 0 ;
37015 void *argp2 = 0 ;
37016 int res2 = 0 ;
37017 PyObject * obj0 = 0 ;
37018 PyObject * obj1 = 0 ;
37019 char * kwnames[] = {
37020 (char *) "self",(char *) "item", NULL
37021 };
37022
37023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
37024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37025 if (!SWIG_IsOK(res1)) {
37026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37027 }
37028 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37029 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37030 if (!SWIG_IsOK(res2)) {
37031 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37032 }
37033 if (!argp2) {
37034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37035 }
37036 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37037 {
37038 PyThreadState* __tstate = wxPyBeginAllowThreads();
37039 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
37040 wxPyEndAllowThreads(__tstate);
37041 if (PyErr_Occurred()) SWIG_fail;
37042 }
37043 resultobj = SWIG_Py_Void();
37044 return resultobj;
37045fail:
37046 return NULL;
d14a1e28
RD
37047}
37048
37049
0085ce49
RD
37050SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37051 PyObject *resultobj = 0;
37052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37053 void *argp1 = 0 ;
37054 int res1 = 0 ;
37055 PyObject *swig_obj[1] ;
37056
37057 if (!args) SWIG_fail;
37058 swig_obj[0] = args;
37059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37060 if (!SWIG_IsOK(res1)) {
37061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37062 }
37063 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37064 {
37065 PyThreadState* __tstate = wxPyBeginAllowThreads();
37066 (arg1)->UnselectAll();
37067 wxPyEndAllowThreads(__tstate);
37068 if (PyErr_Occurred()) SWIG_fail;
37069 }
37070 resultobj = SWIG_Py_Void();
37071 return resultobj;
37072fail:
37073 return NULL;
37074}
37075
37076
37077SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37078 PyObject *resultobj = 0;
37079 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37080 wxTreeItemId *arg2 = 0 ;
37081 bool arg3 = (bool) true ;
37082 void *argp1 = 0 ;
37083 int res1 = 0 ;
37084 void *argp2 = 0 ;
37085 int res2 = 0 ;
37086 bool val3 ;
37087 int ecode3 = 0 ;
37088 PyObject * obj0 = 0 ;
37089 PyObject * obj1 = 0 ;
37090 PyObject * obj2 = 0 ;
37091 char * kwnames[] = {
37092 (char *) "self",(char *) "item",(char *) "select", NULL
37093 };
37094
37095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37097 if (!SWIG_IsOK(res1)) {
37098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37099 }
37100 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37101 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37102 if (!SWIG_IsOK(res2)) {
37103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37104 }
37105 if (!argp2) {
37106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37107 }
37108 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37109 if (obj2) {
37110 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37111 if (!SWIG_IsOK(ecode3)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37113 }
37114 arg3 = static_cast< bool >(val3);
37115 }
37116 {
37117 PyThreadState* __tstate = wxPyBeginAllowThreads();
37118 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37119 wxPyEndAllowThreads(__tstate);
37120 if (PyErr_Occurred()) SWIG_fail;
37121 }
37122 resultobj = SWIG_Py_Void();
37123 return resultobj;
37124fail:
37125 return NULL;
37126}
37127
37128
37129SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37130 PyObject *resultobj = 0;
37131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37132 wxTreeItemId *arg2 = 0 ;
37133 void *argp1 = 0 ;
37134 int res1 = 0 ;
37135 void *argp2 = 0 ;
37136 int res2 = 0 ;
37137 PyObject * obj0 = 0 ;
37138 PyObject * obj1 = 0 ;
37139 char * kwnames[] = {
37140 (char *) "self",(char *) "item", NULL
37141 };
37142
37143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37145 if (!SWIG_IsOK(res1)) {
37146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37147 }
37148 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37149 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37150 if (!SWIG_IsOK(res2)) {
37151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37152 }
37153 if (!argp2) {
37154 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37155 }
37156 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37157 {
37158 PyThreadState* __tstate = wxPyBeginAllowThreads();
37159 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37160 wxPyEndAllowThreads(__tstate);
37161 if (PyErr_Occurred()) SWIG_fail;
37162 }
37163 resultobj = SWIG_Py_Void();
37164 return resultobj;
37165fail:
37166 return NULL;
37167}
37168
37169
37170SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37171 PyObject *resultobj = 0;
37172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37173 wxTreeItemId *arg2 = 0 ;
37174 void *argp1 = 0 ;
37175 int res1 = 0 ;
37176 void *argp2 = 0 ;
37177 int res2 = 0 ;
37178 PyObject * obj0 = 0 ;
37179 PyObject * obj1 = 0 ;
37180 char * kwnames[] = {
37181 (char *) "self",(char *) "item", NULL
37182 };
37183
37184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37186 if (!SWIG_IsOK(res1)) {
37187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37188 }
37189 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37190 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37191 if (!SWIG_IsOK(res2)) {
37192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37193 }
37194 if (!argp2) {
37195 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37196 }
37197 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37198 {
37199 PyThreadState* __tstate = wxPyBeginAllowThreads();
37200 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37201 wxPyEndAllowThreads(__tstate);
37202 if (PyErr_Occurred()) SWIG_fail;
37203 }
37204 resultobj = SWIG_Py_Void();
37205 return resultobj;
37206fail:
37207 return NULL;
37208}
37209
37210
37211SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37212 PyObject *resultobj = 0;
37213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37214 wxTreeItemId *arg2 = 0 ;
37215 void *argp1 = 0 ;
37216 int res1 = 0 ;
37217 void *argp2 = 0 ;
37218 int res2 = 0 ;
37219 PyObject * obj0 = 0 ;
37220 PyObject * obj1 = 0 ;
37221 char * kwnames[] = {
37222 (char *) "self",(char *) "item", NULL
37223 };
37224
37225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37227 if (!SWIG_IsOK(res1)) {
37228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37229 }
37230 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37232 if (!SWIG_IsOK(res2)) {
37233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37234 }
37235 if (!argp2) {
37236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37237 }
37238 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37239 {
37240 PyThreadState* __tstate = wxPyBeginAllowThreads();
37241 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37242 wxPyEndAllowThreads(__tstate);
37243 if (PyErr_Occurred()) SWIG_fail;
37244 }
37245 resultobj = SWIG_Py_Void();
37246 return resultobj;
37247fail:
37248 return NULL;
37249}
37250
37251
37252SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37253 PyObject *resultobj = 0;
37254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37255 wxTreeItemId *arg2 = 0 ;
37256 void *argp1 = 0 ;
37257 int res1 = 0 ;
37258 void *argp2 = 0 ;
37259 int res2 = 0 ;
37260 PyObject * obj0 = 0 ;
37261 PyObject * obj1 = 0 ;
37262 char * kwnames[] = {
37263 (char *) "self",(char *) "item", NULL
37264 };
37265
37266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37268 if (!SWIG_IsOK(res1)) {
37269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37270 }
37271 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37272 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37273 if (!SWIG_IsOK(res2)) {
37274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37275 }
37276 if (!argp2) {
37277 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37278 }
37279 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37280 {
37281 PyThreadState* __tstate = wxPyBeginAllowThreads();
37282 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37283 wxPyEndAllowThreads(__tstate);
37284 if (PyErr_Occurred()) SWIG_fail;
37285 }
37286 resultobj = SWIG_Py_Void();
37287 return resultobj;
37288fail:
37289 return NULL;
d14a1e28
RD
37290}
37291
37292
0085ce49
RD
37293SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37294 PyObject *resultobj = 0;
37295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37296 wxTextCtrl *result = 0 ;
37297 void *argp1 = 0 ;
37298 int res1 = 0 ;
37299 PyObject *swig_obj[1] ;
37300
37301 if (!args) SWIG_fail;
37302 swig_obj[0] = args;
37303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37304 if (!SWIG_IsOK(res1)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37306 }
37307 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37308 {
37309 PyThreadState* __tstate = wxPyBeginAllowThreads();
37310 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37311 wxPyEndAllowThreads(__tstate);
37312 if (PyErr_Occurred()) SWIG_fail;
37313 }
37314 {
37315 resultobj = wxPyMake_wxObject(result, 0);
37316 }
37317 return resultobj;
37318fail:
37319 return NULL;
37320}
37321
37322
37323SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37324 PyObject *resultobj = 0;
37325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37326 wxTreeItemId *arg2 = 0 ;
37327 void *argp1 = 0 ;
37328 int res1 = 0 ;
37329 void *argp2 = 0 ;
37330 int res2 = 0 ;
37331 PyObject * obj0 = 0 ;
37332 PyObject * obj1 = 0 ;
37333 char * kwnames[] = {
37334 (char *) "self",(char *) "item", NULL
37335 };
37336
37337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37339 if (!SWIG_IsOK(res1)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37341 }
37342 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37343 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37344 if (!SWIG_IsOK(res2)) {
37345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37346 }
37347 if (!argp2) {
37348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37349 }
37350 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37351 {
37352 PyThreadState* __tstate = wxPyBeginAllowThreads();
37353 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37354 wxPyEndAllowThreads(__tstate);
37355 if (PyErr_Occurred()) SWIG_fail;
37356 }
37357 resultobj = SWIG_Py_Void();
37358 return resultobj;
37359fail:
37360 return NULL;
37361}
37362
37363
37364SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37365 PyObject *resultobj = 0;
37366 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37367 wxPoint *arg2 = 0 ;
37368 int *arg3 = 0 ;
37369 wxTreeItemId result;
37370 void *argp1 = 0 ;
37371 int res1 = 0 ;
37372 wxPoint temp2 ;
37373 int temp3 ;
37374 int res3 = SWIG_TMPOBJ ;
37375 PyObject * obj0 = 0 ;
37376 PyObject * obj1 = 0 ;
37377 char * kwnames[] = {
37378 (char *) "self",(char *) "point", NULL
37379 };
37380
37381 arg3 = &temp3;
37382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37384 if (!SWIG_IsOK(res1)) {
37385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37386 }
37387 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37388 {
37389 arg2 = &temp2;
37390 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37391 }
37392 {
37393 PyThreadState* __tstate = wxPyBeginAllowThreads();
37394 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37395 wxPyEndAllowThreads(__tstate);
37396 if (PyErr_Occurred()) SWIG_fail;
37397 }
37398 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37399 if (SWIG_IsTmpObj(res3)) {
37400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37401 } else {
37402 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37404 }
37405 return resultobj;
37406fail:
37407 return NULL;
37408}
37409
37410
37411SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37412 PyObject *resultobj = 0;
37413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37414 wxTreeItemId *arg2 = 0 ;
37415 bool arg3 = (bool) false ;
37416 PyObject *result = 0 ;
37417 void *argp1 = 0 ;
37418 int res1 = 0 ;
37419 void *argp2 = 0 ;
37420 int res2 = 0 ;
37421 bool val3 ;
37422 int ecode3 = 0 ;
37423 PyObject * obj0 = 0 ;
37424 PyObject * obj1 = 0 ;
37425 PyObject * obj2 = 0 ;
37426 char * kwnames[] = {
37427 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37428 };
37429
37430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37432 if (!SWIG_IsOK(res1)) {
37433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37434 }
37435 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37436 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37437 if (!SWIG_IsOK(res2)) {
37438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37439 }
37440 if (!argp2) {
37441 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37442 }
37443 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37444 if (obj2) {
37445 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37446 if (!SWIG_IsOK(ecode3)) {
37447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37448 }
37449 arg3 = static_cast< bool >(val3);
37450 }
37451 {
37452 PyThreadState* __tstate = wxPyBeginAllowThreads();
37453 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37454 wxPyEndAllowThreads(__tstate);
37455 if (PyErr_Occurred()) SWIG_fail;
37456 }
37457 resultobj = result;
37458 return resultobj;
37459fail:
37460 return NULL;
37461}
37462
37463
37464SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37465 PyObject *resultobj = 0;
37466 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37467 SwigValueWrapper<wxVisualAttributes > result;
37468 int val1 ;
37469 int ecode1 = 0 ;
37470 PyObject * obj0 = 0 ;
37471 char * kwnames[] = {
37472 (char *) "variant", NULL
37473 };
37474
37475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37476 if (obj0) {
37477 ecode1 = SWIG_AsVal_int(obj0, &val1);
37478 if (!SWIG_IsOK(ecode1)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37480 }
37481 arg1 = static_cast< wxWindowVariant >(val1);
37482 }
37483 {
37484 if (!wxPyCheckForApp()) SWIG_fail;
37485 PyThreadState* __tstate = wxPyBeginAllowThreads();
37486 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37487 wxPyEndAllowThreads(__tstate);
37488 if (PyErr_Occurred()) SWIG_fail;
37489 }
37490 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37491 return resultobj;
37492fail:
37493 return NULL;
d14a1e28
RD
37494}
37495
37496
2131d850
RD
37497SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37498 PyObject *resultobj = 0;
37499 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37500 bool arg2 ;
37501 void *argp1 = 0 ;
37502 int res1 = 0 ;
37503 bool val2 ;
37504 int ecode2 = 0 ;
37505 PyObject * obj0 = 0 ;
37506 PyObject * obj1 = 0 ;
37507 char * kwnames[] = {
37508 (char *) "self",(char *) "q", NULL
37509 };
37510
37511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37513 if (!SWIG_IsOK(res1)) {
37514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37515 }
37516 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37517 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37518 if (!SWIG_IsOK(ecode2)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37520 }
37521 arg2 = static_cast< bool >(val2);
37522 {
37523 PyThreadState* __tstate = wxPyBeginAllowThreads();
37524 (arg1)->SetQuickBestSize(arg2);
37525 wxPyEndAllowThreads(__tstate);
37526 if (PyErr_Occurred()) SWIG_fail;
37527 }
37528 resultobj = SWIG_Py_Void();
37529 return resultobj;
37530fail:
37531 return NULL;
37532}
37533
37534
37535SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37536 PyObject *resultobj = 0;
37537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37538 bool result;
37539 void *argp1 = 0 ;
37540 int res1 = 0 ;
37541 PyObject *swig_obj[1] ;
37542
37543 if (!args) SWIG_fail;
37544 swig_obj[0] = args;
37545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37546 if (!SWIG_IsOK(res1)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37548 }
37549 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37550 {
37551 PyThreadState* __tstate = wxPyBeginAllowThreads();
37552 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37553 wxPyEndAllowThreads(__tstate);
37554 if (PyErr_Occurred()) SWIG_fail;
37555 }
37556 {
37557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37558 }
37559 return resultobj;
37560fail:
37561 return NULL;
37562}
37563
37564
0085ce49
RD
37565SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37566 PyObject *obj;
37567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37569 return SWIG_Py_Void();
d14a1e28
RD
37570}
37571
0085ce49
RD
37572SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37573 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
37574}
37575
0085ce49
RD
37576SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37577 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37578 return 1;
d14a1e28
RD
37579}
37580
37581
0085ce49
RD
37582SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37583 PyObject *pyobj = 0;
37584
37585 {
37586#if wxUSE_UNICODE
37587 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37588#else
37589 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37590#endif
37591 }
37592 return pyobj;
37593}
37594
37595
37596SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37597 PyObject *resultobj = 0;
37598 wxWindow *arg1 = (wxWindow *) 0 ;
37599 int arg2 = (int) (int)-1 ;
37600 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37601 wxString *arg3 = (wxString *) &arg3_defvalue ;
37602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37604 wxSize const &arg5_defvalue = wxDefaultSize ;
37605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37606 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37607 wxString const &arg7_defvalue = wxPyEmptyString ;
37608 wxString *arg7 = (wxString *) &arg7_defvalue ;
37609 int arg8 = (int) 0 ;
37610 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37611 wxString *arg9 = (wxString *) &arg9_defvalue ;
37612 wxGenericDirCtrl *result = 0 ;
37613 void *argp1 = 0 ;
37614 int res1 = 0 ;
37615 int val2 ;
37616 int ecode2 = 0 ;
37617 bool temp3 = false ;
37618 wxPoint temp4 ;
37619 wxSize temp5 ;
37620 long val6 ;
37621 int ecode6 = 0 ;
37622 bool temp7 = false ;
37623 int val8 ;
37624 int ecode8 = 0 ;
37625 bool temp9 = false ;
37626 PyObject * obj0 = 0 ;
37627 PyObject * obj1 = 0 ;
37628 PyObject * obj2 = 0 ;
37629 PyObject * obj3 = 0 ;
37630 PyObject * obj4 = 0 ;
37631 PyObject * obj5 = 0 ;
37632 PyObject * obj6 = 0 ;
37633 PyObject * obj7 = 0 ;
37634 PyObject * obj8 = 0 ;
37635 char * kwnames[] = {
37636 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37637 };
37638
37639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37641 if (!SWIG_IsOK(res1)) {
37642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37643 }
37644 arg1 = reinterpret_cast< wxWindow * >(argp1);
37645 if (obj1) {
37646 ecode2 = SWIG_AsVal_int(obj1, &val2);
37647 if (!SWIG_IsOK(ecode2)) {
37648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37649 }
37650 arg2 = static_cast< int >(val2);
37651 }
37652 if (obj2) {
d14a1e28 37653 {
0085ce49
RD
37654 arg3 = wxString_in_helper(obj2);
37655 if (arg3 == NULL) SWIG_fail;
37656 temp3 = true;
d14a1e28 37657 }
0085ce49
RD
37658 }
37659 if (obj3) {
4f89f6a3 37660 {
0085ce49
RD
37661 arg4 = &temp4;
37662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 37663 }
0085ce49
RD
37664 }
37665 if (obj4) {
093d3ff1 37666 {
0085ce49
RD
37667 arg5 = &temp5;
37668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37669 }
0085ce49
RD
37670 }
37671 if (obj5) {
37672 ecode6 = SWIG_AsVal_long(obj5, &val6);
37673 if (!SWIG_IsOK(ecode6)) {
37674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37675 }
37676 arg6 = static_cast< long >(val6);
37677 }
37678 if (obj6) {
093d3ff1 37679 {
0085ce49
RD
37680 arg7 = wxString_in_helper(obj6);
37681 if (arg7 == NULL) SWIG_fail;
37682 temp7 = true;
093d3ff1 37683 }
0085ce49
RD
37684 }
37685 if (obj7) {
37686 ecode8 = SWIG_AsVal_int(obj7, &val8);
37687 if (!SWIG_IsOK(ecode8)) {
37688 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37689 }
37690 arg8 = static_cast< int >(val8);
37691 }
37692 if (obj8) {
d14a1e28 37693 {
0085ce49
RD
37694 arg9 = wxString_in_helper(obj8);
37695 if (arg9 == NULL) SWIG_fail;
37696 temp9 = true;
d14a1e28 37697 }
0085ce49
RD
37698 }
37699 {
37700 if (!wxPyCheckForApp()) SWIG_fail;
37701 PyThreadState* __tstate = wxPyBeginAllowThreads();
37702 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37703 wxPyEndAllowThreads(__tstate);
37704 if (PyErr_Occurred()) SWIG_fail;
37705 }
37706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37707 {
37708 if (temp3)
37709 delete arg3;
37710 }
37711 {
37712 if (temp7)
37713 delete arg7;
37714 }
37715 {
37716 if (temp9)
37717 delete arg9;
37718 }
37719 return resultobj;
37720fail:
37721 {
37722 if (temp3)
37723 delete arg3;
37724 }
37725 {
37726 if (temp7)
37727 delete arg7;
37728 }
37729 {
37730 if (temp9)
37731 delete arg9;
37732 }
37733 return NULL;
d14a1e28
RD
37734}
37735
37736
0085ce49
RD
37737SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37738 PyObject *resultobj = 0;
37739 wxGenericDirCtrl *result = 0 ;
37740
37741 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37742 {
37743 if (!wxPyCheckForApp()) SWIG_fail;
37744 PyThreadState* __tstate = wxPyBeginAllowThreads();
37745 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37746 wxPyEndAllowThreads(__tstate);
37747 if (PyErr_Occurred()) SWIG_fail;
37748 }
37749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37750 return resultobj;
37751fail:
37752 return NULL;
37753}
37754
37755
37756SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37757 PyObject *resultobj = 0;
37758 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37759 wxWindow *arg2 = (wxWindow *) 0 ;
37760 int arg3 = (int) (int)-1 ;
37761 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37762 wxString *arg4 = (wxString *) &arg4_defvalue ;
37763 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37764 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37765 wxSize const &arg6_defvalue = wxDefaultSize ;
37766 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37767 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37768 wxString const &arg8_defvalue = wxPyEmptyString ;
37769 wxString *arg8 = (wxString *) &arg8_defvalue ;
37770 int arg9 = (int) 0 ;
37771 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37772 wxString *arg10 = (wxString *) &arg10_defvalue ;
37773 bool result;
37774 void *argp1 = 0 ;
37775 int res1 = 0 ;
37776 void *argp2 = 0 ;
37777 int res2 = 0 ;
37778 int val3 ;
37779 int ecode3 = 0 ;
37780 bool temp4 = false ;
37781 wxPoint temp5 ;
37782 wxSize temp6 ;
37783 long val7 ;
37784 int ecode7 = 0 ;
37785 bool temp8 = false ;
37786 int val9 ;
37787 int ecode9 = 0 ;
37788 bool temp10 = false ;
37789 PyObject * obj0 = 0 ;
37790 PyObject * obj1 = 0 ;
37791 PyObject * obj2 = 0 ;
37792 PyObject * obj3 = 0 ;
37793 PyObject * obj4 = 0 ;
37794 PyObject * obj5 = 0 ;
37795 PyObject * obj6 = 0 ;
37796 PyObject * obj7 = 0 ;
37797 PyObject * obj8 = 0 ;
37798 PyObject * obj9 = 0 ;
37799 char * kwnames[] = {
37800 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37801 };
37802
37803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37805 if (!SWIG_IsOK(res1)) {
37806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37807 }
37808 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37809 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37810 if (!SWIG_IsOK(res2)) {
37811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37812 }
37813 arg2 = reinterpret_cast< wxWindow * >(argp2);
37814 if (obj2) {
37815 ecode3 = SWIG_AsVal_int(obj2, &val3);
37816 if (!SWIG_IsOK(ecode3)) {
37817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37818 }
37819 arg3 = static_cast< int >(val3);
37820 }
37821 if (obj3) {
093d3ff1 37822 {
0085ce49
RD
37823 arg4 = wxString_in_helper(obj3);
37824 if (arg4 == NULL) SWIG_fail;
37825 temp4 = true;
093d3ff1 37826 }
0085ce49
RD
37827 }
37828 if (obj4) {
093d3ff1 37829 {
0085ce49
RD
37830 arg5 = &temp5;
37831 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37832 }
0085ce49
RD
37833 }
37834 if (obj5) {
d14a1e28 37835 {
0085ce49
RD
37836 arg6 = &temp6;
37837 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 37838 }
0085ce49
RD
37839 }
37840 if (obj6) {
37841 ecode7 = SWIG_AsVal_long(obj6, &val7);
37842 if (!SWIG_IsOK(ecode7)) {
37843 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37844 }
37845 arg7 = static_cast< long >(val7);
37846 }
37847 if (obj7) {
093d3ff1 37848 {
0085ce49
RD
37849 arg8 = wxString_in_helper(obj7);
37850 if (arg8 == NULL) SWIG_fail;
37851 temp8 = true;
093d3ff1 37852 }
0085ce49
RD
37853 }
37854 if (obj8) {
37855 ecode9 = SWIG_AsVal_int(obj8, &val9);
37856 if (!SWIG_IsOK(ecode9)) {
37857 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37858 }
37859 arg9 = static_cast< int >(val9);
37860 }
37861 if (obj9) {
093d3ff1 37862 {
0085ce49
RD
37863 arg10 = wxString_in_helper(obj9);
37864 if (arg10 == NULL) SWIG_fail;
37865 temp10 = true;
093d3ff1 37866 }
0085ce49
RD
37867 }
37868 {
37869 PyThreadState* __tstate = wxPyBeginAllowThreads();
37870 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37871 wxPyEndAllowThreads(__tstate);
37872 if (PyErr_Occurred()) SWIG_fail;
37873 }
37874 {
37875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37876 }
37877 {
37878 if (temp4)
37879 delete arg4;
37880 }
37881 {
37882 if (temp8)
37883 delete arg8;
37884 }
37885 {
37886 if (temp10)
37887 delete arg10;
37888 }
37889 return resultobj;
37890fail:
37891 {
37892 if (temp4)
37893 delete arg4;
37894 }
37895 {
37896 if (temp8)
37897 delete arg8;
37898 }
37899 {
37900 if (temp10)
37901 delete arg10;
37902 }
37903 return NULL;
37904}
37905
37906
37907SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37908 PyObject *resultobj = 0;
37909 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37910 wxString *arg2 = 0 ;
37911 bool result;
37912 void *argp1 = 0 ;
37913 int res1 = 0 ;
37914 bool temp2 = false ;
37915 PyObject * obj0 = 0 ;
37916 PyObject * obj1 = 0 ;
37917 char * kwnames[] = {
37918 (char *) "self",(char *) "path", NULL
37919 };
37920
37921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37923 if (!SWIG_IsOK(res1)) {
37924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37925 }
37926 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37927 {
37928 arg2 = wxString_in_helper(obj1);
37929 if (arg2 == NULL) SWIG_fail;
37930 temp2 = true;
37931 }
37932 {
37933 PyThreadState* __tstate = wxPyBeginAllowThreads();
37934 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37935 wxPyEndAllowThreads(__tstate);
37936 if (PyErr_Occurred()) SWIG_fail;
37937 }
37938 {
37939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37940 }
37941 {
37942 if (temp2)
37943 delete arg2;
37944 }
37945 return resultobj;
37946fail:
37947 {
37948 if (temp2)
37949 delete arg2;
37950 }
37951 return NULL;
d14a1e28
RD
37952}
37953
37954
704eda0c
RD
37955SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37956 PyObject *resultobj = 0;
37957 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37958 wxString *arg2 = 0 ;
37959 bool result;
37960 void *argp1 = 0 ;
37961 int res1 = 0 ;
37962 bool temp2 = false ;
37963 PyObject * obj0 = 0 ;
37964 PyObject * obj1 = 0 ;
37965 char * kwnames[] = {
37966 (char *) "self",(char *) "path", NULL
37967 };
37968
37969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37971 if (!SWIG_IsOK(res1)) {
37972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37973 }
37974 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37975 {
37976 arg2 = wxString_in_helper(obj1);
37977 if (arg2 == NULL) SWIG_fail;
37978 temp2 = true;
37979 }
37980 {
37981 PyThreadState* __tstate = wxPyBeginAllowThreads();
37982 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37983 wxPyEndAllowThreads(__tstate);
37984 if (PyErr_Occurred()) SWIG_fail;
37985 }
37986 {
37987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37988 }
37989 {
37990 if (temp2)
37991 delete arg2;
37992 }
37993 return resultobj;
37994fail:
37995 {
37996 if (temp2)
37997 delete arg2;
37998 }
37999 return NULL;
38000}
38001
38002
0085ce49
RD
38003SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38004 PyObject *resultobj = 0;
38005 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38006 wxString result;
38007 void *argp1 = 0 ;
38008 int res1 = 0 ;
38009 PyObject *swig_obj[1] ;
38010
38011 if (!args) SWIG_fail;
38012 swig_obj[0] = args;
38013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38014 if (!SWIG_IsOK(res1)) {
38015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38016 }
38017 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38018 {
38019 PyThreadState* __tstate = wxPyBeginAllowThreads();
38020 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38021 wxPyEndAllowThreads(__tstate);
38022 if (PyErr_Occurred()) SWIG_fail;
38023 }
38024 {
38025#if wxUSE_UNICODE
38026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38027#else
38028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38029#endif
38030 }
38031 return resultobj;
38032fail:
38033 return NULL;
38034}
38035
38036
38037SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38038 PyObject *resultobj = 0;
38039 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38040 wxString *arg2 = 0 ;
38041 void *argp1 = 0 ;
38042 int res1 = 0 ;
38043 bool temp2 = false ;
38044 PyObject * obj0 = 0 ;
38045 PyObject * obj1 = 0 ;
38046 char * kwnames[] = {
38047 (char *) "self",(char *) "path", NULL
38048 };
38049
38050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38052 if (!SWIG_IsOK(res1)) {
38053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38054 }
38055 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38056 {
38057 arg2 = wxString_in_helper(obj1);
38058 if (arg2 == NULL) SWIG_fail;
38059 temp2 = true;
38060 }
38061 {
38062 PyThreadState* __tstate = wxPyBeginAllowThreads();
38063 (arg1)->SetDefaultPath((wxString const &)*arg2);
38064 wxPyEndAllowThreads(__tstate);
38065 if (PyErr_Occurred()) SWIG_fail;
38066 }
38067 resultobj = SWIG_Py_Void();
38068 {
38069 if (temp2)
38070 delete arg2;
38071 }
38072 return resultobj;
38073fail:
38074 {
38075 if (temp2)
38076 delete arg2;
38077 }
38078 return NULL;
d14a1e28
RD
38079}
38080
38081
0085ce49
RD
38082SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38083 PyObject *resultobj = 0;
38084 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38085 wxString result;
38086 void *argp1 = 0 ;
38087 int res1 = 0 ;
38088 PyObject *swig_obj[1] ;
38089
38090 if (!args) SWIG_fail;
38091 swig_obj[0] = args;
38092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38093 if (!SWIG_IsOK(res1)) {
38094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38095 }
38096 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38097 {
38098 PyThreadState* __tstate = wxPyBeginAllowThreads();
38099 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38100 wxPyEndAllowThreads(__tstate);
38101 if (PyErr_Occurred()) SWIG_fail;
38102 }
38103 {
38104#if wxUSE_UNICODE
38105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38106#else
38107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38108#endif
38109 }
38110 return resultobj;
38111fail:
38112 return NULL;
d14a1e28
RD
38113}
38114
38115
0085ce49
RD
38116SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38117 PyObject *resultobj = 0;
38118 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38119 wxString result;
38120 void *argp1 = 0 ;
38121 int res1 = 0 ;
38122 PyObject *swig_obj[1] ;
38123
38124 if (!args) SWIG_fail;
38125 swig_obj[0] = args;
38126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38127 if (!SWIG_IsOK(res1)) {
38128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38129 }
38130 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38131 {
38132 PyThreadState* __tstate = wxPyBeginAllowThreads();
38133 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38134 wxPyEndAllowThreads(__tstate);
38135 if (PyErr_Occurred()) SWIG_fail;
38136 }
38137 {
38138#if wxUSE_UNICODE
38139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38140#else
38141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38142#endif
38143 }
38144 return resultobj;
38145fail:
38146 return NULL;
38147}
38148
38149
38150SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38151 PyObject *resultobj = 0;
38152 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38153 wxString *arg2 = 0 ;
38154 void *argp1 = 0 ;
38155 int res1 = 0 ;
38156 bool temp2 = false ;
38157 PyObject * obj0 = 0 ;
38158 PyObject * obj1 = 0 ;
38159 char * kwnames[] = {
38160 (char *) "self",(char *) "path", NULL
38161 };
38162
38163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38165 if (!SWIG_IsOK(res1)) {
38166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38167 }
38168 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38169 {
38170 arg2 = wxString_in_helper(obj1);
38171 if (arg2 == NULL) SWIG_fail;
38172 temp2 = true;
38173 }
38174 {
38175 PyThreadState* __tstate = wxPyBeginAllowThreads();
38176 (arg1)->SetPath((wxString const &)*arg2);
38177 wxPyEndAllowThreads(__tstate);
38178 if (PyErr_Occurred()) SWIG_fail;
38179 }
38180 resultobj = SWIG_Py_Void();
38181 {
38182 if (temp2)
38183 delete arg2;
38184 }
38185 return resultobj;
38186fail:
38187 {
38188 if (temp2)
38189 delete arg2;
38190 }
38191 return NULL;
38192}
38193
38194
38195SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38196 PyObject *resultobj = 0;
38197 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38198 bool arg2 ;
38199 void *argp1 = 0 ;
38200 int res1 = 0 ;
38201 bool val2 ;
38202 int ecode2 = 0 ;
38203 PyObject * obj0 = 0 ;
38204 PyObject * obj1 = 0 ;
38205 char * kwnames[] = {
38206 (char *) "self",(char *) "show", NULL
38207 };
38208
38209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38211 if (!SWIG_IsOK(res1)) {
38212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38213 }
38214 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38215 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38216 if (!SWIG_IsOK(ecode2)) {
38217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38218 }
38219 arg2 = static_cast< bool >(val2);
38220 {
38221 PyThreadState* __tstate = wxPyBeginAllowThreads();
38222 (arg1)->ShowHidden(arg2);
38223 wxPyEndAllowThreads(__tstate);
38224 if (PyErr_Occurred()) SWIG_fail;
38225 }
38226 resultobj = SWIG_Py_Void();
38227 return resultobj;
38228fail:
38229 return NULL;
d14a1e28
RD
38230}
38231
38232
0085ce49
RD
38233SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38234 PyObject *resultobj = 0;
38235 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38236 bool result;
38237 void *argp1 = 0 ;
38238 int res1 = 0 ;
38239 PyObject *swig_obj[1] ;
38240
38241 if (!args) SWIG_fail;
38242 swig_obj[0] = args;
38243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38244 if (!SWIG_IsOK(res1)) {
38245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38246 }
38247 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38248 {
38249 PyThreadState* __tstate = wxPyBeginAllowThreads();
38250 result = (bool)(arg1)->GetShowHidden();
38251 wxPyEndAllowThreads(__tstate);
38252 if (PyErr_Occurred()) SWIG_fail;
38253 }
38254 {
38255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38256 }
38257 return resultobj;
38258fail:
38259 return NULL;
d14a1e28
RD
38260}
38261
38262
0085ce49
RD
38263SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38264 PyObject *resultobj = 0;
38265 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38266 wxString result;
38267 void *argp1 = 0 ;
38268 int res1 = 0 ;
38269 PyObject *swig_obj[1] ;
38270
38271 if (!args) SWIG_fail;
38272 swig_obj[0] = args;
38273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38274 if (!SWIG_IsOK(res1)) {
38275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38276 }
38277 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38278 {
38279 PyThreadState* __tstate = wxPyBeginAllowThreads();
38280 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38281 wxPyEndAllowThreads(__tstate);
38282 if (PyErr_Occurred()) SWIG_fail;
38283 }
38284 {
38285#if wxUSE_UNICODE
38286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38287#else
38288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38289#endif
38290 }
38291 return resultobj;
38292fail:
38293 return NULL;
38294}
38295
38296
38297SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38298 PyObject *resultobj = 0;
38299 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38300 wxString *arg2 = 0 ;
38301 void *argp1 = 0 ;
38302 int res1 = 0 ;
38303 bool temp2 = false ;
38304 PyObject * obj0 = 0 ;
38305 PyObject * obj1 = 0 ;
38306 char * kwnames[] = {
38307 (char *) "self",(char *) "filter", NULL
38308 };
38309
38310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38312 if (!SWIG_IsOK(res1)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38314 }
38315 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38316 {
38317 arg2 = wxString_in_helper(obj1);
38318 if (arg2 == NULL) SWIG_fail;
38319 temp2 = true;
38320 }
38321 {
38322 PyThreadState* __tstate = wxPyBeginAllowThreads();
38323 (arg1)->SetFilter((wxString const &)*arg2);
38324 wxPyEndAllowThreads(__tstate);
38325 if (PyErr_Occurred()) SWIG_fail;
38326 }
38327 resultobj = SWIG_Py_Void();
38328 {
38329 if (temp2)
38330 delete arg2;
38331 }
38332 return resultobj;
38333fail:
38334 {
38335 if (temp2)
38336 delete arg2;
38337 }
38338 return NULL;
d14a1e28
RD
38339}
38340
38341
0085ce49
RD
38342SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38343 PyObject *resultobj = 0;
38344 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38345 int result;
38346 void *argp1 = 0 ;
38347 int res1 = 0 ;
38348 PyObject *swig_obj[1] ;
38349
38350 if (!args) SWIG_fail;
38351 swig_obj[0] = args;
38352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38353 if (!SWIG_IsOK(res1)) {
38354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38355 }
38356 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38357 {
38358 PyThreadState* __tstate = wxPyBeginAllowThreads();
38359 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38360 wxPyEndAllowThreads(__tstate);
38361 if (PyErr_Occurred()) SWIG_fail;
38362 }
38363 resultobj = SWIG_From_int(static_cast< int >(result));
38364 return resultobj;
38365fail:
38366 return NULL;
38367}
38368
38369
38370SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38371 PyObject *resultobj = 0;
38372 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38373 int arg2 ;
38374 void *argp1 = 0 ;
38375 int res1 = 0 ;
38376 int val2 ;
38377 int ecode2 = 0 ;
38378 PyObject * obj0 = 0 ;
38379 PyObject * obj1 = 0 ;
38380 char * kwnames[] = {
38381 (char *) "self",(char *) "n", NULL
38382 };
38383
38384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38386 if (!SWIG_IsOK(res1)) {
38387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38388 }
38389 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38390 ecode2 = SWIG_AsVal_int(obj1, &val2);
38391 if (!SWIG_IsOK(ecode2)) {
38392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38393 }
38394 arg2 = static_cast< int >(val2);
38395 {
38396 PyThreadState* __tstate = wxPyBeginAllowThreads();
38397 (arg1)->SetFilterIndex(arg2);
38398 wxPyEndAllowThreads(__tstate);
38399 if (PyErr_Occurred()) SWIG_fail;
38400 }
38401 resultobj = SWIG_Py_Void();
38402 return resultobj;
38403fail:
38404 return NULL;
d14a1e28
RD
38405}
38406
38407
0085ce49
RD
38408SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38409 PyObject *resultobj = 0;
38410 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38411 wxTreeItemId result;
38412 void *argp1 = 0 ;
38413 int res1 = 0 ;
38414 PyObject *swig_obj[1] ;
38415
38416 if (!args) SWIG_fail;
38417 swig_obj[0] = args;
38418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38419 if (!SWIG_IsOK(res1)) {
38420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38421 }
38422 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38423 {
38424 PyThreadState* __tstate = wxPyBeginAllowThreads();
38425 result = (arg1)->GetRootId();
38426 wxPyEndAllowThreads(__tstate);
38427 if (PyErr_Occurred()) SWIG_fail;
38428 }
38429 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38430 return resultobj;
38431fail:
38432 return NULL;
d14a1e28
RD
38433}
38434
38435
0085ce49
RD
38436SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38437 PyObject *resultobj = 0;
38438 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38439 wxPyTreeCtrl *result = 0 ;
38440 void *argp1 = 0 ;
38441 int res1 = 0 ;
38442 PyObject *swig_obj[1] ;
38443
38444 if (!args) SWIG_fail;
38445 swig_obj[0] = args;
38446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38447 if (!SWIG_IsOK(res1)) {
38448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38449 }
38450 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38451 {
38452 PyThreadState* __tstate = wxPyBeginAllowThreads();
38453 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38454 wxPyEndAllowThreads(__tstate);
38455 if (PyErr_Occurred()) SWIG_fail;
38456 }
38457 {
38458 resultobj = wxPyMake_wxObject(result, 0);
38459 }
38460 return resultobj;
38461fail:
38462 return NULL;
d14a1e28
RD
38463}
38464
38465
0085ce49
RD
38466SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38467 PyObject *resultobj = 0;
38468 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38469 wxDirFilterListCtrl *result = 0 ;
38470 void *argp1 = 0 ;
38471 int res1 = 0 ;
38472 PyObject *swig_obj[1] ;
38473
38474 if (!args) SWIG_fail;
38475 swig_obj[0] = args;
38476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38477 if (!SWIG_IsOK(res1)) {
38478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38479 }
38480 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38481 {
38482 PyThreadState* __tstate = wxPyBeginAllowThreads();
38483 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38484 wxPyEndAllowThreads(__tstate);
38485 if (PyErr_Occurred()) SWIG_fail;
38486 }
38487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38488 return resultobj;
38489fail:
38490 return NULL;
38491}
38492
38493
38494SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38495 PyObject *resultobj = 0;
38496 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38497 wxTreeItemId arg2 ;
38498 wxString *arg3 = 0 ;
38499 bool *arg4 = 0 ;
38500 wxTreeItemId result;
38501 void *argp1 = 0 ;
38502 int res1 = 0 ;
38503 void *argp2 ;
38504 int res2 = 0 ;
38505 bool temp3 = false ;
38506 bool temp4 ;
38507 int res4 = SWIG_TMPOBJ ;
38508 PyObject * obj0 = 0 ;
38509 PyObject * obj1 = 0 ;
38510 PyObject * obj2 = 0 ;
38511 char * kwnames[] = {
38512 (char *) "self",(char *) "parentId",(char *) "path", NULL
38513 };
38514
38515 arg4 = &temp4;
38516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38518 if (!SWIG_IsOK(res1)) {
38519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38520 }
38521 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38522 {
38523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38524 if (!SWIG_IsOK(res2)) {
38525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38526 }
38527 if (!argp2) {
38528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38529 } else {
38530 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38531 arg2 = *temp;
38532 if (SWIG_IsNewObj(res2)) delete temp;
d14a1e28 38533 }
0085ce49
RD
38534 }
38535 {
38536 arg3 = wxString_in_helper(obj2);
38537 if (arg3 == NULL) SWIG_fail;
38538 temp3 = true;
38539 }
38540 {
38541 PyThreadState* __tstate = wxPyBeginAllowThreads();
38542 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38543 wxPyEndAllowThreads(__tstate);
38544 if (PyErr_Occurred()) SWIG_fail;
38545 }
38546 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38547 if (SWIG_IsTmpObj(res4)) {
38548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38549 } else {
38550 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38552 }
38553 {
38554 if (temp3)
38555 delete arg3;
38556 }
38557 return resultobj;
38558fail:
38559 {
38560 if (temp3)
38561 delete arg3;
38562 }
38563 return NULL;
d14a1e28
RD
38564}
38565
38566
0085ce49
RD
38567SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38568 PyObject *resultobj = 0;
38569 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38570 void *argp1 = 0 ;
38571 int res1 = 0 ;
38572 PyObject *swig_obj[1] ;
38573
38574 if (!args) SWIG_fail;
38575 swig_obj[0] = args;
38576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38577 if (!SWIG_IsOK(res1)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38579 }
38580 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38581 {
38582 PyThreadState* __tstate = wxPyBeginAllowThreads();
38583 (arg1)->DoResize();
38584 wxPyEndAllowThreads(__tstate);
38585 if (PyErr_Occurred()) SWIG_fail;
38586 }
38587 resultobj = SWIG_Py_Void();
38588 return resultobj;
38589fail:
38590 return NULL;
d14a1e28
RD
38591}
38592
38593
0085ce49
RD
38594SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38595 PyObject *resultobj = 0;
38596 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38597 void *argp1 = 0 ;
38598 int res1 = 0 ;
38599 PyObject *swig_obj[1] ;
38600
38601 if (!args) SWIG_fail;
38602 swig_obj[0] = args;
38603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38604 if (!SWIG_IsOK(res1)) {
38605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38606 }
38607 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38608 {
38609 PyThreadState* __tstate = wxPyBeginAllowThreads();
38610 (arg1)->ReCreateTree();
38611 wxPyEndAllowThreads(__tstate);
38612 if (PyErr_Occurred()) SWIG_fail;
38613 }
38614 resultobj = SWIG_Py_Void();
38615 return resultobj;
38616fail:
38617 return NULL;
38618}
38619
38620
38621SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38622 PyObject *obj;
38623 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38624 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38625 return SWIG_Py_Void();
38626}
38627
38628SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38629 return SWIG_Python_InitShadowInstance(args);
38630}
38631
38632SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38633 PyObject *resultobj = 0;
38634 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38635 int arg2 = (int) (int)-1 ;
38636 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38637 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38638 wxSize const &arg4_defvalue = wxDefaultSize ;
38639 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38640 long arg5 = (long) 0 ;
38641 wxDirFilterListCtrl *result = 0 ;
38642 void *argp1 = 0 ;
38643 int res1 = 0 ;
38644 int val2 ;
38645 int ecode2 = 0 ;
38646 wxPoint temp3 ;
38647 wxSize temp4 ;
38648 long val5 ;
38649 int ecode5 = 0 ;
38650 PyObject * obj0 = 0 ;
38651 PyObject * obj1 = 0 ;
38652 PyObject * obj2 = 0 ;
38653 PyObject * obj3 = 0 ;
38654 PyObject * obj4 = 0 ;
38655 char * kwnames[] = {
38656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38657 };
38658
38659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38661 if (!SWIG_IsOK(res1)) {
38662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38663 }
38664 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38665 if (obj1) {
38666 ecode2 = SWIG_AsVal_int(obj1, &val2);
38667 if (!SWIG_IsOK(ecode2)) {
38668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38669 }
38670 arg2 = static_cast< int >(val2);
38671 }
38672 if (obj2) {
d14a1e28 38673 {
0085ce49
RD
38674 arg3 = &temp3;
38675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 38676 }
0085ce49
RD
38677 }
38678 if (obj3) {
d14a1e28 38679 {
0085ce49
RD
38680 arg4 = &temp4;
38681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 38682 }
0085ce49
RD
38683 }
38684 if (obj4) {
38685 ecode5 = SWIG_AsVal_long(obj4, &val5);
38686 if (!SWIG_IsOK(ecode5)) {
38687 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38688 }
38689 arg5 = static_cast< long >(val5);
38690 }
38691 {
38692 if (!wxPyCheckForApp()) SWIG_fail;
38693 PyThreadState* __tstate = wxPyBeginAllowThreads();
38694 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38695 wxPyEndAllowThreads(__tstate);
38696 if (PyErr_Occurred()) SWIG_fail;
38697 }
38698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38699 return resultobj;
38700fail:
38701 return NULL;
d14a1e28
RD
38702}
38703
38704
0085ce49
RD
38705SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38706 PyObject *resultobj = 0;
38707 wxDirFilterListCtrl *result = 0 ;
38708
38709 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38710 {
38711 if (!wxPyCheckForApp()) SWIG_fail;
38712 PyThreadState* __tstate = wxPyBeginAllowThreads();
38713 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38714 wxPyEndAllowThreads(__tstate);
38715 if (PyErr_Occurred()) SWIG_fail;
38716 }
38717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38718 return resultobj;
38719fail:
38720 return NULL;
38721}
38722
38723
38724SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38725 PyObject *resultobj = 0;
38726 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38727 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38728 int arg3 = (int) (int)-1 ;
38729 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38730 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38731 wxSize const &arg5_defvalue = wxDefaultSize ;
38732 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38733 long arg6 = (long) 0 ;
38734 bool result;
38735 void *argp1 = 0 ;
38736 int res1 = 0 ;
38737 void *argp2 = 0 ;
38738 int res2 = 0 ;
38739 int val3 ;
38740 int ecode3 = 0 ;
38741 wxPoint temp4 ;
38742 wxSize temp5 ;
38743 long val6 ;
38744 int ecode6 = 0 ;
38745 PyObject * obj0 = 0 ;
38746 PyObject * obj1 = 0 ;
38747 PyObject * obj2 = 0 ;
38748 PyObject * obj3 = 0 ;
38749 PyObject * obj4 = 0 ;
38750 PyObject * obj5 = 0 ;
38751 char * kwnames[] = {
38752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38753 };
38754
38755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38757 if (!SWIG_IsOK(res1)) {
38758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38759 }
38760 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38762 if (!SWIG_IsOK(res2)) {
38763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38764 }
38765 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38766 if (obj2) {
38767 ecode3 = SWIG_AsVal_int(obj2, &val3);
38768 if (!SWIG_IsOK(ecode3)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38770 }
38771 arg3 = static_cast< int >(val3);
38772 }
38773 if (obj3) {
093d3ff1 38774 {
0085ce49
RD
38775 arg4 = &temp4;
38776 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38777 }
0085ce49
RD
38778 }
38779 if (obj4) {
d14a1e28 38780 {
0085ce49
RD
38781 arg5 = &temp5;
38782 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 38783 }
0085ce49
RD
38784 }
38785 if (obj5) {
38786 ecode6 = SWIG_AsVal_long(obj5, &val6);
38787 if (!SWIG_IsOK(ecode6)) {
38788 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38789 }
38790 arg6 = static_cast< long >(val6);
38791 }
38792 {
38793 PyThreadState* __tstate = wxPyBeginAllowThreads();
38794 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38795 wxPyEndAllowThreads(__tstate);
38796 if (PyErr_Occurred()) SWIG_fail;
38797 }
38798 {
38799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38800 }
38801 return resultobj;
38802fail:
38803 return NULL;
38804}
38805
38806
38807SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38808 PyObject *resultobj = 0;
38809 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38810 wxString *arg2 = 0 ;
38811 int arg3 ;
38812 void *argp1 = 0 ;
38813 int res1 = 0 ;
38814 bool temp2 = false ;
38815 int val3 ;
38816 int ecode3 = 0 ;
38817 PyObject * obj0 = 0 ;
38818 PyObject * obj1 = 0 ;
38819 PyObject * obj2 = 0 ;
38820 char * kwnames[] = {
38821 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38822 };
38823
38824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38826 if (!SWIG_IsOK(res1)) {
38827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38828 }
38829 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38830 {
38831 arg2 = wxString_in_helper(obj1);
38832 if (arg2 == NULL) SWIG_fail;
38833 temp2 = true;
38834 }
38835 ecode3 = SWIG_AsVal_int(obj2, &val3);
38836 if (!SWIG_IsOK(ecode3)) {
38837 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38838 }
38839 arg3 = static_cast< int >(val3);
38840 {
38841 PyThreadState* __tstate = wxPyBeginAllowThreads();
38842 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38843 wxPyEndAllowThreads(__tstate);
38844 if (PyErr_Occurred()) SWIG_fail;
38845 }
38846 resultobj = SWIG_Py_Void();
38847 {
38848 if (temp2)
38849 delete arg2;
38850 }
38851 return resultobj;
38852fail:
38853 {
38854 if (temp2)
38855 delete arg2;
38856 }
38857 return NULL;
38858}
38859
38860
38861SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38862 PyObject *obj;
38863 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38864 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38865 return SWIG_Py_Void();
38866}
38867
38868SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38869 return SWIG_Python_InitShadowInstance(args);
38870}
38871
38872SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38873 PyObject *resultobj = 0;
38874 wxWindow *arg1 = (wxWindow *) 0 ;
38875 int arg2 = (int) (int)-1 ;
38876 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38877 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38878 wxSize const &arg4_defvalue = wxDefaultSize ;
38879 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38880 long arg5 = (long) 0 ;
38881 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38882 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38883 wxString const &arg7_defvalue = wxPyControlNameStr ;
38884 wxString *arg7 = (wxString *) &arg7_defvalue ;
38885 wxPyControl *result = 0 ;
38886 void *argp1 = 0 ;
38887 int res1 = 0 ;
38888 int val2 ;
38889 int ecode2 = 0 ;
38890 wxPoint temp3 ;
38891 wxSize temp4 ;
38892 long val5 ;
38893 int ecode5 = 0 ;
38894 void *argp6 = 0 ;
38895 int res6 = 0 ;
38896 bool temp7 = false ;
38897 PyObject * obj0 = 0 ;
38898 PyObject * obj1 = 0 ;
38899 PyObject * obj2 = 0 ;
38900 PyObject * obj3 = 0 ;
38901 PyObject * obj4 = 0 ;
38902 PyObject * obj5 = 0 ;
38903 PyObject * obj6 = 0 ;
38904 char * kwnames[] = {
38905 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38906 };
38907
38908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38910 if (!SWIG_IsOK(res1)) {
38911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38912 }
38913 arg1 = reinterpret_cast< wxWindow * >(argp1);
38914 if (obj1) {
38915 ecode2 = SWIG_AsVal_int(obj1, &val2);
38916 if (!SWIG_IsOK(ecode2)) {
38917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38918 }
38919 arg2 = static_cast< int >(val2);
38920 }
38921 if (obj2) {
093d3ff1 38922 {
0085ce49
RD
38923 arg3 = &temp3;
38924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 38925 }
0085ce49
RD
38926 }
38927 if (obj3) {
d14a1e28 38928 {
0085ce49
RD
38929 arg4 = &temp4;
38930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 38931 }
0085ce49
RD
38932 }
38933 if (obj4) {
38934 ecode5 = SWIG_AsVal_long(obj4, &val5);
38935 if (!SWIG_IsOK(ecode5)) {
38936 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38937 }
38938 arg5 = static_cast< long >(val5);
38939 }
38940 if (obj5) {
38941 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38942 if (!SWIG_IsOK(res6)) {
38943 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38944 }
38945 if (!argp6) {
38946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 38947 }
0085ce49
RD
38948 arg6 = reinterpret_cast< wxValidator * >(argp6);
38949 }
38950 if (obj6) {
d14a1e28 38951 {
0085ce49
RD
38952 arg7 = wxString_in_helper(obj6);
38953 if (arg7 == NULL) SWIG_fail;
38954 temp7 = true;
d14a1e28 38955 }
0085ce49
RD
38956 }
38957 {
38958 if (!wxPyCheckForApp()) SWIG_fail;
38959 PyThreadState* __tstate = wxPyBeginAllowThreads();
38960 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38961 wxPyEndAllowThreads(__tstate);
38962 if (PyErr_Occurred()) SWIG_fail;
38963 }
38964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38965 {
38966 if (temp7)
38967 delete arg7;
38968 }
38969 return resultobj;
38970fail:
38971 {
38972 if (temp7)
38973 delete arg7;
38974 }
38975 return NULL;
d14a1e28
RD
38976}
38977
38978
0085ce49
RD
38979SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38980 PyObject *resultobj = 0;
38981 wxPyControl *result = 0 ;
38982
38983 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38984 {
38985 if (!wxPyCheckForApp()) SWIG_fail;
38986 PyThreadState* __tstate = wxPyBeginAllowThreads();
38987 result = (wxPyControl *)new wxPyControl();
38988 wxPyEndAllowThreads(__tstate);
38989 if (PyErr_Occurred()) SWIG_fail;
38990 }
38991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38992 return resultobj;
38993fail:
38994 return NULL;
38995}
38996
38997
38998SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38999 PyObject *resultobj = 0;
39000 wxPyControl *arg1 = (wxPyControl *) 0 ;
39001 PyObject *arg2 = (PyObject *) 0 ;
39002 PyObject *arg3 = (PyObject *) 0 ;
39003 void *argp1 = 0 ;
39004 int res1 = 0 ;
39005 PyObject * obj0 = 0 ;
39006 PyObject * obj1 = 0 ;
39007 PyObject * obj2 = 0 ;
39008 char * kwnames[] = {
39009 (char *) "self",(char *) "self",(char *) "_class", NULL
39010 };
39011
39012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39014 if (!SWIG_IsOK(res1)) {
39015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39016 }
39017 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39018 arg2 = obj1;
39019 arg3 = obj2;
39020 {
39021 PyThreadState* __tstate = wxPyBeginAllowThreads();
39022 (arg1)->_setCallbackInfo(arg2,arg3);
39023 wxPyEndAllowThreads(__tstate);
39024 if (PyErr_Occurred()) SWIG_fail;
39025 }
39026 resultobj = SWIG_Py_Void();
39027 return resultobj;
39028fail:
39029 return NULL;
39030}
39031
39032
0085ce49
RD
39033SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39034 PyObject *resultobj = 0;
39035 wxPyControl *arg1 = (wxPyControl *) 0 ;
39036 wxDC *arg2 = (wxDC *) 0 ;
39037 bool result;
39038 void *argp1 = 0 ;
39039 int res1 = 0 ;
39040 void *argp2 = 0 ;
39041 int res2 = 0 ;
39042 PyObject * obj0 = 0 ;
39043 PyObject * obj1 = 0 ;
39044 char * kwnames[] = {
39045 (char *) "self",(char *) "dc", NULL
39046 };
39047
39048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39050 if (!SWIG_IsOK(res1)) {
39051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39052 }
39053 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39054 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39055 if (!SWIG_IsOK(res2)) {
39056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39057 }
39058 arg2 = reinterpret_cast< wxDC * >(argp2);
39059 {
39060 PyThreadState* __tstate = wxPyBeginAllowThreads();
39061 result = (bool)(arg1)->DoEraseBackground(arg2);
39062 wxPyEndAllowThreads(__tstate);
39063 if (PyErr_Occurred()) SWIG_fail;
39064 }
39065 {
39066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39067 }
39068 return resultobj;
39069fail:
39070 return NULL;
39071}
39072
39073
39074SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39075 PyObject *resultobj = 0;
39076 wxPyControl *arg1 = (wxPyControl *) 0 ;
39077 int arg2 ;
39078 int arg3 ;
39079 int arg4 ;
39080 int arg5 ;
39081 void *argp1 = 0 ;
39082 int res1 = 0 ;
39083 int val2 ;
39084 int ecode2 = 0 ;
39085 int val3 ;
39086 int ecode3 = 0 ;
39087 int val4 ;
39088 int ecode4 = 0 ;
39089 int val5 ;
39090 int ecode5 = 0 ;
39091 PyObject * obj0 = 0 ;
39092 PyObject * obj1 = 0 ;
39093 PyObject * obj2 = 0 ;
39094 PyObject * obj3 = 0 ;
39095 PyObject * obj4 = 0 ;
39096 char * kwnames[] = {
39097 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39098 };
39099
39100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39102 if (!SWIG_IsOK(res1)) {
39103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39104 }
39105 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39106 ecode2 = SWIG_AsVal_int(obj1, &val2);
39107 if (!SWIG_IsOK(ecode2)) {
39108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39109 }
39110 arg2 = static_cast< int >(val2);
39111 ecode3 = SWIG_AsVal_int(obj2, &val3);
39112 if (!SWIG_IsOK(ecode3)) {
39113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39114 }
39115 arg3 = static_cast< int >(val3);
39116 ecode4 = SWIG_AsVal_int(obj3, &val4);
39117 if (!SWIG_IsOK(ecode4)) {
39118 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39119 }
39120 arg4 = static_cast< int >(val4);
39121 ecode5 = SWIG_AsVal_int(obj4, &val5);
39122 if (!SWIG_IsOK(ecode5)) {
39123 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39124 }
39125 arg5 = static_cast< int >(val5);
39126 {
39127 PyThreadState* __tstate = wxPyBeginAllowThreads();
39128 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39129 wxPyEndAllowThreads(__tstate);
39130 if (PyErr_Occurred()) SWIG_fail;
39131 }
39132 resultobj = SWIG_Py_Void();
39133 return resultobj;
39134fail:
39135 return NULL;
39136}
39137
39138
39139SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39140 PyObject *resultobj = 0;
39141 wxPyControl *arg1 = (wxPyControl *) 0 ;
39142 int arg2 ;
39143 int arg3 ;
39144 int arg4 ;
39145 int arg5 ;
39146 int arg6 = (int) wxSIZE_AUTO ;
39147 void *argp1 = 0 ;
39148 int res1 = 0 ;
39149 int val2 ;
39150 int ecode2 = 0 ;
39151 int val3 ;
39152 int ecode3 = 0 ;
39153 int val4 ;
39154 int ecode4 = 0 ;
39155 int val5 ;
39156 int ecode5 = 0 ;
39157 int val6 ;
39158 int ecode6 = 0 ;
39159 PyObject * obj0 = 0 ;
39160 PyObject * obj1 = 0 ;
39161 PyObject * obj2 = 0 ;
39162 PyObject * obj3 = 0 ;
39163 PyObject * obj4 = 0 ;
39164 PyObject * obj5 = 0 ;
39165 char * kwnames[] = {
39166 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39167 };
39168
39169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39171 if (!SWIG_IsOK(res1)) {
39172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39173 }
39174 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39175 ecode2 = SWIG_AsVal_int(obj1, &val2);
39176 if (!SWIG_IsOK(ecode2)) {
39177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39178 }
39179 arg2 = static_cast< int >(val2);
39180 ecode3 = SWIG_AsVal_int(obj2, &val3);
39181 if (!SWIG_IsOK(ecode3)) {
39182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39183 }
39184 arg3 = static_cast< int >(val3);
39185 ecode4 = SWIG_AsVal_int(obj3, &val4);
39186 if (!SWIG_IsOK(ecode4)) {
39187 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39188 }
39189 arg4 = static_cast< int >(val4);
39190 ecode5 = SWIG_AsVal_int(obj4, &val5);
39191 if (!SWIG_IsOK(ecode5)) {
39192 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39193 }
39194 arg5 = static_cast< int >(val5);
39195 if (obj5) {
39196 ecode6 = SWIG_AsVal_int(obj5, &val6);
39197 if (!SWIG_IsOK(ecode6)) {
39198 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39199 }
39200 arg6 = static_cast< int >(val6);
39201 }
39202 {
39203 PyThreadState* __tstate = wxPyBeginAllowThreads();
39204 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39205 wxPyEndAllowThreads(__tstate);
39206 if (PyErr_Occurred()) SWIG_fail;
39207 }
39208 resultobj = SWIG_Py_Void();
39209 return resultobj;
39210fail:
39211 return NULL;
39212}
39213
39214
39215SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39216 PyObject *resultobj = 0;
39217 wxPyControl *arg1 = (wxPyControl *) 0 ;
39218 int arg2 ;
39219 int arg3 ;
39220 void *argp1 = 0 ;
39221 int res1 = 0 ;
39222 int val2 ;
39223 int ecode2 = 0 ;
39224 int val3 ;
39225 int ecode3 = 0 ;
39226 PyObject * obj0 = 0 ;
39227 PyObject * obj1 = 0 ;
39228 PyObject * obj2 = 0 ;
39229 char * kwnames[] = {
39230 (char *) "self",(char *) "width",(char *) "height", NULL
39231 };
39232
39233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39235 if (!SWIG_IsOK(res1)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39237 }
39238 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39239 ecode2 = SWIG_AsVal_int(obj1, &val2);
39240 if (!SWIG_IsOK(ecode2)) {
39241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39242 }
39243 arg2 = static_cast< int >(val2);
39244 ecode3 = SWIG_AsVal_int(obj2, &val3);
39245 if (!SWIG_IsOK(ecode3)) {
39246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39247 }
39248 arg3 = static_cast< int >(val3);
39249 {
39250 PyThreadState* __tstate = wxPyBeginAllowThreads();
39251 (arg1)->DoSetClientSize(arg2,arg3);
39252 wxPyEndAllowThreads(__tstate);
39253 if (PyErr_Occurred()) SWIG_fail;
39254 }
39255 resultobj = SWIG_Py_Void();
39256 return resultobj;
39257fail:
39258 return NULL;
39259}
39260
39261
39262SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39263 PyObject *resultobj = 0;
39264 wxPyControl *arg1 = (wxPyControl *) 0 ;
39265 int arg2 ;
39266 int arg3 ;
39267 void *argp1 = 0 ;
39268 int res1 = 0 ;
39269 int val2 ;
39270 int ecode2 = 0 ;
39271 int val3 ;
39272 int ecode3 = 0 ;
39273 PyObject * obj0 = 0 ;
39274 PyObject * obj1 = 0 ;
39275 PyObject * obj2 = 0 ;
39276 char * kwnames[] = {
39277 (char *) "self",(char *) "x",(char *) "y", NULL
39278 };
39279
39280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39282 if (!SWIG_IsOK(res1)) {
39283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39284 }
39285 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39286 ecode2 = SWIG_AsVal_int(obj1, &val2);
39287 if (!SWIG_IsOK(ecode2)) {
39288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39289 }
39290 arg2 = static_cast< int >(val2);
39291 ecode3 = SWIG_AsVal_int(obj2, &val3);
39292 if (!SWIG_IsOK(ecode3)) {
39293 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39294 }
39295 arg3 = static_cast< int >(val3);
39296 {
39297 PyThreadState* __tstate = wxPyBeginAllowThreads();
39298 (arg1)->DoSetVirtualSize(arg2,arg3);
39299 wxPyEndAllowThreads(__tstate);
39300 if (PyErr_Occurred()) SWIG_fail;
39301 }
39302 resultobj = SWIG_Py_Void();
39303 return resultobj;
39304fail:
39305 return NULL;
39306}
39307
39308
39309SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39310 PyObject *resultobj = 0;
39311 wxPyControl *arg1 = (wxPyControl *) 0 ;
39312 int *arg2 = (int *) 0 ;
39313 int *arg3 = (int *) 0 ;
39314 void *argp1 = 0 ;
39315 int res1 = 0 ;
39316 int temp2 ;
39317 int res2 = SWIG_TMPOBJ ;
39318 int temp3 ;
39319 int res3 = SWIG_TMPOBJ ;
39320 PyObject *swig_obj[1] ;
39321
39322 arg2 = &temp2;
39323 arg3 = &temp3;
39324 if (!args) SWIG_fail;
39325 swig_obj[0] = args;
39326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39327 if (!SWIG_IsOK(res1)) {
39328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39329 }
39330 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39331 {
39332 PyThreadState* __tstate = wxPyBeginAllowThreads();
39333 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39334 wxPyEndAllowThreads(__tstate);
39335 if (PyErr_Occurred()) SWIG_fail;
39336 }
39337 resultobj = SWIG_Py_Void();
39338 if (SWIG_IsTmpObj(res2)) {
39339 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39340 } else {
39341 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39343 }
39344 if (SWIG_IsTmpObj(res3)) {
39345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39346 } else {
39347 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39348 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39349 }
39350 return resultobj;
39351fail:
39352 return NULL;
39353}
39354
39355
39356SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39357 PyObject *resultobj = 0;
39358 wxPyControl *arg1 = (wxPyControl *) 0 ;
39359 int *arg2 = (int *) 0 ;
39360 int *arg3 = (int *) 0 ;
39361 void *argp1 = 0 ;
39362 int res1 = 0 ;
39363 int temp2 ;
39364 int res2 = SWIG_TMPOBJ ;
39365 int temp3 ;
39366 int res3 = SWIG_TMPOBJ ;
39367 PyObject *swig_obj[1] ;
39368
39369 arg2 = &temp2;
39370 arg3 = &temp3;
39371 if (!args) SWIG_fail;
39372 swig_obj[0] = args;
39373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39374 if (!SWIG_IsOK(res1)) {
39375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39376 }
39377 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39378 {
39379 PyThreadState* __tstate = wxPyBeginAllowThreads();
39380 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39381 wxPyEndAllowThreads(__tstate);
39382 if (PyErr_Occurred()) SWIG_fail;
39383 }
39384 resultobj = SWIG_Py_Void();
39385 if (SWIG_IsTmpObj(res2)) {
39386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39387 } else {
39388 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39390 }
39391 if (SWIG_IsTmpObj(res3)) {
39392 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39393 } else {
39394 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39396 }
39397 return resultobj;
39398fail:
39399 return NULL;
39400}
39401
39402
39403SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39404 PyObject *resultobj = 0;
39405 wxPyControl *arg1 = (wxPyControl *) 0 ;
39406 int *arg2 = (int *) 0 ;
39407 int *arg3 = (int *) 0 ;
39408 void *argp1 = 0 ;
39409 int res1 = 0 ;
39410 int temp2 ;
39411 int res2 = SWIG_TMPOBJ ;
39412 int temp3 ;
39413 int res3 = SWIG_TMPOBJ ;
39414 PyObject *swig_obj[1] ;
39415
39416 arg2 = &temp2;
39417 arg3 = &temp3;
39418 if (!args) SWIG_fail;
39419 swig_obj[0] = args;
39420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39421 if (!SWIG_IsOK(res1)) {
39422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39423 }
39424 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39425 {
39426 PyThreadState* __tstate = wxPyBeginAllowThreads();
39427 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39428 wxPyEndAllowThreads(__tstate);
39429 if (PyErr_Occurred()) SWIG_fail;
39430 }
39431 resultobj = SWIG_Py_Void();
39432 if (SWIG_IsTmpObj(res2)) {
39433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39434 } else {
39435 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39436 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39437 }
39438 if (SWIG_IsTmpObj(res3)) {
39439 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39440 } else {
39441 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39443 }
39444 return resultobj;
39445fail:
39446 return NULL;
d14a1e28
RD
39447}
39448
39449
0085ce49
RD
39450SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39451 PyObject *resultobj = 0;
39452 wxPyControl *arg1 = (wxPyControl *) 0 ;
39453 wxSize result;
39454 void *argp1 = 0 ;
39455 int res1 = 0 ;
39456 PyObject *swig_obj[1] ;
39457
39458 if (!args) SWIG_fail;
39459 swig_obj[0] = args;
39460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39461 if (!SWIG_IsOK(res1)) {
39462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39463 }
39464 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39465 {
39466 PyThreadState* __tstate = wxPyBeginAllowThreads();
39467 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39468 wxPyEndAllowThreads(__tstate);
39469 if (PyErr_Occurred()) SWIG_fail;
39470 }
39471 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39472 return resultobj;
39473fail:
39474 return NULL;
d14a1e28
RD
39475}
39476
39477
0085ce49
RD
39478SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39479 PyObject *resultobj = 0;
39480 wxPyControl *arg1 = (wxPyControl *) 0 ;
39481 wxSize result;
39482 void *argp1 = 0 ;
39483 int res1 = 0 ;
39484 PyObject *swig_obj[1] ;
39485
39486 if (!args) SWIG_fail;
39487 swig_obj[0] = args;
39488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39489 if (!SWIG_IsOK(res1)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39491 }
39492 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39493 {
39494 PyThreadState* __tstate = wxPyBeginAllowThreads();
39495 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39496 wxPyEndAllowThreads(__tstate);
39497 if (PyErr_Occurred()) SWIG_fail;
39498 }
39499 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39500 return resultobj;
39501fail:
39502 return NULL;
d14a1e28
RD
39503}
39504
39505
0085ce49
RD
39506SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39507 PyObject *resultobj = 0;
39508 wxPyControl *arg1 = (wxPyControl *) 0 ;
39509 SwigValueWrapper<wxVisualAttributes > result;
39510 void *argp1 = 0 ;
39511 int res1 = 0 ;
39512 PyObject *swig_obj[1] ;
39513
39514 if (!args) SWIG_fail;
39515 swig_obj[0] = args;
39516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39517 if (!SWIG_IsOK(res1)) {
39518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39519 }
39520 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39521 {
39522 PyThreadState* __tstate = wxPyBeginAllowThreads();
39523 result = (arg1)->GetDefaultAttributes();
39524 wxPyEndAllowThreads(__tstate);
39525 if (PyErr_Occurred()) SWIG_fail;
39526 }
39527 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39528 return resultobj;
39529fail:
39530 return NULL;
d14a1e28
RD
39531}
39532
39533
0085ce49
RD
39534SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39535 PyObject *resultobj = 0;
39536 wxPyControl *arg1 = (wxPyControl *) 0 ;
39537 void *argp1 = 0 ;
39538 int res1 = 0 ;
39539 PyObject *swig_obj[1] ;
39540
39541 if (!args) SWIG_fail;
39542 swig_obj[0] = args;
39543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39544 if (!SWIG_IsOK(res1)) {
39545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39546 }
39547 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39548 {
39549 PyThreadState* __tstate = wxPyBeginAllowThreads();
39550 (arg1)->OnInternalIdle();
39551 wxPyEndAllowThreads(__tstate);
39552 if (PyErr_Occurred()) SWIG_fail;
39553 }
39554 resultobj = SWIG_Py_Void();
39555 return resultobj;
39556fail:
39557 return NULL;
39558}
39559
39560
39561SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39562 PyObject *obj;
39563 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39564 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39565 return SWIG_Py_Void();
39566}
39567
39568SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39569 return SWIG_Python_InitShadowInstance(args);
39570}
39571
39572SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39573 PyObject *resultobj = 0;
39574 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39575 int arg2 = (int) 0 ;
39576 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39577 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39578 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
0085ce49
RD
39579 wxHelpEvent *result = 0 ;
39580 int val1 ;
39581 int ecode1 = 0 ;
39582 int val2 ;
39583 int ecode2 = 0 ;
39584 wxPoint temp3 ;
704eda0c
RD
39585 int val4 ;
39586 int ecode4 = 0 ;
0085ce49
RD
39587 PyObject * obj0 = 0 ;
39588 PyObject * obj1 = 0 ;
39589 PyObject * obj2 = 0 ;
704eda0c 39590 PyObject * obj3 = 0 ;
0085ce49 39591 char * kwnames[] = {
704eda0c 39592 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
0085ce49
RD
39593 };
39594
704eda0c 39595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
0085ce49
RD
39596 if (obj0) {
39597 ecode1 = SWIG_AsVal_int(obj0, &val1);
39598 if (!SWIG_IsOK(ecode1)) {
39599 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39600 }
39601 arg1 = static_cast< wxEventType >(val1);
39602 }
39603 if (obj1) {
39604 ecode2 = SWIG_AsVal_int(obj1, &val2);
39605 if (!SWIG_IsOK(ecode2)) {
39606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39607 }
39608 arg2 = static_cast< int >(val2);
39609 }
39610 if (obj2) {
d14a1e28 39611 {
0085ce49
RD
39612 arg3 = &temp3;
39613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 39614 }
0085ce49 39615 }
704eda0c
RD
39616 if (obj3) {
39617 ecode4 = SWIG_AsVal_int(obj3, &val4);
39618 if (!SWIG_IsOK(ecode4)) {
39619 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39620 }
39621 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39622 }
0085ce49
RD
39623 {
39624 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39625 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
0085ce49
RD
39626 wxPyEndAllowThreads(__tstate);
39627 if (PyErr_Occurred()) SWIG_fail;
39628 }
39629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39630 return resultobj;
39631fail:
39632 return NULL;
d14a1e28
RD
39633}
39634
39635
0085ce49
RD
39636SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39637 PyObject *resultobj = 0;
39638 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39639 wxPoint result;
39640 void *argp1 = 0 ;
39641 int res1 = 0 ;
39642 PyObject *swig_obj[1] ;
39643
39644 if (!args) SWIG_fail;
39645 swig_obj[0] = args;
39646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39647 if (!SWIG_IsOK(res1)) {
39648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39649 }
39650 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39651 {
39652 PyThreadState* __tstate = wxPyBeginAllowThreads();
39653 result = ((wxHelpEvent const *)arg1)->GetPosition();
39654 wxPyEndAllowThreads(__tstate);
39655 if (PyErr_Occurred()) SWIG_fail;
39656 }
39657 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39658 return resultobj;
39659fail:
39660 return NULL;
39661}
39662
39663
39664SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39665 PyObject *resultobj = 0;
39666 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39667 wxPoint *arg2 = 0 ;
39668 void *argp1 = 0 ;
39669 int res1 = 0 ;
39670 wxPoint temp2 ;
39671 PyObject * obj0 = 0 ;
39672 PyObject * obj1 = 0 ;
39673 char * kwnames[] = {
39674 (char *) "self",(char *) "pos", NULL
39675 };
39676
39677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",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_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39681 }
39682 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39683 {
39684 arg2 = &temp2;
39685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39686 }
39687 {
39688 PyThreadState* __tstate = wxPyBeginAllowThreads();
39689 (arg1)->SetPosition((wxPoint const &)*arg2);
39690 wxPyEndAllowThreads(__tstate);
39691 if (PyErr_Occurred()) SWIG_fail;
39692 }
39693 resultobj = SWIG_Py_Void();
39694 return resultobj;
39695fail:
39696 return NULL;
d14a1e28
RD
39697}
39698
39699
0085ce49
RD
39700SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39701 PyObject *resultobj = 0;
39702 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39703 wxString *result = 0 ;
39704 void *argp1 = 0 ;
39705 int res1 = 0 ;
39706 PyObject *swig_obj[1] ;
39707
39708 if (!args) SWIG_fail;
39709 swig_obj[0] = args;
39710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39711 if (!SWIG_IsOK(res1)) {
39712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39713 }
39714 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39715 {
39716 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 39717 {
0085ce49
RD
39718 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39719 result = (wxString *) &_result_ref;
093d3ff1 39720 }
0085ce49
RD
39721 wxPyEndAllowThreads(__tstate);
39722 if (PyErr_Occurred()) SWIG_fail;
39723 }
39724 {
39725#if wxUSE_UNICODE
39726 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39727#else
39728 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39729#endif
39730 }
39731 return resultobj;
39732fail:
39733 return NULL;
39734}
39735
39736
39737SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39738 PyObject *resultobj = 0;
39739 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39740 wxString *arg2 = 0 ;
39741 void *argp1 = 0 ;
39742 int res1 = 0 ;
39743 bool temp2 = false ;
39744 PyObject * obj0 = 0 ;
39745 PyObject * obj1 = 0 ;
39746 char * kwnames[] = {
39747 (char *) "self",(char *) "link", NULL
39748 };
39749
39750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39752 if (!SWIG_IsOK(res1)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39754 }
39755 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39756 {
39757 arg2 = wxString_in_helper(obj1);
39758 if (arg2 == NULL) SWIG_fail;
39759 temp2 = true;
39760 }
39761 {
39762 PyThreadState* __tstate = wxPyBeginAllowThreads();
39763 (arg1)->SetLink((wxString const &)*arg2);
39764 wxPyEndAllowThreads(__tstate);
39765 if (PyErr_Occurred()) SWIG_fail;
39766 }
39767 resultobj = SWIG_Py_Void();
39768 {
39769 if (temp2)
39770 delete arg2;
39771 }
39772 return resultobj;
39773fail:
39774 {
39775 if (temp2)
39776 delete arg2;
39777 }
39778 return NULL;
d14a1e28
RD
39779}
39780
39781
0085ce49
RD
39782SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39783 PyObject *resultobj = 0;
39784 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39785 wxString *result = 0 ;
39786 void *argp1 = 0 ;
39787 int res1 = 0 ;
39788 PyObject *swig_obj[1] ;
39789
39790 if (!args) SWIG_fail;
39791 swig_obj[0] = args;
39792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39793 if (!SWIG_IsOK(res1)) {
39794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39795 }
39796 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39797 {
39798 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 39799 {
0085ce49
RD
39800 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39801 result = (wxString *) &_result_ref;
d14a1e28 39802 }
0085ce49
RD
39803 wxPyEndAllowThreads(__tstate);
39804 if (PyErr_Occurred()) SWIG_fail;
39805 }
39806 {
39807#if wxUSE_UNICODE
39808 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39809#else
39810 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39811#endif
39812 }
39813 return resultobj;
39814fail:
39815 return NULL;
39816}
39817
39818
39819SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39820 PyObject *resultobj = 0;
39821 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39822 wxString *arg2 = 0 ;
39823 void *argp1 = 0 ;
39824 int res1 = 0 ;
39825 bool temp2 = false ;
39826 PyObject * obj0 = 0 ;
39827 PyObject * obj1 = 0 ;
39828 char * kwnames[] = {
39829 (char *) "self",(char *) "target", NULL
39830 };
39831
39832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39834 if (!SWIG_IsOK(res1)) {
39835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39836 }
39837 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39838 {
39839 arg2 = wxString_in_helper(obj1);
39840 if (arg2 == NULL) SWIG_fail;
39841 temp2 = true;
39842 }
39843 {
39844 PyThreadState* __tstate = wxPyBeginAllowThreads();
39845 (arg1)->SetTarget((wxString const &)*arg2);
39846 wxPyEndAllowThreads(__tstate);
39847 if (PyErr_Occurred()) SWIG_fail;
39848 }
39849 resultobj = SWIG_Py_Void();
39850 {
39851 if (temp2)
39852 delete arg2;
39853 }
39854 return resultobj;
39855fail:
39856 {
39857 if (temp2)
39858 delete arg2;
39859 }
39860 return NULL;
d14a1e28
RD
39861}
39862
39863
704eda0c
RD
39864SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39865 PyObject *resultobj = 0;
39866 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39867 wxHelpEvent::Origin result;
39868 void *argp1 = 0 ;
39869 int res1 = 0 ;
39870 PyObject *swig_obj[1] ;
39871
39872 if (!args) SWIG_fail;
39873 swig_obj[0] = args;
39874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39875 if (!SWIG_IsOK(res1)) {
39876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39877 }
39878 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39879 {
39880 PyThreadState* __tstate = wxPyBeginAllowThreads();
39881 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39882 wxPyEndAllowThreads(__tstate);
39883 if (PyErr_Occurred()) SWIG_fail;
39884 }
39885 resultobj = SWIG_From_int(static_cast< int >(result));
39886 return resultobj;
39887fail:
39888 return NULL;
39889}
39890
39891
39892SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39893 PyObject *resultobj = 0;
39894 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39895 wxHelpEvent::Origin arg2 ;
39896 void *argp1 = 0 ;
39897 int res1 = 0 ;
39898 int val2 ;
39899 int ecode2 = 0 ;
39900 PyObject * obj0 = 0 ;
39901 PyObject * obj1 = 0 ;
39902 char * kwnames[] = {
39903 (char *) "self",(char *) "origin", NULL
39904 };
39905
39906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39908 if (!SWIG_IsOK(res1)) {
39909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39910 }
39911 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39912 ecode2 = SWIG_AsVal_int(obj1, &val2);
39913 if (!SWIG_IsOK(ecode2)) {
39914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39915 }
39916 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39917 {
39918 PyThreadState* __tstate = wxPyBeginAllowThreads();
39919 (arg1)->SetOrigin(arg2);
39920 wxPyEndAllowThreads(__tstate);
39921 if (PyErr_Occurred()) SWIG_fail;
39922 }
39923 resultobj = SWIG_Py_Void();
39924 return resultobj;
39925fail:
39926 return NULL;
39927}
39928
39929
0085ce49
RD
39930SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39931 PyObject *obj;
39932 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39933 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39934 return SWIG_Py_Void();
d14a1e28
RD
39935}
39936
0085ce49
RD
39937SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39938 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
39939}
39940
0085ce49
RD
39941SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39942 PyObject *resultobj = 0;
39943 wxWindow *arg1 = (wxWindow *) NULL ;
39944 bool arg2 = (bool) true ;
39945 wxContextHelp *result = 0 ;
39946 void *argp1 = 0 ;
39947 int res1 = 0 ;
39948 bool val2 ;
39949 int ecode2 = 0 ;
39950 PyObject * obj0 = 0 ;
39951 PyObject * obj1 = 0 ;
39952 char * kwnames[] = {
39953 (char *) "window",(char *) "doNow", NULL
39954 };
39955
39956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39957 if (obj0) {
39958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39959 if (!SWIG_IsOK(res1)) {
39960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d14a1e28 39961 }
0085ce49
RD
39962 arg1 = reinterpret_cast< wxWindow * >(argp1);
39963 }
39964 if (obj1) {
39965 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39966 if (!SWIG_IsOK(ecode2)) {
39967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39968 }
39969 arg2 = static_cast< bool >(val2);
39970 }
39971 {
39972 if (!wxPyCheckForApp()) SWIG_fail;
39973 PyThreadState* __tstate = wxPyBeginAllowThreads();
39974 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39975 wxPyEndAllowThreads(__tstate);
39976 if (PyErr_Occurred()) SWIG_fail;
39977 }
39978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39979 return resultobj;
39980fail:
39981 return NULL;
d14a1e28
RD
39982}
39983
39984
0085ce49
RD
39985SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39986 PyObject *resultobj = 0;
39987 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39988 void *argp1 = 0 ;
39989 int res1 = 0 ;
39990 PyObject *swig_obj[1] ;
39991
39992 if (!args) SWIG_fail;
39993 swig_obj[0] = args;
39994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39995 if (!SWIG_IsOK(res1)) {
39996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39997 }
39998 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39999 {
40000 PyThreadState* __tstate = wxPyBeginAllowThreads();
40001 delete arg1;
3a04f143 40002
0085ce49
RD
40003 wxPyEndAllowThreads(__tstate);
40004 if (PyErr_Occurred()) SWIG_fail;
40005 }
40006 resultobj = SWIG_Py_Void();
40007 return resultobj;
40008fail:
40009 return NULL;
40010}
40011
40012
40013SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40014 PyObject *resultobj = 0;
40015 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40016 wxWindow *arg2 = (wxWindow *) NULL ;
40017 bool result;
40018 void *argp1 = 0 ;
40019 int res1 = 0 ;
40020 void *argp2 = 0 ;
40021 int res2 = 0 ;
40022 PyObject * obj0 = 0 ;
40023 PyObject * obj1 = 0 ;
40024 char * kwnames[] = {
40025 (char *) "self",(char *) "window", NULL
40026 };
40027
40028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40030 if (!SWIG_IsOK(res1)) {
40031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40032 }
40033 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40034 if (obj1) {
40035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40036 if (!SWIG_IsOK(res2)) {
40037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
3a04f143 40038 }
0085ce49
RD
40039 arg2 = reinterpret_cast< wxWindow * >(argp2);
40040 }
40041 {
40042 PyThreadState* __tstate = wxPyBeginAllowThreads();
40043 result = (bool)(arg1)->BeginContextHelp(arg2);
40044 wxPyEndAllowThreads(__tstate);
40045 if (PyErr_Occurred()) SWIG_fail;
40046 }
40047 {
40048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40049 }
40050 return resultobj;
40051fail:
40052 return NULL;
3a04f143
RD
40053}
40054
40055
0085ce49
RD
40056SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40057 PyObject *resultobj = 0;
40058 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40059 bool result;
40060 void *argp1 = 0 ;
40061 int res1 = 0 ;
40062 PyObject *swig_obj[1] ;
40063
40064 if (!args) SWIG_fail;
40065 swig_obj[0] = args;
40066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40067 if (!SWIG_IsOK(res1)) {
40068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40069 }
40070 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40071 {
40072 PyThreadState* __tstate = wxPyBeginAllowThreads();
40073 result = (bool)(arg1)->EndContextHelp();
40074 wxPyEndAllowThreads(__tstate);
40075 if (PyErr_Occurred()) SWIG_fail;
40076 }
40077 {
40078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40079 }
40080 return resultobj;
40081fail:
40082 return NULL;
40083}
40084
40085
40086SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40087 PyObject *obj;
40088 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40089 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40090 return SWIG_Py_Void();
40091}
40092
40093SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40094 return SWIG_Python_InitShadowInstance(args);
40095}
40096
40097SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40098 PyObject *resultobj = 0;
40099 wxWindow *arg1 = (wxWindow *) 0 ;
40100 int arg2 = (int) wxID_CONTEXT_HELP ;
40101 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40102 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40103 wxSize const &arg4_defvalue = wxDefaultSize ;
40104 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40105 long arg5 = (long) wxBU_AUTODRAW ;
40106 wxContextHelpButton *result = 0 ;
40107 void *argp1 = 0 ;
40108 int res1 = 0 ;
40109 int val2 ;
40110 int ecode2 = 0 ;
40111 wxPoint temp3 ;
40112 wxSize temp4 ;
40113 long val5 ;
40114 int ecode5 = 0 ;
40115 PyObject * obj0 = 0 ;
40116 PyObject * obj1 = 0 ;
40117 PyObject * obj2 = 0 ;
40118 PyObject * obj3 = 0 ;
40119 PyObject * obj4 = 0 ;
40120 char * kwnames[] = {
40121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40122 };
40123
40124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40126 if (!SWIG_IsOK(res1)) {
40127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40128 }
40129 arg1 = reinterpret_cast< wxWindow * >(argp1);
40130 if (obj1) {
40131 ecode2 = SWIG_AsVal_int(obj1, &val2);
40132 if (!SWIG_IsOK(ecode2)) {
40133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40134 }
40135 arg2 = static_cast< int >(val2);
40136 }
40137 if (obj2) {
d14a1e28 40138 {
0085ce49
RD
40139 arg3 = &temp3;
40140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 40141 }
0085ce49
RD
40142 }
40143 if (obj3) {
4f89f6a3 40144 {
0085ce49
RD
40145 arg4 = &temp4;
40146 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 40147 }
0085ce49
RD
40148 }
40149 if (obj4) {
40150 ecode5 = SWIG_AsVal_long(obj4, &val5);
40151 if (!SWIG_IsOK(ecode5)) {
40152 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40153 }
40154 arg5 = static_cast< long >(val5);
40155 }
40156 {
40157 if (!wxPyCheckForApp()) SWIG_fail;
40158 PyThreadState* __tstate = wxPyBeginAllowThreads();
40159 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40160 wxPyEndAllowThreads(__tstate);
40161 if (PyErr_Occurred()) SWIG_fail;
40162 }
40163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40164 return resultobj;
40165fail:
40166 return NULL;
d14a1e28
RD
40167}
40168
40169
0085ce49
RD
40170SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40171 PyObject *obj;
40172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40173 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40174 return SWIG_Py_Void();
d14a1e28
RD
40175}
40176
0085ce49
RD
40177SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40178 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
40179}
40180
f52cbe90
RD
40181SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40182 PyObject *resultobj = 0;
40183 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40184 void *argp1 = 0 ;
40185 int res1 = 0 ;
40186 PyObject *swig_obj[1] ;
40187
40188 if (!args) SWIG_fail;
40189 swig_obj[0] = args;
40190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40191 if (!SWIG_IsOK(res1)) {
40192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40193 }
40194 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40195 {
40196 PyThreadState* __tstate = wxPyBeginAllowThreads();
40197 delete arg1;
40198
40199 wxPyEndAllowThreads(__tstate);
40200 if (PyErr_Occurred()) SWIG_fail;
40201 }
40202 resultobj = SWIG_Py_Void();
40203 return resultobj;
40204fail:
40205 return NULL;
40206}
40207
40208
0085ce49
RD
40209SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40210 PyObject *resultobj = 0;
40211 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40212 wxHelpProvider *result = 0 ;
40213 int res1 = 0 ;
40214 PyObject * obj0 = 0 ;
40215 char * kwnames[] = {
40216 (char *) "helpProvider", NULL
40217 };
40218
40219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40220 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40221 if (!SWIG_IsOK(res1)) {
40222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40223 }
40224 {
40225 PyThreadState* __tstate = wxPyBeginAllowThreads();
40226 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40227 wxPyEndAllowThreads(__tstate);
40228 if (PyErr_Occurred()) SWIG_fail;
40229 }
40230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40231 return resultobj;
40232fail:
40233 return NULL;
d14a1e28
RD
40234}
40235
40236
0085ce49
RD
40237SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40238 PyObject *resultobj = 0;
40239 wxHelpProvider *result = 0 ;
40240
40241 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40242 {
40243 PyThreadState* __tstate = wxPyBeginAllowThreads();
40244 result = (wxHelpProvider *)wxHelpProvider::Get();
40245 wxPyEndAllowThreads(__tstate);
40246 if (PyErr_Occurred()) SWIG_fail;
40247 }
40248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40249 return resultobj;
40250fail:
40251 return NULL;
40252}
40253
40254
40255SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40256 PyObject *resultobj = 0;
40257 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40258 wxWindow *arg2 = (wxWindow *) 0 ;
40259 wxString result;
40260 void *argp1 = 0 ;
40261 int res1 = 0 ;
40262 void *argp2 = 0 ;
40263 int res2 = 0 ;
40264 PyObject * obj0 = 0 ;
40265 PyObject * obj1 = 0 ;
40266 char * kwnames[] = {
40267 (char *) "self",(char *) "window", NULL
40268 };
40269
40270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40272 if (!SWIG_IsOK(res1)) {
40273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40274 }
40275 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40276 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40277 if (!SWIG_IsOK(res2)) {
40278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40279 }
40280 arg2 = reinterpret_cast< wxWindow * >(argp2);
40281 {
40282 PyThreadState* __tstate = wxPyBeginAllowThreads();
40283 result = (arg1)->GetHelp((wxWindow const *)arg2);
40284 wxPyEndAllowThreads(__tstate);
40285 if (PyErr_Occurred()) SWIG_fail;
40286 }
40287 {
40288#if wxUSE_UNICODE
40289 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40290#else
40291 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40292#endif
40293 }
40294 return resultobj;
40295fail:
40296 return NULL;
40297}
40298
40299
40300SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40301 PyObject *resultobj = 0;
40302 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40303 wxWindow *arg2 = (wxWindow *) 0 ;
40304 bool result;
40305 void *argp1 = 0 ;
40306 int res1 = 0 ;
40307 void *argp2 = 0 ;
40308 int res2 = 0 ;
40309 PyObject * obj0 = 0 ;
40310 PyObject * obj1 = 0 ;
40311 char * kwnames[] = {
40312 (char *) "self",(char *) "window", NULL
40313 };
40314
40315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40317 if (!SWIG_IsOK(res1)) {
40318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40319 }
40320 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40322 if (!SWIG_IsOK(res2)) {
40323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40324 }
40325 arg2 = reinterpret_cast< wxWindow * >(argp2);
40326 {
40327 PyThreadState* __tstate = wxPyBeginAllowThreads();
40328 result = (bool)(arg1)->ShowHelp(arg2);
40329 wxPyEndAllowThreads(__tstate);
40330 if (PyErr_Occurred()) SWIG_fail;
40331 }
40332 {
40333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40334 }
40335 return resultobj;
40336fail:
40337 return NULL;
40338}
40339
40340
b850e7f3
RD
40341SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40342 PyObject *resultobj = 0;
40343 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40344 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40345 wxPoint *arg3 = 0 ;
40346 wxHelpEvent::Origin arg4 ;
40347 bool result;
40348 void *argp1 = 0 ;
40349 int res1 = 0 ;
40350 void *argp2 = 0 ;
40351 int res2 = 0 ;
40352 wxPoint temp3 ;
40353 int val4 ;
40354 int ecode4 = 0 ;
40355 PyObject * obj0 = 0 ;
40356 PyObject * obj1 = 0 ;
40357 PyObject * obj2 = 0 ;
40358 PyObject * obj3 = 0 ;
40359 char * kwnames[] = {
40360 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40361 };
40362
40363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40365 if (!SWIG_IsOK(res1)) {
40366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40367 }
40368 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40370 if (!SWIG_IsOK(res2)) {
40371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40372 }
40373 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40374 {
40375 arg3 = &temp3;
40376 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40377 }
40378 ecode4 = SWIG_AsVal_int(obj3, &val4);
40379 if (!SWIG_IsOK(ecode4)) {
40380 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40381 }
40382 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40383 {
40384 PyThreadState* __tstate = wxPyBeginAllowThreads();
40385 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40386 wxPyEndAllowThreads(__tstate);
40387 if (PyErr_Occurred()) SWIG_fail;
40388 }
40389 {
40390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40391 }
40392 return resultobj;
40393fail:
40394 return NULL;
40395}
40396
40397
0085ce49
RD
40398SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40399 PyObject *resultobj = 0;
40400 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40401 wxWindow *arg2 = (wxWindow *) 0 ;
40402 wxString *arg3 = 0 ;
40403 void *argp1 = 0 ;
40404 int res1 = 0 ;
40405 void *argp2 = 0 ;
40406 int res2 = 0 ;
40407 bool temp3 = false ;
40408 PyObject * obj0 = 0 ;
40409 PyObject * obj1 = 0 ;
40410 PyObject * obj2 = 0 ;
40411 char * kwnames[] = {
40412 (char *) "self",(char *) "window",(char *) "text", NULL
40413 };
40414
40415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40417 if (!SWIG_IsOK(res1)) {
40418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40419 }
40420 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40422 if (!SWIG_IsOK(res2)) {
40423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40424 }
40425 arg2 = reinterpret_cast< wxWindow * >(argp2);
40426 {
40427 arg3 = wxString_in_helper(obj2);
40428 if (arg3 == NULL) SWIG_fail;
40429 temp3 = true;
40430 }
40431 {
40432 PyThreadState* __tstate = wxPyBeginAllowThreads();
40433 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40434 wxPyEndAllowThreads(__tstate);
40435 if (PyErr_Occurred()) SWIG_fail;
40436 }
40437 resultobj = SWIG_Py_Void();
40438 {
40439 if (temp3)
40440 delete arg3;
40441 }
40442 return resultobj;
40443fail:
40444 {
40445 if (temp3)
40446 delete arg3;
40447 }
40448 return NULL;
40449}
40450
40451
40452SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40453 PyObject *resultobj = 0;
40454 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40455 int arg2 ;
40456 wxString *arg3 = 0 ;
40457 void *argp1 = 0 ;
40458 int res1 = 0 ;
40459 int val2 ;
40460 int ecode2 = 0 ;
40461 bool temp3 = false ;
40462 PyObject * obj0 = 0 ;
40463 PyObject * obj1 = 0 ;
40464 PyObject * obj2 = 0 ;
40465 char * kwnames[] = {
40466 (char *) "self",(char *) "id",(char *) "text", NULL
40467 };
40468
40469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40471 if (!SWIG_IsOK(res1)) {
40472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40473 }
40474 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40475 ecode2 = SWIG_AsVal_int(obj1, &val2);
40476 if (!SWIG_IsOK(ecode2)) {
40477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40478 }
40479 arg2 = static_cast< int >(val2);
40480 {
40481 arg3 = wxString_in_helper(obj2);
40482 if (arg3 == NULL) SWIG_fail;
40483 temp3 = true;
40484 }
40485 {
40486 PyThreadState* __tstate = wxPyBeginAllowThreads();
40487 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40488 wxPyEndAllowThreads(__tstate);
40489 if (PyErr_Occurred()) SWIG_fail;
40490 }
40491 resultobj = SWIG_Py_Void();
40492 {
40493 if (temp3)
40494 delete arg3;
40495 }
40496 return resultobj;
40497fail:
40498 {
40499 if (temp3)
40500 delete arg3;
40501 }
40502 return NULL;
40503}
40504
40505
40506SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40507 PyObject *resultobj = 0;
40508 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40509 wxWindow *arg2 = (wxWindow *) 0 ;
40510 void *argp1 = 0 ;
40511 int res1 = 0 ;
40512 void *argp2 = 0 ;
40513 int res2 = 0 ;
40514 PyObject * obj0 = 0 ;
40515 PyObject * obj1 = 0 ;
40516 char * kwnames[] = {
40517 (char *) "self",(char *) "window", NULL
40518 };
40519
40520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40522 if (!SWIG_IsOK(res1)) {
40523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40524 }
40525 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40526 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40527 if (!SWIG_IsOK(res2)) {
40528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40529 }
40530 arg2 = reinterpret_cast< wxWindow * >(argp2);
40531 {
40532 PyThreadState* __tstate = wxPyBeginAllowThreads();
40533 (arg1)->RemoveHelp(arg2);
40534 wxPyEndAllowThreads(__tstate);
40535 if (PyErr_Occurred()) SWIG_fail;
40536 }
40537 resultobj = SWIG_Py_Void();
40538 return resultobj;
40539fail:
40540 return NULL;
d14a1e28
RD
40541}
40542
40543
0085ce49
RD
40544SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40545 PyObject *resultobj = 0;
40546 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40547 void *argp1 = 0 ;
40548 int res1 = 0 ;
40549 PyObject *swig_obj[1] ;
40550
40551 if (!args) SWIG_fail;
40552 swig_obj[0] = args;
40553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40554 if (!SWIG_IsOK(res1)) {
40555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40556 }
40557 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40558 {
40559 PyThreadState* __tstate = wxPyBeginAllowThreads();
40560 wxHelpProvider_Destroy(arg1);
40561 wxPyEndAllowThreads(__tstate);
40562 if (PyErr_Occurred()) SWIG_fail;
40563 }
40564 resultobj = SWIG_Py_Void();
40565 return resultobj;
40566fail:
40567 return NULL;
22bfe96c
RD
40568}
40569
40570
0085ce49
RD
40571SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40572 PyObject *obj;
40573 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40574 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40575 return SWIG_Py_Void();
b2dc1044
RD
40576}
40577
0085ce49
RD
40578SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40579 PyObject *resultobj = 0;
40580 wxSimpleHelpProvider *result = 0 ;
40581
40582 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40583 {
40584 PyThreadState* __tstate = wxPyBeginAllowThreads();
40585 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40586 wxPyEndAllowThreads(__tstate);
40587 if (PyErr_Occurred()) SWIG_fail;
40588 }
40589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40590 return resultobj;
40591fail:
40592 return NULL;
40593}
40594
40595
40596SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40597 PyObject *obj;
40598 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40599 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40600 return SWIG_Py_Void();
40601}
40602
40603SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40604 return SWIG_Python_InitShadowInstance(args);
40605}
40606
40607SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40608 PyObject *resultobj = 0;
40609 wxBitmap *arg1 = 0 ;
40610 wxCursor const &arg2_defvalue = wxNullCursor ;
40611 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40612 wxGenericDragImage *result = 0 ;
40613 void *argp1 = 0 ;
40614 int res1 = 0 ;
40615 void *argp2 = 0 ;
40616 int res2 = 0 ;
40617 PyObject * obj0 = 0 ;
40618 PyObject * obj1 = 0 ;
40619 char * kwnames[] = {
40620 (char *) "image",(char *) "cursor", NULL
40621 };
40622
40623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40624 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40625 if (!SWIG_IsOK(res1)) {
40626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40627 }
40628 if (!argp1) {
40629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40630 }
40631 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40632 if (obj1) {
40633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40634 if (!SWIG_IsOK(res2)) {
40635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40636 }
0085ce49
RD
40637 if (!argp2) {
40638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40639 }
0085ce49
RD
40640 arg2 = reinterpret_cast< wxCursor * >(argp2);
40641 }
40642 {
40643 if (!wxPyCheckForApp()) SWIG_fail;
40644 PyThreadState* __tstate = wxPyBeginAllowThreads();
40645 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40646 wxPyEndAllowThreads(__tstate);
40647 if (PyErr_Occurred()) SWIG_fail;
40648 }
40649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40650 return resultobj;
40651fail:
40652 return NULL;
40653}
40654
40655
40656SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40657 PyObject *resultobj = 0;
40658 wxIcon *arg1 = 0 ;
40659 wxCursor const &arg2_defvalue = wxNullCursor ;
40660 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40661 wxGenericDragImage *result = 0 ;
40662 void *argp1 = 0 ;
40663 int res1 = 0 ;
40664 void *argp2 = 0 ;
40665 int res2 = 0 ;
40666 PyObject * obj0 = 0 ;
40667 PyObject * obj1 = 0 ;
40668 char * kwnames[] = {
40669 (char *) "image",(char *) "cursor", NULL
40670 };
40671
40672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40673 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40674 if (!SWIG_IsOK(res1)) {
40675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40676 }
40677 if (!argp1) {
40678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40679 }
40680 arg1 = reinterpret_cast< wxIcon * >(argp1);
40681 if (obj1) {
40682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40683 if (!SWIG_IsOK(res2)) {
40684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40685 }
0085ce49
RD
40686 if (!argp2) {
40687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40688 }
0085ce49
RD
40689 arg2 = reinterpret_cast< wxCursor * >(argp2);
40690 }
40691 {
40692 if (!wxPyCheckForApp()) SWIG_fail;
40693 PyThreadState* __tstate = wxPyBeginAllowThreads();
40694 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40695 wxPyEndAllowThreads(__tstate);
40696 if (PyErr_Occurred()) SWIG_fail;
40697 }
40698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40699 return resultobj;
40700fail:
40701 return NULL;
40702}
40703
40704
40705SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40706 PyObject *resultobj = 0;
40707 wxString *arg1 = 0 ;
40708 wxCursor const &arg2_defvalue = wxNullCursor ;
40709 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40710 wxGenericDragImage *result = 0 ;
40711 bool temp1 = false ;
40712 void *argp2 = 0 ;
40713 int res2 = 0 ;
40714 PyObject * obj0 = 0 ;
40715 PyObject * obj1 = 0 ;
40716 char * kwnames[] = {
40717 (char *) "str",(char *) "cursor", NULL
40718 };
40719
40720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40721 {
40722 arg1 = wxString_in_helper(obj0);
40723 if (arg1 == NULL) SWIG_fail;
40724 temp1 = true;
40725 }
40726 if (obj1) {
40727 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40728 if (!SWIG_IsOK(res2)) {
40729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40730 }
0085ce49
RD
40731 if (!argp2) {
40732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40733 }
40734 arg2 = reinterpret_cast< wxCursor * >(argp2);
40735 }
40736 {
40737 if (!wxPyCheckForApp()) SWIG_fail;
40738 PyThreadState* __tstate = wxPyBeginAllowThreads();
40739 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40740 wxPyEndAllowThreads(__tstate);
40741 if (PyErr_Occurred()) SWIG_fail;
40742 }
40743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40744 {
40745 if (temp1)
40746 delete arg1;
40747 }
40748 return resultobj;
40749fail:
40750 {
40751 if (temp1)
40752 delete arg1;
40753 }
40754 return NULL;
40755}
40756
40757
40758SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40759 PyObject *resultobj = 0;
40760 wxPyTreeCtrl *arg1 = 0 ;
40761 wxTreeItemId *arg2 = 0 ;
40762 wxGenericDragImage *result = 0 ;
40763 void *argp1 = 0 ;
40764 int res1 = 0 ;
40765 void *argp2 = 0 ;
40766 int res2 = 0 ;
40767 PyObject * obj0 = 0 ;
40768 PyObject * obj1 = 0 ;
40769 char * kwnames[] = {
40770 (char *) "treeCtrl",(char *) "id", NULL
40771 };
40772
40773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40774 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40775 if (!SWIG_IsOK(res1)) {
40776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40777 }
40778 if (!argp1) {
40779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40780 }
40781 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40782 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40783 if (!SWIG_IsOK(res2)) {
40784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40785 }
40786 if (!argp2) {
40787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40788 }
40789 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40790 {
40791 if (!wxPyCheckForApp()) SWIG_fail;
40792 PyThreadState* __tstate = wxPyBeginAllowThreads();
40793 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40794 wxPyEndAllowThreads(__tstate);
40795 if (PyErr_Occurred()) SWIG_fail;
40796 }
40797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40798 return resultobj;
40799fail:
40800 return NULL;
40801}
40802
40803
40804SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40805 PyObject *resultobj = 0;
40806 wxPyListCtrl *arg1 = 0 ;
40807 long arg2 ;
40808 wxGenericDragImage *result = 0 ;
40809 void *argp1 = 0 ;
40810 int res1 = 0 ;
40811 long val2 ;
40812 int ecode2 = 0 ;
40813 PyObject * obj0 = 0 ;
40814 PyObject * obj1 = 0 ;
40815 char * kwnames[] = {
40816 (char *) "listCtrl",(char *) "id", NULL
40817 };
40818
40819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40820 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40821 if (!SWIG_IsOK(res1)) {
40822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40823 }
40824 if (!argp1) {
40825 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40826 }
40827 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40828 ecode2 = SWIG_AsVal_long(obj1, &val2);
40829 if (!SWIG_IsOK(ecode2)) {
40830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40831 }
40832 arg2 = static_cast< long >(val2);
40833 {
40834 if (!wxPyCheckForApp()) SWIG_fail;
40835 PyThreadState* __tstate = wxPyBeginAllowThreads();
40836 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40837 wxPyEndAllowThreads(__tstate);
40838 if (PyErr_Occurred()) SWIG_fail;
40839 }
40840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40841 return resultobj;
40842fail:
40843 return NULL;
7e08d4ef
RD
40844}
40845
40846
0085ce49
RD
40847SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40848 PyObject *resultobj = 0;
40849 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40850 void *argp1 = 0 ;
40851 int res1 = 0 ;
40852 PyObject *swig_obj[1] ;
40853
40854 if (!args) SWIG_fail;
40855 swig_obj[0] = args;
40856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40857 if (!SWIG_IsOK(res1)) {
40858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40859 }
40860 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40861 {
40862 PyThreadState* __tstate = wxPyBeginAllowThreads();
40863 delete arg1;
d14a1e28 40864
0085ce49
RD
40865 wxPyEndAllowThreads(__tstate);
40866 if (PyErr_Occurred()) SWIG_fail;
40867 }
40868 resultobj = SWIG_Py_Void();
40869 return resultobj;
40870fail:
40871 return NULL;
40872}
40873
40874
40875SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40876 PyObject *resultobj = 0;
40877 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40878 wxBitmap *arg2 = (wxBitmap *) 0 ;
40879 void *argp1 = 0 ;
40880 int res1 = 0 ;
40881 void *argp2 = 0 ;
40882 int res2 = 0 ;
40883 PyObject * obj0 = 0 ;
40884 PyObject * obj1 = 0 ;
40885 char * kwnames[] = {
40886 (char *) "self",(char *) "bitmap", NULL
40887 };
40888
40889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40891 if (!SWIG_IsOK(res1)) {
40892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40893 }
40894 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40895 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40896 if (!SWIG_IsOK(res2)) {
40897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40898 }
40899 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40900 {
40901 PyThreadState* __tstate = wxPyBeginAllowThreads();
40902 (arg1)->SetBackingBitmap(arg2);
40903 wxPyEndAllowThreads(__tstate);
40904 if (PyErr_Occurred()) SWIG_fail;
40905 }
40906 resultobj = SWIG_Py_Void();
40907 return resultobj;
40908fail:
40909 return NULL;
40910}
40911
40912
40913SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40914 PyObject *resultobj = 0;
40915 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40916 wxPoint *arg2 = 0 ;
40917 wxWindow *arg3 = (wxWindow *) 0 ;
40918 bool arg4 = (bool) false ;
40919 wxRect *arg5 = (wxRect *) NULL ;
40920 bool result;
40921 void *argp1 = 0 ;
40922 int res1 = 0 ;
40923 wxPoint temp2 ;
40924 void *argp3 = 0 ;
40925 int res3 = 0 ;
40926 bool val4 ;
40927 int ecode4 = 0 ;
40928 void *argp5 = 0 ;
40929 int res5 = 0 ;
40930 PyObject * obj0 = 0 ;
40931 PyObject * obj1 = 0 ;
40932 PyObject * obj2 = 0 ;
40933 PyObject * obj3 = 0 ;
40934 PyObject * obj4 = 0 ;
40935 char * kwnames[] = {
40936 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40937 };
40938
40939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40941 if (!SWIG_IsOK(res1)) {
40942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40943 }
40944 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40945 {
40946 arg2 = &temp2;
40947 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40948 }
40949 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40950 if (!SWIG_IsOK(res3)) {
40951 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40952 }
40953 arg3 = reinterpret_cast< wxWindow * >(argp3);
40954 if (obj3) {
40955 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40956 if (!SWIG_IsOK(ecode4)) {
40957 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40958 }
40959 arg4 = static_cast< bool >(val4);
40960 }
40961 if (obj4) {
40962 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40963 if (!SWIG_IsOK(res5)) {
40964 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d14a1e28 40965 }
0085ce49
RD
40966 arg5 = reinterpret_cast< wxRect * >(argp5);
40967 }
40968 {
40969 PyThreadState* __tstate = wxPyBeginAllowThreads();
40970 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40971 wxPyEndAllowThreads(__tstate);
40972 if (PyErr_Occurred()) SWIG_fail;
40973 }
40974 {
40975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40976 }
40977 return resultobj;
40978fail:
40979 return NULL;
40980}
40981
40982
40983SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40984 PyObject *resultobj = 0;
40985 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40986 wxPoint *arg2 = 0 ;
40987 wxWindow *arg3 = (wxWindow *) 0 ;
40988 wxWindow *arg4 = (wxWindow *) 0 ;
40989 bool result;
40990 void *argp1 = 0 ;
40991 int res1 = 0 ;
40992 wxPoint temp2 ;
40993 void *argp3 = 0 ;
40994 int res3 = 0 ;
40995 void *argp4 = 0 ;
40996 int res4 = 0 ;
40997 PyObject * obj0 = 0 ;
40998 PyObject * obj1 = 0 ;
40999 PyObject * obj2 = 0 ;
41000 PyObject * obj3 = 0 ;
41001 char * kwnames[] = {
41002 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41003 };
41004
41005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41007 if (!SWIG_IsOK(res1)) {
41008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41009 }
41010 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41011 {
41012 arg2 = &temp2;
41013 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41014 }
41015 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41016 if (!SWIG_IsOK(res3)) {
41017 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41018 }
41019 arg3 = reinterpret_cast< wxWindow * >(argp3);
41020 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41021 if (!SWIG_IsOK(res4)) {
41022 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41023 }
41024 arg4 = reinterpret_cast< wxWindow * >(argp4);
41025 {
41026 PyThreadState* __tstate = wxPyBeginAllowThreads();
41027 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41028 wxPyEndAllowThreads(__tstate);
41029 if (PyErr_Occurred()) SWIG_fail;
41030 }
41031 {
41032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41033 }
41034 return resultobj;
41035fail:
41036 return NULL;
d14a1e28
RD
41037}
41038
41039
0085ce49
RD
41040SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41041 PyObject *resultobj = 0;
41042 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41043 bool result;
41044 void *argp1 = 0 ;
41045 int res1 = 0 ;
41046 PyObject *swig_obj[1] ;
41047
41048 if (!args) SWIG_fail;
41049 swig_obj[0] = args;
41050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41051 if (!SWIG_IsOK(res1)) {
41052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41053 }
41054 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41055 {
41056 PyThreadState* __tstate = wxPyBeginAllowThreads();
41057 result = (bool)(arg1)->EndDrag();
41058 wxPyEndAllowThreads(__tstate);
41059 if (PyErr_Occurred()) SWIG_fail;
41060 }
41061 {
41062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41063 }
41064 return resultobj;
41065fail:
41066 return NULL;
41067}
41068
41069
41070SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41071 PyObject *resultobj = 0;
41072 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41073 wxPoint *arg2 = 0 ;
41074 bool result;
41075 void *argp1 = 0 ;
41076 int res1 = 0 ;
41077 wxPoint temp2 ;
41078 PyObject * obj0 = 0 ;
41079 PyObject * obj1 = 0 ;
41080 char * kwnames[] = {
41081 (char *) "self",(char *) "pt", NULL
41082 };
41083
41084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41086 if (!SWIG_IsOK(res1)) {
41087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41088 }
41089 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41090 {
41091 arg2 = &temp2;
41092 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41093 }
41094 {
41095 PyThreadState* __tstate = wxPyBeginAllowThreads();
41096 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41097 wxPyEndAllowThreads(__tstate);
41098 if (PyErr_Occurred()) SWIG_fail;
41099 }
41100 {
41101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41102 }
41103 return resultobj;
41104fail:
41105 return NULL;
d14a1e28
RD
41106}
41107
41108
0085ce49
RD
41109SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41110 PyObject *resultobj = 0;
41111 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41112 bool result;
41113 void *argp1 = 0 ;
41114 int res1 = 0 ;
41115 PyObject *swig_obj[1] ;
41116
41117 if (!args) SWIG_fail;
41118 swig_obj[0] = args;
41119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41120 if (!SWIG_IsOK(res1)) {
41121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41122 }
41123 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41124 {
41125 PyThreadState* __tstate = wxPyBeginAllowThreads();
41126 result = (bool)(arg1)->Show();
41127 wxPyEndAllowThreads(__tstate);
41128 if (PyErr_Occurred()) SWIG_fail;
41129 }
41130 {
41131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41132 }
41133 return resultobj;
41134fail:
41135 return NULL;
d14a1e28
RD
41136}
41137
41138
0085ce49
RD
41139SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41140 PyObject *resultobj = 0;
41141 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41142 bool result;
41143 void *argp1 = 0 ;
41144 int res1 = 0 ;
41145 PyObject *swig_obj[1] ;
41146
41147 if (!args) SWIG_fail;
41148 swig_obj[0] = args;
41149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41150 if (!SWIG_IsOK(res1)) {
41151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41152 }
41153 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41154 {
41155 PyThreadState* __tstate = wxPyBeginAllowThreads();
41156 result = (bool)(arg1)->Hide();
41157 wxPyEndAllowThreads(__tstate);
41158 if (PyErr_Occurred()) SWIG_fail;
41159 }
41160 {
41161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41162 }
41163 return resultobj;
41164fail:
41165 return NULL;
41166}
41167
41168
41169SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41170 PyObject *resultobj = 0;
41171 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41172 wxPoint *arg2 = 0 ;
41173 wxRect result;
41174 void *argp1 = 0 ;
41175 int res1 = 0 ;
41176 wxPoint temp2 ;
41177 PyObject * obj0 = 0 ;
41178 PyObject * obj1 = 0 ;
41179 char * kwnames[] = {
41180 (char *) "self",(char *) "pos", NULL
41181 };
41182
41183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41185 if (!SWIG_IsOK(res1)) {
41186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41187 }
41188 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41189 {
41190 arg2 = &temp2;
41191 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41192 }
41193 {
41194 PyThreadState* __tstate = wxPyBeginAllowThreads();
41195 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41196 wxPyEndAllowThreads(__tstate);
41197 if (PyErr_Occurred()) SWIG_fail;
41198 }
41199 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41200 return resultobj;
41201fail:
41202 return NULL;
41203}
41204
41205
41206SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41207 PyObject *resultobj = 0;
41208 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41209 wxDC *arg2 = 0 ;
41210 wxPoint *arg3 = 0 ;
41211 bool result;
41212 void *argp1 = 0 ;
41213 int res1 = 0 ;
41214 void *argp2 = 0 ;
41215 int res2 = 0 ;
41216 wxPoint temp3 ;
41217 PyObject * obj0 = 0 ;
41218 PyObject * obj1 = 0 ;
41219 PyObject * obj2 = 0 ;
41220 char * kwnames[] = {
41221 (char *) "self",(char *) "dc",(char *) "pos", NULL
41222 };
41223
41224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41226 if (!SWIG_IsOK(res1)) {
41227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41228 }
41229 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41231 if (!SWIG_IsOK(res2)) {
41232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41233 }
41234 if (!argp2) {
41235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41236 }
41237 arg2 = reinterpret_cast< wxDC * >(argp2);
41238 {
41239 arg3 = &temp3;
41240 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41241 }
41242 {
41243 PyThreadState* __tstate = wxPyBeginAllowThreads();
41244 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41245 wxPyEndAllowThreads(__tstate);
41246 if (PyErr_Occurred()) SWIG_fail;
41247 }
41248 {
41249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41250 }
41251 return resultobj;
41252fail:
41253 return NULL;
41254}
41255
41256
41257SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41258 PyObject *resultobj = 0;
41259 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41260 wxDC *arg2 = 0 ;
41261 wxMemoryDC *arg3 = 0 ;
41262 wxRect *arg4 = 0 ;
41263 wxRect *arg5 = 0 ;
41264 bool result;
41265 void *argp1 = 0 ;
41266 int res1 = 0 ;
41267 void *argp2 = 0 ;
41268 int res2 = 0 ;
41269 void *argp3 = 0 ;
41270 int res3 = 0 ;
41271 wxRect temp4 ;
41272 wxRect temp5 ;
41273 PyObject * obj0 = 0 ;
41274 PyObject * obj1 = 0 ;
41275 PyObject * obj2 = 0 ;
41276 PyObject * obj3 = 0 ;
41277 PyObject * obj4 = 0 ;
41278 char * kwnames[] = {
41279 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41280 };
41281
41282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41284 if (!SWIG_IsOK(res1)) {
41285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41286 }
41287 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41288 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41289 if (!SWIG_IsOK(res2)) {
41290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41291 }
41292 if (!argp2) {
41293 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41294 }
41295 arg2 = reinterpret_cast< wxDC * >(argp2);
41296 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41297 if (!SWIG_IsOK(res3)) {
41298 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41299 }
41300 if (!argp3) {
41301 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41302 }
41303 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41304 {
41305 arg4 = &temp4;
41306 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41307 }
41308 {
41309 arg5 = &temp5;
41310 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41311 }
41312 {
41313 PyThreadState* __tstate = wxPyBeginAllowThreads();
41314 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41315 wxPyEndAllowThreads(__tstate);
41316 if (PyErr_Occurred()) SWIG_fail;
41317 }
41318 {
41319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41320 }
41321 return resultobj;
41322fail:
41323 return NULL;
41324}
41325
41326
41327SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41328 PyObject *resultobj = 0;
41329 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41330 wxPoint *arg2 = 0 ;
41331 wxPoint *arg3 = 0 ;
41332 bool arg4 ;
41333 bool arg5 ;
41334 bool result;
41335 void *argp1 = 0 ;
41336 int res1 = 0 ;
41337 wxPoint temp2 ;
41338 wxPoint temp3 ;
41339 bool val4 ;
41340 int ecode4 = 0 ;
41341 bool val5 ;
41342 int ecode5 = 0 ;
41343 PyObject * obj0 = 0 ;
41344 PyObject * obj1 = 0 ;
41345 PyObject * obj2 = 0 ;
41346 PyObject * obj3 = 0 ;
41347 PyObject * obj4 = 0 ;
41348 char * kwnames[] = {
41349 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41350 };
41351
41352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41354 if (!SWIG_IsOK(res1)) {
41355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41356 }
41357 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41358 {
41359 arg2 = &temp2;
41360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41361 }
41362 {
41363 arg3 = &temp3;
41364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41365 }
41366 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41367 if (!SWIG_IsOK(ecode4)) {
41368 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41369 }
41370 arg4 = static_cast< bool >(val4);
41371 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41372 if (!SWIG_IsOK(ecode5)) {
41373 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41374 }
41375 arg5 = static_cast< bool >(val5);
41376 {
41377 PyThreadState* __tstate = wxPyBeginAllowThreads();
41378 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41379 wxPyEndAllowThreads(__tstate);
41380 if (PyErr_Occurred()) SWIG_fail;
41381 }
41382 {
41383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41384 }
41385 return resultobj;
41386fail:
41387 return NULL;
d14a1e28
RD
41388}
41389
41390
0085ce49
RD
41391SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41392 PyObject *obj;
41393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41394 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41395 return SWIG_Py_Void();
d14a1e28
RD
41396}
41397
0085ce49
RD
41398SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41399 return SWIG_Python_InitShadowInstance(args);
41400}
d14a1e28 41401
0085ce49
RD
41402SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41403 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41404 return 1;
d14a1e28
RD
41405}
41406
41407
0085ce49
RD
41408SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41409 PyObject *pyobj = 0;
41410
41411 {
41412#if wxUSE_UNICODE
41413 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41414#else
41415 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41416#endif
41417 }
41418 return pyobj;
41419}
41420
41421
41422SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41423 PyObject *resultobj = 0;
41424 wxWindow *arg1 = (wxWindow *) 0 ;
41425 int arg2 = (int) -1 ;
41426 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41427 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41430 wxSize const &arg5_defvalue = wxDefaultSize ;
41431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41432 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41433 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41434 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41435 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41436 wxString *arg8 = (wxString *) &arg8_defvalue ;
41437 wxDatePickerCtrl *result = 0 ;
41438 void *argp1 = 0 ;
41439 int res1 = 0 ;
41440 int val2 ;
41441 int ecode2 = 0 ;
41442 void *argp3 = 0 ;
41443 int res3 = 0 ;
41444 wxPoint temp4 ;
41445 wxSize temp5 ;
41446 long val6 ;
41447 int ecode6 = 0 ;
41448 void *argp7 = 0 ;
41449 int res7 = 0 ;
41450 bool temp8 = false ;
41451 PyObject * obj0 = 0 ;
41452 PyObject * obj1 = 0 ;
41453 PyObject * obj2 = 0 ;
41454 PyObject * obj3 = 0 ;
41455 PyObject * obj4 = 0 ;
41456 PyObject * obj5 = 0 ;
41457 PyObject * obj6 = 0 ;
41458 PyObject * obj7 = 0 ;
41459 char * kwnames[] = {
41460 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41461 };
41462
41463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41465 if (!SWIG_IsOK(res1)) {
41466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41467 }
41468 arg1 = reinterpret_cast< wxWindow * >(argp1);
41469 if (obj1) {
41470 ecode2 = SWIG_AsVal_int(obj1, &val2);
41471 if (!SWIG_IsOK(ecode2)) {
41472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41473 }
41474 arg2 = static_cast< int >(val2);
41475 }
41476 if (obj2) {
41477 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41478 if (!SWIG_IsOK(res3)) {
41479 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d14a1e28 41480 }
0085ce49
RD
41481 if (!argp3) {
41482 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d14a1e28 41483 }
0085ce49
RD
41484 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41485 }
41486 if (obj3) {
d14a1e28 41487 {
0085ce49
RD
41488 arg4 = &temp4;
41489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 41490 }
0085ce49
RD
41491 }
41492 if (obj4) {
d14a1e28 41493 {
0085ce49
RD
41494 arg5 = &temp5;
41495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 41496 }
0085ce49
RD
41497 }
41498 if (obj5) {
41499 ecode6 = SWIG_AsVal_long(obj5, &val6);
41500 if (!SWIG_IsOK(ecode6)) {
41501 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41502 }
41503 arg6 = static_cast< long >(val6);
41504 }
41505 if (obj6) {
41506 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41507 if (!SWIG_IsOK(res7)) {
41508 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41509 }
41510 if (!argp7) {
41511 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 41512 }
0085ce49
RD
41513 arg7 = reinterpret_cast< wxValidator * >(argp7);
41514 }
41515 if (obj7) {
d14a1e28 41516 {
0085ce49
RD
41517 arg8 = wxString_in_helper(obj7);
41518 if (arg8 == NULL) SWIG_fail;
41519 temp8 = true;
d14a1e28 41520 }
0085ce49
RD
41521 }
41522 {
41523 if (!wxPyCheckForApp()) SWIG_fail;
41524 PyThreadState* __tstate = wxPyBeginAllowThreads();
41525 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41526 wxPyEndAllowThreads(__tstate);
41527 if (PyErr_Occurred()) SWIG_fail;
41528 }
41529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41530 {
41531 if (temp8)
41532 delete arg8;
41533 }
41534 return resultobj;
41535fail:
41536 {
41537 if (temp8)
41538 delete arg8;
41539 }
41540 return NULL;
d14a1e28
RD
41541}
41542
41543
0085ce49
RD
41544SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41545 PyObject *resultobj = 0;
41546 wxDatePickerCtrl *result = 0 ;
41547
41548 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41549 {
41550 if (!wxPyCheckForApp()) SWIG_fail;
41551 PyThreadState* __tstate = wxPyBeginAllowThreads();
41552 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41553 wxPyEndAllowThreads(__tstate);
41554 if (PyErr_Occurred()) SWIG_fail;
41555 }
41556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41557 return resultobj;
41558fail:
41559 return NULL;
41560}
41561
41562
41563SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41564 PyObject *resultobj = 0;
41565 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41566 wxWindow *arg2 = (wxWindow *) 0 ;
41567 int arg3 = (int) -1 ;
41568 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41569 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41570 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41571 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41572 wxSize const &arg6_defvalue = wxDefaultSize ;
41573 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41574 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41575 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41576 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41577 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41578 wxString *arg9 = (wxString *) &arg9_defvalue ;
41579 bool result;
41580 void *argp1 = 0 ;
41581 int res1 = 0 ;
41582 void *argp2 = 0 ;
41583 int res2 = 0 ;
41584 int val3 ;
41585 int ecode3 = 0 ;
41586 void *argp4 = 0 ;
41587 int res4 = 0 ;
41588 wxPoint temp5 ;
41589 wxSize temp6 ;
41590 long val7 ;
41591 int ecode7 = 0 ;
41592 void *argp8 = 0 ;
41593 int res8 = 0 ;
41594 bool temp9 = false ;
41595 PyObject * obj0 = 0 ;
41596 PyObject * obj1 = 0 ;
41597 PyObject * obj2 = 0 ;
41598 PyObject * obj3 = 0 ;
41599 PyObject * obj4 = 0 ;
41600 PyObject * obj5 = 0 ;
41601 PyObject * obj6 = 0 ;
41602 PyObject * obj7 = 0 ;
41603 PyObject * obj8 = 0 ;
41604 char * kwnames[] = {
41605 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41606 };
41607
41608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41610 if (!SWIG_IsOK(res1)) {
41611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41612 }
41613 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41615 if (!SWIG_IsOK(res2)) {
41616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41617 }
41618 arg2 = reinterpret_cast< wxWindow * >(argp2);
41619 if (obj2) {
41620 ecode3 = SWIG_AsVal_int(obj2, &val3);
41621 if (!SWIG_IsOK(ecode3)) {
41622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41623 }
41624 arg3 = static_cast< int >(val3);
41625 }
41626 if (obj3) {
41627 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41628 if (!SWIG_IsOK(res4)) {
41629 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
7e08d4ef 41630 }
0085ce49
RD
41631 if (!argp4) {
41632 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
7e08d4ef 41633 }
0085ce49
RD
41634 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41635 }
41636 if (obj4) {
d14a1e28 41637 {
0085ce49
RD
41638 arg5 = &temp5;
41639 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 41640 }
0085ce49
RD
41641 }
41642 if (obj5) {
d14a1e28 41643 {
0085ce49
RD
41644 arg6 = &temp6;
41645 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41646 }
41647 }
41648 if (obj6) {
41649 ecode7 = SWIG_AsVal_long(obj6, &val7);
41650 if (!SWIG_IsOK(ecode7)) {
41651 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41652 }
41653 arg7 = static_cast< long >(val7);
41654 }
41655 if (obj7) {
41656 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41657 if (!SWIG_IsOK(res8)) {
41658 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41659 }
41660 if (!argp8) {
41661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 41662 }
0085ce49
RD
41663 arg8 = reinterpret_cast< wxValidator * >(argp8);
41664 }
41665 if (obj8) {
d14a1e28 41666 {
0085ce49
RD
41667 arg9 = wxString_in_helper(obj8);
41668 if (arg9 == NULL) SWIG_fail;
41669 temp9 = true;
d14a1e28 41670 }
0085ce49
RD
41671 }
41672 {
41673 PyThreadState* __tstate = wxPyBeginAllowThreads();
41674 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41675 wxPyEndAllowThreads(__tstate);
41676 if (PyErr_Occurred()) SWIG_fail;
41677 }
41678 {
41679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41680 }
41681 {
41682 if (temp9)
41683 delete arg9;
41684 }
41685 return resultobj;
41686fail:
41687 {
41688 if (temp9)
41689 delete arg9;
41690 }
41691 return NULL;
41692}
41693
41694
41695SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41696 PyObject *resultobj = 0;
41697 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41698 wxDateTime *arg2 = 0 ;
41699 void *argp1 = 0 ;
41700 int res1 = 0 ;
41701 void *argp2 = 0 ;
41702 int res2 = 0 ;
41703 PyObject * obj0 = 0 ;
41704 PyObject * obj1 = 0 ;
41705 char * kwnames[] = {
41706 (char *) "self",(char *) "dt", NULL
41707 };
41708
41709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41711 if (!SWIG_IsOK(res1)) {
41712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41713 }
41714 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41715 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41716 if (!SWIG_IsOK(res2)) {
41717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41718 }
41719 if (!argp2) {
41720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41721 }
41722 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41723 {
41724 PyThreadState* __tstate = wxPyBeginAllowThreads();
41725 (arg1)->SetValue((wxDateTime const &)*arg2);
41726 wxPyEndAllowThreads(__tstate);
41727 if (PyErr_Occurred()) SWIG_fail;
41728 }
41729 resultobj = SWIG_Py_Void();
41730 return resultobj;
41731fail:
41732 return NULL;
d14a1e28
RD
41733}
41734
41735
0085ce49
RD
41736SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41737 PyObject *resultobj = 0;
41738 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41739 wxDateTime result;
41740 void *argp1 = 0 ;
41741 int res1 = 0 ;
41742 PyObject *swig_obj[1] ;
41743
41744 if (!args) SWIG_fail;
41745 swig_obj[0] = args;
41746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41747 if (!SWIG_IsOK(res1)) {
41748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41749 }
41750 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41751 {
41752 PyThreadState* __tstate = wxPyBeginAllowThreads();
41753 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41754 wxPyEndAllowThreads(__tstate);
41755 if (PyErr_Occurred()) SWIG_fail;
41756 }
41757 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41758 return resultobj;
41759fail:
41760 return NULL;
41761}
41762
41763
41764SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41765 PyObject *resultobj = 0;
41766 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41767 wxDateTime *arg2 = 0 ;
41768 wxDateTime *arg3 = 0 ;
41769 void *argp1 = 0 ;
41770 int res1 = 0 ;
41771 void *argp2 = 0 ;
41772 int res2 = 0 ;
41773 void *argp3 = 0 ;
41774 int res3 = 0 ;
41775 PyObject * obj0 = 0 ;
41776 PyObject * obj1 = 0 ;
41777 PyObject * obj2 = 0 ;
41778 char * kwnames[] = {
41779 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41780 };
41781
41782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41784 if (!SWIG_IsOK(res1)) {
41785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41786 }
41787 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41788 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41789 if (!SWIG_IsOK(res2)) {
41790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41791 }
41792 if (!argp2) {
41793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41794 }
41795 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41796 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41797 if (!SWIG_IsOK(res3)) {
41798 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41799 }
41800 if (!argp3) {
41801 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41802 }
41803 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41804 {
41805 PyThreadState* __tstate = wxPyBeginAllowThreads();
41806 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41807 wxPyEndAllowThreads(__tstate);
41808 if (PyErr_Occurred()) SWIG_fail;
41809 }
41810 resultobj = SWIG_Py_Void();
41811 return resultobj;
41812fail:
41813 return NULL;
d14a1e28
RD
41814}
41815
41816
0085ce49
RD
41817SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41818 PyObject *resultobj = 0;
41819 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41820 wxDateTime result;
41821 void *argp1 = 0 ;
41822 int res1 = 0 ;
41823 PyObject *swig_obj[1] ;
41824
41825 if (!args) SWIG_fail;
41826 swig_obj[0] = args;
41827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41828 if (!SWIG_IsOK(res1)) {
41829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41830 }
41831 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41832 {
41833 PyThreadState* __tstate = wxPyBeginAllowThreads();
41834 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41835 wxPyEndAllowThreads(__tstate);
41836 if (PyErr_Occurred()) SWIG_fail;
41837 }
41838 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41839 return resultobj;
41840fail:
41841 return NULL;
d14a1e28
RD
41842}
41843
41844
0085ce49
RD
41845SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41846 PyObject *resultobj = 0;
41847 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41848 wxDateTime result;
41849 void *argp1 = 0 ;
41850 int res1 = 0 ;
41851 PyObject *swig_obj[1] ;
41852
41853 if (!args) SWIG_fail;
41854 swig_obj[0] = args;
41855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41856 if (!SWIG_IsOK(res1)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41858 }
41859 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41860 {
41861 PyThreadState* __tstate = wxPyBeginAllowThreads();
41862 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41863 wxPyEndAllowThreads(__tstate);
41864 if (PyErr_Occurred()) SWIG_fail;
41865 }
41866 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41867 return resultobj;
41868fail:
41869 return NULL;
d14a1e28
RD
41870}
41871
41872
0085ce49
RD
41873SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41874 PyObject *obj;
41875 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41876 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41877 return SWIG_Py_Void();
d14a1e28
RD
41878}
41879
0085ce49
RD
41880SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41881 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
41882}
41883
704eda0c
RD
41884SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41885 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41886 return 1;
41887}
41888
41889
41890SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41891 PyObject *pyobj = 0;
41892
41893 {
41894#if wxUSE_UNICODE
41895 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41896#else
41897 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41898#endif
41899 }
41900 return pyobj;
41901}
41902
41903
41904SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41905 PyObject *resultobj = 0;
41906 wxWindow *arg1 = (wxWindow *) 0 ;
41907 int arg2 ;
41908 wxString *arg3 = 0 ;
41909 wxString *arg4 = 0 ;
41910 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41911 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41912 wxSize const &arg6_defvalue = wxDefaultSize ;
41913 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41914 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41915 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41916 wxString *arg8 = (wxString *) &arg8_defvalue ;
41917 wxHyperlinkCtrl *result = 0 ;
41918 void *argp1 = 0 ;
41919 int res1 = 0 ;
41920 int val2 ;
41921 int ecode2 = 0 ;
41922 bool temp3 = false ;
41923 bool temp4 = false ;
41924 wxPoint temp5 ;
41925 wxSize temp6 ;
41926 long val7 ;
41927 int ecode7 = 0 ;
41928 bool temp8 = false ;
41929 PyObject * obj0 = 0 ;
41930 PyObject * obj1 = 0 ;
41931 PyObject * obj2 = 0 ;
41932 PyObject * obj3 = 0 ;
41933 PyObject * obj4 = 0 ;
41934 PyObject * obj5 = 0 ;
41935 PyObject * obj6 = 0 ;
41936 PyObject * obj7 = 0 ;
41937 char * kwnames[] = {
41938 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41939 };
41940
41941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41943 if (!SWIG_IsOK(res1)) {
41944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41945 }
41946 arg1 = reinterpret_cast< wxWindow * >(argp1);
41947 ecode2 = SWIG_AsVal_int(obj1, &val2);
41948 if (!SWIG_IsOK(ecode2)) {
41949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41950 }
41951 arg2 = static_cast< int >(val2);
41952 {
41953 arg3 = wxString_in_helper(obj2);
41954 if (arg3 == NULL) SWIG_fail;
41955 temp3 = true;
41956 }
41957 {
41958 arg4 = wxString_in_helper(obj3);
41959 if (arg4 == NULL) SWIG_fail;
41960 temp4 = true;
41961 }
41962 if (obj4) {
41963 {
41964 arg5 = &temp5;
41965 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41966 }
41967 }
41968 if (obj5) {
41969 {
41970 arg6 = &temp6;
41971 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41972 }
41973 }
41974 if (obj6) {
41975 ecode7 = SWIG_AsVal_long(obj6, &val7);
41976 if (!SWIG_IsOK(ecode7)) {
41977 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41978 }
41979 arg7 = static_cast< long >(val7);
41980 }
41981 if (obj7) {
41982 {
41983 arg8 = wxString_in_helper(obj7);
41984 if (arg8 == NULL) SWIG_fail;
41985 temp8 = true;
41986 }
41987 }
41988 {
41989 if (!wxPyCheckForApp()) SWIG_fail;
41990 PyThreadState* __tstate = wxPyBeginAllowThreads();
41991 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41992 wxPyEndAllowThreads(__tstate);
41993 if (PyErr_Occurred()) SWIG_fail;
41994 }
41995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41996 {
41997 if (temp3)
41998 delete arg3;
41999 }
42000 {
42001 if (temp4)
42002 delete arg4;
42003 }
42004 {
42005 if (temp8)
42006 delete arg8;
42007 }
42008 return resultobj;
42009fail:
42010 {
42011 if (temp3)
42012 delete arg3;
42013 }
42014 {
42015 if (temp4)
42016 delete arg4;
42017 }
42018 {
42019 if (temp8)
42020 delete arg8;
42021 }
42022 return NULL;
42023}
42024
42025
42026SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42027 PyObject *resultobj = 0;
42028 wxHyperlinkCtrl *result = 0 ;
42029
42030 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42031 {
42032 if (!wxPyCheckForApp()) SWIG_fail;
42033 PyThreadState* __tstate = wxPyBeginAllowThreads();
42034 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42035 wxPyEndAllowThreads(__tstate);
42036 if (PyErr_Occurred()) SWIG_fail;
42037 }
42038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42039 return resultobj;
42040fail:
42041 return NULL;
42042}
42043
42044
42045SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42046 PyObject *resultobj = 0;
42047 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42048 wxWindow *arg2 = (wxWindow *) 0 ;
42049 int arg3 ;
42050 wxString *arg4 = 0 ;
42051 wxString *arg5 = 0 ;
42052 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42053 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42054 wxSize const &arg7_defvalue = wxDefaultSize ;
42055 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42056 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42057 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42058 wxString *arg9 = (wxString *) &arg9_defvalue ;
42059 bool result;
42060 void *argp1 = 0 ;
42061 int res1 = 0 ;
42062 void *argp2 = 0 ;
42063 int res2 = 0 ;
42064 int val3 ;
42065 int ecode3 = 0 ;
42066 bool temp4 = false ;
42067 bool temp5 = false ;
42068 wxPoint temp6 ;
42069 wxSize temp7 ;
42070 long val8 ;
42071 int ecode8 = 0 ;
42072 bool temp9 = false ;
42073 PyObject * obj0 = 0 ;
42074 PyObject * obj1 = 0 ;
42075 PyObject * obj2 = 0 ;
42076 PyObject * obj3 = 0 ;
42077 PyObject * obj4 = 0 ;
42078 PyObject * obj5 = 0 ;
42079 PyObject * obj6 = 0 ;
42080 PyObject * obj7 = 0 ;
42081 PyObject * obj8 = 0 ;
42082 char * kwnames[] = {
42083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42084 };
42085
42086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42088 if (!SWIG_IsOK(res1)) {
42089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42090 }
42091 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42093 if (!SWIG_IsOK(res2)) {
42094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42095 }
42096 arg2 = reinterpret_cast< wxWindow * >(argp2);
42097 ecode3 = SWIG_AsVal_int(obj2, &val3);
42098 if (!SWIG_IsOK(ecode3)) {
42099 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42100 }
42101 arg3 = static_cast< int >(val3);
42102 {
42103 arg4 = wxString_in_helper(obj3);
42104 if (arg4 == NULL) SWIG_fail;
42105 temp4 = true;
42106 }
42107 {
42108 arg5 = wxString_in_helper(obj4);
42109 if (arg5 == NULL) SWIG_fail;
42110 temp5 = true;
42111 }
42112 if (obj5) {
42113 {
42114 arg6 = &temp6;
42115 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42116 }
42117 }
42118 if (obj6) {
42119 {
42120 arg7 = &temp7;
42121 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42122 }
42123 }
42124 if (obj7) {
42125 ecode8 = SWIG_AsVal_long(obj7, &val8);
42126 if (!SWIG_IsOK(ecode8)) {
42127 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42128 }
42129 arg8 = static_cast< long >(val8);
42130 }
42131 if (obj8) {
42132 {
42133 arg9 = wxString_in_helper(obj8);
42134 if (arg9 == NULL) SWIG_fail;
42135 temp9 = true;
42136 }
42137 }
42138 {
42139 PyThreadState* __tstate = wxPyBeginAllowThreads();
42140 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42141 wxPyEndAllowThreads(__tstate);
42142 if (PyErr_Occurred()) SWIG_fail;
42143 }
42144 {
42145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42146 }
42147 {
42148 if (temp4)
42149 delete arg4;
42150 }
42151 {
42152 if (temp5)
42153 delete arg5;
42154 }
42155 {
42156 if (temp9)
42157 delete arg9;
42158 }
42159 return resultobj;
42160fail:
42161 {
42162 if (temp4)
42163 delete arg4;
42164 }
42165 {
42166 if (temp5)
42167 delete arg5;
42168 }
42169 {
42170 if (temp9)
42171 delete arg9;
42172 }
42173 return NULL;
42174}
42175
42176
42177SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42178 PyObject *resultobj = 0;
42179 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42180 wxColour result;
42181 void *argp1 = 0 ;
42182 int res1 = 0 ;
42183 PyObject *swig_obj[1] ;
42184
42185 if (!args) SWIG_fail;
42186 swig_obj[0] = args;
42187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42188 if (!SWIG_IsOK(res1)) {
42189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42190 }
42191 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42192 {
42193 PyThreadState* __tstate = wxPyBeginAllowThreads();
42194 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42195 wxPyEndAllowThreads(__tstate);
42196 if (PyErr_Occurred()) SWIG_fail;
42197 }
42198 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42199 return resultobj;
42200fail:
42201 return NULL;
42202}
42203
42204
42205SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42206 PyObject *resultobj = 0;
42207 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42208 wxColour *arg2 = 0 ;
42209 void *argp1 = 0 ;
42210 int res1 = 0 ;
42211 wxColour temp2 ;
42212 PyObject * obj0 = 0 ;
42213 PyObject * obj1 = 0 ;
42214 char * kwnames[] = {
42215 (char *) "self",(char *) "colour", NULL
42216 };
42217
42218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42220 if (!SWIG_IsOK(res1)) {
42221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42222 }
42223 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42224 {
42225 arg2 = &temp2;
42226 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42227 }
42228 {
42229 PyThreadState* __tstate = wxPyBeginAllowThreads();
42230 (arg1)->SetHoverColour((wxColour const &)*arg2);
42231 wxPyEndAllowThreads(__tstate);
42232 if (PyErr_Occurred()) SWIG_fail;
42233 }
42234 resultobj = SWIG_Py_Void();
42235 return resultobj;
42236fail:
42237 return NULL;
42238}
42239
42240
42241SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42242 PyObject *resultobj = 0;
42243 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42244 wxColour result;
42245 void *argp1 = 0 ;
42246 int res1 = 0 ;
42247 PyObject *swig_obj[1] ;
42248
42249 if (!args) SWIG_fail;
42250 swig_obj[0] = args;
42251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42252 if (!SWIG_IsOK(res1)) {
42253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42254 }
42255 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42256 {
42257 PyThreadState* __tstate = wxPyBeginAllowThreads();
42258 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42259 wxPyEndAllowThreads(__tstate);
42260 if (PyErr_Occurred()) SWIG_fail;
42261 }
42262 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42263 return resultobj;
42264fail:
42265 return NULL;
42266}
42267
42268
42269SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42270 PyObject *resultobj = 0;
42271 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42272 wxColour *arg2 = 0 ;
42273 void *argp1 = 0 ;
42274 int res1 = 0 ;
42275 wxColour temp2 ;
42276 PyObject * obj0 = 0 ;
42277 PyObject * obj1 = 0 ;
42278 char * kwnames[] = {
42279 (char *) "self",(char *) "colour", NULL
42280 };
42281
42282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42284 if (!SWIG_IsOK(res1)) {
42285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42286 }
42287 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42288 {
42289 arg2 = &temp2;
42290 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42291 }
42292 {
42293 PyThreadState* __tstate = wxPyBeginAllowThreads();
42294 (arg1)->SetNormalColour((wxColour const &)*arg2);
42295 wxPyEndAllowThreads(__tstate);
42296 if (PyErr_Occurred()) SWIG_fail;
42297 }
42298 resultobj = SWIG_Py_Void();
42299 return resultobj;
42300fail:
42301 return NULL;
42302}
42303
42304
42305SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42306 PyObject *resultobj = 0;
42307 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42308 wxColour result;
42309 void *argp1 = 0 ;
42310 int res1 = 0 ;
42311 PyObject *swig_obj[1] ;
42312
42313 if (!args) SWIG_fail;
42314 swig_obj[0] = args;
42315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42316 if (!SWIG_IsOK(res1)) {
42317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42318 }
42319 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42320 {
42321 PyThreadState* __tstate = wxPyBeginAllowThreads();
42322 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42323 wxPyEndAllowThreads(__tstate);
42324 if (PyErr_Occurred()) SWIG_fail;
42325 }
42326 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42327 return resultobj;
42328fail:
42329 return NULL;
42330}
42331
42332
42333SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42334 PyObject *resultobj = 0;
42335 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42336 wxColour *arg2 = 0 ;
42337 void *argp1 = 0 ;
42338 int res1 = 0 ;
42339 wxColour temp2 ;
42340 PyObject * obj0 = 0 ;
42341 PyObject * obj1 = 0 ;
42342 char * kwnames[] = {
42343 (char *) "self",(char *) "colour", NULL
42344 };
42345
42346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42348 if (!SWIG_IsOK(res1)) {
42349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42350 }
42351 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42352 {
42353 arg2 = &temp2;
42354 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42355 }
42356 {
42357 PyThreadState* __tstate = wxPyBeginAllowThreads();
42358 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42359 wxPyEndAllowThreads(__tstate);
42360 if (PyErr_Occurred()) SWIG_fail;
42361 }
42362 resultobj = SWIG_Py_Void();
42363 return resultobj;
42364fail:
42365 return NULL;
42366}
42367
42368
42369SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42370 PyObject *resultobj = 0;
42371 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42372 wxString result;
42373 void *argp1 = 0 ;
42374 int res1 = 0 ;
42375 PyObject *swig_obj[1] ;
42376
42377 if (!args) SWIG_fail;
42378 swig_obj[0] = args;
42379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42380 if (!SWIG_IsOK(res1)) {
42381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42382 }
42383 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42384 {
42385 PyThreadState* __tstate = wxPyBeginAllowThreads();
42386 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42387 wxPyEndAllowThreads(__tstate);
42388 if (PyErr_Occurred()) SWIG_fail;
42389 }
42390 {
42391#if wxUSE_UNICODE
42392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42393#else
42394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42395#endif
42396 }
42397 return resultobj;
42398fail:
42399 return NULL;
42400}
42401
42402
42403SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42404 PyObject *resultobj = 0;
42405 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42406 wxString *arg2 = 0 ;
42407 void *argp1 = 0 ;
42408 int res1 = 0 ;
42409 bool temp2 = false ;
42410 PyObject * obj0 = 0 ;
42411 PyObject * obj1 = 0 ;
42412 char * kwnames[] = {
42413 (char *) "self",(char *) "url", NULL
42414 };
42415
42416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42418 if (!SWIG_IsOK(res1)) {
42419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42420 }
42421 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42422 {
42423 arg2 = wxString_in_helper(obj1);
42424 if (arg2 == NULL) SWIG_fail;
42425 temp2 = true;
42426 }
42427 {
42428 PyThreadState* __tstate = wxPyBeginAllowThreads();
42429 (arg1)->SetURL((wxString const &)*arg2);
42430 wxPyEndAllowThreads(__tstate);
42431 if (PyErr_Occurred()) SWIG_fail;
42432 }
42433 resultobj = SWIG_Py_Void();
42434 {
42435 if (temp2)
42436 delete arg2;
42437 }
42438 return resultobj;
42439fail:
42440 {
42441 if (temp2)
42442 delete arg2;
42443 }
42444 return NULL;
42445}
42446
42447
42448SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42449 PyObject *resultobj = 0;
42450 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42451 bool arg2 = (bool) true ;
42452 void *argp1 = 0 ;
42453 int res1 = 0 ;
42454 bool val2 ;
42455 int ecode2 = 0 ;
42456 PyObject * obj0 = 0 ;
42457 PyObject * obj1 = 0 ;
42458 char * kwnames[] = {
42459 (char *) "self",(char *) "visited", NULL
42460 };
42461
42462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42464 if (!SWIG_IsOK(res1)) {
42465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42466 }
42467 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42468 if (obj1) {
42469 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42470 if (!SWIG_IsOK(ecode2)) {
42471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42472 }
42473 arg2 = static_cast< bool >(val2);
42474 }
42475 {
42476 PyThreadState* __tstate = wxPyBeginAllowThreads();
42477 (arg1)->SetVisited(arg2);
42478 wxPyEndAllowThreads(__tstate);
42479 if (PyErr_Occurred()) SWIG_fail;
42480 }
42481 resultobj = SWIG_Py_Void();
42482 return resultobj;
42483fail:
42484 return NULL;
42485}
42486
42487
42488SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42489 PyObject *resultobj = 0;
42490 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42491 bool result;
42492 void *argp1 = 0 ;
42493 int res1 = 0 ;
42494 PyObject *swig_obj[1] ;
42495
42496 if (!args) SWIG_fail;
42497 swig_obj[0] = args;
42498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42499 if (!SWIG_IsOK(res1)) {
42500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42501 }
42502 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42503 {
42504 PyThreadState* __tstate = wxPyBeginAllowThreads();
42505 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42506 wxPyEndAllowThreads(__tstate);
42507 if (PyErr_Occurred()) SWIG_fail;
42508 }
42509 {
42510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42511 }
42512 return resultobj;
42513fail:
42514 return NULL;
42515}
42516
42517
42518SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42519 PyObject *obj;
42520 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42521 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42522 return SWIG_Py_Void();
42523}
42524
42525SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42526 return SWIG_Python_InitShadowInstance(args);
42527}
42528
42529SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42530 PyObject *resultobj = 0;
42531 wxObject *arg1 = (wxObject *) 0 ;
42532 int arg2 ;
42533 wxString *arg3 = 0 ;
42534 wxHyperlinkEvent *result = 0 ;
42535 void *argp1 = 0 ;
42536 int res1 = 0 ;
42537 int val2 ;
42538 int ecode2 = 0 ;
42539 bool temp3 = false ;
42540 PyObject * obj0 = 0 ;
42541 PyObject * obj1 = 0 ;
42542 PyObject * obj2 = 0 ;
42543 char * kwnames[] = {
42544 (char *) "generator",(char *) "id",(char *) "url", NULL
42545 };
42546
42547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42549 if (!SWIG_IsOK(res1)) {
42550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42551 }
42552 arg1 = reinterpret_cast< wxObject * >(argp1);
42553 ecode2 = SWIG_AsVal_int(obj1, &val2);
42554 if (!SWIG_IsOK(ecode2)) {
42555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42556 }
42557 arg2 = static_cast< int >(val2);
42558 {
42559 arg3 = wxString_in_helper(obj2);
42560 if (arg3 == NULL) SWIG_fail;
42561 temp3 = true;
42562 }
42563 {
42564 PyThreadState* __tstate = wxPyBeginAllowThreads();
42565 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42566 wxPyEndAllowThreads(__tstate);
42567 if (PyErr_Occurred()) SWIG_fail;
42568 }
42569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42570 {
42571 if (temp3)
42572 delete arg3;
42573 }
42574 return resultobj;
42575fail:
42576 {
42577 if (temp3)
42578 delete arg3;
42579 }
42580 return NULL;
42581}
42582
42583
42584SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42585 PyObject *resultobj = 0;
42586 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42587 wxString result;
42588 void *argp1 = 0 ;
42589 int res1 = 0 ;
42590 PyObject *swig_obj[1] ;
42591
42592 if (!args) SWIG_fail;
42593 swig_obj[0] = args;
42594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42595 if (!SWIG_IsOK(res1)) {
42596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42597 }
42598 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42599 {
42600 PyThreadState* __tstate = wxPyBeginAllowThreads();
42601 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42602 wxPyEndAllowThreads(__tstate);
42603 if (PyErr_Occurred()) SWIG_fail;
42604 }
42605 {
42606#if wxUSE_UNICODE
42607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42608#else
42609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42610#endif
42611 }
42612 return resultobj;
42613fail:
42614 return NULL;
42615}
42616
42617
42618SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42619 PyObject *resultobj = 0;
42620 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42621 wxString *arg2 = 0 ;
42622 void *argp1 = 0 ;
42623 int res1 = 0 ;
42624 bool temp2 = false ;
42625 PyObject * obj0 = 0 ;
42626 PyObject * obj1 = 0 ;
42627 char * kwnames[] = {
42628 (char *) "self",(char *) "url", NULL
42629 };
42630
42631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42633 if (!SWIG_IsOK(res1)) {
42634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42635 }
42636 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42637 {
42638 arg2 = wxString_in_helper(obj1);
42639 if (arg2 == NULL) SWIG_fail;
42640 temp2 = true;
42641 }
42642 {
42643 PyThreadState* __tstate = wxPyBeginAllowThreads();
42644 (arg1)->SetURL((wxString const &)*arg2);
42645 wxPyEndAllowThreads(__tstate);
42646 if (PyErr_Occurred()) SWIG_fail;
42647 }
42648 resultobj = SWIG_Py_Void();
42649 {
42650 if (temp2)
42651 delete arg2;
42652 }
42653 return resultobj;
42654fail:
42655 {
42656 if (temp2)
42657 delete arg2;
42658 }
42659 return NULL;
42660}
42661
42662
42663SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42664 PyObject *obj;
42665 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42666 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42667 return SWIG_Py_Void();
42668}
42669
42670SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42671 return SWIG_Python_InitShadowInstance(args);
42672}
42673
b850e7f3
RD
42674SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42675 PyObject *resultobj = 0;
42676 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42677 wxWindow *arg2 = (wxWindow *) 0 ;
42678 int arg3 ;
42679 wxString const &arg4_defvalue = wxEmptyString ;
42680 wxString *arg4 = (wxString *) &arg4_defvalue ;
42681 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42682 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42683 wxSize const &arg6_defvalue = wxDefaultSize ;
42684 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42685 long arg7 = (long) 0 ;
42686 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42687 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42688 wxString const &arg9_defvalue = wxButtonNameStr ;
42689 wxString *arg9 = (wxString *) &arg9_defvalue ;
42690 bool result;
42691 void *argp1 = 0 ;
42692 int res1 = 0 ;
42693 void *argp2 = 0 ;
42694 int res2 = 0 ;
42695 int val3 ;
42696 int ecode3 = 0 ;
42697 bool temp4 = false ;
42698 wxPoint temp5 ;
42699 wxSize temp6 ;
42700 long val7 ;
42701 int ecode7 = 0 ;
42702 void *argp8 = 0 ;
42703 int res8 = 0 ;
42704 bool temp9 = false ;
42705 PyObject * obj0 = 0 ;
42706 PyObject * obj1 = 0 ;
42707 PyObject * obj2 = 0 ;
42708 PyObject * obj3 = 0 ;
42709 PyObject * obj4 = 0 ;
42710 PyObject * obj5 = 0 ;
42711 PyObject * obj6 = 0 ;
42712 PyObject * obj7 = 0 ;
42713 PyObject * obj8 = 0 ;
42714 char * kwnames[] = {
42715 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42716 };
42717
42718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42720 if (!SWIG_IsOK(res1)) {
42721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42722 }
42723 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42724 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42725 if (!SWIG_IsOK(res2)) {
42726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42727 }
42728 arg2 = reinterpret_cast< wxWindow * >(argp2);
42729 ecode3 = SWIG_AsVal_int(obj2, &val3);
42730 if (!SWIG_IsOK(ecode3)) {
42731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42732 }
42733 arg3 = static_cast< int >(val3);
42734 if (obj3) {
42735 {
42736 arg4 = wxString_in_helper(obj3);
42737 if (arg4 == NULL) SWIG_fail;
42738 temp4 = true;
42739 }
42740 }
42741 if (obj4) {
42742 {
42743 arg5 = &temp5;
42744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42745 }
42746 }
42747 if (obj5) {
42748 {
42749 arg6 = &temp6;
42750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42751 }
42752 }
42753 if (obj6) {
42754 ecode7 = SWIG_AsVal_long(obj6, &val7);
42755 if (!SWIG_IsOK(ecode7)) {
42756 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42757 }
42758 arg7 = static_cast< long >(val7);
42759 }
42760 if (obj7) {
42761 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42762 if (!SWIG_IsOK(res8)) {
42763 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42764 }
42765 if (!argp8) {
42766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42767 }
42768 arg8 = reinterpret_cast< wxValidator * >(argp8);
42769 }
42770 if (obj8) {
42771 {
42772 arg9 = wxString_in_helper(obj8);
42773 if (arg9 == NULL) SWIG_fail;
42774 temp9 = true;
42775 }
42776 }
42777 {
42778 PyThreadState* __tstate = wxPyBeginAllowThreads();
42779 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42780 wxPyEndAllowThreads(__tstate);
42781 if (PyErr_Occurred()) SWIG_fail;
42782 }
42783 {
42784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42785 }
42786 {
42787 if (temp4)
42788 delete arg4;
42789 }
42790 {
42791 if (temp9)
42792 delete arg9;
42793 }
42794 return resultobj;
42795fail:
42796 {
42797 if (temp4)
42798 delete arg4;
42799 }
42800 {
42801 if (temp9)
42802 delete arg9;
42803 }
42804 return NULL;
42805}
42806
42807
42808SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42809 PyObject *resultobj = 0;
42810 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42811 int arg2 ;
42812 void *argp1 = 0 ;
42813 int res1 = 0 ;
42814 int val2 ;
42815 int ecode2 = 0 ;
42816 PyObject * obj0 = 0 ;
42817 PyObject * obj1 = 0 ;
42818 char * kwnames[] = {
42819 (char *) "self",(char *) "newmargin", NULL
42820 };
42821
42822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42824 if (!SWIG_IsOK(res1)) {
42825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42826 }
42827 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42828 ecode2 = SWIG_AsVal_int(obj1, &val2);
42829 if (!SWIG_IsOK(ecode2)) {
42830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42831 }
42832 arg2 = static_cast< int >(val2);
42833 {
42834 PyThreadState* __tstate = wxPyBeginAllowThreads();
42835 (arg1)->SetInternalMargin(arg2);
42836 wxPyEndAllowThreads(__tstate);
42837 if (PyErr_Occurred()) SWIG_fail;
42838 }
42839 resultobj = SWIG_Py_Void();
42840 return resultobj;
42841fail:
42842 return NULL;
42843}
42844
42845
42846SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42847 PyObject *resultobj = 0;
42848 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42849 int result;
42850 void *argp1 = 0 ;
42851 int res1 = 0 ;
42852 PyObject *swig_obj[1] ;
42853
42854 if (!args) SWIG_fail;
42855 swig_obj[0] = args;
42856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42857 if (!SWIG_IsOK(res1)) {
42858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42859 }
42860 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42861 {
42862 PyThreadState* __tstate = wxPyBeginAllowThreads();
42863 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42864 wxPyEndAllowThreads(__tstate);
42865 if (PyErr_Occurred()) SWIG_fail;
42866 }
42867 resultobj = SWIG_From_int(static_cast< int >(result));
42868 return resultobj;
42869fail:
42870 return NULL;
42871}
42872
42873
42874SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42875 PyObject *resultobj = 0;
42876 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42877 int arg2 ;
42878 void *argp1 = 0 ;
42879 int res1 = 0 ;
42880 int val2 ;
42881 int ecode2 = 0 ;
42882 PyObject * obj0 = 0 ;
42883 PyObject * obj1 = 0 ;
42884 char * kwnames[] = {
42885 (char *) "self",(char *) "prop", NULL
42886 };
42887
42888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42890 if (!SWIG_IsOK(res1)) {
42891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42892 }
42893 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42894 ecode2 = SWIG_AsVal_int(obj1, &val2);
42895 if (!SWIG_IsOK(ecode2)) {
42896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42897 }
42898 arg2 = static_cast< int >(val2);
42899 {
42900 PyThreadState* __tstate = wxPyBeginAllowThreads();
42901 (arg1)->SetTextCtrlProportion(arg2);
42902 wxPyEndAllowThreads(__tstate);
42903 if (PyErr_Occurred()) SWIG_fail;
42904 }
42905 resultobj = SWIG_Py_Void();
42906 return resultobj;
42907fail:
42908 return NULL;
42909}
42910
42911
42912SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42913 PyObject *resultobj = 0;
42914 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42915 int result;
42916 void *argp1 = 0 ;
42917 int res1 = 0 ;
42918 PyObject *swig_obj[1] ;
42919
42920 if (!args) SWIG_fail;
42921 swig_obj[0] = args;
42922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42923 if (!SWIG_IsOK(res1)) {
42924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42925 }
42926 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42927 {
42928 PyThreadState* __tstate = wxPyBeginAllowThreads();
42929 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42930 wxPyEndAllowThreads(__tstate);
42931 if (PyErr_Occurred()) SWIG_fail;
42932 }
42933 resultobj = SWIG_From_int(static_cast< int >(result));
42934 return resultobj;
42935fail:
42936 return NULL;
42937}
42938
42939
10044bf1
RD
42940SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42941 PyObject *resultobj = 0;
42942 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42943 int arg2 ;
42944 void *argp1 = 0 ;
42945 int res1 = 0 ;
42946 int val2 ;
42947 int ecode2 = 0 ;
42948 PyObject * obj0 = 0 ;
42949 PyObject * obj1 = 0 ;
42950 char * kwnames[] = {
42951 (char *) "self",(char *) "prop", NULL
42952 };
42953
42954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42956 if (!SWIG_IsOK(res1)) {
42957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42958 }
42959 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42960 ecode2 = SWIG_AsVal_int(obj1, &val2);
42961 if (!SWIG_IsOK(ecode2)) {
42962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42963 }
42964 arg2 = static_cast< int >(val2);
42965 {
42966 PyThreadState* __tstate = wxPyBeginAllowThreads();
42967 (arg1)->SetPickerCtrlProportion(arg2);
42968 wxPyEndAllowThreads(__tstate);
42969 if (PyErr_Occurred()) SWIG_fail;
42970 }
42971 resultobj = SWIG_Py_Void();
42972 return resultobj;
42973fail:
42974 return NULL;
42975}
42976
42977
42978SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42979 PyObject *resultobj = 0;
42980 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42981 int result;
42982 void *argp1 = 0 ;
42983 int res1 = 0 ;
42984 PyObject *swig_obj[1] ;
42985
42986 if (!args) SWIG_fail;
42987 swig_obj[0] = args;
42988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42989 if (!SWIG_IsOK(res1)) {
42990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42991 }
42992 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42993 {
42994 PyThreadState* __tstate = wxPyBeginAllowThreads();
42995 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42996 wxPyEndAllowThreads(__tstate);
42997 if (PyErr_Occurred()) SWIG_fail;
42998 }
42999 resultobj = SWIG_From_int(static_cast< int >(result));
43000 return resultobj;
43001fail:
43002 return NULL;
43003}
43004
43005
b02396e8
RD
43006SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43007 PyObject *resultobj = 0;
43008 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43009 bool result;
43010 void *argp1 = 0 ;
43011 int res1 = 0 ;
43012 PyObject *swig_obj[1] ;
43013
43014 if (!args) SWIG_fail;
43015 swig_obj[0] = args;
43016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43017 if (!SWIG_IsOK(res1)) {
43018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43019 }
43020 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43021 {
43022 PyThreadState* __tstate = wxPyBeginAllowThreads();
43023 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43024 wxPyEndAllowThreads(__tstate);
43025 if (PyErr_Occurred()) SWIG_fail;
43026 }
43027 {
43028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43029 }
43030 return resultobj;
43031fail:
43032 return NULL;
43033}
43034
43035
43036SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43037 PyObject *resultobj = 0;
43038 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43039 bool arg2 = (bool) true ;
43040 void *argp1 = 0 ;
43041 int res1 = 0 ;
43042 bool val2 ;
43043 int ecode2 = 0 ;
43044 PyObject * obj0 = 0 ;
43045 PyObject * obj1 = 0 ;
43046 char * kwnames[] = {
43047 (char *) "self",(char *) "grow", NULL
43048 };
43049
43050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43052 if (!SWIG_IsOK(res1)) {
43053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43054 }
43055 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43056 if (obj1) {
43057 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43058 if (!SWIG_IsOK(ecode2)) {
43059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43060 }
43061 arg2 = static_cast< bool >(val2);
43062 }
43063 {
43064 PyThreadState* __tstate = wxPyBeginAllowThreads();
43065 (arg1)->SetTextCtrlGrowable(arg2);
43066 wxPyEndAllowThreads(__tstate);
43067 if (PyErr_Occurred()) SWIG_fail;
43068 }
43069 resultobj = SWIG_Py_Void();
43070 return resultobj;
43071fail:
43072 return NULL;
43073}
43074
43075
43076SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43077 PyObject *resultobj = 0;
43078 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43079 bool result;
43080 void *argp1 = 0 ;
43081 int res1 = 0 ;
43082 PyObject *swig_obj[1] ;
43083
43084 if (!args) SWIG_fail;
43085 swig_obj[0] = args;
43086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43087 if (!SWIG_IsOK(res1)) {
43088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43089 }
43090 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43091 {
43092 PyThreadState* __tstate = wxPyBeginAllowThreads();
43093 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43094 wxPyEndAllowThreads(__tstate);
43095 if (PyErr_Occurred()) SWIG_fail;
43096 }
43097 {
43098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43099 }
43100 return resultobj;
43101fail:
43102 return NULL;
43103}
43104
43105
43106SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43107 PyObject *resultobj = 0;
43108 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43109 bool arg2 = (bool) true ;
43110 void *argp1 = 0 ;
43111 int res1 = 0 ;
43112 bool val2 ;
43113 int ecode2 = 0 ;
43114 PyObject * obj0 = 0 ;
43115 PyObject * obj1 = 0 ;
43116 char * kwnames[] = {
43117 (char *) "self",(char *) "grow", NULL
43118 };
43119
43120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43122 if (!SWIG_IsOK(res1)) {
43123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43124 }
43125 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43126 if (obj1) {
43127 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43128 if (!SWIG_IsOK(ecode2)) {
43129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43130 }
43131 arg2 = static_cast< bool >(val2);
43132 }
43133 {
43134 PyThreadState* __tstate = wxPyBeginAllowThreads();
43135 (arg1)->SetPickerCtrlGrowable(arg2);
43136 wxPyEndAllowThreads(__tstate);
43137 if (PyErr_Occurred()) SWIG_fail;
43138 }
43139 resultobj = SWIG_Py_Void();
43140 return resultobj;
43141fail:
43142 return NULL;
43143}
43144
43145
b850e7f3
RD
43146SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43147 PyObject *resultobj = 0;
43148 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43149 bool result;
43150 void *argp1 = 0 ;
43151 int res1 = 0 ;
43152 PyObject *swig_obj[1] ;
43153
43154 if (!args) SWIG_fail;
43155 swig_obj[0] = args;
43156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43157 if (!SWIG_IsOK(res1)) {
43158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43159 }
43160 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43161 {
43162 PyThreadState* __tstate = wxPyBeginAllowThreads();
43163 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43164 wxPyEndAllowThreads(__tstate);
43165 if (PyErr_Occurred()) SWIG_fail;
43166 }
43167 {
43168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43169 }
43170 return resultobj;
43171fail:
43172 return NULL;
43173}
43174
43175
43176SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43177 PyObject *resultobj = 0;
43178 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43179 wxTextCtrl *result = 0 ;
43180 void *argp1 = 0 ;
43181 int res1 = 0 ;
43182 PyObject *swig_obj[1] ;
43183
43184 if (!args) SWIG_fail;
43185 swig_obj[0] = args;
43186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43187 if (!SWIG_IsOK(res1)) {
43188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43189 }
43190 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43191 {
43192 PyThreadState* __tstate = wxPyBeginAllowThreads();
43193 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43194 wxPyEndAllowThreads(__tstate);
43195 if (PyErr_Occurred()) SWIG_fail;
43196 }
43197 {
43198 resultobj = wxPyMake_wxObject(result, 0);
43199 }
43200 return resultobj;
43201fail:
43202 return NULL;
43203}
43204
43205
43206SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43207 PyObject *resultobj = 0;
43208 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43209 wxControl *result = 0 ;
43210 void *argp1 = 0 ;
43211 int res1 = 0 ;
43212 PyObject *swig_obj[1] ;
43213
43214 if (!args) SWIG_fail;
43215 swig_obj[0] = args;
43216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43217 if (!SWIG_IsOK(res1)) {
43218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43219 }
43220 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43221 {
43222 PyThreadState* __tstate = wxPyBeginAllowThreads();
43223 result = (wxControl *)(arg1)->GetPickerCtrl();
43224 wxPyEndAllowThreads(__tstate);
43225 if (PyErr_Occurred()) SWIG_fail;
43226 }
43227 {
43228 resultobj = wxPyMake_wxObject(result, 0);
43229 }
43230 return resultobj;
43231fail:
43232 return NULL;
43233}
43234
43235
43236SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43237 PyObject *obj;
43238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43240 return SWIG_Py_Void();
43241}
43242
43243SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43244 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43245 return 1;
43246}
43247
43248
43249SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43250 PyObject *pyobj = 0;
43251
43252 {
43253#if wxUSE_UNICODE
43254 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43255#else
43256 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43257#endif
43258 }
43259 return pyobj;
43260}
43261
43262
43263SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43264 PyObject *resultobj = 0;
43265 wxWindow *arg1 = (wxWindow *) 0 ;
43266 int arg2 = (int) -1 ;
43267 wxColour const &arg3_defvalue = *wxBLACK ;
43268 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43271 wxSize const &arg5_defvalue = wxDefaultSize ;
43272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43273 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43274 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43275 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43276 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43277 wxString *arg8 = (wxString *) &arg8_defvalue ;
43278 wxColourPickerCtrl *result = 0 ;
43279 void *argp1 = 0 ;
43280 int res1 = 0 ;
43281 int val2 ;
43282 int ecode2 = 0 ;
43283 wxColour temp3 ;
43284 wxPoint temp4 ;
43285 wxSize temp5 ;
43286 long val6 ;
43287 int ecode6 = 0 ;
43288 void *argp7 = 0 ;
43289 int res7 = 0 ;
43290 bool temp8 = false ;
43291 PyObject * obj0 = 0 ;
43292 PyObject * obj1 = 0 ;
43293 PyObject * obj2 = 0 ;
43294 PyObject * obj3 = 0 ;
43295 PyObject * obj4 = 0 ;
43296 PyObject * obj5 = 0 ;
43297 PyObject * obj6 = 0 ;
43298 PyObject * obj7 = 0 ;
43299 char * kwnames[] = {
43300 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43301 };
43302
43303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43305 if (!SWIG_IsOK(res1)) {
43306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43307 }
43308 arg1 = reinterpret_cast< wxWindow * >(argp1);
43309 if (obj1) {
43310 ecode2 = SWIG_AsVal_int(obj1, &val2);
43311 if (!SWIG_IsOK(ecode2)) {
43312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43313 }
43314 arg2 = static_cast< int >(val2);
43315 }
43316 if (obj2) {
43317 {
43318 arg3 = &temp3;
43319 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43320 }
43321 }
43322 if (obj3) {
43323 {
43324 arg4 = &temp4;
43325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43326 }
43327 }
43328 if (obj4) {
43329 {
43330 arg5 = &temp5;
43331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43332 }
43333 }
43334 if (obj5) {
43335 ecode6 = SWIG_AsVal_long(obj5, &val6);
43336 if (!SWIG_IsOK(ecode6)) {
43337 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43338 }
43339 arg6 = static_cast< long >(val6);
43340 }
43341 if (obj6) {
43342 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43343 if (!SWIG_IsOK(res7)) {
43344 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43345 }
43346 if (!argp7) {
43347 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43348 }
43349 arg7 = reinterpret_cast< wxValidator * >(argp7);
43350 }
43351 if (obj7) {
43352 {
43353 arg8 = wxString_in_helper(obj7);
43354 if (arg8 == NULL) SWIG_fail;
43355 temp8 = true;
43356 }
43357 }
43358 {
43359 if (!wxPyCheckForApp()) SWIG_fail;
43360 PyThreadState* __tstate = wxPyBeginAllowThreads();
43361 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43362 wxPyEndAllowThreads(__tstate);
43363 if (PyErr_Occurred()) SWIG_fail;
43364 }
43365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43366 {
43367 if (temp8)
43368 delete arg8;
43369 }
43370 return resultobj;
43371fail:
43372 {
43373 if (temp8)
43374 delete arg8;
43375 }
43376 return NULL;
43377}
43378
43379
43380SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43381 PyObject *resultobj = 0;
43382 wxColourPickerCtrl *result = 0 ;
43383
43384 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43385 {
43386 if (!wxPyCheckForApp()) SWIG_fail;
43387 PyThreadState* __tstate = wxPyBeginAllowThreads();
43388 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43389 wxPyEndAllowThreads(__tstate);
43390 if (PyErr_Occurred()) SWIG_fail;
43391 }
43392 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43393 return resultobj;
43394fail:
43395 return NULL;
43396}
43397
43398
43399SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43400 PyObject *resultobj = 0;
43401 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43402 wxWindow *arg2 = (wxWindow *) 0 ;
43403 int arg3 ;
43404 wxColour const &arg4_defvalue = *wxBLACK ;
43405 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43406 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43407 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43408 wxSize const &arg6_defvalue = wxDefaultSize ;
43409 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43410 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43411 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43412 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43413 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43414 wxString *arg9 = (wxString *) &arg9_defvalue ;
43415 bool result;
43416 void *argp1 = 0 ;
43417 int res1 = 0 ;
43418 void *argp2 = 0 ;
43419 int res2 = 0 ;
43420 int val3 ;
43421 int ecode3 = 0 ;
43422 wxColour temp4 ;
43423 wxPoint temp5 ;
43424 wxSize temp6 ;
43425 long val7 ;
43426 int ecode7 = 0 ;
43427 void *argp8 = 0 ;
43428 int res8 = 0 ;
43429 bool temp9 = false ;
43430 PyObject * obj0 = 0 ;
43431 PyObject * obj1 = 0 ;
43432 PyObject * obj2 = 0 ;
43433 PyObject * obj3 = 0 ;
43434 PyObject * obj4 = 0 ;
43435 PyObject * obj5 = 0 ;
43436 PyObject * obj6 = 0 ;
43437 PyObject * obj7 = 0 ;
43438 PyObject * obj8 = 0 ;
43439 char * kwnames[] = {
43440 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43441 };
43442
43443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43445 if (!SWIG_IsOK(res1)) {
43446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43447 }
43448 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43450 if (!SWIG_IsOK(res2)) {
43451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43452 }
43453 arg2 = reinterpret_cast< wxWindow * >(argp2);
43454 ecode3 = SWIG_AsVal_int(obj2, &val3);
43455 if (!SWIG_IsOK(ecode3)) {
43456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43457 }
43458 arg3 = static_cast< int >(val3);
43459 if (obj3) {
43460 {
43461 arg4 = &temp4;
43462 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43463 }
43464 }
43465 if (obj4) {
43466 {
43467 arg5 = &temp5;
43468 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43469 }
43470 }
43471 if (obj5) {
43472 {
43473 arg6 = &temp6;
43474 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43475 }
43476 }
43477 if (obj6) {
43478 ecode7 = SWIG_AsVal_long(obj6, &val7);
43479 if (!SWIG_IsOK(ecode7)) {
43480 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43481 }
43482 arg7 = static_cast< long >(val7);
43483 }
43484 if (obj7) {
43485 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43486 if (!SWIG_IsOK(res8)) {
43487 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43488 }
43489 if (!argp8) {
43490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43491 }
43492 arg8 = reinterpret_cast< wxValidator * >(argp8);
43493 }
43494 if (obj8) {
43495 {
43496 arg9 = wxString_in_helper(obj8);
43497 if (arg9 == NULL) SWIG_fail;
43498 temp9 = true;
43499 }
43500 }
43501 {
43502 PyThreadState* __tstate = wxPyBeginAllowThreads();
43503 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43504 wxPyEndAllowThreads(__tstate);
43505 if (PyErr_Occurred()) SWIG_fail;
43506 }
43507 {
43508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43509 }
43510 {
43511 if (temp9)
43512 delete arg9;
43513 }
43514 return resultobj;
43515fail:
43516 {
43517 if (temp9)
43518 delete arg9;
43519 }
43520 return NULL;
43521}
43522
43523
43524SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43525 PyObject *resultobj = 0;
43526 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43527 wxColour result;
43528 void *argp1 = 0 ;
43529 int res1 = 0 ;
43530 PyObject *swig_obj[1] ;
43531
43532 if (!args) SWIG_fail;
43533 swig_obj[0] = args;
43534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43535 if (!SWIG_IsOK(res1)) {
43536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43537 }
43538 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43539 {
43540 PyThreadState* __tstate = wxPyBeginAllowThreads();
43541 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43542 wxPyEndAllowThreads(__tstate);
43543 if (PyErr_Occurred()) SWIG_fail;
43544 }
43545 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43546 return resultobj;
43547fail:
43548 return NULL;
43549}
43550
43551
43552SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43553 PyObject *resultobj = 0;
43554 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43555 wxColour *arg2 = 0 ;
43556 void *argp1 = 0 ;
43557 int res1 = 0 ;
43558 wxColour temp2 ;
43559 PyObject * obj0 = 0 ;
43560 PyObject * obj1 = 0 ;
43561 char * kwnames[] = {
43562 (char *) "self",(char *) "col", NULL
43563 };
43564
43565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43567 if (!SWIG_IsOK(res1)) {
43568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43569 }
43570 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43571 {
43572 arg2 = &temp2;
43573 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43574 }
43575 {
43576 PyThreadState* __tstate = wxPyBeginAllowThreads();
43577 (arg1)->SetColour((wxColour const &)*arg2);
43578 wxPyEndAllowThreads(__tstate);
43579 if (PyErr_Occurred()) SWIG_fail;
43580 }
43581 resultobj = SWIG_Py_Void();
43582 return resultobj;
43583fail:
43584 return NULL;
43585}
43586
43587
43588SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43589 PyObject *obj;
43590 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43591 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43592 return SWIG_Py_Void();
43593}
43594
43595SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43596 return SWIG_Python_InitShadowInstance(args);
43597}
43598
43599SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43600 PyObject *resultobj = 0;
43601 wxObject *arg1 = (wxObject *) 0 ;
43602 int arg2 ;
43603 wxColour *arg3 = 0 ;
43604 wxColourPickerEvent *result = 0 ;
43605 void *argp1 = 0 ;
43606 int res1 = 0 ;
43607 int val2 ;
43608 int ecode2 = 0 ;
43609 wxColour temp3 ;
43610 PyObject * obj0 = 0 ;
43611 PyObject * obj1 = 0 ;
43612 PyObject * obj2 = 0 ;
43613 char * kwnames[] = {
43614 (char *) "generator",(char *) "id",(char *) "col", NULL
43615 };
43616
43617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43619 if (!SWIG_IsOK(res1)) {
43620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43621 }
43622 arg1 = reinterpret_cast< wxObject * >(argp1);
43623 ecode2 = SWIG_AsVal_int(obj1, &val2);
43624 if (!SWIG_IsOK(ecode2)) {
43625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43626 }
43627 arg2 = static_cast< int >(val2);
43628 {
43629 arg3 = &temp3;
43630 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43631 }
43632 {
43633 PyThreadState* __tstate = wxPyBeginAllowThreads();
43634 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43635 wxPyEndAllowThreads(__tstate);
43636 if (PyErr_Occurred()) SWIG_fail;
43637 }
43638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43639 return resultobj;
43640fail:
43641 return NULL;
43642}
43643
43644
43645SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43646 PyObject *resultobj = 0;
43647 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43648 wxColour result;
43649 void *argp1 = 0 ;
43650 int res1 = 0 ;
43651 PyObject *swig_obj[1] ;
43652
43653 if (!args) SWIG_fail;
43654 swig_obj[0] = args;
43655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43656 if (!SWIG_IsOK(res1)) {
43657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43658 }
43659 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43660 {
43661 PyThreadState* __tstate = wxPyBeginAllowThreads();
43662 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43663 wxPyEndAllowThreads(__tstate);
43664 if (PyErr_Occurred()) SWIG_fail;
43665 }
43666 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43667 return resultobj;
43668fail:
43669 return NULL;
43670}
43671
43672
43673SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43674 PyObject *resultobj = 0;
43675 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43676 wxColour *arg2 = 0 ;
43677 void *argp1 = 0 ;
43678 int res1 = 0 ;
43679 wxColour temp2 ;
43680 PyObject * obj0 = 0 ;
43681 PyObject * obj1 = 0 ;
43682 char * kwnames[] = {
43683 (char *) "self",(char *) "c", NULL
43684 };
43685
43686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43688 if (!SWIG_IsOK(res1)) {
43689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43690 }
43691 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43692 {
43693 arg2 = &temp2;
43694 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43695 }
43696 {
43697 PyThreadState* __tstate = wxPyBeginAllowThreads();
43698 (arg1)->SetColour((wxColour const &)*arg2);
43699 wxPyEndAllowThreads(__tstate);
43700 if (PyErr_Occurred()) SWIG_fail;
43701 }
43702 resultobj = SWIG_Py_Void();
43703 return resultobj;
43704fail:
43705 return NULL;
43706}
43707
43708
43709SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43710 PyObject *obj;
43711 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43712 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43713 return SWIG_Py_Void();
43714}
43715
43716SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43717 return SWIG_Python_InitShadowInstance(args);
43718}
43719
43720SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43721 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43722 return 1;
43723}
43724
43725
43726SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43727 PyObject *pyobj = 0;
43728
43729 {
43730#if wxUSE_UNICODE
43731 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43732#else
43733 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43734#endif
43735 }
43736 return pyobj;
43737}
43738
43739
43740SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43741 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43742 return 1;
43743}
43744
43745
43746SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43747 PyObject *pyobj = 0;
43748
43749 {
43750#if wxUSE_UNICODE
43751 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43752#else
43753 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43754#endif
43755 }
43756 return pyobj;
43757}
43758
43759
43760SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43761 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43762 return 1;
43763}
43764
43765
43766SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43767 PyObject *pyobj = 0;
43768
43769 {
43770#if wxUSE_UNICODE
43771 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43772#else
43773 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43774#endif
43775 }
43776 return pyobj;
43777}
43778
43779
43780SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43781 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43782 return 1;
43783}
43784
43785
43786SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43787 PyObject *pyobj = 0;
43788
43789 {
43790#if wxUSE_UNICODE
43791 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43792#else
43793 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43794#endif
43795 }
43796 return pyobj;
43797}
43798
43799
43800SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43801 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43802 return 1;
43803}
43804
43805
43806SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43807 PyObject *pyobj = 0;
43808
43809 {
43810#if wxUSE_UNICODE
43811 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43812#else
43813 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43814#endif
43815 }
43816 return pyobj;
43817}
43818
43819
43820SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43821 PyObject *resultobj = 0;
43822 wxWindow *arg1 = (wxWindow *) 0 ;
43823 int arg2 = (int) -1 ;
43824 wxString const &arg3_defvalue = wxPyEmptyString ;
43825 wxString *arg3 = (wxString *) &arg3_defvalue ;
43826 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43827 wxString *arg4 = (wxString *) &arg4_defvalue ;
43828 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43829 wxString *arg5 = (wxString *) &arg5_defvalue ;
43830 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43831 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43832 wxSize const &arg7_defvalue = wxDefaultSize ;
43833 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43834 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43835 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43836 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43837 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43838 wxString *arg10 = (wxString *) &arg10_defvalue ;
43839 wxFilePickerCtrl *result = 0 ;
43840 void *argp1 = 0 ;
43841 int res1 = 0 ;
43842 int val2 ;
43843 int ecode2 = 0 ;
43844 bool temp3 = false ;
43845 bool temp4 = false ;
43846 bool temp5 = false ;
43847 wxPoint temp6 ;
43848 wxSize temp7 ;
43849 long val8 ;
43850 int ecode8 = 0 ;
43851 void *argp9 = 0 ;
43852 int res9 = 0 ;
43853 bool temp10 = false ;
43854 PyObject * obj0 = 0 ;
43855 PyObject * obj1 = 0 ;
43856 PyObject * obj2 = 0 ;
43857 PyObject * obj3 = 0 ;
43858 PyObject * obj4 = 0 ;
43859 PyObject * obj5 = 0 ;
43860 PyObject * obj6 = 0 ;
43861 PyObject * obj7 = 0 ;
43862 PyObject * obj8 = 0 ;
43863 PyObject * obj9 = 0 ;
43864 char * kwnames[] = {
43865 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43866 };
43867
43868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43870 if (!SWIG_IsOK(res1)) {
43871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43872 }
43873 arg1 = reinterpret_cast< wxWindow * >(argp1);
43874 if (obj1) {
43875 ecode2 = SWIG_AsVal_int(obj1, &val2);
43876 if (!SWIG_IsOK(ecode2)) {
43877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43878 }
43879 arg2 = static_cast< int >(val2);
43880 }
43881 if (obj2) {
43882 {
43883 arg3 = wxString_in_helper(obj2);
43884 if (arg3 == NULL) SWIG_fail;
43885 temp3 = true;
43886 }
43887 }
43888 if (obj3) {
43889 {
43890 arg4 = wxString_in_helper(obj3);
43891 if (arg4 == NULL) SWIG_fail;
43892 temp4 = true;
43893 }
43894 }
43895 if (obj4) {
43896 {
43897 arg5 = wxString_in_helper(obj4);
43898 if (arg5 == NULL) SWIG_fail;
43899 temp5 = true;
43900 }
43901 }
43902 if (obj5) {
43903 {
43904 arg6 = &temp6;
43905 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43906 }
43907 }
43908 if (obj6) {
43909 {
43910 arg7 = &temp7;
43911 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43912 }
43913 }
43914 if (obj7) {
43915 ecode8 = SWIG_AsVal_long(obj7, &val8);
43916 if (!SWIG_IsOK(ecode8)) {
43917 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43918 }
43919 arg8 = static_cast< long >(val8);
43920 }
43921 if (obj8) {
43922 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43923 if (!SWIG_IsOK(res9)) {
43924 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43925 }
43926 if (!argp9) {
43927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43928 }
43929 arg9 = reinterpret_cast< wxValidator * >(argp9);
43930 }
43931 if (obj9) {
43932 {
43933 arg10 = wxString_in_helper(obj9);
43934 if (arg10 == NULL) SWIG_fail;
43935 temp10 = true;
43936 }
43937 }
43938 {
43939 if (!wxPyCheckForApp()) SWIG_fail;
43940 PyThreadState* __tstate = wxPyBeginAllowThreads();
43941 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);
43942 wxPyEndAllowThreads(__tstate);
43943 if (PyErr_Occurred()) SWIG_fail;
43944 }
43945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43946 {
43947 if (temp3)
43948 delete arg3;
43949 }
43950 {
43951 if (temp4)
43952 delete arg4;
43953 }
43954 {
43955 if (temp5)
43956 delete arg5;
43957 }
43958 {
43959 if (temp10)
43960 delete arg10;
43961 }
43962 return resultobj;
43963fail:
43964 {
43965 if (temp3)
43966 delete arg3;
43967 }
43968 {
43969 if (temp4)
43970 delete arg4;
43971 }
43972 {
43973 if (temp5)
43974 delete arg5;
43975 }
43976 {
43977 if (temp10)
43978 delete arg10;
43979 }
43980 return NULL;
43981}
43982
43983
43984SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43985 PyObject *resultobj = 0;
43986 wxFilePickerCtrl *result = 0 ;
43987
43988 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43989 {
43990 if (!wxPyCheckForApp()) SWIG_fail;
43991 PyThreadState* __tstate = wxPyBeginAllowThreads();
43992 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43993 wxPyEndAllowThreads(__tstate);
43994 if (PyErr_Occurred()) SWIG_fail;
43995 }
43996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43997 return resultobj;
43998fail:
43999 return NULL;
44000}
44001
44002
44003SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44004 PyObject *resultobj = 0;
44005 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44006 wxWindow *arg2 = (wxWindow *) 0 ;
44007 int arg3 = (int) -1 ;
44008 wxString const &arg4_defvalue = wxPyEmptyString ;
44009 wxString *arg4 = (wxString *) &arg4_defvalue ;
44010 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44011 wxString *arg5 = (wxString *) &arg5_defvalue ;
44012 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44013 wxString *arg6 = (wxString *) &arg6_defvalue ;
44014 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44015 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44016 wxSize const &arg8_defvalue = wxDefaultSize ;
44017 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44018 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44019 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44020 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44021 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44022 wxString *arg11 = (wxString *) &arg11_defvalue ;
44023 bool result;
44024 void *argp1 = 0 ;
44025 int res1 = 0 ;
44026 void *argp2 = 0 ;
44027 int res2 = 0 ;
44028 int val3 ;
44029 int ecode3 = 0 ;
44030 bool temp4 = false ;
44031 bool temp5 = false ;
44032 bool temp6 = false ;
44033 wxPoint temp7 ;
44034 wxSize temp8 ;
44035 long val9 ;
44036 int ecode9 = 0 ;
44037 void *argp10 = 0 ;
44038 int res10 = 0 ;
44039 bool temp11 = false ;
44040 PyObject * obj0 = 0 ;
44041 PyObject * obj1 = 0 ;
44042 PyObject * obj2 = 0 ;
44043 PyObject * obj3 = 0 ;
44044 PyObject * obj4 = 0 ;
44045 PyObject * obj5 = 0 ;
44046 PyObject * obj6 = 0 ;
44047 PyObject * obj7 = 0 ;
44048 PyObject * obj8 = 0 ;
44049 PyObject * obj9 = 0 ;
44050 PyObject * obj10 = 0 ;
44051 char * kwnames[] = {
44052 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44053 };
44054
44055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44057 if (!SWIG_IsOK(res1)) {
44058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44059 }
44060 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44062 if (!SWIG_IsOK(res2)) {
44063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44064 }
44065 arg2 = reinterpret_cast< wxWindow * >(argp2);
44066 if (obj2) {
44067 ecode3 = SWIG_AsVal_int(obj2, &val3);
44068 if (!SWIG_IsOK(ecode3)) {
44069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44070 }
44071 arg3 = static_cast< int >(val3);
44072 }
44073 if (obj3) {
44074 {
44075 arg4 = wxString_in_helper(obj3);
44076 if (arg4 == NULL) SWIG_fail;
44077 temp4 = true;
44078 }
44079 }
44080 if (obj4) {
44081 {
44082 arg5 = wxString_in_helper(obj4);
44083 if (arg5 == NULL) SWIG_fail;
44084 temp5 = true;
44085 }
44086 }
44087 if (obj5) {
44088 {
44089 arg6 = wxString_in_helper(obj5);
44090 if (arg6 == NULL) SWIG_fail;
44091 temp6 = true;
44092 }
44093 }
44094 if (obj6) {
44095 {
44096 arg7 = &temp7;
44097 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44098 }
44099 }
44100 if (obj7) {
44101 {
44102 arg8 = &temp8;
44103 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44104 }
44105 }
44106 if (obj8) {
44107 ecode9 = SWIG_AsVal_long(obj8, &val9);
44108 if (!SWIG_IsOK(ecode9)) {
44109 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44110 }
44111 arg9 = static_cast< long >(val9);
44112 }
44113 if (obj9) {
44114 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44115 if (!SWIG_IsOK(res10)) {
44116 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44117 }
44118 if (!argp10) {
44119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44120 }
44121 arg10 = reinterpret_cast< wxValidator * >(argp10);
44122 }
44123 if (obj10) {
44124 {
44125 arg11 = wxString_in_helper(obj10);
44126 if (arg11 == NULL) SWIG_fail;
44127 temp11 = true;
44128 }
44129 }
44130 {
44131 PyThreadState* __tstate = wxPyBeginAllowThreads();
44132 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);
44133 wxPyEndAllowThreads(__tstate);
44134 if (PyErr_Occurred()) SWIG_fail;
44135 }
44136 {
44137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44138 }
44139 {
44140 if (temp4)
44141 delete arg4;
44142 }
44143 {
44144 if (temp5)
44145 delete arg5;
44146 }
44147 {
44148 if (temp6)
44149 delete arg6;
44150 }
44151 {
44152 if (temp11)
44153 delete arg11;
44154 }
44155 return resultobj;
44156fail:
44157 {
44158 if (temp4)
44159 delete arg4;
44160 }
44161 {
44162 if (temp5)
44163 delete arg5;
44164 }
44165 {
44166 if (temp6)
44167 delete arg6;
44168 }
44169 {
44170 if (temp11)
44171 delete arg11;
44172 }
44173 return NULL;
44174}
44175
44176
44177SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44178 PyObject *resultobj = 0;
44179 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44180 wxString result;
44181 void *argp1 = 0 ;
44182 int res1 = 0 ;
44183 PyObject *swig_obj[1] ;
44184
44185 if (!args) SWIG_fail;
44186 swig_obj[0] = args;
44187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44188 if (!SWIG_IsOK(res1)) {
44189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44190 }
44191 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44192 {
44193 PyThreadState* __tstate = wxPyBeginAllowThreads();
44194 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44195 wxPyEndAllowThreads(__tstate);
44196 if (PyErr_Occurred()) SWIG_fail;
44197 }
44198 {
44199#if wxUSE_UNICODE
44200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44201#else
44202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44203#endif
44204 }
44205 return resultobj;
44206fail:
44207 return NULL;
44208}
44209
44210
44211SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44212 PyObject *resultobj = 0;
44213 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44214 wxString *arg2 = 0 ;
44215 void *argp1 = 0 ;
44216 int res1 = 0 ;
44217 bool temp2 = false ;
44218 PyObject * obj0 = 0 ;
44219 PyObject * obj1 = 0 ;
44220 char * kwnames[] = {
44221 (char *) "self",(char *) "str", NULL
44222 };
44223
44224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44226 if (!SWIG_IsOK(res1)) {
44227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44228 }
44229 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44230 {
44231 arg2 = wxString_in_helper(obj1);
44232 if (arg2 == NULL) SWIG_fail;
44233 temp2 = true;
44234 }
44235 {
44236 PyThreadState* __tstate = wxPyBeginAllowThreads();
44237 (arg1)->SetPath((wxString const &)*arg2);
44238 wxPyEndAllowThreads(__tstate);
44239 if (PyErr_Occurred()) SWIG_fail;
44240 }
44241 resultobj = SWIG_Py_Void();
44242 {
44243 if (temp2)
44244 delete arg2;
44245 }
44246 return resultobj;
44247fail:
44248 {
44249 if (temp2)
44250 delete arg2;
44251 }
44252 return NULL;
44253}
44254
44255
b02396e8
RD
44256SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44257 PyObject *resultobj = 0;
44258 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44259 wxString *arg2 = 0 ;
44260 bool result;
44261 void *argp1 = 0 ;
44262 int res1 = 0 ;
44263 bool temp2 = false ;
44264 PyObject * obj0 = 0 ;
44265 PyObject * obj1 = 0 ;
44266 char * kwnames[] = {
44267 (char *) "self",(char *) "path", NULL
44268 };
44269
44270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44272 if (!SWIG_IsOK(res1)) {
44273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44274 }
44275 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44276 {
44277 arg2 = wxString_in_helper(obj1);
44278 if (arg2 == NULL) SWIG_fail;
44279 temp2 = true;
44280 }
44281 {
44282 PyThreadState* __tstate = wxPyBeginAllowThreads();
44283 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44284 wxPyEndAllowThreads(__tstate);
44285 if (PyErr_Occurred()) SWIG_fail;
44286 }
44287 {
44288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44289 }
44290 {
44291 if (temp2)
44292 delete arg2;
44293 }
44294 return resultobj;
44295fail:
44296 {
44297 if (temp2)
44298 delete arg2;
44299 }
44300 return NULL;
44301}
44302
44303
44304SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44305 PyObject *resultobj = 0;
44306 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44307 wxString result;
44308 void *argp1 = 0 ;
44309 int res1 = 0 ;
44310 PyObject *swig_obj[1] ;
44311
44312 if (!args) SWIG_fail;
44313 swig_obj[0] = args;
44314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44315 if (!SWIG_IsOK(res1)) {
44316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44317 }
44318 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44319 {
44320 PyThreadState* __tstate = wxPyBeginAllowThreads();
44321 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44322 wxPyEndAllowThreads(__tstate);
44323 if (PyErr_Occurred()) SWIG_fail;
44324 }
44325 {
44326#if wxUSE_UNICODE
44327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44328#else
44329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44330#endif
44331 }
44332 return resultobj;
44333fail:
44334 return NULL;
44335}
44336
44337
b850e7f3
RD
44338SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44339 PyObject *obj;
44340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44341 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44342 return SWIG_Py_Void();
44343}
44344
44345SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44346 return SWIG_Python_InitShadowInstance(args);
44347}
44348
44349SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44350 PyObject *resultobj = 0;
44351 wxWindow *arg1 = (wxWindow *) 0 ;
44352 int arg2 = (int) -1 ;
44353 wxString const &arg3_defvalue = wxPyEmptyString ;
44354 wxString *arg3 = (wxString *) &arg3_defvalue ;
44355 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44356 wxString *arg4 = (wxString *) &arg4_defvalue ;
44357 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44358 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44359 wxSize const &arg6_defvalue = wxDefaultSize ;
44360 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44361 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44362 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44363 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44364 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44365 wxString *arg9 = (wxString *) &arg9_defvalue ;
44366 wxDirPickerCtrl *result = 0 ;
44367 void *argp1 = 0 ;
44368 int res1 = 0 ;
44369 int val2 ;
44370 int ecode2 = 0 ;
44371 bool temp3 = false ;
44372 bool temp4 = false ;
44373 wxPoint temp5 ;
44374 wxSize temp6 ;
44375 long val7 ;
44376 int ecode7 = 0 ;
44377 void *argp8 = 0 ;
44378 int res8 = 0 ;
44379 bool temp9 = false ;
44380 PyObject * obj0 = 0 ;
44381 PyObject * obj1 = 0 ;
44382 PyObject * obj2 = 0 ;
44383 PyObject * obj3 = 0 ;
44384 PyObject * obj4 = 0 ;
44385 PyObject * obj5 = 0 ;
44386 PyObject * obj6 = 0 ;
44387 PyObject * obj7 = 0 ;
44388 PyObject * obj8 = 0 ;
44389 char * kwnames[] = {
44390 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44391 };
44392
44393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44395 if (!SWIG_IsOK(res1)) {
44396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44397 }
44398 arg1 = reinterpret_cast< wxWindow * >(argp1);
44399 if (obj1) {
44400 ecode2 = SWIG_AsVal_int(obj1, &val2);
44401 if (!SWIG_IsOK(ecode2)) {
44402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44403 }
44404 arg2 = static_cast< int >(val2);
44405 }
44406 if (obj2) {
44407 {
44408 arg3 = wxString_in_helper(obj2);
44409 if (arg3 == NULL) SWIG_fail;
44410 temp3 = true;
44411 }
44412 }
44413 if (obj3) {
44414 {
44415 arg4 = wxString_in_helper(obj3);
44416 if (arg4 == NULL) SWIG_fail;
44417 temp4 = true;
44418 }
44419 }
44420 if (obj4) {
44421 {
44422 arg5 = &temp5;
44423 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44424 }
44425 }
44426 if (obj5) {
44427 {
44428 arg6 = &temp6;
44429 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44430 }
44431 }
44432 if (obj6) {
44433 ecode7 = SWIG_AsVal_long(obj6, &val7);
44434 if (!SWIG_IsOK(ecode7)) {
44435 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44436 }
44437 arg7 = static_cast< long >(val7);
44438 }
44439 if (obj7) {
44440 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44441 if (!SWIG_IsOK(res8)) {
44442 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44443 }
44444 if (!argp8) {
44445 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44446 }
44447 arg8 = reinterpret_cast< wxValidator * >(argp8);
44448 }
44449 if (obj8) {
44450 {
44451 arg9 = wxString_in_helper(obj8);
44452 if (arg9 == NULL) SWIG_fail;
44453 temp9 = true;
44454 }
44455 }
44456 {
44457 if (!wxPyCheckForApp()) SWIG_fail;
44458 PyThreadState* __tstate = wxPyBeginAllowThreads();
44459 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);
44460 wxPyEndAllowThreads(__tstate);
44461 if (PyErr_Occurred()) SWIG_fail;
44462 }
44463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44464 {
44465 if (temp3)
44466 delete arg3;
44467 }
44468 {
44469 if (temp4)
44470 delete arg4;
44471 }
44472 {
44473 if (temp9)
44474 delete arg9;
44475 }
44476 return resultobj;
44477fail:
44478 {
44479 if (temp3)
44480 delete arg3;
44481 }
44482 {
44483 if (temp4)
44484 delete arg4;
44485 }
44486 {
44487 if (temp9)
44488 delete arg9;
44489 }
44490 return NULL;
44491}
44492
44493
44494SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44495 PyObject *resultobj = 0;
44496 wxDirPickerCtrl *result = 0 ;
44497
44498 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44499 {
44500 if (!wxPyCheckForApp()) SWIG_fail;
44501 PyThreadState* __tstate = wxPyBeginAllowThreads();
44502 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44503 wxPyEndAllowThreads(__tstate);
44504 if (PyErr_Occurred()) SWIG_fail;
44505 }
44506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44507 return resultobj;
44508fail:
44509 return NULL;
44510}
44511
44512
44513SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44514 PyObject *resultobj = 0;
44515 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44516 wxWindow *arg2 = (wxWindow *) 0 ;
44517 int arg3 = (int) -1 ;
44518 wxString const &arg4_defvalue = wxPyEmptyString ;
44519 wxString *arg4 = (wxString *) &arg4_defvalue ;
44520 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44521 wxString *arg5 = (wxString *) &arg5_defvalue ;
44522 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44523 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44524 wxSize const &arg7_defvalue = wxDefaultSize ;
44525 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44526 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44527 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44528 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44529 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44530 wxString *arg10 = (wxString *) &arg10_defvalue ;
44531 bool result;
44532 void *argp1 = 0 ;
44533 int res1 = 0 ;
44534 void *argp2 = 0 ;
44535 int res2 = 0 ;
44536 int val3 ;
44537 int ecode3 = 0 ;
44538 bool temp4 = false ;
44539 bool temp5 = false ;
44540 wxPoint temp6 ;
44541 wxSize temp7 ;
44542 long val8 ;
44543 int ecode8 = 0 ;
44544 void *argp9 = 0 ;
44545 int res9 = 0 ;
44546 bool temp10 = false ;
44547 PyObject * obj0 = 0 ;
44548 PyObject * obj1 = 0 ;
44549 PyObject * obj2 = 0 ;
44550 PyObject * obj3 = 0 ;
44551 PyObject * obj4 = 0 ;
44552 PyObject * obj5 = 0 ;
44553 PyObject * obj6 = 0 ;
44554 PyObject * obj7 = 0 ;
44555 PyObject * obj8 = 0 ;
44556 PyObject * obj9 = 0 ;
44557 char * kwnames[] = {
44558 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44559 };
44560
44561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44563 if (!SWIG_IsOK(res1)) {
44564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44565 }
44566 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44568 if (!SWIG_IsOK(res2)) {
44569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44570 }
44571 arg2 = reinterpret_cast< wxWindow * >(argp2);
44572 if (obj2) {
44573 ecode3 = SWIG_AsVal_int(obj2, &val3);
44574 if (!SWIG_IsOK(ecode3)) {
44575 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44576 }
44577 arg3 = static_cast< int >(val3);
44578 }
44579 if (obj3) {
44580 {
44581 arg4 = wxString_in_helper(obj3);
44582 if (arg4 == NULL) SWIG_fail;
44583 temp4 = true;
44584 }
44585 }
44586 if (obj4) {
44587 {
44588 arg5 = wxString_in_helper(obj4);
44589 if (arg5 == NULL) SWIG_fail;
44590 temp5 = true;
44591 }
44592 }
44593 if (obj5) {
44594 {
44595 arg6 = &temp6;
44596 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44597 }
44598 }
44599 if (obj6) {
44600 {
44601 arg7 = &temp7;
44602 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44603 }
44604 }
44605 if (obj7) {
44606 ecode8 = SWIG_AsVal_long(obj7, &val8);
44607 if (!SWIG_IsOK(ecode8)) {
44608 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44609 }
44610 arg8 = static_cast< long >(val8);
44611 }
44612 if (obj8) {
44613 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44614 if (!SWIG_IsOK(res9)) {
44615 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44616 }
44617 if (!argp9) {
44618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44619 }
44620 arg9 = reinterpret_cast< wxValidator * >(argp9);
44621 }
44622 if (obj9) {
44623 {
44624 arg10 = wxString_in_helper(obj9);
44625 if (arg10 == NULL) SWIG_fail;
44626 temp10 = true;
44627 }
44628 }
44629 {
44630 PyThreadState* __tstate = wxPyBeginAllowThreads();
44631 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);
44632 wxPyEndAllowThreads(__tstate);
44633 if (PyErr_Occurred()) SWIG_fail;
44634 }
44635 {
44636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44637 }
44638 {
44639 if (temp4)
44640 delete arg4;
44641 }
44642 {
44643 if (temp5)
44644 delete arg5;
44645 }
44646 {
44647 if (temp10)
44648 delete arg10;
44649 }
44650 return resultobj;
44651fail:
44652 {
44653 if (temp4)
44654 delete arg4;
44655 }
44656 {
44657 if (temp5)
44658 delete arg5;
44659 }
44660 {
44661 if (temp10)
44662 delete arg10;
44663 }
44664 return NULL;
44665}
44666
44667
44668SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44669 PyObject *resultobj = 0;
44670 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44671 wxString result;
44672 void *argp1 = 0 ;
44673 int res1 = 0 ;
44674 PyObject *swig_obj[1] ;
44675
44676 if (!args) SWIG_fail;
44677 swig_obj[0] = args;
44678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44679 if (!SWIG_IsOK(res1)) {
44680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44681 }
44682 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44683 {
44684 PyThreadState* __tstate = wxPyBeginAllowThreads();
44685 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44686 wxPyEndAllowThreads(__tstate);
44687 if (PyErr_Occurred()) SWIG_fail;
44688 }
44689 {
44690#if wxUSE_UNICODE
44691 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44692#else
44693 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44694#endif
44695 }
44696 return resultobj;
44697fail:
44698 return NULL;
44699}
44700
44701
44702SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44703 PyObject *resultobj = 0;
44704 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44705 wxString *arg2 = 0 ;
44706 void *argp1 = 0 ;
44707 int res1 = 0 ;
44708 bool temp2 = false ;
44709 PyObject * obj0 = 0 ;
44710 PyObject * obj1 = 0 ;
44711 char * kwnames[] = {
44712 (char *) "self",(char *) "str", NULL
44713 };
44714
44715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44717 if (!SWIG_IsOK(res1)) {
44718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44719 }
44720 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44721 {
44722 arg2 = wxString_in_helper(obj1);
44723 if (arg2 == NULL) SWIG_fail;
44724 temp2 = true;
44725 }
44726 {
44727 PyThreadState* __tstate = wxPyBeginAllowThreads();
44728 (arg1)->SetPath((wxString const &)*arg2);
44729 wxPyEndAllowThreads(__tstate);
44730 if (PyErr_Occurred()) SWIG_fail;
44731 }
44732 resultobj = SWIG_Py_Void();
44733 {
44734 if (temp2)
44735 delete arg2;
44736 }
44737 return resultobj;
44738fail:
44739 {
44740 if (temp2)
44741 delete arg2;
44742 }
44743 return NULL;
44744}
44745
44746
b02396e8
RD
44747SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44748 PyObject *resultobj = 0;
44749 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44750 wxString *arg2 = 0 ;
44751 bool result;
44752 void *argp1 = 0 ;
44753 int res1 = 0 ;
44754 bool temp2 = false ;
44755 PyObject * obj0 = 0 ;
44756 PyObject * obj1 = 0 ;
44757 char * kwnames[] = {
44758 (char *) "self",(char *) "path", NULL
44759 };
44760
44761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44763 if (!SWIG_IsOK(res1)) {
44764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44765 }
44766 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44767 {
44768 arg2 = wxString_in_helper(obj1);
44769 if (arg2 == NULL) SWIG_fail;
44770 temp2 = true;
44771 }
44772 {
44773 PyThreadState* __tstate = wxPyBeginAllowThreads();
44774 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44775 wxPyEndAllowThreads(__tstate);
44776 if (PyErr_Occurred()) SWIG_fail;
44777 }
44778 {
44779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44780 }
44781 {
44782 if (temp2)
44783 delete arg2;
44784 }
44785 return resultobj;
44786fail:
44787 {
44788 if (temp2)
44789 delete arg2;
44790 }
44791 return NULL;
44792}
44793
44794
44795SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44796 PyObject *resultobj = 0;
44797 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44798 wxString result;
44799 void *argp1 = 0 ;
44800 int res1 = 0 ;
44801 PyObject *swig_obj[1] ;
44802
44803 if (!args) SWIG_fail;
44804 swig_obj[0] = args;
44805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44806 if (!SWIG_IsOK(res1)) {
44807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44808 }
44809 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44810 {
44811 PyThreadState* __tstate = wxPyBeginAllowThreads();
44812 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44813 wxPyEndAllowThreads(__tstate);
44814 if (PyErr_Occurred()) SWIG_fail;
44815 }
44816 {
44817#if wxUSE_UNICODE
44818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44819#else
44820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44821#endif
44822 }
44823 return resultobj;
44824fail:
44825 return NULL;
44826}
44827
44828
b850e7f3
RD
44829SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44830 PyObject *obj;
44831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44832 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44833 return SWIG_Py_Void();
44834}
44835
44836SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44837 return SWIG_Python_InitShadowInstance(args);
44838}
44839
44840SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44841 PyObject *resultobj = 0;
44842 wxEventType arg1 ;
44843 wxObject *arg2 = (wxObject *) 0 ;
44844 int arg3 ;
44845 wxString *arg4 = 0 ;
44846 wxFileDirPickerEvent *result = 0 ;
44847 int val1 ;
44848 int ecode1 = 0 ;
44849 void *argp2 = 0 ;
44850 int res2 = 0 ;
44851 int val3 ;
44852 int ecode3 = 0 ;
44853 bool temp4 = false ;
44854 PyObject * obj0 = 0 ;
44855 PyObject * obj1 = 0 ;
44856 PyObject * obj2 = 0 ;
44857 PyObject * obj3 = 0 ;
44858 char * kwnames[] = {
44859 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44860 };
44861
44862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44863 ecode1 = SWIG_AsVal_int(obj0, &val1);
44864 if (!SWIG_IsOK(ecode1)) {
44865 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44866 }
44867 arg1 = static_cast< wxEventType >(val1);
44868 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44869 if (!SWIG_IsOK(res2)) {
44870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44871 }
44872 arg2 = reinterpret_cast< wxObject * >(argp2);
44873 ecode3 = SWIG_AsVal_int(obj2, &val3);
44874 if (!SWIG_IsOK(ecode3)) {
44875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44876 }
44877 arg3 = static_cast< int >(val3);
44878 {
44879 arg4 = wxString_in_helper(obj3);
44880 if (arg4 == NULL) SWIG_fail;
44881 temp4 = true;
44882 }
44883 {
44884 PyThreadState* __tstate = wxPyBeginAllowThreads();
44885 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44886 wxPyEndAllowThreads(__tstate);
44887 if (PyErr_Occurred()) SWIG_fail;
44888 }
44889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44890 {
44891 if (temp4)
44892 delete arg4;
44893 }
44894 return resultobj;
44895fail:
44896 {
44897 if (temp4)
44898 delete arg4;
44899 }
44900 return NULL;
44901}
44902
44903
44904SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44905 PyObject *resultobj = 0;
44906 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44907 wxString result;
44908 void *argp1 = 0 ;
44909 int res1 = 0 ;
44910 PyObject *swig_obj[1] ;
44911
44912 if (!args) SWIG_fail;
44913 swig_obj[0] = args;
44914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44915 if (!SWIG_IsOK(res1)) {
44916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44917 }
44918 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44919 {
44920 PyThreadState* __tstate = wxPyBeginAllowThreads();
44921 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44922 wxPyEndAllowThreads(__tstate);
44923 if (PyErr_Occurred()) SWIG_fail;
44924 }
44925 {
44926#if wxUSE_UNICODE
44927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44928#else
44929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44930#endif
44931 }
44932 return resultobj;
44933fail:
44934 return NULL;
44935}
44936
44937
44938SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44939 PyObject *resultobj = 0;
44940 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44941 wxString *arg2 = 0 ;
44942 void *argp1 = 0 ;
44943 int res1 = 0 ;
44944 bool temp2 = false ;
44945 PyObject * obj0 = 0 ;
44946 PyObject * obj1 = 0 ;
44947 char * kwnames[] = {
44948 (char *) "self",(char *) "p", NULL
44949 };
44950
44951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44953 if (!SWIG_IsOK(res1)) {
44954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44955 }
44956 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44957 {
44958 arg2 = wxString_in_helper(obj1);
44959 if (arg2 == NULL) SWIG_fail;
44960 temp2 = true;
44961 }
44962 {
44963 PyThreadState* __tstate = wxPyBeginAllowThreads();
44964 (arg1)->SetPath((wxString const &)*arg2);
44965 wxPyEndAllowThreads(__tstate);
44966 if (PyErr_Occurred()) SWIG_fail;
44967 }
44968 resultobj = SWIG_Py_Void();
44969 {
44970 if (temp2)
44971 delete arg2;
44972 }
44973 return resultobj;
44974fail:
44975 {
44976 if (temp2)
44977 delete arg2;
44978 }
44979 return NULL;
44980}
44981
44982
44983SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44984 PyObject *obj;
44985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44986 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44987 return SWIG_Py_Void();
44988}
44989
44990SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44991 return SWIG_Python_InitShadowInstance(args);
44992}
44993
44994SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44995 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44996 return 1;
44997}
44998
44999
45000SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45001 PyObject *pyobj = 0;
45002
45003 {
45004#if wxUSE_UNICODE
45005 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45006#else
45007 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45008#endif
45009 }
45010 return pyobj;
45011}
45012
45013
45014SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45015 PyObject *resultobj = 0;
45016 wxWindow *arg1 = (wxWindow *) 0 ;
45017 int arg2 = (int) -1 ;
f89238b9 45018 wxFont const &arg3_defvalue = wxNullFont ;
b850e7f3
RD
45019 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45022 wxSize const &arg5_defvalue = wxDefaultSize ;
45023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45024 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45025 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45026 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45027 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45028 wxString *arg8 = (wxString *) &arg8_defvalue ;
45029 wxFontPickerCtrl *result = 0 ;
45030 void *argp1 = 0 ;
45031 int res1 = 0 ;
45032 int val2 ;
45033 int ecode2 = 0 ;
45034 void *argp3 = 0 ;
45035 int res3 = 0 ;
45036 wxPoint temp4 ;
45037 wxSize temp5 ;
45038 long val6 ;
45039 int ecode6 = 0 ;
45040 void *argp7 = 0 ;
45041 int res7 = 0 ;
45042 bool temp8 = false ;
45043 PyObject * obj0 = 0 ;
45044 PyObject * obj1 = 0 ;
45045 PyObject * obj2 = 0 ;
45046 PyObject * obj3 = 0 ;
45047 PyObject * obj4 = 0 ;
45048 PyObject * obj5 = 0 ;
45049 PyObject * obj6 = 0 ;
45050 PyObject * obj7 = 0 ;
45051 char * kwnames[] = {
45052 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45053 };
45054
45055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45057 if (!SWIG_IsOK(res1)) {
45058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45059 }
45060 arg1 = reinterpret_cast< wxWindow * >(argp1);
45061 if (obj1) {
45062 ecode2 = SWIG_AsVal_int(obj1, &val2);
45063 if (!SWIG_IsOK(ecode2)) {
45064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45065 }
45066 arg2 = static_cast< int >(val2);
45067 }
45068 if (obj2) {
45069 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45070 if (!SWIG_IsOK(res3)) {
45071 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45072 }
45073 if (!argp3) {
45074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45075 }
45076 arg3 = reinterpret_cast< wxFont * >(argp3);
45077 }
45078 if (obj3) {
45079 {
45080 arg4 = &temp4;
45081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45082 }
45083 }
45084 if (obj4) {
45085 {
45086 arg5 = &temp5;
45087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45088 }
45089 }
45090 if (obj5) {
45091 ecode6 = SWIG_AsVal_long(obj5, &val6);
45092 if (!SWIG_IsOK(ecode6)) {
45093 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45094 }
45095 arg6 = static_cast< long >(val6);
45096 }
45097 if (obj6) {
45098 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45099 if (!SWIG_IsOK(res7)) {
45100 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45101 }
45102 if (!argp7) {
45103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45104 }
45105 arg7 = reinterpret_cast< wxValidator * >(argp7);
45106 }
45107 if (obj7) {
45108 {
45109 arg8 = wxString_in_helper(obj7);
45110 if (arg8 == NULL) SWIG_fail;
45111 temp8 = true;
45112 }
45113 }
45114 {
45115 if (!wxPyCheckForApp()) SWIG_fail;
45116 PyThreadState* __tstate = wxPyBeginAllowThreads();
45117 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45118 wxPyEndAllowThreads(__tstate);
45119 if (PyErr_Occurred()) SWIG_fail;
45120 }
45121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45122 {
45123 if (temp8)
45124 delete arg8;
45125 }
45126 return resultobj;
45127fail:
45128 {
45129 if (temp8)
45130 delete arg8;
45131 }
45132 return NULL;
45133}
45134
45135
45136SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45137 PyObject *resultobj = 0;
45138 wxFontPickerCtrl *result = 0 ;
45139
45140 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45141 {
45142 if (!wxPyCheckForApp()) SWIG_fail;
45143 PyThreadState* __tstate = wxPyBeginAllowThreads();
45144 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45145 wxPyEndAllowThreads(__tstate);
45146 if (PyErr_Occurred()) SWIG_fail;
45147 }
45148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45149 return resultobj;
45150fail:
45151 return NULL;
45152}
45153
45154
45155SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45156 PyObject *resultobj = 0;
45157 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45158 wxWindow *arg2 = (wxWindow *) 0 ;
45159 int arg3 = (int) -1 ;
f89238b9 45160 wxFont const &arg4_defvalue = wxNullFont ;
b850e7f3
RD
45161 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45162 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45163 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45164 wxSize const &arg6_defvalue = wxDefaultSize ;
45165 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45166 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45167 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45168 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45169 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45170 wxString *arg9 = (wxString *) &arg9_defvalue ;
45171 bool result;
45172 void *argp1 = 0 ;
45173 int res1 = 0 ;
45174 void *argp2 = 0 ;
45175 int res2 = 0 ;
45176 int val3 ;
45177 int ecode3 = 0 ;
45178 void *argp4 = 0 ;
45179 int res4 = 0 ;
45180 wxPoint temp5 ;
45181 wxSize temp6 ;
45182 long val7 ;
45183 int ecode7 = 0 ;
45184 void *argp8 = 0 ;
45185 int res8 = 0 ;
45186 bool temp9 = false ;
45187 PyObject * obj0 = 0 ;
45188 PyObject * obj1 = 0 ;
45189 PyObject * obj2 = 0 ;
45190 PyObject * obj3 = 0 ;
45191 PyObject * obj4 = 0 ;
45192 PyObject * obj5 = 0 ;
45193 PyObject * obj6 = 0 ;
45194 PyObject * obj7 = 0 ;
45195 PyObject * obj8 = 0 ;
45196 char * kwnames[] = {
45197 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45198 };
45199
45200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45202 if (!SWIG_IsOK(res1)) {
45203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45204 }
45205 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45207 if (!SWIG_IsOK(res2)) {
45208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45209 }
45210 arg2 = reinterpret_cast< wxWindow * >(argp2);
45211 if (obj2) {
45212 ecode3 = SWIG_AsVal_int(obj2, &val3);
45213 if (!SWIG_IsOK(ecode3)) {
45214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45215 }
45216 arg3 = static_cast< int >(val3);
45217 }
45218 if (obj3) {
45219 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45220 if (!SWIG_IsOK(res4)) {
45221 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45222 }
45223 if (!argp4) {
45224 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45225 }
45226 arg4 = reinterpret_cast< wxFont * >(argp4);
45227 }
45228 if (obj4) {
45229 {
45230 arg5 = &temp5;
45231 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45232 }
45233 }
45234 if (obj5) {
45235 {
45236 arg6 = &temp6;
45237 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45238 }
45239 }
45240 if (obj6) {
45241 ecode7 = SWIG_AsVal_long(obj6, &val7);
45242 if (!SWIG_IsOK(ecode7)) {
45243 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45244 }
45245 arg7 = static_cast< long >(val7);
45246 }
45247 if (obj7) {
45248 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45249 if (!SWIG_IsOK(res8)) {
45250 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45251 }
45252 if (!argp8) {
45253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45254 }
45255 arg8 = reinterpret_cast< wxValidator * >(argp8);
45256 }
45257 if (obj8) {
45258 {
45259 arg9 = wxString_in_helper(obj8);
45260 if (arg9 == NULL) SWIG_fail;
45261 temp9 = true;
45262 }
45263 }
45264 {
45265 PyThreadState* __tstate = wxPyBeginAllowThreads();
45266 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45267 wxPyEndAllowThreads(__tstate);
45268 if (PyErr_Occurred()) SWIG_fail;
45269 }
45270 {
45271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45272 }
45273 {
45274 if (temp9)
45275 delete arg9;
45276 }
45277 return resultobj;
45278fail:
45279 {
45280 if (temp9)
45281 delete arg9;
45282 }
45283 return NULL;
45284}
45285
45286
45287SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45288 PyObject *resultobj = 0;
45289 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45290 wxFont result;
45291 void *argp1 = 0 ;
45292 int res1 = 0 ;
45293 PyObject *swig_obj[1] ;
45294
45295 if (!args) SWIG_fail;
45296 swig_obj[0] = args;
45297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45298 if (!SWIG_IsOK(res1)) {
45299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45300 }
45301 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45302 {
45303 PyThreadState* __tstate = wxPyBeginAllowThreads();
45304 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45305 wxPyEndAllowThreads(__tstate);
45306 if (PyErr_Occurred()) SWIG_fail;
45307 }
45308 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45309 return resultobj;
45310fail:
45311 return NULL;
45312}
45313
45314
45315SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45316 PyObject *resultobj = 0;
45317 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45318 wxFont *arg2 = 0 ;
45319 void *argp1 = 0 ;
45320 int res1 = 0 ;
45321 void *argp2 = 0 ;
45322 int res2 = 0 ;
45323 PyObject * obj0 = 0 ;
45324 PyObject * obj1 = 0 ;
45325 char * kwnames[] = {
45326 (char *) "self",(char *) "f", NULL
45327 };
45328
45329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45331 if (!SWIG_IsOK(res1)) {
45332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45333 }
45334 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45335 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45336 if (!SWIG_IsOK(res2)) {
45337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45338 }
45339 if (!argp2) {
45340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45341 }
45342 arg2 = reinterpret_cast< wxFont * >(argp2);
45343 {
45344 PyThreadState* __tstate = wxPyBeginAllowThreads();
45345 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45346 wxPyEndAllowThreads(__tstate);
45347 if (PyErr_Occurred()) SWIG_fail;
45348 }
45349 resultobj = SWIG_Py_Void();
45350 return resultobj;
45351fail:
45352 return NULL;
45353}
45354
45355
45356SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45357 PyObject *resultobj = 0;
45358 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45359 unsigned int arg2 ;
45360 void *argp1 = 0 ;
45361 int res1 = 0 ;
45362 unsigned int val2 ;
45363 int ecode2 = 0 ;
45364 PyObject * obj0 = 0 ;
45365 PyObject * obj1 = 0 ;
45366 char * kwnames[] = {
45367 (char *) "self",(char *) "max", NULL
45368 };
45369
45370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45372 if (!SWIG_IsOK(res1)) {
45373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45374 }
45375 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45376 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45377 if (!SWIG_IsOK(ecode2)) {
45378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45379 }
45380 arg2 = static_cast< unsigned int >(val2);
45381 {
45382 PyThreadState* __tstate = wxPyBeginAllowThreads();
45383 (arg1)->SetMaxPointSize(arg2);
45384 wxPyEndAllowThreads(__tstate);
45385 if (PyErr_Occurred()) SWIG_fail;
45386 }
45387 resultobj = SWIG_Py_Void();
45388 return resultobj;
45389fail:
45390 return NULL;
45391}
45392
45393
45394SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45395 PyObject *resultobj = 0;
45396 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45397 unsigned int result;
45398 void *argp1 = 0 ;
45399 int res1 = 0 ;
45400 PyObject *swig_obj[1] ;
45401
45402 if (!args) SWIG_fail;
45403 swig_obj[0] = args;
45404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45405 if (!SWIG_IsOK(res1)) {
45406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45407 }
45408 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45409 {
45410 PyThreadState* __tstate = wxPyBeginAllowThreads();
45411 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45412 wxPyEndAllowThreads(__tstate);
45413 if (PyErr_Occurred()) SWIG_fail;
45414 }
45415 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45416 return resultobj;
45417fail:
45418 return NULL;
45419}
45420
45421
45422SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45423 PyObject *obj;
45424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45425 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45426 return SWIG_Py_Void();
45427}
45428
45429SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45430 return SWIG_Python_InitShadowInstance(args);
45431}
45432
45433SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45434 PyObject *resultobj = 0;
45435 wxObject *arg1 = (wxObject *) 0 ;
45436 int arg2 ;
45437 wxFont *arg3 = 0 ;
45438 wxFontPickerEvent *result = 0 ;
45439 void *argp1 = 0 ;
45440 int res1 = 0 ;
45441 int val2 ;
45442 int ecode2 = 0 ;
45443 void *argp3 = 0 ;
45444 int res3 = 0 ;
45445 PyObject * obj0 = 0 ;
45446 PyObject * obj1 = 0 ;
45447 PyObject * obj2 = 0 ;
45448 char * kwnames[] = {
45449 (char *) "generator",(char *) "id",(char *) "f", NULL
45450 };
45451
45452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45454 if (!SWIG_IsOK(res1)) {
45455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45456 }
45457 arg1 = reinterpret_cast< wxObject * >(argp1);
45458 ecode2 = SWIG_AsVal_int(obj1, &val2);
45459 if (!SWIG_IsOK(ecode2)) {
45460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45461 }
45462 arg2 = static_cast< int >(val2);
45463 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45464 if (!SWIG_IsOK(res3)) {
45465 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45466 }
45467 if (!argp3) {
45468 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45469 }
45470 arg3 = reinterpret_cast< wxFont * >(argp3);
45471 {
45472 PyThreadState* __tstate = wxPyBeginAllowThreads();
45473 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45474 wxPyEndAllowThreads(__tstate);
45475 if (PyErr_Occurred()) SWIG_fail;
45476 }
45477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45478 return resultobj;
45479fail:
45480 return NULL;
45481}
45482
45483
45484SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45485 PyObject *resultobj = 0;
45486 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45487 wxFont result;
45488 void *argp1 = 0 ;
45489 int res1 = 0 ;
45490 PyObject *swig_obj[1] ;
45491
45492 if (!args) SWIG_fail;
45493 swig_obj[0] = args;
45494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45495 if (!SWIG_IsOK(res1)) {
45496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45497 }
45498 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45499 {
45500 PyThreadState* __tstate = wxPyBeginAllowThreads();
45501 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45502 wxPyEndAllowThreads(__tstate);
45503 if (PyErr_Occurred()) SWIG_fail;
45504 }
45505 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45506 return resultobj;
45507fail:
45508 return NULL;
45509}
45510
45511
45512SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45513 PyObject *resultobj = 0;
45514 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45515 wxFont *arg2 = 0 ;
45516 void *argp1 = 0 ;
45517 int res1 = 0 ;
45518 void *argp2 = 0 ;
45519 int res2 = 0 ;
45520 PyObject * obj0 = 0 ;
45521 PyObject * obj1 = 0 ;
45522 char * kwnames[] = {
45523 (char *) "self",(char *) "c", NULL
45524 };
45525
45526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45528 if (!SWIG_IsOK(res1)) {
45529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45530 }
45531 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45532 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45533 if (!SWIG_IsOK(res2)) {
45534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45535 }
45536 if (!argp2) {
45537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45538 }
45539 arg2 = reinterpret_cast< wxFont * >(argp2);
45540 {
45541 PyThreadState* __tstate = wxPyBeginAllowThreads();
45542 (arg1)->SetFont((wxFont const &)*arg2);
45543 wxPyEndAllowThreads(__tstate);
45544 if (PyErr_Occurred()) SWIG_fail;
45545 }
45546 resultobj = SWIG_Py_Void();
45547 return resultobj;
45548fail:
45549 return NULL;
45550}
45551
45552
45553SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45554 PyObject *obj;
45555 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45556 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45557 return SWIG_Py_Void();
45558}
45559
45560SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45561 return SWIG_Python_InitShadowInstance(args);
45562}
45563
5172800e
RD
45564SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45565 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45566 return 1;
45567}
45568
45569
45570SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45571 PyObject *pyobj = 0;
45572
45573 {
45574#if wxUSE_UNICODE
45575 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45576#else
45577 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45578#endif
45579 }
45580 return pyobj;
45581}
45582
45583
45584SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45585 PyObject *resultobj = 0;
45586 wxWindow *arg1 = (wxWindow *) 0 ;
45587 int arg2 = (int) -1 ;
45588 wxString const &arg3_defvalue = wxPyEmptyString ;
45589 wxString *arg3 = (wxString *) &arg3_defvalue ;
45590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45592 wxSize const &arg5_defvalue = wxDefaultSize ;
45593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45594 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45595 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45596 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45597 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45598 wxString *arg8 = (wxString *) &arg8_defvalue ;
45599 wxCollapsiblePane *result = 0 ;
45600 void *argp1 = 0 ;
45601 int res1 = 0 ;
45602 int val2 ;
45603 int ecode2 = 0 ;
45604 bool temp3 = false ;
45605 wxPoint temp4 ;
45606 wxSize temp5 ;
45607 long val6 ;
45608 int ecode6 = 0 ;
45609 void *argp7 = 0 ;
45610 int res7 = 0 ;
45611 bool temp8 = false ;
45612 PyObject * obj0 = 0 ;
45613 PyObject * obj1 = 0 ;
45614 PyObject * obj2 = 0 ;
45615 PyObject * obj3 = 0 ;
45616 PyObject * obj4 = 0 ;
45617 PyObject * obj5 = 0 ;
45618 PyObject * obj6 = 0 ;
45619 PyObject * obj7 = 0 ;
45620 char * kwnames[] = {
45621 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45622 };
45623
45624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45626 if (!SWIG_IsOK(res1)) {
45627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45628 }
45629 arg1 = reinterpret_cast< wxWindow * >(argp1);
45630 if (obj1) {
45631 ecode2 = SWIG_AsVal_int(obj1, &val2);
45632 if (!SWIG_IsOK(ecode2)) {
45633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45634 }
45635 arg2 = static_cast< int >(val2);
45636 }
45637 if (obj2) {
45638 {
45639 arg3 = wxString_in_helper(obj2);
45640 if (arg3 == NULL) SWIG_fail;
45641 temp3 = true;
45642 }
45643 }
45644 if (obj3) {
45645 {
45646 arg4 = &temp4;
45647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45648 }
45649 }
45650 if (obj4) {
45651 {
45652 arg5 = &temp5;
45653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45654 }
45655 }
45656 if (obj5) {
45657 ecode6 = SWIG_AsVal_long(obj5, &val6);
45658 if (!SWIG_IsOK(ecode6)) {
45659 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45660 }
45661 arg6 = static_cast< long >(val6);
45662 }
45663 if (obj6) {
45664 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45665 if (!SWIG_IsOK(res7)) {
45666 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45667 }
45668 if (!argp7) {
45669 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45670 }
45671 arg7 = reinterpret_cast< wxValidator * >(argp7);
45672 }
45673 if (obj7) {
45674 {
45675 arg8 = wxString_in_helper(obj7);
45676 if (arg8 == NULL) SWIG_fail;
45677 temp8 = true;
45678 }
45679 }
45680 {
45681 if (!wxPyCheckForApp()) SWIG_fail;
45682 PyThreadState* __tstate = wxPyBeginAllowThreads();
45683 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45684 wxPyEndAllowThreads(__tstate);
45685 if (PyErr_Occurred()) SWIG_fail;
45686 }
45687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45688 {
45689 if (temp3)
45690 delete arg3;
45691 }
45692 {
45693 if (temp8)
45694 delete arg8;
45695 }
45696 return resultobj;
45697fail:
45698 {
45699 if (temp3)
45700 delete arg3;
45701 }
45702 {
45703 if (temp8)
45704 delete arg8;
45705 }
45706 return NULL;
45707}
45708
45709
45710SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45711 PyObject *resultobj = 0;
45712 wxCollapsiblePane *result = 0 ;
45713
45714 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45715 {
45716 if (!wxPyCheckForApp()) SWIG_fail;
45717 PyThreadState* __tstate = wxPyBeginAllowThreads();
45718 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45719 wxPyEndAllowThreads(__tstate);
45720 if (PyErr_Occurred()) SWIG_fail;
45721 }
45722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45723 return resultobj;
45724fail:
45725 return NULL;
45726}
45727
45728
45729SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45730 PyObject *resultobj = 0;
45731 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45732 wxWindow *arg2 = (wxWindow *) 0 ;
45733 int arg3 = (int) -1 ;
45734 wxString const &arg4_defvalue = wxPyEmptyString ;
45735 wxString *arg4 = (wxString *) &arg4_defvalue ;
45736 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45737 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45738 wxSize const &arg6_defvalue = wxDefaultSize ;
45739 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45740 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45741 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45742 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45743 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45744 wxString *arg9 = (wxString *) &arg9_defvalue ;
45745 bool result;
45746 void *argp1 = 0 ;
45747 int res1 = 0 ;
45748 void *argp2 = 0 ;
45749 int res2 = 0 ;
45750 int val3 ;
45751 int ecode3 = 0 ;
45752 bool temp4 = false ;
45753 wxPoint temp5 ;
45754 wxSize temp6 ;
45755 long val7 ;
45756 int ecode7 = 0 ;
45757 void *argp8 = 0 ;
45758 int res8 = 0 ;
45759 bool temp9 = false ;
45760 PyObject * obj0 = 0 ;
45761 PyObject * obj1 = 0 ;
45762 PyObject * obj2 = 0 ;
45763 PyObject * obj3 = 0 ;
45764 PyObject * obj4 = 0 ;
45765 PyObject * obj5 = 0 ;
45766 PyObject * obj6 = 0 ;
45767 PyObject * obj7 = 0 ;
45768 PyObject * obj8 = 0 ;
45769 char * kwnames[] = {
45770 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45771 };
45772
45773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45775 if (!SWIG_IsOK(res1)) {
45776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45777 }
45778 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45780 if (!SWIG_IsOK(res2)) {
45781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45782 }
45783 arg2 = reinterpret_cast< wxWindow * >(argp2);
45784 if (obj2) {
45785 ecode3 = SWIG_AsVal_int(obj2, &val3);
45786 if (!SWIG_IsOK(ecode3)) {
45787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45788 }
45789 arg3 = static_cast< int >(val3);
45790 }
45791 if (obj3) {
45792 {
45793 arg4 = wxString_in_helper(obj3);
45794 if (arg4 == NULL) SWIG_fail;
45795 temp4 = true;
45796 }
45797 }
45798 if (obj4) {
45799 {
45800 arg5 = &temp5;
45801 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45802 }
45803 }
45804 if (obj5) {
45805 {
45806 arg6 = &temp6;
45807 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45808 }
45809 }
45810 if (obj6) {
45811 ecode7 = SWIG_AsVal_long(obj6, &val7);
45812 if (!SWIG_IsOK(ecode7)) {
45813 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45814 }
45815 arg7 = static_cast< long >(val7);
45816 }
45817 if (obj7) {
45818 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45819 if (!SWIG_IsOK(res8)) {
45820 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45821 }
45822 if (!argp8) {
45823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45824 }
45825 arg8 = reinterpret_cast< wxValidator * >(argp8);
45826 }
45827 if (obj8) {
45828 {
45829 arg9 = wxString_in_helper(obj8);
45830 if (arg9 == NULL) SWIG_fail;
45831 temp9 = true;
45832 }
45833 }
45834 {
45835 PyThreadState* __tstate = wxPyBeginAllowThreads();
45836 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45837 wxPyEndAllowThreads(__tstate);
45838 if (PyErr_Occurred()) SWIG_fail;
45839 }
45840 {
45841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45842 }
45843 {
45844 if (temp4)
45845 delete arg4;
45846 }
45847 {
45848 if (temp9)
45849 delete arg9;
45850 }
45851 return resultobj;
45852fail:
45853 {
45854 if (temp4)
45855 delete arg4;
45856 }
45857 {
45858 if (temp9)
45859 delete arg9;
45860 }
45861 return NULL;
45862}
45863
45864
45865SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45866 PyObject *resultobj = 0;
45867 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45868 bool arg2 = (bool) true ;
45869 void *argp1 = 0 ;
45870 int res1 = 0 ;
45871 bool val2 ;
45872 int ecode2 = 0 ;
45873 PyObject * obj0 = 0 ;
45874 PyObject * obj1 = 0 ;
45875 char * kwnames[] = {
45876 (char *) "self",(char *) "collapse", NULL
45877 };
45878
45879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45881 if (!SWIG_IsOK(res1)) {
45882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45883 }
45884 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45885 if (obj1) {
45886 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45887 if (!SWIG_IsOK(ecode2)) {
45888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45889 }
45890 arg2 = static_cast< bool >(val2);
45891 }
45892 {
45893 PyThreadState* __tstate = wxPyBeginAllowThreads();
45894 (arg1)->Collapse(arg2);
45895 wxPyEndAllowThreads(__tstate);
45896 if (PyErr_Occurred()) SWIG_fail;
45897 }
45898 resultobj = SWIG_Py_Void();
45899 return resultobj;
45900fail:
45901 return NULL;
45902}
45903
45904
45905SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45906 PyObject *resultobj = 0;
45907 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45908 void *argp1 = 0 ;
45909 int res1 = 0 ;
45910 PyObject *swig_obj[1] ;
45911
45912 if (!args) SWIG_fail;
45913 swig_obj[0] = args;
45914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45915 if (!SWIG_IsOK(res1)) {
45916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45917 }
45918 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45919 {
45920 PyThreadState* __tstate = wxPyBeginAllowThreads();
45921 (arg1)->Expand();
45922 wxPyEndAllowThreads(__tstate);
45923 if (PyErr_Occurred()) SWIG_fail;
45924 }
45925 resultobj = SWIG_Py_Void();
45926 return resultobj;
45927fail:
45928 return NULL;
45929}
45930
45931
45932SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45933 PyObject *resultobj = 0;
45934 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45935 bool result;
45936 void *argp1 = 0 ;
45937 int res1 = 0 ;
45938 PyObject *swig_obj[1] ;
45939
45940 if (!args) SWIG_fail;
45941 swig_obj[0] = args;
45942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45943 if (!SWIG_IsOK(res1)) {
45944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45945 }
45946 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45947 {
45948 PyThreadState* __tstate = wxPyBeginAllowThreads();
45949 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
45950 wxPyEndAllowThreads(__tstate);
45951 if (PyErr_Occurred()) SWIG_fail;
45952 }
45953 {
45954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45955 }
45956 return resultobj;
45957fail:
45958 return NULL;
45959}
45960
45961
45962SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45963 PyObject *resultobj = 0;
45964 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45965 bool result;
45966 void *argp1 = 0 ;
45967 int res1 = 0 ;
45968 PyObject *swig_obj[1] ;
45969
45970 if (!args) SWIG_fail;
45971 swig_obj[0] = args;
45972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45973 if (!SWIG_IsOK(res1)) {
45974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45975 }
45976 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45977 {
45978 PyThreadState* __tstate = wxPyBeginAllowThreads();
45979 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
45980 wxPyEndAllowThreads(__tstate);
45981 if (PyErr_Occurred()) SWIG_fail;
45982 }
45983 {
45984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45985 }
45986 return resultobj;
45987fail:
45988 return NULL;
45989}
45990
45991
45992SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45993 PyObject *resultobj = 0;
45994 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45995 wxWindow *result = 0 ;
45996 void *argp1 = 0 ;
45997 int res1 = 0 ;
45998 PyObject *swig_obj[1] ;
45999
46000 if (!args) SWIG_fail;
46001 swig_obj[0] = args;
46002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46003 if (!SWIG_IsOK(res1)) {
46004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46005 }
46006 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46007 {
46008 PyThreadState* __tstate = wxPyBeginAllowThreads();
46009 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
46010 wxPyEndAllowThreads(__tstate);
46011 if (PyErr_Occurred()) SWIG_fail;
46012 }
46013 {
46014 resultobj = wxPyMake_wxObject(result, 0);
46015 }
46016 return resultobj;
46017fail:
46018 return NULL;
46019}
46020
46021
46022SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46023 PyObject *obj;
46024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46025 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
46026 return SWIG_Py_Void();
46027}
46028
46029SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46030 return SWIG_Python_InitShadowInstance(args);
46031}
46032
46033SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46034 PyObject *resultobj = 0;
46035 wxObject *arg1 = (wxObject *) 0 ;
46036 int arg2 ;
46037 bool arg3 ;
46038 wxCollapsiblePaneEvent *result = 0 ;
46039 void *argp1 = 0 ;
46040 int res1 = 0 ;
46041 int val2 ;
46042 int ecode2 = 0 ;
46043 bool val3 ;
46044 int ecode3 = 0 ;
46045 PyObject * obj0 = 0 ;
46046 PyObject * obj1 = 0 ;
46047 PyObject * obj2 = 0 ;
46048 char * kwnames[] = {
46049 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46050 };
46051
46052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
46053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
46054 if (!SWIG_IsOK(res1)) {
46055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46056 }
46057 arg1 = reinterpret_cast< wxObject * >(argp1);
46058 ecode2 = SWIG_AsVal_int(obj1, &val2);
46059 if (!SWIG_IsOK(ecode2)) {
46060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46061 }
46062 arg2 = static_cast< int >(val2);
46063 ecode3 = SWIG_AsVal_bool(obj2, &val3);
46064 if (!SWIG_IsOK(ecode3)) {
46065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46066 }
46067 arg3 = static_cast< bool >(val3);
46068 {
46069 PyThreadState* __tstate = wxPyBeginAllowThreads();
46070 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
46071 wxPyEndAllowThreads(__tstate);
46072 if (PyErr_Occurred()) SWIG_fail;
46073 }
46074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46075 return resultobj;
46076fail:
46077 return NULL;
46078}
46079
46080
46081SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46082 PyObject *resultobj = 0;
46083 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46084 bool result;
46085 void *argp1 = 0 ;
46086 int res1 = 0 ;
46087 PyObject *swig_obj[1] ;
46088
46089 if (!args) SWIG_fail;
46090 swig_obj[0] = args;
46091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46092 if (!SWIG_IsOK(res1)) {
46093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46094 }
46095 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46096 {
46097 PyThreadState* __tstate = wxPyBeginAllowThreads();
46098 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46099 wxPyEndAllowThreads(__tstate);
46100 if (PyErr_Occurred()) SWIG_fail;
46101 }
46102 {
46103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46104 }
46105 return resultobj;
46106fail:
46107 return NULL;
46108}
46109
46110
46111SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46112 PyObject *resultobj = 0;
46113 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46114 bool arg2 ;
46115 void *argp1 = 0 ;
46116 int res1 = 0 ;
46117 bool val2 ;
46118 int ecode2 = 0 ;
46119 PyObject * obj0 = 0 ;
46120 PyObject * obj1 = 0 ;
46121 char * kwnames[] = {
46122 (char *) "self",(char *) "c", NULL
46123 };
46124
46125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46127 if (!SWIG_IsOK(res1)) {
46128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46129 }
46130 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46131 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46132 if (!SWIG_IsOK(ecode2)) {
46133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46134 }
46135 arg2 = static_cast< bool >(val2);
46136 {
46137 PyThreadState* __tstate = wxPyBeginAllowThreads();
46138 (arg1)->SetCollapsed(arg2);
46139 wxPyEndAllowThreads(__tstate);
46140 if (PyErr_Occurred()) SWIG_fail;
46141 }
46142 resultobj = SWIG_Py_Void();
46143 return resultobj;
46144fail:
46145 return NULL;
46146}
46147
46148
46149SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46150 PyObject *obj;
46151 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46152 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46153 return SWIG_Py_Void();
46154}
46155
46156SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46157 return SWIG_Python_InitShadowInstance(args);
46158}
46159
3f7f284d
RD
46160SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46161 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46162 return 1;
46163}
46164
46165
46166SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46167 PyObject *pyobj = 0;
46168
46169 {
46170#if wxUSE_UNICODE
46171 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46172#else
46173 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46174#endif
46175 }
46176 return pyobj;
46177}
46178
46179
46180SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46181 PyObject *resultobj = 0;
46182 wxWindow *arg1 = (wxWindow *) 0 ;
46183 int arg2 = (int) -1 ;
46184 wxString const &arg3_defvalue = wxEmptyString ;
46185 wxString *arg3 = (wxString *) &arg3_defvalue ;
46186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46188 wxSize const &arg5_defvalue = wxDefaultSize ;
46189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46190 long arg6 = (long) 0 ;
46191 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46192 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46193 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46194 wxString *arg8 = (wxString *) &arg8_defvalue ;
46195 wxSearchCtrl *result = 0 ;
46196 void *argp1 = 0 ;
46197 int res1 = 0 ;
46198 int val2 ;
46199 int ecode2 = 0 ;
46200 bool temp3 = false ;
46201 wxPoint temp4 ;
46202 wxSize temp5 ;
46203 long val6 ;
46204 int ecode6 = 0 ;
46205 void *argp7 = 0 ;
46206 int res7 = 0 ;
46207 bool temp8 = false ;
46208 PyObject * obj0 = 0 ;
46209 PyObject * obj1 = 0 ;
46210 PyObject * obj2 = 0 ;
46211 PyObject * obj3 = 0 ;
46212 PyObject * obj4 = 0 ;
46213 PyObject * obj5 = 0 ;
46214 PyObject * obj6 = 0 ;
46215 PyObject * obj7 = 0 ;
46216 char * kwnames[] = {
46217 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46218 };
46219
46220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46222 if (!SWIG_IsOK(res1)) {
46223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46224 }
46225 arg1 = reinterpret_cast< wxWindow * >(argp1);
46226 if (obj1) {
46227 ecode2 = SWIG_AsVal_int(obj1, &val2);
46228 if (!SWIG_IsOK(ecode2)) {
46229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46230 }
46231 arg2 = static_cast< int >(val2);
46232 }
46233 if (obj2) {
46234 {
46235 arg3 = wxString_in_helper(obj2);
46236 if (arg3 == NULL) SWIG_fail;
46237 temp3 = true;
46238 }
46239 }
46240 if (obj3) {
46241 {
46242 arg4 = &temp4;
46243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46244 }
46245 }
46246 if (obj4) {
46247 {
46248 arg5 = &temp5;
46249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46250 }
46251 }
46252 if (obj5) {
46253 ecode6 = SWIG_AsVal_long(obj5, &val6);
46254 if (!SWIG_IsOK(ecode6)) {
46255 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46256 }
46257 arg6 = static_cast< long >(val6);
46258 }
46259 if (obj6) {
46260 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46261 if (!SWIG_IsOK(res7)) {
46262 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46263 }
46264 if (!argp7) {
46265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46266 }
46267 arg7 = reinterpret_cast< wxValidator * >(argp7);
46268 }
46269 if (obj7) {
46270 {
46271 arg8 = wxString_in_helper(obj7);
46272 if (arg8 == NULL) SWIG_fail;
46273 temp8 = true;
46274 }
46275 }
46276 {
46277 if (!wxPyCheckForApp()) SWIG_fail;
46278 PyThreadState* __tstate = wxPyBeginAllowThreads();
46279 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46280 wxPyEndAllowThreads(__tstate);
46281 if (PyErr_Occurred()) SWIG_fail;
46282 }
46283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46284 {
46285 if (temp3)
46286 delete arg3;
46287 }
46288 {
46289 if (temp8)
46290 delete arg8;
46291 }
46292 return resultobj;
46293fail:
46294 {
46295 if (temp3)
46296 delete arg3;
46297 }
46298 {
46299 if (temp8)
46300 delete arg8;
46301 }
46302 return NULL;
46303}
46304
46305
46306SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46307 PyObject *resultobj = 0;
46308 wxSearchCtrl *result = 0 ;
46309
46310 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46311 {
46312 if (!wxPyCheckForApp()) SWIG_fail;
46313 PyThreadState* __tstate = wxPyBeginAllowThreads();
46314 result = (wxSearchCtrl *)new wxSearchCtrl();
46315 wxPyEndAllowThreads(__tstate);
46316 if (PyErr_Occurred()) SWIG_fail;
46317 }
46318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46319 return resultobj;
46320fail:
46321 return NULL;
46322}
46323
46324
46325SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46326 PyObject *resultobj = 0;
46327 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46328 wxWindow *arg2 = (wxWindow *) 0 ;
46329 int arg3 = (int) -1 ;
46330 wxString const &arg4_defvalue = wxEmptyString ;
46331 wxString *arg4 = (wxString *) &arg4_defvalue ;
46332 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46333 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46334 wxSize const &arg6_defvalue = wxDefaultSize ;
46335 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46336 long arg7 = (long) 0 ;
46337 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46338 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46339 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46340 wxString *arg9 = (wxString *) &arg9_defvalue ;
46341 bool result;
46342 void *argp1 = 0 ;
46343 int res1 = 0 ;
46344 void *argp2 = 0 ;
46345 int res2 = 0 ;
46346 int val3 ;
46347 int ecode3 = 0 ;
46348 bool temp4 = false ;
46349 wxPoint temp5 ;
46350 wxSize temp6 ;
46351 long val7 ;
46352 int ecode7 = 0 ;
46353 void *argp8 = 0 ;
46354 int res8 = 0 ;
46355 bool temp9 = false ;
46356 PyObject * obj0 = 0 ;
46357 PyObject * obj1 = 0 ;
46358 PyObject * obj2 = 0 ;
46359 PyObject * obj3 = 0 ;
46360 PyObject * obj4 = 0 ;
46361 PyObject * obj5 = 0 ;
46362 PyObject * obj6 = 0 ;
46363 PyObject * obj7 = 0 ;
46364 PyObject * obj8 = 0 ;
46365 char * kwnames[] = {
46366 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46367 };
46368
46369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46371 if (!SWIG_IsOK(res1)) {
46372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46373 }
46374 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46375 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46376 if (!SWIG_IsOK(res2)) {
46377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46378 }
46379 arg2 = reinterpret_cast< wxWindow * >(argp2);
46380 if (obj2) {
46381 ecode3 = SWIG_AsVal_int(obj2, &val3);
46382 if (!SWIG_IsOK(ecode3)) {
46383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46384 }
46385 arg3 = static_cast< int >(val3);
46386 }
46387 if (obj3) {
46388 {
46389 arg4 = wxString_in_helper(obj3);
46390 if (arg4 == NULL) SWIG_fail;
46391 temp4 = true;
46392 }
46393 }
46394 if (obj4) {
46395 {
46396 arg5 = &temp5;
46397 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46398 }
46399 }
46400 if (obj5) {
46401 {
46402 arg6 = &temp6;
46403 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46404 }
46405 }
46406 if (obj6) {
46407 ecode7 = SWIG_AsVal_long(obj6, &val7);
46408 if (!SWIG_IsOK(ecode7)) {
46409 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46410 }
46411 arg7 = static_cast< long >(val7);
46412 }
46413 if (obj7) {
46414 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46415 if (!SWIG_IsOK(res8)) {
46416 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46417 }
46418 if (!argp8) {
46419 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46420 }
46421 arg8 = reinterpret_cast< wxValidator * >(argp8);
46422 }
46423 if (obj8) {
46424 {
46425 arg9 = wxString_in_helper(obj8);
46426 if (arg9 == NULL) SWIG_fail;
46427 temp9 = true;
46428 }
46429 }
46430 {
46431 PyThreadState* __tstate = wxPyBeginAllowThreads();
46432 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46433 wxPyEndAllowThreads(__tstate);
46434 if (PyErr_Occurred()) SWIG_fail;
46435 }
46436 {
46437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46438 }
46439 {
46440 if (temp4)
46441 delete arg4;
46442 }
46443 {
46444 if (temp9)
46445 delete arg9;
46446 }
46447 return resultobj;
46448fail:
46449 {
46450 if (temp4)
46451 delete arg4;
46452 }
46453 {
46454 if (temp9)
46455 delete arg9;
46456 }
46457 return NULL;
46458}
46459
46460
46461SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46462 PyObject *resultobj = 0;
46463 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46464 wxMenu *arg2 = (wxMenu *) 0 ;
46465 void *argp1 = 0 ;
46466 int res1 = 0 ;
46467 void *argp2 = 0 ;
46468 int res2 = 0 ;
46469 PyObject * obj0 = 0 ;
46470 PyObject * obj1 = 0 ;
46471 char * kwnames[] = {
46472 (char *) "self",(char *) "menu", NULL
46473 };
46474
46475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46477 if (!SWIG_IsOK(res1)) {
46478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46479 }
46480 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46482 if (!SWIG_IsOK(res2)) {
46483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46484 }
46485 arg2 = reinterpret_cast< wxMenu * >(argp2);
46486 {
46487 PyThreadState* __tstate = wxPyBeginAllowThreads();
46488 (arg1)->SetMenu(arg2);
46489 wxPyEndAllowThreads(__tstate);
46490 if (PyErr_Occurred()) SWIG_fail;
46491 }
46492 resultobj = SWIG_Py_Void();
46493 return resultobj;
46494fail:
46495 return NULL;
46496}
46497
46498
46499SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46500 PyObject *resultobj = 0;
46501 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46502 wxMenu *result = 0 ;
46503 void *argp1 = 0 ;
46504 int res1 = 0 ;
46505 PyObject *swig_obj[1] ;
46506
46507 if (!args) SWIG_fail;
46508 swig_obj[0] = args;
46509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46510 if (!SWIG_IsOK(res1)) {
46511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46512 }
46513 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46514 {
46515 PyThreadState* __tstate = wxPyBeginAllowThreads();
46516 result = (wxMenu *)(arg1)->GetMenu();
46517 wxPyEndAllowThreads(__tstate);
46518 if (PyErr_Occurred()) SWIG_fail;
46519 }
46520 {
46521 resultobj = wxPyMake_wxObject(result, 0);
46522 }
46523 return resultobj;
46524fail:
46525 return NULL;
46526}
46527
46528
70b63a99 46529SWIGINTERN PyObject *_wrap_SearchCtrl_ShowSearchButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3f7f284d
RD
46530 PyObject *resultobj = 0;
46531 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46532 bool arg2 ;
46533 void *argp1 = 0 ;
46534 int res1 = 0 ;
46535 bool val2 ;
46536 int ecode2 = 0 ;
46537 PyObject * obj0 = 0 ;
46538 PyObject * obj1 = 0 ;
46539 char * kwnames[] = {
46540 (char *) "self",(char *) "show", NULL
46541 };
46542
70b63a99 46543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames,&obj0,&obj1)) SWIG_fail;
3f7f284d
RD
46544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46545 if (!SWIG_IsOK(res1)) {
70b63a99 46546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
3f7f284d
RD
46547 }
46548 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46549 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46550 if (!SWIG_IsOK(ecode2)) {
70b63a99 46551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
3f7f284d
RD
46552 }
46553 arg2 = static_cast< bool >(val2);
46554 {
46555 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46556 (arg1)->ShowSearchButton(arg2);
3f7f284d
RD
46557 wxPyEndAllowThreads(__tstate);
46558 if (PyErr_Occurred()) SWIG_fail;
46559 }
46560 resultobj = SWIG_Py_Void();
46561 return resultobj;
46562fail:
46563 return NULL;
46564}
46565
46566
70b63a99 46567SWIGINTERN PyObject *_wrap_SearchCtrl_IsSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3f7f284d
RD
46568 PyObject *resultobj = 0;
46569 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46570 bool result;
46571 void *argp1 = 0 ;
46572 int res1 = 0 ;
46573 PyObject *swig_obj[1] ;
46574
46575 if (!args) SWIG_fail;
46576 swig_obj[0] = args;
46577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46578 if (!SWIG_IsOK(res1)) {
70b63a99 46579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
3f7f284d
RD
46580 }
46581 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46582 {
46583 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46584 result = (bool)((wxSearchCtrl const *)arg1)->IsSearchButtonVisible();
3f7f284d
RD
46585 wxPyEndAllowThreads(__tstate);
46586 if (PyErr_Occurred()) SWIG_fail;
46587 }
46588 {
46589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46590 }
46591 return resultobj;
46592fail:
46593 return NULL;
46594}
46595
46596
70b63a99 46597SWIGINTERN PyObject *_wrap_SearchCtrl_ShowCancelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3f7f284d
RD
46598 PyObject *resultobj = 0;
46599 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46600 bool arg2 ;
46601 void *argp1 = 0 ;
46602 int res1 = 0 ;
46603 bool val2 ;
46604 int ecode2 = 0 ;
46605 PyObject * obj0 = 0 ;
46606 PyObject * obj1 = 0 ;
46607 char * kwnames[] = {
46608 (char *) "self",(char *) "show", NULL
46609 };
46610
70b63a99 46611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames,&obj0,&obj1)) SWIG_fail;
3f7f284d
RD
46612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46613 if (!SWIG_IsOK(res1)) {
70b63a99 46614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
3f7f284d
RD
46615 }
46616 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46617 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46618 if (!SWIG_IsOK(ecode2)) {
70b63a99 46619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
3f7f284d
RD
46620 }
46621 arg2 = static_cast< bool >(val2);
46622 {
46623 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46624 (arg1)->ShowCancelButton(arg2);
3f7f284d
RD
46625 wxPyEndAllowThreads(__tstate);
46626 if (PyErr_Occurred()) SWIG_fail;
46627 }
46628 resultobj = SWIG_Py_Void();
46629 return resultobj;
46630fail:
46631 return NULL;
46632}
46633
46634
70b63a99 46635SWIGINTERN PyObject *_wrap_SearchCtrl_IsCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3f7f284d
RD
46636 PyObject *resultobj = 0;
46637 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46638 bool result;
46639 void *argp1 = 0 ;
46640 int res1 = 0 ;
46641 PyObject *swig_obj[1] ;
46642
46643 if (!args) SWIG_fail;
46644 swig_obj[0] = args;
46645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46646 if (!SWIG_IsOK(res1)) {
70b63a99 46647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
3f7f284d
RD
46648 }
46649 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46650 {
46651 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b63a99 46652 result = (bool)((wxSearchCtrl const *)arg1)->IsCancelButtonVisible();
3f7f284d
RD
46653 wxPyEndAllowThreads(__tstate);
46654 if (PyErr_Occurred()) SWIG_fail;
46655 }
46656 {
46657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46658 }
46659 return resultobj;
46660fail:
46661 return NULL;
46662}
46663
46664
6646ca90
RD
46665SWIGINTERN PyObject *_wrap_SearchCtrl_SetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46666 PyObject *resultobj = 0;
46667 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46668 wxString *arg2 = 0 ;
46669 void *argp1 = 0 ;
46670 int res1 = 0 ;
46671 bool temp2 = false ;
46672 PyObject * obj0 = 0 ;
46673 PyObject * obj1 = 0 ;
46674 char * kwnames[] = {
46675 (char *) "self",(char *) "text", NULL
46676 };
46677
46678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames,&obj0,&obj1)) SWIG_fail;
46679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46680 if (!SWIG_IsOK(res1)) {
46681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46682 }
46683 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46684 {
46685 arg2 = wxString_in_helper(obj1);
46686 if (arg2 == NULL) SWIG_fail;
46687 temp2 = true;
46688 }
46689 {
46690 PyThreadState* __tstate = wxPyBeginAllowThreads();
46691 (arg1)->SetDescriptiveText((wxString const &)*arg2);
46692 wxPyEndAllowThreads(__tstate);
46693 if (PyErr_Occurred()) SWIG_fail;
46694 }
46695 resultobj = SWIG_Py_Void();
46696 {
46697 if (temp2)
46698 delete arg2;
46699 }
46700 return resultobj;
46701fail:
46702 {
46703 if (temp2)
46704 delete arg2;
46705 }
46706 return NULL;
46707}
46708
46709
46710SWIGINTERN PyObject *_wrap_SearchCtrl_GetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46711 PyObject *resultobj = 0;
46712 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46713 wxString result;
46714 void *argp1 = 0 ;
46715 int res1 = 0 ;
46716 PyObject *swig_obj[1] ;
46717
46718 if (!args) SWIG_fail;
46719 swig_obj[0] = args;
46720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46721 if (!SWIG_IsOK(res1)) {
46722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46723 }
46724 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46725 {
46726 PyThreadState* __tstate = wxPyBeginAllowThreads();
46727 result = ((wxSearchCtrl const *)arg1)->GetDescriptiveText();
46728 wxPyEndAllowThreads(__tstate);
46729 if (PyErr_Occurred()) SWIG_fail;
46730 }
46731 {
46732#if wxUSE_UNICODE
46733 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
46734#else
46735 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
46736#endif
46737 }
46738 return resultobj;
46739fail:
46740 return NULL;
46741}
46742
46743
3f7f284d
RD
46744SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46745 PyObject *resultobj = 0;
46746 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46747 wxBitmap *arg2 = 0 ;
46748 void *argp1 = 0 ;
46749 int res1 = 0 ;
46750 void *argp2 = 0 ;
46751 int res2 = 0 ;
46752 PyObject * obj0 = 0 ;
46753 PyObject * obj1 = 0 ;
46754 char * kwnames[] = {
46755 (char *) "self",(char *) "bitmap", NULL
46756 };
46757
46758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46760 if (!SWIG_IsOK(res1)) {
46761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46762 }
46763 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46764 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46765 if (!SWIG_IsOK(res2)) {
46766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46767 }
46768 if (!argp2) {
46769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46770 }
46771 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46772 {
46773 PyThreadState* __tstate = wxPyBeginAllowThreads();
46774 (arg1)->SetSearchBitmap((wxBitmap const &)*arg2);
46775 wxPyEndAllowThreads(__tstate);
46776 if (PyErr_Occurred()) SWIG_fail;
46777 }
46778 resultobj = SWIG_Py_Void();
46779 return resultobj;
46780fail:
46781 return NULL;
46782}
46783
46784
46785SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46786 PyObject *resultobj = 0;
46787 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46788 wxBitmap *arg2 = 0 ;
46789 void *argp1 = 0 ;
46790 int res1 = 0 ;
46791 void *argp2 = 0 ;
46792 int res2 = 0 ;
46793 PyObject * obj0 = 0 ;
46794 PyObject * obj1 = 0 ;
46795 char * kwnames[] = {
46796 (char *) "self",(char *) "bitmap", NULL
46797 };
46798
46799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46801 if (!SWIG_IsOK(res1)) {
46802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46803 }
46804 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46805 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46806 if (!SWIG_IsOK(res2)) {
46807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46808 }
46809 if (!argp2) {
46810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46811 }
46812 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46813 {
46814 PyThreadState* __tstate = wxPyBeginAllowThreads();
46815 (arg1)->SetSearchMenuBitmap((wxBitmap const &)*arg2);
46816 wxPyEndAllowThreads(__tstate);
46817 if (PyErr_Occurred()) SWIG_fail;
46818 }
46819 resultobj = SWIG_Py_Void();
46820 return resultobj;
46821fail:
46822 return NULL;
46823}
46824
46825
46826SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46827 PyObject *resultobj = 0;
46828 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46829 wxBitmap *arg2 = 0 ;
46830 void *argp1 = 0 ;
46831 int res1 = 0 ;
46832 void *argp2 = 0 ;
46833 int res2 = 0 ;
46834 PyObject * obj0 = 0 ;
46835 PyObject * obj1 = 0 ;
46836 char * kwnames[] = {
46837 (char *) "self",(char *) "bitmap", NULL
46838 };
46839
46840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46842 if (!SWIG_IsOK(res1)) {
46843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46844 }
46845 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46846 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46847 if (!SWIG_IsOK(res2)) {
46848 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46849 }
46850 if (!argp2) {
46851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46852 }
46853 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46854 {
46855 PyThreadState* __tstate = wxPyBeginAllowThreads();
46856 (arg1)->SetCancelBitmap((wxBitmap const &)*arg2);
46857 wxPyEndAllowThreads(__tstate);
46858 if (PyErr_Occurred()) SWIG_fail;
46859 }
46860 resultobj = SWIG_Py_Void();
46861 return resultobj;
46862fail:
46863 return NULL;
46864}
46865
46866
46867SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46868 PyObject *obj;
46869 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46870 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
46871 return SWIG_Py_Void();
46872}
46873
46874SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46875 return SWIG_Python_InitShadowInstance(args);
46876}
46877
b850e7f3
RD
46878static PyMethodDef SwigMethods[] = {
46879 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46881 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46882 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46883 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46884 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46885 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46886 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46887 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46889 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46890 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46891 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46892 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46893 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46894 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46895 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46896 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46897 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46898 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46899 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46901 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46902 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46903 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46904 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46905 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46906 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46907 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46909 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46910 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46911 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46912 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46913 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46914 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46915 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46916 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46917 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46918 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46919 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46920 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46921 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46922 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46923 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46924 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46925 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46926 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46927 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46928 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46929 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46930 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46931 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46932 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46933 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46934 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46935 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46936 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46937 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46938 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
46939 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46940 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46941 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46942 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46943 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46944 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46945 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46946 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46947 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46948 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46949 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46950 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46951 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46952 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46953 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46954 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46955 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46956 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46957 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46958 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46959 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46960 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46961 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46962 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
ae5bc7f3 46963 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
b850e7f3
RD
46964 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46965 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46966 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46967 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46969 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46970 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46971 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46972 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46973 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46974 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46975 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46976 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46977 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46978 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46980 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46981 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46982 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46983 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46984 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46985 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46986 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46987 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46988 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46989 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46990 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46992 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46993 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46994 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46995 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46997 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46998 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46999 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47000 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
47001 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
47002 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47003 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
47004 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47005 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47006 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
47007 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47008 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47009 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47011 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
47012 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47014 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
47015 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
47016 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
47017 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47018 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47019 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
47020 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47021 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47022 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47023 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47024 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47025 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
47026 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
47027 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47028 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
47029 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47030 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
47033 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
47034 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
47035 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47036 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
47037 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
47038 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
47039 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47040 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47041 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47042 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
47043 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
47044 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47045 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47046 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47047 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
47048 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
47049 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
47050 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
47051 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
47052 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
47053 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
47054 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47055 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
47056 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
47057 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
47058 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
47059 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
47060 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
47061 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
47062 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
47063 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
47064 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
47065 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
47066 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
47067 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
47068 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47069 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
47070 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47071 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
47072 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
47073 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
47074 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47075 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47076 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
47077 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
47078 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
47079 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
47080 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
47081 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
47082 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
47083 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
47084 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
47085 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
47086 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47087 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47088 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
47089 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
47090 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
47091 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
b02396e8 47092 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47093 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
47094 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
47095 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
47096 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
47097 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47098 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47099 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47100 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
47101 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47102 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
47103 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47104 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47105 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
47106 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
47107 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
47108 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
47109 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
47110 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
47111 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
47112 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
47113 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
47114 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
47115 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
47116 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47117 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
47118 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
47119 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
47120 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47121 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
47122 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
d7645bfd 47123 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 47124 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
b850e7f3
RD
47125 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
47126 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47127 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47128 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
47129 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
47130 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47131 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
47132 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
47133 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
47134 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
47135 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
47136 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
47137 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
47138 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47139 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
47140 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
47141 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
47142 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
47143 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
47144 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47145 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47146 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
47147 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
47148 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
47150 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47151 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
47152 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
47153 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
47154 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47155 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47156 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47157 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47158 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
47159 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47160 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
47161 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
47162 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
47164 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47165 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
47166 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47167 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
47168 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47169 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
47170 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
47171 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47172 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47173 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
47174 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
47175 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47176 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
47177 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
47179 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
47180 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
47182 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47183 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47184 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
47185 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
47186 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47187 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
47188 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
47189 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47190 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47191 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
47192 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
47193 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47194 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
47196 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
47197 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47198 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47199 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47200 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47201 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47202 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47203 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
47204 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
47205 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
47206 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
47207 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47208 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
47209 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47210 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47211 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
47212 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
47213 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
47214 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
47215 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47216 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
47217 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47218 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47219 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
47220 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
47221 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47222 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47223 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47224 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47225 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47226 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47227 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47229 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47230 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47231 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47232 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47233 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47234 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47235 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47236 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47237 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47238 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47239 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47240 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47241 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47242 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47243 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47244 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47245 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47246 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47247 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47248 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47249 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47250 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47251 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47252 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47253 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47254 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47255 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47256 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47257 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47258 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47259 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47260 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
47261 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47262 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 47263 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
47264 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47265 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
0085ce49
RD
47266 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47267 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 47268 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
0085ce49
RD
47269 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47270 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47271 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47272 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47273 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47274 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 47275 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 47276 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47277 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47278 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47279 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47280 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47281 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47282 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47283 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47284 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47285 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47286 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47287 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47288 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47289 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47290 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47291 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47292 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47293 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47294 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
47295 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47296 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47297 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47298 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47299 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47300 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47301 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47302 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47304 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47305 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47306 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47307 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47308 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47309 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47310 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47311 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47313 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47314 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47315 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47316 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47317 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47318 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47319 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47320 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47321 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47322 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47323 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47324 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47325 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47326 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47327 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47328 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47329 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47330 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47331 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47332 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47333 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47334 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47335 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47336 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47337 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47338 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47339 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47340 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47341 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47342 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47343 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47344 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47345 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47346 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47347 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47348 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47349 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47350 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47351 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47352 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47353 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47354 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47355 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47356 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47357 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47358 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47359 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47360 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47361 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47362 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47363 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47364 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47365 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47366 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47367 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47368 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47369 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47371 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47372 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47373 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47374 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47375 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47377 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47379 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47380 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47382 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47383 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47385 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47386 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47387 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47388 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47389 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47390 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47391 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47392 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47393 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47394 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47395 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47396 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47397 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47398 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47399 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47400 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47401 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47402 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47403 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47404 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47405 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47406 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47407 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47408 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47409 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47410 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47411 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47412 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47413 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47414 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47415 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47416 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47417 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47418 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47419 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47420 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47421 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47422 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47423 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47424 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47425 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47426 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47427 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47428 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47429 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47430 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47431 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47432 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47433 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47434 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47435 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47436 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47437 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47438 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47439 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47440 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47441 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47442 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47443 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47444 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47445 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47446 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47447 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47448 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47450 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47452 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47453 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47454 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47455 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47456 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47457 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47458 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47459 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47460 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47461 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47462 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47463 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47464 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47465 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47466 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47467 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47468 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47469 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47470 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47471 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47472 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47473 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47474 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47475 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47476 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47477 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47478 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47479 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47480 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47481 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47482 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47483 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47484 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47485 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47486 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47487 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47488 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47489 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47490 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47491 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47492 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47493 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47494 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47495 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47496 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47497 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47498 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47499 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47500 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47501 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47502 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47503 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47504 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47505 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47506 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47507 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47508 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47509 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47510 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47511 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47512 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47513 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47514 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47515 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47516 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47517 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47518 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47519 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47520 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47521 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47522 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
47523 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47524 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
47525 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47526 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47527 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47528 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47530 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47531 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
47532 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
47533 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
47534 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47535 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47536 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47537 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47538 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47540 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47541 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47542 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47543 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47544 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47545 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47546 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
47547 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47548 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
47549 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
47550 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
47551 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47552 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
47553 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
47554 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47555 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
47556 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47557 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47558 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47559 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47560 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47561 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
47562 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
47563 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
47564 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
47565 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
47566 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47567 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
47568 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47569 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
47570 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
47571 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47574 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47577 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47578 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
47581 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47582 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
47583 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47584 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47585 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47587 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47588 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47590 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47591 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47592 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
47593 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
47594 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47595 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
47596 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
47597 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
47598 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
47599 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47600 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47601 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
47602 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
47603 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47604 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
47605 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47606 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47607 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47608 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
47609 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
47610 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
47611 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
47612 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
47613 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47614 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47615 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
47616 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
47617 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
47618 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
47619 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47620 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
47621 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
47622 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47623 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
47624 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47625 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
47626 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
47627 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
b02396e8 47628 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
0085ce49
RD
47629 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
47630 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47631 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
47632 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
47633 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
47634 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47635 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
47636 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
47637 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
47639 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
47641 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47642 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47643 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
47644 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
47645 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
47646 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47647 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
47648 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47649 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47650 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
47651 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
47652 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47653 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
47654 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47655 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
47656 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
47657 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47658 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47659 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47660 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47661 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47663 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47664 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47665 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47667 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47668 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47669 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47670 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47671 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47672 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47673 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47674 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47676 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47677 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47678 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47679 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47680 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47681 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47682 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
1ceb4f4d 47683 { (char *)"TreeCtrl_IsEmpty", (PyCFunction)_wrap_TreeCtrl_IsEmpty, METH_O, NULL},
0085ce49
RD
47684 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47685 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47686 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47687 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47688 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47690 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47691 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47692 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47693 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47694 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47695 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47696 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47697 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47698 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47699 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47700 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47701 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47702 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47703 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47704 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47705 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
453fb36b
RD
47706 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47707 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
0085ce49 47708 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
1ceb4f4d
RD
47709 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction) _wrap_TreeCtrl_CollapseAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47710 { (char *)"TreeCtrl_CollapseAll", (PyCFunction)_wrap_TreeCtrl_CollapseAll, METH_O, NULL},
0085ce49
RD
47711 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47712 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47713 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47714 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47715 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47716 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47717 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47718 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47719 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47720 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47721 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47722 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47723 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47724 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47725 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
47726 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47727 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
0085ce49
RD
47728 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47729 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47730 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47732 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47733 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47734 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47735 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47736 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47737 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47738 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47739 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47740 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47741 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47742 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47743 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47744 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47745 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47746 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47747 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47748 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47749 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47750 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47751 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47752 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47753 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47754 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47755 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47756 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47757 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47758 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47759 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47760 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47761 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47762 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47763 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47764 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47765 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47766 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47767 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47768 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47769 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47770 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47771 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47772 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47773 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47774 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47775 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47776 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47777 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47778 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47779 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47780 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47781 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47782 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47783 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
47784 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47785 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47786 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47787 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47788 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47789 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47790 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47791 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47792 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47793 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47794 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47795 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47796 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 47797 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
0085ce49
RD
47798 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47799 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47800 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47801 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 47802 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
47803 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47804 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47805 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47806 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47807 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47808 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47809 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47810 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47811 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
47812 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47813 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
47814 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
47815 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
47816 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
47817 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47818 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
47819 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
47820 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
47821 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47822 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
47823 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
47824 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
47825 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47826 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47827 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47828 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
47829 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
47830 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47831 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
47832 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47833 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47834 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
47835 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47836 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
47837 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
47838 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
47839 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
47840 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47841 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
47842 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47843 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
47844 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
47845 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
47846 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
47847 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
47848 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
47849 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
47850 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47851 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
47852 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
47853 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
47854 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
47855 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47856 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
47857 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47858 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
47859 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
47860 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
47861 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47862 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
47863 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47864 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
10044bf1
RD
47865 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47866 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
b02396e8
RD
47867 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
47868 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47869 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47870 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47871 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47872 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47873 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47874 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47875 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47876 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47877 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47878 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47879 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47880 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47881 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47882 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47883 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47884 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47885 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47886 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47887 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47888 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47889 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47890 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47891 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47892 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47893 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47894 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47895 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47896 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47897 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47898 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47899 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47900 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47901 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47902 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47903 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47904 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47905 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47906 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47907 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47908 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47909 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47910 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47911 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47912 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47913 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47914 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47915 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47916 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47917 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47918 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47919 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47920 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47921 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47922 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47923 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
5172800e
RD
47924 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47925 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47926 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47927 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47928 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47929 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47930 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47931 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47932 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47933 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47934 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47935 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47936 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47937 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47938 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
3f7f284d
RD
47939 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47940 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
47941 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47942 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47943 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
70b63a99
RD
47944 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction) _wrap_SearchCtrl_ShowSearchButton, METH_VARARGS | METH_KEYWORDS, NULL},
47945 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsSearchButtonVisible, METH_O, NULL},
47946 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction) _wrap_SearchCtrl_ShowCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
47947 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsCancelButtonVisible, METH_O, NULL},
6646ca90
RD
47948 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction) _wrap_SearchCtrl_SetDescriptiveText, METH_VARARGS | METH_KEYWORDS, NULL},
47949 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction)_wrap_SearchCtrl_GetDescriptiveText, METH_O, NULL},
3f7f284d
RD
47950 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47951 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47952 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47953 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
47954 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
0085ce49
RD
47955 { NULL, NULL, 0, NULL }
47956};
47957
47958
47959/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47960
47961static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47962 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47963}
47964static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47965 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47966}
47967static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47968 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47969}
47970static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47971 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47972}
47973static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47974 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47975}
47976static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47977 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47978}
47979static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47980 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47981}
47982static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47983 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47984}
b850e7f3
RD
47985static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47987}
47988static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47989 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47990}
47991static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47992 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47993}
0085ce49
RD
47994static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47995 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47996}
47997static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47998 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47999}
48000static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
48001 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
48002}
0085ce49
RD
48003static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
48004 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
48005}
34e0a3bb
RD
48006static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
48007 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
48008}
2131d850
RD
48009static void *_p_wxPyEventTo_p_wxEvent(void *x) {
48010 return (void *)((wxEvent *) ((wxPyEvent *) x));
48011}
0085ce49
RD
48012static void *_p_wxListEventTo_p_wxEvent(void *x) {
48013 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48014}
48015static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
48016 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48017}
48018static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
48019 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48020}
48021static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
48022 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48023}
48024static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
48025 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48026}
48027static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
48028 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48029}
48030static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
48031 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
48032}
48033static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
48034 return (void *)((wxEvent *) ((wxIdleEvent *) x));
48035}
48036static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
48037 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
48038}
48039static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
48040 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
48041}
48042static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
48043 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
48044}
48045static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
48046 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
48047}
48048static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
48049 return (void *)((wxEvent *) ((wxActivateEvent *) x));
48050}
48051static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
48052 return (void *)((wxEvent *) ((wxSizeEvent *) x));
48053}
48054static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
48055 return (void *)((wxEvent *) ((wxMoveEvent *) x));
48056}
48057static void *_p_wxDateEventTo_p_wxEvent(void *x) {
48058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
48059}
5172800e
RD
48060static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
48061 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48062}
0085ce49
RD
48063static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
48064 return (void *)((wxEvent *) ((wxPaintEvent *) x));
48065}
48066static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
48067 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
48068}
34e0a3bb
RD
48069static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
48070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
48071}
0085ce49
RD
48072static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
48073 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
48074}
48075static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
48076 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
48077}
48078static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
48079 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
48080}
48081static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
48082 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48083}
48084static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
48085 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
48086}
704eda0c
RD
48087static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
48088 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
48089}
0085ce49
RD
48090static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
48091 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
48092}
48093static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
48094 return (void *)((wxEvent *) ((wxFocusEvent *) x));
48095}
48096static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
48097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
48098}
48099static void *_p_wxShowEventTo_p_wxEvent(void *x) {
48100 return (void *)((wxEvent *) ((wxShowEvent *) x));
48101}
48102static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
48103 return (void *)((wxEvent *) ((wxCommandEvent *) x));
48104}
48105static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
48106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
48107}
48108static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
48109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48110}
48111static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
48112 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
48113}
48114static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
48115 return (void *)((wxEvent *) ((wxKeyEvent *) x));
48116}
48117static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
48118 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
48119}
48120static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
48121 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48122}
b850e7f3
RD
48123static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
48124 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
48125}
48126static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
48127 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
48128}
48129static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
48130 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
48131}
48132static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
48133 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
48134}
0085ce49
RD
48135static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
48136 return (void *)((wxItemContainer *) ((wxComboBox *) x));
48137}
48138static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
48139 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48140}
48141static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
48142 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
48143}
48144static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
48145 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
48146}
48147static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
48148 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
48149}
48150static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
48151 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48152}
48153static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
48154 return (void *)((wxPyListCtrl *) ((wxListView *) x));
48155}
5172800e
RD
48156static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
48157 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
48158}
0085ce49
RD
48159static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
48160 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
48161}
48162static void *_p_wxToolBarTo_p_wxControl(void *x) {
48163 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
48164}
b850e7f3
RD
48165static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
48166 return (void *)((wxControl *) ((wxPickerBase *) x));
48167}
0085ce49
RD
48168static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
48169 return (void *)((wxControl *) ((wxToggleButton *) x));
48170}
48171static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
48172 return (void *)((wxControl *) ((wxRadioButton *) x));
48173}
3f7f284d
RD
48174static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
48175 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
48176}
0085ce49
RD
48177static void *_p_wxToolbookTo_p_wxControl(void *x) {
48178 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
48179}
48180static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
48181 return (void *)((wxControl *) ((wxToolBarBase *) x));
48182}
48183static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
48184 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48185}
48186static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
48187 return (void *)((wxControl *) ((wxPyListCtrl *) x));
48188}
48189static void *_p_wxComboBoxTo_p_wxControl(void *x) {
48190 return (void *)((wxControl *) ((wxComboBox *) x));
48191}
48192static void *_p_wxPyControlTo_p_wxControl(void *x) {
48193 return (void *)((wxControl *) ((wxPyControl *) x));
48194}
48195static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
48196 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
48197}
48198static void *_p_wxScrollBarTo_p_wxControl(void *x) {
48199 return (void *)((wxControl *) ((wxScrollBar *) x));
48200}
48201static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
48202 return (void *)((wxControl *) ((wxControlWithItems *) x));
48203}
48204static void *_p_wxGaugeTo_p_wxControl(void *x) {
48205 return (void *)((wxControl *) ((wxGauge *) x));
48206}
48207static void *_p_wxStaticLineTo_p_wxControl(void *x) {
48208 return (void *)((wxControl *) ((wxStaticLine *) x));
48209}
48210static void *_p_wxChoicebookTo_p_wxControl(void *x) {
48211 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
48212}
48213static void *_p_wxListbookTo_p_wxControl(void *x) {
48214 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
48215}
704eda0c
RD
48216static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
48217 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
48218}
0085ce49
RD
48219static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
48220 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
48221}
48222static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
48223 return (void *)((wxControl *) ((wxCheckBox *) x));
48224}
48225static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
48226 return (void *)((wxControl *) ((wxRadioBox *) x));
48227}
48228static void *_p_wxChoiceTo_p_wxControl(void *x) {
48229 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48230}
48231static void *_p_wxListBoxTo_p_wxControl(void *x) {
48232 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48233}
48234static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48235 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48236}
48237static void *_p_wxListViewTo_p_wxControl(void *x) {
48238 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48239}
48240static void *_p_wxNotebookTo_p_wxControl(void *x) {
48241 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48242}
48243static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48244 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48245}
48246static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48247 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48248}
48249static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48250 return (void *)((wxControl *) ((wxStaticText *) x));
48251}
48252static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48253 return (void *)((wxControl *) ((wxStaticBox *) x));
48254}
48255static void *_p_wxSliderTo_p_wxControl(void *x) {
48256 return (void *)((wxControl *) ((wxSlider *) x));
48257}
48258static void *_p_wxTreebookTo_p_wxControl(void *x) {
48259 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48260}
48261static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48262 return (void *)((wxControl *) ((wxSpinButton *) x));
48263}
48264static void *_p_wxButtonTo_p_wxControl(void *x) {
48265 return (void *)((wxControl *) ((wxButton *) x));
48266}
48267static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48268 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48269}
48270static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48271 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48272}
48273static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48274 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48275}
b850e7f3
RD
48276static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48277 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48278}
48279static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48280 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48281}
48282static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48283 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48284}
48285static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48286 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48287}
0085ce49
RD
48288static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48289 return (void *)((wxControl *) ((wxTextCtrl *) x));
48290}
48291static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48292 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48293}
48294static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48295 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48296}
3f7f284d
RD
48297static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48298 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48299}
0085ce49
RD
48300static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48301 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48302}
48303static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48304 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48305}
48306static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48307 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48308}
48309static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48310 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48311}
48312static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48313 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48314}
48315static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48316 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48317}
48318static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48319 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48320}
48321static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48322 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48323}
48324static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48325 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48326}
48327static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48328 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48329}
48330static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48331 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48332}
48333static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48334 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48335}
48336static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48337 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48338}
48339static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48340 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48341}
5172800e
RD
48342static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48344}
0085ce49
RD
48345static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48346 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48347}
48348static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48350}
48351static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48352 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48353}
48354static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48355 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48356}
48357static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48359}
b850e7f3
RD
48360static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48362}
0085ce49
RD
48363static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48364 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48365}
48366static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48368}
48369static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48371}
3f7f284d
RD
48372static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48374}
0085ce49
RD
48375static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48377}
48378static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48379 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48380}
48381static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48382 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48383}
48384static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
48386}
48387static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48389}
48390static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48392}
48393static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48395}
48396static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48398}
48399static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48400 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48401}
48402static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48404}
48405static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48407}
48408static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48410}
48411static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48413}
48414static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48416}
48417static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48419}
48420static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48422}
704eda0c
RD
48423static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48425}
0085ce49
RD
48426static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48427 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48428}
48429static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48430 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48431}
48432static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48434}
48435static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48436 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48437}
48438static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48439 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48440}
48441static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48443}
48444static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48446}
48447static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48449}
48450static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48452}
48453static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48455}
48456static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48457 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48458}
48459static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48461}
48462static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48463 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48464}
48465static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48467}
48468static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48470}
48471static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48473}
48474static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48476}
48477static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48479}
48480static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48482}
b850e7f3
RD
48483static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48485}
48486static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48488}
48489static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48491}
48492static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48494}
0085ce49
RD
48495static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48497}
48498static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48499 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48500}
48501static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48502 return (void *)((wxButton *) ((wxBitmapButton *) x));
48503}
48504static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48505 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48506}
48507static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48508 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48509}
48510static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48511 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48512}
48513static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48514 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
48515}
48516static void *_p_wxToolbookTo_p_wxObject(void *x) {
48517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48518}
0085ce49
RD
48519static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48520 return (void *)((wxObject *) ((wxSizerItem *) x));
48521}
34e0a3bb
RD
48522static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48523 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
48524}
0085ce49
RD
48525static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48526 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
48527}
48528static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48529 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
48530}
48531static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
48532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
48533}
48534static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48535 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
48536}
48537static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48538 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
48539}
48540static void *_p_wxSizerTo_p_wxObject(void *x) {
48541 return (void *)((wxObject *) ((wxSizer *) x));
48542}
48543static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48544 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
48545}
48546static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
48547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
48548}
48549static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
48550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48551}
48552static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48553 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
48554}
48555static void *_p_wxEventTo_p_wxObject(void *x) {
48556 return (void *)((wxObject *) ((wxEvent *) x));
48557}
48558static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48559 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48560}
48561static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48562 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
48563}
3f7f284d
RD
48564static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
48565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48566}
0085ce49
RD
48567static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48568 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48569}
48570static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
48571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48572}
b850e7f3
RD
48573static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
48574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
48575}
0085ce49
RD
48576static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
48577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48578}
48579static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
48580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48581}
2131d850
RD
48582static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
48583 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
48584}
0085ce49
RD
48585static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48586 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
48587}
48588static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48589 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
48590}
48591static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48592 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
48593}
48594static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48595 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
48596}
48597static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48598 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48599}
48600static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48601 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
48602}
48603static void *_p_wxStaticLineTo_p_wxObject(void *x) {
48604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
48605}
48606static void *_p_wxControlTo_p_wxObject(void *x) {
48607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48608}
48609static void *_p_wxPyControlTo_p_wxObject(void *x) {
48610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
48611}
48612static void *_p_wxGaugeTo_p_wxObject(void *x) {
48613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
48614}
48615static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
48616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
48617}
48618static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
48619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
48620}
48621static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
48622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48623}
48624static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48625 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
48626}
b850e7f3
RD
48627static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
48628 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
48629}
48630static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
48631 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48632}
48633static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
48634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
48635}
0085ce49
RD
48636static void *_p_wxChoiceTo_p_wxObject(void *x) {
48637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48638}
48639static void *_p_wxFSFileTo_p_wxObject(void *x) {
48640 return (void *)((wxObject *) ((wxFSFile *) x));
48641}
48642static void *_p_wxPySizerTo_p_wxObject(void *x) {
48643 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
48644}
48645static void *_p_wxTreebookTo_p_wxObject(void *x) {
48646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48647}
48648static void *_p_wxListViewTo_p_wxObject(void *x) {
48649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48650}
704eda0c
RD
48651static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
48652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
48653}
0085ce49
RD
48654static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
48655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48656}
48657static void *_p_wxNotebookTo_p_wxObject(void *x) {
48658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48659}
48660static void *_p_wxPyEventTo_p_wxObject(void *x) {
48661 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
48662}
48663static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
48665}
48666static void *_p_wxChoicebookTo_p_wxObject(void *x) {
48667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48668}
48669static void *_p_wxListbookTo_p_wxObject(void *x) {
48670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48671}
48672static void *_p_wxShowEventTo_p_wxObject(void *x) {
48673 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
48674}
48675static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
48676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48677}
48678static void *_p_wxSliderTo_p_wxObject(void *x) {
48679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
48680}
48681static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48682 return (void *)((wxObject *) ((wxMenuItem *) x));
48683}
48684static void *_p_wxDateEventTo_p_wxObject(void *x) {
48685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48686}
48687static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48688 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
48689}
48690static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48692}
48693static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48694 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
48695}
48696static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48697 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48698}
48699static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48700 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48701}
48702static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48703 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48704}
48705static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48706 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48707}
48708static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48709 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48710}
48711static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48713}
48714static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48715 return (void *)((wxObject *) ((wxContextHelp *) x));
48716}
5172800e
RD
48717static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48719}
0085ce49
RD
48720static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48722}
48723static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48724 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48725}
48726static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48727 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48728}
48729static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48730 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48731}
48732static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48733 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48734}
48735static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48736 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48737}
48738static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48739 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48740}
48741static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48742 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48743}
48744static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48745 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48746}
48747static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48748 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48749}
48750static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48751 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48752}
48753static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48754 return (void *)((wxObject *) ((wxImageHandler *) x));
48755}
48756static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48757 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48758}
48759static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48760 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48761}
580080c5
RD
48762static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48763 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48764}
0085ce49
RD
48765static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48766 return (void *)((wxObject *) ((wxEvtHandler *) x));
48767}
34e0a3bb
RD
48768static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48769 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48770}
0085ce49
RD
48771static void *_p_wxListEventTo_p_wxObject(void *x) {
48772 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48773}
48774static void *_p_wxListBoxTo_p_wxObject(void *x) {
48775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48776}
48777static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48779}
48780static void *_p_wxButtonTo_p_wxObject(void *x) {
48781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48782}
48783static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48785}
48786static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48788}
48789static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48791}
0085ce49
RD
48792static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48793 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48794}
580080c5
RD
48795static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48796 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48797}
0085ce49
RD
48798static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48800}
48801static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48803}
48804static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
48806}
48807static void *_p_wxHelpEventTo_p_wxObject(void *x) {
48808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
48809}
48810static void *_p_wxListItemTo_p_wxObject(void *x) {
48811 return (void *)((wxObject *) ((wxListItem *) x));
48812}
48813static void *_p_wxImageTo_p_wxObject(void *x) {
48814 return (void *)((wxObject *) ((wxImage *) x));
48815}
48816static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48817 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
48818}
48819static void *_p_wxSpinEventTo_p_wxObject(void *x) {
48820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48821}
48822static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
48823 return (void *)((wxObject *) ((wxGenericDragImage *) x));
48824}
48825static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
48826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48827}
48828static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
48829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48830}
48831static void *_p_wxListbookEventTo_p_wxObject(void *x) {
48832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48833}
48834static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
48835 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48836}
48837static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
48838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48839}
48840static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
48841 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48842}
48843static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48845}
48846static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48847 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
48848}
48849static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48850 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
48851}
48852static void *_p_wxWindowTo_p_wxObject(void *x) {
48853 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
48854}
48855static void *_p_wxMenuTo_p_wxObject(void *x) {
48856 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
48857}
48858static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
48860}
48861static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48862 return (void *)((wxObject *) ((wxFileSystem *) x));
48863}
5172800e
RD
48864static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
48865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48866}
0085ce49
RD
48867static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
48869}
48870static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48871 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
48872}
48873static void *_p_wxPyAppTo_p_wxObject(void *x) {
48874 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
48875}
48876static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48877 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
48878}
48879static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48880 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
48881}
48882static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48883 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
48884}
48885static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
48886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48887}
48888static void *_p_wxTreeEventTo_p_wxObject(void *x) {
48889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48890}
48891static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48893}
48894static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48895 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
48896}
48897static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48899}
48900static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48901 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48902}
48903static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48904 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48905}
48906static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48908}
48909static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48911}
b850e7f3
RD
48912static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48914}
48915static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48917}
48918static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48920}
48921static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48923}
0085ce49
RD
48924static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48926}
704eda0c
RD
48927static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48929}
0085ce49
RD
48930static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48931 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48932}
48933static void *_p_wxToolBarTo_p_wxObject(void *x) {
48934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48935}
48936static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48937 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48938}
48939static void *_p_wxValidatorTo_p_wxObject(void *x) {
48940 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48941}
5172800e
RD
48942static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48943 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48944}
0085ce49
RD
48945static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48946 return (void *)((wxWindow *) ((wxMenuBar *) x));
48947}
48948static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48949 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48950}
48951static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48952 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48953}
b850e7f3
RD
48954static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48955 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48956}
0085ce49
RD
48957static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48958 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48959}
48960static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48961 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48962}
3f7f284d
RD
48963static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
48964 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48965}
0085ce49
RD
48966static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48967 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48968}
48969static void *_p_wxControlTo_p_wxWindow(void *x) {
48970 return (void *)((wxWindow *) ((wxControl *) x));
48971}
48972static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48973 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48974}
48975static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48976 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48977}
48978static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48979 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
48980}
48981static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48982 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48983}
48984static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48985 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48986}
48987static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48988 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48989}
48990static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48991 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48992}
48993static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48994 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48995}
48996static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48997 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48998}
48999static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
49000 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
49001}
49002static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
49003 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
49004}
49005static void *_p_wxListbookTo_p_wxWindow(void *x) {
49006 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
49007}
704eda0c
RD
49008static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
49009 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
49010}
0085ce49
RD
49011static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
49012 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
49013}
49014static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
49015 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
49016}
49017static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
49018 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
49019}
49020static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
49021 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
49022}
49023static void *_p_wxChoiceTo_p_wxWindow(void *x) {
49024 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
49025}
49026static void *_p_wxListBoxTo_p_wxWindow(void *x) {
49027 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
49028}
49029static void *_p_wxListViewTo_p_wxWindow(void *x) {
49030 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
49031}
49032static void *_p_wxNotebookTo_p_wxWindow(void *x) {
49033 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
49034}
49035static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
49036 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
49037}
49038static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
49039 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
49040}
49041static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
49042 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
49043}
49044static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
49045 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
49046}
49047static void *_p_wxSliderTo_p_wxWindow(void *x) {
49048 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
49049}
49050static void *_p_wxTreebookTo_p_wxWindow(void *x) {
49051 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
49052}
49053static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
49054 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
49055}
49056static void *_p_wxButtonTo_p_wxWindow(void *x) {
49057 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
49058}
49059static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
49060 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
49061}
49062static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
49063 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
49064}
49065static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
49066 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
49067}
b850e7f3
RD
49068static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
49069 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49070}
49071static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
49072 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49073}
49074static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
49075 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49076}
49077static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
49078 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49079}
0085ce49
RD
49080static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
49081 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
49082}
49083static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49084 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49085}
49086static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49087 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49088}
49089static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49090 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49091}
49092static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49093 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49094}
49095static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49096 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49097}
49098static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
49099 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49100}
704eda0c
RD
49101static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
49102 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
49103}
2131d850
RD
49104static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
49105 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
49106}
b850e7f3
RD
49107static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
49108 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
49109}
49110static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
49111 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49112}
49113static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
49114 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
49115}
0085ce49
RD
49116static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
49117 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
49118}
49119static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
49120 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
49121}
49122static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
49123 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
49124}
49125static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
49126 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
49127}
49128static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
49129 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
49130}
0085ce49
RD
49131static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
49132 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49133}
2131d850
RD
49134static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
49135 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49136}
0085ce49
RD
49137static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
49138 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49139}
49140static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
49141 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49142}
49143static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
49144 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49145}
49146static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
49147 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
49148}
49149static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
49150 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
49151}
49152static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
49153 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
49154}
5172800e
RD
49155static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
49156 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49157}
0085ce49
RD
49158static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
49159 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49160}
49161static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
49162 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
49163}
49164static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
49165 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
49166}
49167static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
49168 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
49169}
49170static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
49171 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
49172}
49173static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
49174 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
49175}
49176static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
49177 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
49178}
49179static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
49180 return (void *)((wxControlWithItems *) ((wxChoice *) x));
49181}
49182static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
49183 return (void *)((wxControlWithItems *) ((wxListBox *) x));
49184}
49185static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
49186 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
49187}
49188static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
49189 return (void *)((wxValidator *) ((wxPyValidator *) x));
49190}
49191static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49192static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
49193static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
49194static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
49195static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
49196static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49197static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49198static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49199static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
49200static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49201static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49202static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49203static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49204static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49205static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49206static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49207static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49208static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49209static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49210static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49211static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
5172800e
RD
49212static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49213static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
0085ce49 49214static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
49215static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49216static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
49217static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49218static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49219static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 49220static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
49221static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49222static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49223static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49224static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49225static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49226static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49227static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49228static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49229static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49230static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49231static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49232static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49233static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49234static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49235static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49236static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 49237static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
0085ce49
RD
49238static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49239static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49240static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49241static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49242static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49243static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49244static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49245static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 49246static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
0085ce49
RD
49247static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49248static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49249static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49250static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49251static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49252static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
34e0a3bb 49253static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
0085ce49
RD
49254static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49255static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49256static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49257static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49258static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49259static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49260static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49261static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49262static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49263static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49264static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49265static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49266static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49267static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49268static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
b850e7f3
RD
49269static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49270static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
0085ce49 49271static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
49272static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49273static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
49274static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49275static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49276static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49277static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49278static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
49279static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49280static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
49281static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49282static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49283static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49284static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49285static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49286static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49287static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49288static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49289static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49290static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49291static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49292static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
3f7f284d 49293static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
0085ce49
RD
49294static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49295static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49296static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49297static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49298static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49299static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
0085ce49 49300static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 49301static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
0085ce49
RD
49302static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49303static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49304static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49305static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49306static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49307static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49308static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49309static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49310static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49311static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
0085ce49
RD
49312static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49313static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49314static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
3f7f284d 49315static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
5172800e 49316static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
49317static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49318static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49319static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49320static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 49321static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 49322static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
0085ce49
RD
49323static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49324static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 49325static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
0085ce49 49326static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
580080c5 49327static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
0085ce49
RD
49328static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49329static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49330static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 49331static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
0085ce49
RD
49332static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49333static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49334static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49335static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49336static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49337static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49338static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49339static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49340static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
3f7f284d 49341static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
0085ce49
RD
49342static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49343static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49344static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49345static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49346static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49347static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49348static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49349static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49350static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49351static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49352static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49353static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49354static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49355static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49356static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49357static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49358static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49359static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49360static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49361static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
49362static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49363static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49364static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49365static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49366static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49367static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49368static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 49369static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
0085ce49
RD
49370
49371static swig_type_info *swig_type_initial[] = {
49372 &_swigt__p_bool,
49373 &_swigt__p_char,
49374 &_swigt__p_form_ops_t,
49375 &_swigt__p_int,
49376 &_swigt__p_long,
49377 &_swigt__p_unsigned_char,
49378 &_swigt__p_unsigned_int,
49379 &_swigt__p_unsigned_long,
49380 &_swigt__p_void,
49381 &_swigt__p_wxANIHandler,
49382 &_swigt__p_wxAcceleratorTable,
49383 &_swigt__p_wxActivateEvent,
49384 &_swigt__p_wxArrayInt,
49385 &_swigt__p_wxArrayString,
49386 &_swigt__p_wxBMPHandler,
49387 &_swigt__p_wxBitmap,
49388 &_swigt__p_wxBitmapButton,
49389 &_swigt__p_wxBookCtrlBase,
49390 &_swigt__p_wxBookCtrlBaseEvent,
49391 &_swigt__p_wxBoxSizer,
49392 &_swigt__p_wxButton,
49393 &_swigt__p_wxCURHandler,
49394 &_swigt__p_wxCheckBox,
49395 &_swigt__p_wxCheckListBox,
49396 &_swigt__p_wxChildFocusEvent,
49397 &_swigt__p_wxChoice,
49398 &_swigt__p_wxChoicebook,
49399 &_swigt__p_wxChoicebookEvent,
2131d850 49400 &_swigt__p_wxClipboardTextEvent,
0085ce49 49401 &_swigt__p_wxCloseEvent,
5172800e
RD
49402 &_swigt__p_wxCollapsiblePane,
49403 &_swigt__p_wxCollapsiblePaneEvent,
0085ce49 49404 &_swigt__p_wxColour,
b850e7f3
RD
49405 &_swigt__p_wxColourPickerCtrl,
49406 &_swigt__p_wxColourPickerEvent,
0085ce49
RD
49407 &_swigt__p_wxComboBox,
49408 &_swigt__p_wxCommandEvent,
49409 &_swigt__p_wxContextHelp,
49410 &_swigt__p_wxContextHelpButton,
49411 &_swigt__p_wxContextMenuEvent,
49412 &_swigt__p_wxControl,
49413 &_swigt__p_wxControlWithItems,
49414 &_swigt__p_wxCursor,
49415 &_swigt__p_wxDC,
49416 &_swigt__p_wxDateEvent,
49417 &_swigt__p_wxDatePickerCtrl,
49418 &_swigt__p_wxDateTime,
49419 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 49420 &_swigt__p_wxDirPickerCtrl,
0085ce49
RD
49421 &_swigt__p_wxDisplayChangedEvent,
49422 &_swigt__p_wxDropFilesEvent,
49423 &_swigt__p_wxDuplexMode,
49424 &_swigt__p_wxEraseEvent,
49425 &_swigt__p_wxEvent,
49426 &_swigt__p_wxEvtHandler,
49427 &_swigt__p_wxFSFile,
b850e7f3
RD
49428 &_swigt__p_wxFileDirPickerEvent,
49429 &_swigt__p_wxFilePickerCtrl,
0085ce49
RD
49430 &_swigt__p_wxFileSystem,
49431 &_swigt__p_wxFlexGridSizer,
49432 &_swigt__p_wxFocusEvent,
49433 &_swigt__p_wxFont,
b850e7f3
RD
49434 &_swigt__p_wxFontPickerCtrl,
49435 &_swigt__p_wxFontPickerEvent,
0085ce49
RD
49436 &_swigt__p_wxGBSizerItem,
49437 &_swigt__p_wxGIFHandler,
49438 &_swigt__p_wxGauge,
49439 &_swigt__p_wxGenericDirCtrl,
49440 &_swigt__p_wxGenericDragImage,
49441 &_swigt__p_wxGridBagSizer,
49442 &_swigt__p_wxGridSizer,
49443 &_swigt__p_wxHelpEvent,
49444 &_swigt__p_wxHelpProvider,
704eda0c
RD
49445 &_swigt__p_wxHyperlinkCtrl,
49446 &_swigt__p_wxHyperlinkEvent,
0085ce49
RD
49447 &_swigt__p_wxICOHandler,
49448 &_swigt__p_wxIcon,
49449 &_swigt__p_wxIconizeEvent,
49450 &_swigt__p_wxIdleEvent,
49451 &_swigt__p_wxImage,
49452 &_swigt__p_wxImageHandler,
49453 &_swigt__p_wxImageList,
49454 &_swigt__p_wxIndividualLayoutConstraint,
49455 &_swigt__p_wxInitDialogEvent,
49456 &_swigt__p_wxItemContainer,
49457 &_swigt__p_wxJPEGHandler,
49458 &_swigt__p_wxKeyEvent,
49459 &_swigt__p_wxLayoutConstraints,
49460 &_swigt__p_wxListBox,
49461 &_swigt__p_wxListEvent,
49462 &_swigt__p_wxListItem,
49463 &_swigt__p_wxListItemAttr,
49464 &_swigt__p_wxListView,
49465 &_swigt__p_wxListbook,
49466 &_swigt__p_wxListbookEvent,
49467 &_swigt__p_wxMaximizeEvent,
49468 &_swigt__p_wxMemoryDC,
49469 &_swigt__p_wxMenu,
49470 &_swigt__p_wxMenuBar,
49471 &_swigt__p_wxMenuEvent,
49472 &_swigt__p_wxMenuItem,
49473 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 49474 &_swigt__p_wxMouseCaptureLostEvent,
0085ce49
RD
49475 &_swigt__p_wxMouseEvent,
49476 &_swigt__p_wxMoveEvent,
49477 &_swigt__p_wxNavigationKeyEvent,
49478 &_swigt__p_wxNcPaintEvent,
49479 &_swigt__p_wxNotebook,
49480 &_swigt__p_wxNotebookEvent,
49481 &_swigt__p_wxNotifyEvent,
49482 &_swigt__p_wxObject,
49483 &_swigt__p_wxPCXHandler,
49484 &_swigt__p_wxPNGHandler,
49485 &_swigt__p_wxPNMHandler,
49486 &_swigt__p_wxPaintEvent,
49487 &_swigt__p_wxPaletteChangedEvent,
49488 &_swigt__p_wxPaperSize,
b850e7f3 49489 &_swigt__p_wxPickerBase,
0085ce49
RD
49490 &_swigt__p_wxPoint,
49491 &_swigt__p_wxPyApp,
49492 &_swigt__p_wxPyCommandEvent,
49493 &_swigt__p_wxPyControl,
49494 &_swigt__p_wxPyEvent,
49495 &_swigt__p_wxPyImageHandler,
49496 &_swigt__p_wxPyListCtrl,
49497 &_swigt__p_wxPySizer,
49498 &_swigt__p_wxPyTreeCtrl,
49499 &_swigt__p_wxPyTreeItemData,
49500 &_swigt__p_wxPyValidator,
49501 &_swigt__p_wxQueryNewPaletteEvent,
49502 &_swigt__p_wxRadioBox,
49503 &_swigt__p_wxRadioButton,
49504 &_swigt__p_wxRect,
49505 &_swigt__p_wxScrollBar,
49506 &_swigt__p_wxScrollEvent,
49507 &_swigt__p_wxScrollWinEvent,
3f7f284d 49508 &_swigt__p_wxSearchCtrl,
0085ce49
RD
49509 &_swigt__p_wxSetCursorEvent,
49510 &_swigt__p_wxShowEvent,
49511 &_swigt__p_wxSimpleHelpProvider,
49512 &_swigt__p_wxSize,
49513 &_swigt__p_wxSizeEvent,
49514 &_swigt__p_wxSizer,
49515 &_swigt__p_wxSizerItem,
49516 &_swigt__p_wxSlider,
49517 &_swigt__p_wxSpinButton,
49518 &_swigt__p_wxSpinCtrl,
49519 &_swigt__p_wxSpinEvent,
49520 &_swigt__p_wxStaticBitmap,
49521 &_swigt__p_wxStaticBox,
49522 &_swigt__p_wxStaticBoxSizer,
49523 &_swigt__p_wxStaticLine,
49524 &_swigt__p_wxStaticText,
49525 &_swigt__p_wxStdDialogButtonSizer,
49526 &_swigt__p_wxString,
49527 &_swigt__p_wxSysColourChangedEvent,
580080c5 49528 &_swigt__p_wxTGAHandler,
0085ce49
RD
49529 &_swigt__p_wxTIFFHandler,
49530 &_swigt__p_wxTextAttr,
49531 &_swigt__p_wxTextCtrl,
49532 &_swigt__p_wxTextUrlEvent,
49533 &_swigt__p_wxToggleButton,
49534 &_swigt__p_wxToolBar,
49535 &_swigt__p_wxToolBarBase,
49536 &_swigt__p_wxToolBarToolBase,
49537 &_swigt__p_wxToolbook,
49538 &_swigt__p_wxToolbookEvent,
0085ce49
RD
49539 &_swigt__p_wxTreeEvent,
49540 &_swigt__p_wxTreeItemId,
49541 &_swigt__p_wxTreebook,
49542 &_swigt__p_wxTreebookEvent,
49543 &_swigt__p_wxUpdateUIEvent,
49544 &_swigt__p_wxValidator,
49545 &_swigt__p_wxVisualAttributes,
49546 &_swigt__p_wxWindow,
b850e7f3 49547 &_swigt__p_wxWindowBase,
0085ce49
RD
49548 &_swigt__p_wxWindowCreateEvent,
49549 &_swigt__p_wxWindowDestroyEvent,
49550 &_swigt__p_wxXPMHandler,
49551};
49552
49553static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
49554static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
49555static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
49556static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
49557static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
49558static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
49559static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
49560static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
49561static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
49562static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
49563static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
49564static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
49565static 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}};
49566static 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}};
49567static 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}};
49568static 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}};
49569static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
49570static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
49571static 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}};
49572static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
49573static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e
RD
49574static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
49575static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 49576static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49577static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49578static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49579static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
49580static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 49581static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49582static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
49583static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
49584static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49585static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49586static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
49587static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
49588static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49589static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49590static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
49591static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49592static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49593static 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}};
49594static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
49595static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
49596static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49597static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
49598static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 49599static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49600static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
49601static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49602static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
49603static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
49604static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
49605static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
49606static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 49607static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49608static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
49609static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49610static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49611static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
49612static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49613static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 49614static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49615static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49616static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49617static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49618static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49619static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49620static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49621static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
49622static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49623static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
49624static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49625static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49626static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49627static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
49628static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
49629static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49630static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49631static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49632static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 49633static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49634static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49635static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49636static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
49637static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
49638static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
49639static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
49640static 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
49641static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
49642static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49643static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
49644static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
49645static 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}};
49646static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49647static 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}};
49648static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
49649static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
49650static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
49651static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
49652static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
49653static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49654static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49655static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49656static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
49657static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
49658static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49659static 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}};
49660static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 49661static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 49662static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49663static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
49664static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49665static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49666static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
49667static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
49668static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49669static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49670static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
49671static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
49672static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49673static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
49674static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
49675static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49676static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49677static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
49678static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
49679static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
49680static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
49681static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 49682static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 49683static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49684static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
49685static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 49686static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 49687static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
580080c5 49688static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49689static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
49690static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49691static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
0085ce49 49692static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 49693static 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
49694static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
49695static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
49696static 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}};
49697static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49698static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49699static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49700static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49701static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49702static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49703static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49704static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49705static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49706static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49707static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49708static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49709static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49710static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49711static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49712static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49713static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49714static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49715static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49716static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxTextCtrl, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49717static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49718static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49719static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49720static 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}};
49721static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49722static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49723static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49724static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49725static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49726static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49727static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49728static 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}};
49729static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
3f7f284d 49730static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
b850e7f3 49731static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
49732
49733static swig_cast_info *swig_cast_initial[] = {
49734 _swigc__p_bool,
49735 _swigc__p_char,
49736 _swigc__p_form_ops_t,
49737 _swigc__p_int,
49738 _swigc__p_long,
49739 _swigc__p_unsigned_char,
49740 _swigc__p_unsigned_int,
49741 _swigc__p_unsigned_long,
49742 _swigc__p_void,
49743 _swigc__p_wxANIHandler,
49744 _swigc__p_wxAcceleratorTable,
49745 _swigc__p_wxActivateEvent,
49746 _swigc__p_wxArrayInt,
49747 _swigc__p_wxArrayString,
49748 _swigc__p_wxBMPHandler,
49749 _swigc__p_wxBitmap,
49750 _swigc__p_wxBitmapButton,
49751 _swigc__p_wxBookCtrlBase,
49752 _swigc__p_wxBookCtrlBaseEvent,
49753 _swigc__p_wxBoxSizer,
49754 _swigc__p_wxButton,
49755 _swigc__p_wxCURHandler,
49756 _swigc__p_wxCheckBox,
49757 _swigc__p_wxCheckListBox,
49758 _swigc__p_wxChildFocusEvent,
49759 _swigc__p_wxChoice,
49760 _swigc__p_wxChoicebook,
49761 _swigc__p_wxChoicebookEvent,
2131d850 49762 _swigc__p_wxClipboardTextEvent,
0085ce49 49763 _swigc__p_wxCloseEvent,
5172800e
RD
49764 _swigc__p_wxCollapsiblePane,
49765 _swigc__p_wxCollapsiblePaneEvent,
0085ce49 49766 _swigc__p_wxColour,
b850e7f3
RD
49767 _swigc__p_wxColourPickerCtrl,
49768 _swigc__p_wxColourPickerEvent,
0085ce49
RD
49769 _swigc__p_wxComboBox,
49770 _swigc__p_wxCommandEvent,
49771 _swigc__p_wxContextHelp,
49772 _swigc__p_wxContextHelpButton,
49773 _swigc__p_wxContextMenuEvent,
49774 _swigc__p_wxControl,
49775 _swigc__p_wxControlWithItems,
49776 _swigc__p_wxCursor,
49777 _swigc__p_wxDC,
49778 _swigc__p_wxDateEvent,
49779 _swigc__p_wxDatePickerCtrl,
49780 _swigc__p_wxDateTime,
49781 _swigc__p_wxDirFilterListCtrl,
b850e7f3 49782 _swigc__p_wxDirPickerCtrl,
0085ce49
RD
49783 _swigc__p_wxDisplayChangedEvent,
49784 _swigc__p_wxDropFilesEvent,
49785 _swigc__p_wxDuplexMode,
49786 _swigc__p_wxEraseEvent,
49787 _swigc__p_wxEvent,
49788 _swigc__p_wxEvtHandler,
49789 _swigc__p_wxFSFile,
b850e7f3
RD
49790 _swigc__p_wxFileDirPickerEvent,
49791 _swigc__p_wxFilePickerCtrl,
0085ce49
RD
49792 _swigc__p_wxFileSystem,
49793 _swigc__p_wxFlexGridSizer,
49794 _swigc__p_wxFocusEvent,
49795 _swigc__p_wxFont,
b850e7f3
RD
49796 _swigc__p_wxFontPickerCtrl,
49797 _swigc__p_wxFontPickerEvent,
0085ce49
RD
49798 _swigc__p_wxGBSizerItem,
49799 _swigc__p_wxGIFHandler,
49800 _swigc__p_wxGauge,
49801 _swigc__p_wxGenericDirCtrl,
49802 _swigc__p_wxGenericDragImage,
49803 _swigc__p_wxGridBagSizer,
49804 _swigc__p_wxGridSizer,
49805 _swigc__p_wxHelpEvent,
49806 _swigc__p_wxHelpProvider,
704eda0c
RD
49807 _swigc__p_wxHyperlinkCtrl,
49808 _swigc__p_wxHyperlinkEvent,
0085ce49
RD
49809 _swigc__p_wxICOHandler,
49810 _swigc__p_wxIcon,
49811 _swigc__p_wxIconizeEvent,
49812 _swigc__p_wxIdleEvent,
49813 _swigc__p_wxImage,
49814 _swigc__p_wxImageHandler,
49815 _swigc__p_wxImageList,
49816 _swigc__p_wxIndividualLayoutConstraint,
49817 _swigc__p_wxInitDialogEvent,
49818 _swigc__p_wxItemContainer,
49819 _swigc__p_wxJPEGHandler,
49820 _swigc__p_wxKeyEvent,
49821 _swigc__p_wxLayoutConstraints,
49822 _swigc__p_wxListBox,
49823 _swigc__p_wxListEvent,
49824 _swigc__p_wxListItem,
49825 _swigc__p_wxListItemAttr,
49826 _swigc__p_wxListView,
49827 _swigc__p_wxListbook,
49828 _swigc__p_wxListbookEvent,
49829 _swigc__p_wxMaximizeEvent,
49830 _swigc__p_wxMemoryDC,
49831 _swigc__p_wxMenu,
49832 _swigc__p_wxMenuBar,
49833 _swigc__p_wxMenuEvent,
49834 _swigc__p_wxMenuItem,
49835 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 49836 _swigc__p_wxMouseCaptureLostEvent,
0085ce49
RD
49837 _swigc__p_wxMouseEvent,
49838 _swigc__p_wxMoveEvent,
49839 _swigc__p_wxNavigationKeyEvent,
49840 _swigc__p_wxNcPaintEvent,
49841 _swigc__p_wxNotebook,
49842 _swigc__p_wxNotebookEvent,
49843 _swigc__p_wxNotifyEvent,
49844 _swigc__p_wxObject,
49845 _swigc__p_wxPCXHandler,
49846 _swigc__p_wxPNGHandler,
49847 _swigc__p_wxPNMHandler,
49848 _swigc__p_wxPaintEvent,
49849 _swigc__p_wxPaletteChangedEvent,
49850 _swigc__p_wxPaperSize,
b850e7f3 49851 _swigc__p_wxPickerBase,
0085ce49
RD
49852 _swigc__p_wxPoint,
49853 _swigc__p_wxPyApp,
49854 _swigc__p_wxPyCommandEvent,
49855 _swigc__p_wxPyControl,
49856 _swigc__p_wxPyEvent,
49857 _swigc__p_wxPyImageHandler,
49858 _swigc__p_wxPyListCtrl,
49859 _swigc__p_wxPySizer,
49860 _swigc__p_wxPyTreeCtrl,
49861 _swigc__p_wxPyTreeItemData,
49862 _swigc__p_wxPyValidator,
49863 _swigc__p_wxQueryNewPaletteEvent,
49864 _swigc__p_wxRadioBox,
49865 _swigc__p_wxRadioButton,
49866 _swigc__p_wxRect,
49867 _swigc__p_wxScrollBar,
49868 _swigc__p_wxScrollEvent,
49869 _swigc__p_wxScrollWinEvent,
3f7f284d 49870 _swigc__p_wxSearchCtrl,
0085ce49
RD
49871 _swigc__p_wxSetCursorEvent,
49872 _swigc__p_wxShowEvent,
49873 _swigc__p_wxSimpleHelpProvider,
49874 _swigc__p_wxSize,
49875 _swigc__p_wxSizeEvent,
49876 _swigc__p_wxSizer,
49877 _swigc__p_wxSizerItem,
49878 _swigc__p_wxSlider,
49879 _swigc__p_wxSpinButton,
49880 _swigc__p_wxSpinCtrl,
49881 _swigc__p_wxSpinEvent,
49882 _swigc__p_wxStaticBitmap,
49883 _swigc__p_wxStaticBox,
49884 _swigc__p_wxStaticBoxSizer,
49885 _swigc__p_wxStaticLine,
49886 _swigc__p_wxStaticText,
49887 _swigc__p_wxStdDialogButtonSizer,
49888 _swigc__p_wxString,
49889 _swigc__p_wxSysColourChangedEvent,
580080c5 49890 _swigc__p_wxTGAHandler,
0085ce49
RD
49891 _swigc__p_wxTIFFHandler,
49892 _swigc__p_wxTextAttr,
49893 _swigc__p_wxTextCtrl,
49894 _swigc__p_wxTextUrlEvent,
49895 _swigc__p_wxToggleButton,
49896 _swigc__p_wxToolBar,
49897 _swigc__p_wxToolBarBase,
49898 _swigc__p_wxToolBarToolBase,
49899 _swigc__p_wxToolbook,
49900 _swigc__p_wxToolbookEvent,
0085ce49
RD
49901 _swigc__p_wxTreeEvent,
49902 _swigc__p_wxTreeItemId,
49903 _swigc__p_wxTreebook,
49904 _swigc__p_wxTreebookEvent,
49905 _swigc__p_wxUpdateUIEvent,
49906 _swigc__p_wxValidator,
49907 _swigc__p_wxVisualAttributes,
49908 _swigc__p_wxWindow,
b850e7f3 49909 _swigc__p_wxWindowBase,
0085ce49
RD
49910 _swigc__p_wxWindowCreateEvent,
49911 _swigc__p_wxWindowDestroyEvent,
49912 _swigc__p_wxXPMHandler,
49913};
49914
49915
49916/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49917
49918static swig_const_info swig_const_table[] = {
49919{0, 0, 0, 0.0, 0, 0}};
49920
49921#ifdef __cplusplus
49922}
49923#endif
49924/* -----------------------------------------------------------------------------
49925 * Type initialization:
49926 * This problem is tough by the requirement that no dynamic
49927 * memory is used. Also, since swig_type_info structures store pointers to
49928 * swig_cast_info structures and swig_cast_info structures store pointers back
49929 * to swig_type_info structures, we need some lookup code at initialization.
49930 * The idea is that swig generates all the structures that are needed.
49931 * The runtime then collects these partially filled structures.
49932 * The SWIG_InitializeModule function takes these initial arrays out of
49933 * swig_module, and does all the lookup, filling in the swig_module.types
49934 * array with the correct data and linking the correct swig_cast_info
49935 * structures together.
49936 *
49937 * The generated swig_type_info structures are assigned staticly to an initial
49938 * array. We just loop though that array, and handle each type individually.
49939 * First we lookup if this type has been already loaded, and if so, use the
49940 * loaded structure instead of the generated one. Then we have to fill in the
49941 * cast linked list. The cast data is initially stored in something like a
49942 * two-dimensional array. Each row corresponds to a type (there are the same
49943 * number of rows as there are in the swig_type_initial array). Each entry in
49944 * a column is one of the swig_cast_info structures for that type.
49945 * The cast_initial array is actually an array of arrays, because each row has
49946 * a variable number of columns. So to actually build the cast linked list,
49947 * we find the array of casts associated with the type, and loop through it
49948 * adding the casts to the list. The one last trick we need to do is making
49949 * sure the type pointer in the swig_cast_info struct is correct.
49950 *
49951 * First off, we lookup the cast->type name to see if it is already loaded.
49952 * There are three cases to handle:
49953 * 1) If the cast->type has already been loaded AND the type we are adding
49954 * casting info to has not been loaded (it is in this module), THEN we
49955 * replace the cast->type pointer with the type pointer that has already
49956 * been loaded.
49957 * 2) If BOTH types (the one we are adding casting info to, and the
49958 * cast->type) are loaded, THEN the cast info has already been loaded by
49959 * the previous module so we just ignore it.
49960 * 3) Finally, if cast->type has not already been loaded, then we add that
49961 * swig_cast_info to the linked list (because the cast->type) pointer will
49962 * be correct.
49963 * ----------------------------------------------------------------------------- */
49964
49965#ifdef __cplusplus
49966extern "C" {
49967#if 0
49968} /* c-mode */
49969#endif
49970#endif
49971
49972#if 0
49973#define SWIGRUNTIME_DEBUG
49974#endif
49975
49976SWIGRUNTIME void
49977SWIG_InitializeModule(void *clientdata) {
49978 size_t i;
49979 swig_module_info *module_head;
49980 static int init_run = 0;
49981
49982 clientdata = clientdata;
49983
49984 if (init_run) return;
49985 init_run = 1;
49986
49987 /* Initialize the swig_module */
49988 swig_module.type_initial = swig_type_initial;
49989 swig_module.cast_initial = swig_cast_initial;
49990
49991 /* Try and load any already created modules */
49992 module_head = SWIG_GetModule(clientdata);
49993 if (module_head) {
49994 swig_module.next = module_head->next;
49995 module_head->next = &swig_module;
49996 } else {
49997 /* This is the first module loaded */
49998 swig_module.next = &swig_module;
49999 SWIG_SetModule(clientdata, &swig_module);
50000 }
50001
50002 /* Now work on filling in swig_module.types */
50003#ifdef SWIGRUNTIME_DEBUG
50004 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
50005#endif
50006 for (i = 0; i < swig_module.size; ++i) {
50007 swig_type_info *type = 0;
50008 swig_type_info *ret;
50009 swig_cast_info *cast;
d14a1e28 50010
0085ce49
RD
50011#ifdef SWIGRUNTIME_DEBUG
50012 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50013#endif
d14a1e28 50014
0085ce49
RD
50015 /* if there is another module already loaded */
50016 if (swig_module.next != &swig_module) {
50017 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 50018 }
0085ce49
RD
50019 if (type) {
50020 /* Overwrite clientdata field */
50021#ifdef SWIGRUNTIME_DEBUG
50022 printf("SWIG_InitializeModule: found type %s\n", type->name);
50023#endif
50024 if (swig_module.type_initial[i]->clientdata) {
50025 type->clientdata = swig_module.type_initial[i]->clientdata;
50026#ifdef SWIGRUNTIME_DEBUG
50027 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
50028#endif
50029 }
50030 } else {
50031 type = swig_module.type_initial[i];
093d3ff1 50032 }
d14a1e28 50033
0085ce49
RD
50034 /* Insert casting types */
50035 cast = swig_module.cast_initial[i];
50036 while (cast->type) {
50037 /* Don't need to add information already in the list */
50038 ret = 0;
50039#ifdef SWIGRUNTIME_DEBUG
50040 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
50041#endif
50042 if (swig_module.next != &swig_module) {
50043 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
50044#ifdef SWIGRUNTIME_DEBUG
50045 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
50046#endif
50047 }
50048 if (ret) {
50049 if (type == swig_module.type_initial[i]) {
50050#ifdef SWIGRUNTIME_DEBUG
50051 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
50052#endif
50053 cast->type = ret;
50054 ret = 0;
50055 } else {
50056 /* Check for casting already in the list */
50057 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
50058#ifdef SWIGRUNTIME_DEBUG
50059 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
50060#endif
50061 if (!ocast) ret = 0;
50062 }
50063 }
50064
50065 if (!ret) {
50066#ifdef SWIGRUNTIME_DEBUG
50067 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
50068#endif
50069 if (type->cast) {
50070 type->cast->prev = cast;
50071 cast->next = type->cast;
50072 }
50073 type->cast = cast;
50074 }
50075 cast++;
093d3ff1 50076 }
0085ce49
RD
50077 /* Set entry in modules->types array equal to the type */
50078 swig_module.types[i] = type;
50079 }
50080 swig_module.types[i] = 0;
50081
50082#ifdef SWIGRUNTIME_DEBUG
50083 printf("**** SWIG_InitializeModule: Cast List ******\n");
50084 for (i = 0; i < swig_module.size; ++i) {
50085 int j = 0;
50086 swig_cast_info *cast = swig_module.cast_initial[i];
50087 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50088 while (cast->type) {
50089 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
50090 cast++;
50091 ++j;
50092 }
50093 printf("---- Total casts: %d\n",j);
50094 }
50095 printf("**** SWIG_InitializeModule: Cast List ******\n");
50096#endif
50097}
50098
50099/* This function will propagate the clientdata field of type to
50100* any new swig_type_info structures that have been added into the list
50101* of equivalent types. It is like calling
50102* SWIG_TypeClientData(type, clientdata) a second time.
50103*/
50104SWIGRUNTIME void
50105SWIG_PropagateClientData(void) {
50106 size_t i;
50107 swig_cast_info *equiv;
50108 static int init_run = 0;
50109
50110 if (init_run) return;
50111 init_run = 1;
50112
50113 for (i = 0; i < swig_module.size; i++) {
50114 if (swig_module.types[i]->clientdata) {
50115 equiv = swig_module.types[i]->cast;
50116 while (equiv) {
50117 if (!equiv->converter) {
50118 if (equiv->type && !equiv->type->clientdata)
50119 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
50120 }
50121 equiv = equiv->next;
50122 }
093d3ff1 50123 }
0085ce49
RD
50124 }
50125}
50126
50127#ifdef __cplusplus
50128#if 0
50129{
50130 /* c-mode */
50131#endif
50132}
50133#endif
50134
50135
50136
50137#ifdef __cplusplus
50138extern "C" {
50139#endif
50140
50141 /* Python-specific SWIG API */
50142#define SWIG_newvarlink() SWIG_Python_newvarlink()
50143#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50144#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50145
50146 /* -----------------------------------------------------------------------------
50147 * global variable support code.
50148 * ----------------------------------------------------------------------------- */
50149
50150 typedef struct swig_globalvar {
50151 char *name; /* Name of global variable */
50152 PyObject *(*get_attr)(void); /* Return the current value */
50153 int (*set_attr)(PyObject *); /* Set the value */
50154 struct swig_globalvar *next;
50155 } swig_globalvar;
50156
50157 typedef struct swig_varlinkobject {
50158 PyObject_HEAD
50159 swig_globalvar *vars;
50160 } swig_varlinkobject;
50161
50162 SWIGINTERN PyObject *
50163 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
50164 return PyString_FromString("<Swig global variables>");
50165 }
50166
50167 SWIGINTERN PyObject *
50168 swig_varlink_str(swig_varlinkobject *v) {
50169 PyObject *str = PyString_FromString("(");
50170 swig_globalvar *var;
50171 for (var = v->vars; var; var=var->next) {
50172 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
50173 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
50174 }
50175 PyString_ConcatAndDel(&str,PyString_FromString(")"));
50176 return str;
50177 }
50178
50179 SWIGINTERN int
50180 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
50181 PyObject *str = swig_varlink_str(v);
50182 fprintf(fp,"Swig global variables ");
50183 fprintf(fp,"%s\n", PyString_AsString(str));
50184 Py_DECREF(str);
50185 return 0;
50186 }
50187
50188 SWIGINTERN void
50189 swig_varlink_dealloc(swig_varlinkobject *v) {
50190 swig_globalvar *var = v->vars;
50191 while (var) {
50192 swig_globalvar *n = var->next;
50193 free(var->name);
50194 free(var);
50195 var = n;
093d3ff1 50196 }
0085ce49
RD
50197 }
50198
50199 SWIGINTERN PyObject *
50200 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
50201 PyObject *res = NULL;
50202 swig_globalvar *var = v->vars;
50203 while (var) {
50204 if (strcmp(var->name,n) == 0) {
50205 res = (*var->get_attr)();
50206 break;
50207 }
50208 var = var->next;
093d3ff1 50209 }
0085ce49
RD
50210 if (res == NULL && !PyErr_Occurred()) {
50211 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 50212 }
0085ce49
RD
50213 return res;
50214 }
50215
50216 SWIGINTERN int
50217 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
50218 int res = 1;
50219 swig_globalvar *var = v->vars;
50220 while (var) {
50221 if (strcmp(var->name,n) == 0) {
50222 res = (*var->set_attr)(p);
50223 break;
50224 }
50225 var = var->next;
093d3ff1 50226 }
0085ce49
RD
50227 if (res == 1 && !PyErr_Occurred()) {
50228 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 50229 }
0085ce49
RD
50230 return res;
50231 }
50232
50233 SWIGINTERN PyTypeObject*
50234 swig_varlink_type(void) {
50235 static char varlink__doc__[] = "Swig var link object";
50236 static PyTypeObject varlink_type;
50237 static int type_init = 0;
50238 if (!type_init) {
50239 const PyTypeObject tmp
50240 = {
50241 PyObject_HEAD_INIT(NULL)
50242 0, /* Number of items in variable part (ob_size) */
50243 (char *)"swigvarlink", /* Type name (tp_name) */
50244 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50245 0, /* Itemsize (tp_itemsize) */
50246 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50247 (printfunc) swig_varlink_print, /* Print (tp_print) */
50248 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50249 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50250 0, /* tp_compare */
50251 (reprfunc) swig_varlink_repr, /* tp_repr */
50252 0, /* tp_as_number */
50253 0, /* tp_as_sequence */
50254 0, /* tp_as_mapping */
50255 0, /* tp_hash */
50256 0, /* tp_call */
50257 (reprfunc)swig_varlink_str, /* tp_str */
50258 0, /* tp_getattro */
50259 0, /* tp_setattro */
50260 0, /* tp_as_buffer */
50261 0, /* tp_flags */
50262 varlink__doc__, /* tp_doc */
50263 0, /* tp_traverse */
50264 0, /* tp_clear */
50265 0, /* tp_richcompare */
50266 0, /* tp_weaklistoffset */
50267#if PY_VERSION_HEX >= 0x02020000
50268 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50269#endif
50270#if PY_VERSION_HEX >= 0x02030000
50271 0, /* tp_del */
50272#endif
50273#ifdef COUNT_ALLOCS
50274 0,0,0,0 /* tp_alloc -> tp_next */
50275#endif
50276 };
50277 varlink_type = tmp;
50278 varlink_type.ob_type = &PyType_Type;
50279 type_init = 1;
53aa7709 50280 }
0085ce49
RD
50281 return &varlink_type;
50282 }
50283
50284 /* Create a variable linking object for use later */
50285 SWIGINTERN PyObject *
50286 SWIG_Python_newvarlink(void) {
50287 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50288 if (result) {
50289 result->vars = 0;
50290 }
50291 return ((PyObject*) result);
50292 }
50293
50294 SWIGINTERN void
50295 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50296 swig_varlinkobject *v = (swig_varlinkobject *) p;
50297 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50298 if (gv) {
50299 size_t size = strlen(name)+1;
50300 gv->name = (char *)malloc(size);
50301 if (gv->name) {
50302 strncpy(gv->name,name,size);
50303 gv->get_attr = get_attr;
50304 gv->set_attr = set_attr;
50305 gv->next = v->vars;
50306 }
53aa7709 50307 }
0085ce49
RD
50308 v->vars = gv;
50309 }
50310
50311 SWIGINTERN PyObject *
50312 SWIG_globals() {
50313 static PyObject *_SWIG_globals = 0;
50314 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50315 return _SWIG_globals;
50316 }
50317
50318 /* -----------------------------------------------------------------------------
50319 * constants/methods manipulation
50320 * ----------------------------------------------------------------------------- */
50321
50322 /* Install Constants */
50323 SWIGINTERN void
50324 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50325 PyObject *obj = 0;
50326 size_t i;
50327 for (i = 0; constants[i].type; ++i) {
50328 switch(constants[i].type) {
50329 case SWIG_PY_POINTER:
50330 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50331 break;
50332 case SWIG_PY_BINARY:
50333 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50334 break;
50335 default:
50336 obj = 0;
50337 break;
50338 }
50339 if (obj) {
50340 PyDict_SetItemString(d, constants[i].name, obj);
50341 Py_DECREF(obj);
50342 }
53aa7709 50343 }
0085ce49
RD
50344 }
50345
50346 /* -----------------------------------------------------------------------------*/
50347 /* Fix SwigMethods to carry the callback ptrs when needed */
50348 /* -----------------------------------------------------------------------------*/
50349
50350 SWIGINTERN void
50351 SWIG_Python_FixMethods(PyMethodDef *methods,
50352 swig_const_info *const_table,
50353 swig_type_info **types,
50354 swig_type_info **types_initial) {
50355 size_t i;
50356 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 50357 const char *c = methods[i].ml_doc;
0085ce49
RD
50358 if (c && (c = strstr(c, "swig_ptr: "))) {
50359 int j;
50360 swig_const_info *ci = 0;
453fb36b 50361 const char *name = c + 10;
0085ce49
RD
50362 for (j = 0; const_table[j].type; ++j) {
50363 if (strncmp(const_table[j].name, name,
50364 strlen(const_table[j].name)) == 0) {
50365 ci = &(const_table[j]);
50366 break;
50367 }
50368 }
50369 if (ci) {
50370 size_t shift = (ci->ptype) - types;
50371 swig_type_info *ty = types_initial[shift];
50372 size_t ldoc = (c - methods[i].ml_doc);
50373 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50374 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50375 if (ndoc) {
50376 char *buff = ndoc;
50377 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50378 if (ptr) {
50379 strncpy(buff, methods[i].ml_doc, ldoc);
50380 buff += ldoc;
50381 strncpy(buff, "swig_ptr: ", 10);
50382 buff += 10;
50383 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50384 methods[i].ml_doc = ndoc;
50385 }
50386 }
50387 }
50388 }
53aa7709 50389 }
0085ce49
RD
50390 }
50391
50392#ifdef __cplusplus
50393}
50394#endif
50395
50396/* -----------------------------------------------------------------------------*
50397 * Partial Init method
50398 * -----------------------------------------------------------------------------*/
50399
50400#ifdef __cplusplus
50401extern "C"
50402#endif
50403SWIGEXPORT void SWIG_init(void) {
50404 PyObject *m, *d;
50405
50406 /* Fix SwigMethods to carry the callback ptrs when needed */
50407 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50408
50409 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50410 d = PyModule_GetDict(m);
50411
50412 SWIG_InitializeModule(0);
50413 SWIG_InstallConstants(d,swig_const_table);
50414
50415
50416 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50417 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50418 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50419 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50420 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50421 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50422 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50423 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50424 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50425 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50426 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50427 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50428 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50429 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50430 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50431 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50432 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50433 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50434 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50435 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50436 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50437 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
0085ce49
RD
50438 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50439 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50440 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
3f7f284d 50441 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
0085ce49
RD
50442 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50443 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50444 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50445 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50446 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50447 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50448 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50449 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50450 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50451 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50452 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50453 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50454 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50455 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50456 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50457 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50458 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50459 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50460 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50461 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
0085ce49
RD
50462 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50463 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50464 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50465 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50466 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50467 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50468 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50469 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50470 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50471 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50472 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50473 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50474 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50475 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50476 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50477 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50478 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50479 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50480 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50481 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50482 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50483 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50484 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50485 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50486 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50487 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50488 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
f5263701 50489 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
0085ce49
RD
50490 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50491 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50492 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50493 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50494 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50495 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50496 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50497 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50498 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
50499 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
50500 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
50501 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
50502 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
50503 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
50504 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
50505 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
50506 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
50507 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
50508 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
50509 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
50510 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
50511 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
50512 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
50513 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
50514 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
50515 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
50516 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
50517 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
50518 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
50519 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
50520 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
50521 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
50522 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
50523 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
50524 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
50525 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 50526 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
110fa173
RD
50527 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
50528 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
50529 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
50530 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
50531 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
0085ce49
RD
50532 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
50533 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
50534 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
50535 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
50536 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
50537 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
50538 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
50539 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
50540 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
50541 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
50542 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
b02396e8 50543 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
0085ce49
RD
50544 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
50545 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
50546 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
50547 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
50548 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
50549 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
50550 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
50551 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
50552 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
50553 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
50554 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
50555 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
50556 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
50557 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
50558 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
50559 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
50560 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
50561 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
50562 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
50563 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
50564 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
50565 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
50566 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
50567 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
50568 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
50569 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
50570 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
50571 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
50572 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
8f514ab4
RD
50573 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
50574 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
50575 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
50576 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
0085ce49
RD
50577 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
50578 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
50579 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
50580 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
50581 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
50582 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
50583 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
50584 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
50585 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 50586 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
0085ce49
RD
50587 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
50588 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
50589 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
50590 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
50591 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
50592 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
50593 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
50594 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
50595 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
50596 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
50597 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
50598 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
50599 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
50600 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
50601 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
50602 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
50603 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
50604 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
50605 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
50606 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
50607 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
50608 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
50609 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
50610 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
50611 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
50612 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
50613 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
50614 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
50615 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
50616 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
50617 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
50618 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
50619 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
50620 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
50621 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
50622 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
50623 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
50624 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
50625 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
50626 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
50627 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
50628 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
50629 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
50630 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
50631 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
50632 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
50633 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 50634 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
0085ce49
RD
50635 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
50636 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
50637 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
50638 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
50639 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
50640 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
50641 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
50642 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
50643 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
50644 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
50645 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
50646 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
50647 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
50648 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
50649 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
50650 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
50651 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
50652 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
50653 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
50654 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
50655 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
50656 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
50657 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
50658 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
50659 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
50660 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
50661 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
50662 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
50663 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
50664 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
50665 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
50666 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
50667 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
50668 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
50669 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
50670 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
50671 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
50672 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
50673 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
50674 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
50675 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
50676 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
50677
50678 // Map renamed classes back to their common name for OOR
50679 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50680
50681 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
50682 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
50683 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
50684 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
50685 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
50686 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
50687 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
50688 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
50689 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
50690 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
50691 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
50692 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
50693 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
50694 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
50695 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
0085ce49
RD
50696 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
50697 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
50698 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
50699 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
50700 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50701 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50702 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50703 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50704 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50705 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50706 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50707 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50708 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50709 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50710 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50711 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50712 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50713 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50714 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50715 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50716 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50717 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50718 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50719 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50720 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50721 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50722 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50723 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50724 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50725 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50726 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50727 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50728 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50729 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50730 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50731 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50732 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50733 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50734 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50735 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
b02396e8 50736 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
0085ce49
RD
50737
50738 // Map renamed classes back to their common name for OOR
50739 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50740 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50741
50742 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50743 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50744 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50745 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50746 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50747 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
0085ce49
RD
50748 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50749 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
50750 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50751 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50752 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
0085ce49
RD
50753
50754 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50755
50756 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50757 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50758 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50759 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50760 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50761 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
50762 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50763 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
33d6fd3b
RD
50764 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50765 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50766 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
704eda0c
RD
50767 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50768 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
50769 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50770 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50771 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50772 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50773 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50774 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50775 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50776 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50777 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50778 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50779 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50780 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50781 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50782 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50783 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50784 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50785 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50786 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50787 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50788 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50789 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50790 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50791 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50792 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50793 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50794 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50795 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50796 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
50797 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
50798 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
5172800e
RD
50799 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
50800 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
50801 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
50802 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
3f7f284d 50803 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
4ed51f4d
RD
50804 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN));
50805 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN));
d14a1e28
RD
50806}
50807