~ubuntu-branches/ubuntu/utopic/wxwidgets2.8/utopic

« back to all changes in this revision

Viewing changes to .pc/wxpython-missing-format-strings.patch/wxPython/contrib/gizmos/msw/gizmos_wrap.cpp

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2014-08-14 09:46:29 UTC
  • mfrom: (1.1.11) (46.1.1 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20140814094629-45glvhwaak2t1qn1
Tags: 2.8.12.1+dfsg2-2ubuntu1
* Merge with Debian unstable (LP: #1356749), remaining changes:
  - Disable bp-menubar-fix.patch.
  - Disable disable_media_python.patch to add wx.media to python-wxgtk2.8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ----------------------------------------------------------------------------
 
2
 * This file was automatically generated by SWIG (http://www.swig.org).
 
3
 * Version 1.3.29
 
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
 
12
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
 
13
 
 
14
#ifdef __cplusplus
 
15
template<class T> class SwigValueWrapper {
 
16
    T *tt;
 
17
public:
 
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; }
 
25
private:
 
26
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
 
27
};
 
28
#endif
 
29
 
 
30
/* -----------------------------------------------------------------------------
 
31
 *  This section contains generic SWIG labels for method/variable
 
32
 *  declarations/attributes, and other compiler dependent labels.
 
33
 * ----------------------------------------------------------------------------- */
 
34
 
 
35
/* template workaround for compilers that cannot correctly implement the C++ standard */
 
36
#ifndef SWIGTEMPLATEDISAMBIGUATOR
 
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
 
46
#endif
 
47
 
 
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
 
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__)) 
 
67
# else
 
68
#   define SWIGUNUSED 
 
69
# endif
 
70
#endif
 
71
 
 
72
#ifndef SWIGUNUSEDPARM
 
73
# ifdef __cplusplus
 
74
#   define SWIGUNUSEDPARM(p)
 
75
# else
 
76
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
 
77
# endif
 
78
#endif
 
79
 
 
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
 
 
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
 
 
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
 
105
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
 
106
#     define SWIGEXPORT __attribute__ ((visibility("default")))
 
107
#   else
 
108
#     define SWIGEXPORT
 
109
#   endif
 
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
 
 
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
 
126
 
 
127
 
 
128
/* Python.h has to appear first */
 
129
#include <Python.h>
 
130
 
 
131
/* -----------------------------------------------------------------------------
 
132
 * swigrun.swg
 
133
 *
 
134
 * This file contains generic CAPI SWIG runtime support for pointer
 
135
 * type checking.
 
136
 * ----------------------------------------------------------------------------- */
 
137
 
 
138
/* This should only be incremented when either the layout of swig_type_info changes,
 
139
   or for whatever reason, the runtime changes incompatibly */
 
140
#define SWIG_RUNTIME_VERSION "2"
 
141
 
 
142
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
 
143
#ifdef SWIG_TYPE_TABLE
 
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)
 
147
#else
 
148
# define SWIG_TYPE_TABLE_NAME
 
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
*/
 
159
 
 
160
#ifndef SWIGRUNTIME
 
161
# define SWIGRUNTIME SWIGINTERN
 
162
#endif
 
163
 
 
164
#ifndef SWIGRUNTIMEINLINE
 
165
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
 
166
#endif
 
167
 
 
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)
 
295
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
 
296
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
 
297
}
 
298
SWIGINTERNINLINE 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
 
 
309
#include <string.h>
 
310
 
 
311
#ifdef __cplusplus
 
312
extern "C" {
 
313
#endif
 
314
 
 
315
typedef void *(*swig_converter_func)(void *);
 
316
typedef struct swig_type_info *(*swig_dycast_func)(void **);
 
317
 
 
318
/* Structure to store inforomation on one type */
 
319
typedef struct swig_type_info {
 
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 */
 
325
  int                    owndata;               /* flag if the structure owns the clientdata */
 
326
} swig_type_info;
 
327
 
 
328
/* Structure to store a type and conversion function used for casting */
 
329
typedef 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.*/
 
339
typedef 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
 
 
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
*/
 
355
SWIGRUNTIME int
 
356
SWIG_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;
 
361
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
 
362
  }
 
363
  return (l1 - f1) - (l2 - f2);
 
364
}
 
365
 
 
366
/*
 
367
  Check type equivalence in a name list like <name1>|<name2>|...
 
368
  Return 0 if not equal, 1 if equal
 
369
*/
 
370
SWIGRUNTIME int
 
371
SWIG_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
    }
 
379
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
 
380
    if (*ne) ++ne;
 
381
  }
 
382
  return equiv;
 
383
}
 
384
 
 
385
/*
 
386
  Check type equivalence in a name list like <name1>|<name2>|...
 
387
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
 
388
*/
 
389
SWIGRUNTIME int
 
390
SWIG_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;
 
397
    }
 
398
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
 
399
    if (*ne) ++ne;
 
400
  }
 
401
  return equiv;
 
402
}
 
403
 
 
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
 
 
427
/*
 
428
  Check the typename
 
429
*/
 
430
SWIGRUNTIME swig_cast_info *
 
431
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
 
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 */
 
436
SWIGRUNTIME swig_cast_info *
 
437
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
 
438
  SWIG_TypeCheck_Template(iter->type == from, into);
 
439
}
 
440
 
 
441
/*
 
442
  Cast a pointer up an inheritance hierarchy
 
443
*/
 
444
SWIGRUNTIMEINLINE void *
 
445
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
 
446
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
 
447
}
 
448
 
 
449
/* 
 
450
   Dynamic pointer casting. Down an inheritance hierarchy
 
451
*/
 
452
SWIGRUNTIME swig_type_info *
 
453
SWIG_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
*/
 
466
SWIGRUNTIMEINLINE const char *
 
467
SWIG_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
*/
 
475
SWIGRUNTIME const char *
 
476
SWIG_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. */
 
481
  if (!type) return NULL;
 
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
 
 
493
/* 
 
494
   Set the clientdata field for a type
 
495
*/
 
496
SWIGRUNTIME void
 
497
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
 
498
  swig_cast_info *cast = ti->cast;
 
499
  /* if (ti->clientdata == clientdata) return; */
 
500
  ti->clientdata = clientdata;
 
501
  
 
502
  while (cast) {
 
503
    if (!cast->converter) {
 
504
      swig_type_info *tc = cast->type;
 
505
      if (!tc->clientdata) {
 
506
        SWIG_TypeClientData(tc, clientdata);
 
507
      }
 
508
    }    
 
509
    cast = cast->next;
 
510
  }
 
511
}
 
512
SWIGRUNTIME void
 
513
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
 
514
  SWIG_TypeClientData(ti, clientdata);
 
515
  ti->owndata = 1;
 
516
}
 
517
  
 
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
*/
 
526
SWIGRUNTIME swig_type_info *
 
527
SWIG_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);
 
556
    }
 
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
*/
 
571
SWIGRUNTIME swig_type_info *
 
572
SWIG_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);
 
591
  }
 
592
  
 
593
  /* neither found a match */
 
594
  return 0;
 
595
}
 
596
 
 
597
/* 
 
598
   Pack binary data into a string
 
599
*/
 
600
SWIGRUNTIME char *
 
601
SWIG_PackData(char *c, void *ptr, size_t sz) {
 
602
  static const char hex[17] = "0123456789abcdef";
 
603
  register const unsigned char *u = (unsigned char *) ptr;
 
604
  register const unsigned char *eu =  u + sz;
 
605
  for (; u != eu; ++u) {
 
606
    register unsigned char uu = *u;
 
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
*/
 
616
SWIGRUNTIME const char *
 
617
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
 
618
  register unsigned char *u = (unsigned char *) ptr;
 
619
  register const unsigned char *eu = u + sz;
 
620
  for (; u != eu; ++u) {
 
621
    register char d = *(c++);
 
622
    register unsigned char uu;
 
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
 
 
641
/* 
 
642
   Pack 'void *' into a string buffer.
 
643
*/
 
644
SWIGRUNTIME char *
 
645
SWIG_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
 
 
655
SWIGRUNTIME const char *
 
656
SWIG_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
 
 
668
SWIGRUNTIME char *
 
669
SWIG_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
}
 
682
 
 
683
SWIGRUNTIME const char *
 
684
SWIG_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
}
 
695
 
 
696
#ifdef __cplusplus
 
697
}
 
698
#endif
 
699
 
 
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
 
714
 
 
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
 
 
736
static PyObject *
 
737
PyString_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
 
764
#endif
 
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
 
790
static
 
791
PyObject *PyBool_FromLong(long ok)
 
792
{
 
793
  PyObject *result = ok ? Py_True : Py_False;
 
794
  Py_INCREF(result);
 
795
  return result;
 
796
}
 
797
#endif
 
798
 
 
799
 
 
800
/* -----------------------------------------------------------------------------
 
801
 * error manipulation
 
802
 * ----------------------------------------------------------------------------- */
 
803
 
 
804
SWIGRUNTIME PyObject*
 
805
SWIG_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
}
 
846
 
 
847
 
 
848
SWIGRUNTIME void
 
849
SWIG_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
 
935
#endif
 
936
 
 
937
/* -----------------------------------------------------------------------------
 
938
 * Python API portion that goes into the runtime
 
939
 * ----------------------------------------------------------------------------- */
 
940
 
 
941
#ifdef __cplusplus
 
942
extern "C" {
 
943
#if 0
 
944
} /* cc-mode */
 
945
#endif
 
946
#endif
 
947
 
 
948
/* -----------------------------------------------------------------------------
 
949
 * Constant declarations
 
950
 * ----------------------------------------------------------------------------- */
 
951
 
 
952
/* Constant Types */
 
953
#define SWIG_PY_POINTER 4
 
954
#define SWIG_PY_BINARY  5
 
955
 
 
956
/* Constant information structure */
 
957
typedef struct swig_const_info {
 
958
  int type;
 
959
  char *name;
 
960
  long lvalue;
 
961
  double dvalue;
 
962
  void   *pvalue;
 
963
  swig_type_info **ptype;
 
964
} swig_const_info;
 
965
 
 
966
#ifdef __cplusplus
 
967
#if 0
 
968
{ /* cc-mode */
 
969
#endif
 
970
}
 
971
#endif
 
972
 
 
973
 
 
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
 *
 
978
 * pyrun.swg
 
979
 *
 
980
 * This file contains the runtime support for Python modules
 
981
 * and includes code for managing global variables and pointer
 
982
 * type checking.
 
983
 *
 
984
 * ----------------------------------------------------------------------------- */
 
985
 
 
986
/* Common SWIG API */
 
987
 
 
988
#if PY_VERSION_HEX < 0x02050000
 
989
typedef int Py_ssize_t;
 
990
#endif
 
991
 
 
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
 
1000
 
 
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)
 
1004
 
 
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)
 
1008
 
 
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)
 
1012
 
 
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)
 
1016
 
 
1017
 
 
1018
/* Runtime API */
 
1019
 
 
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)
 
1023
 
 
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                                          
 
1029
 
 
1030
 
 
1031
/* Runtime API implementation */
 
1032
 
 
1033
/* Error manipulation */
 
1034
 
 
1035
SWIGINTERN void 
 
1036
SWIG_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;
 
1041
}
 
1042
 
 
1043
SWIGINTERN void 
 
1044
SWIG_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;
 
1048
}
 
1049
 
 
1050
#define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
 
1051
 
 
1052
/* Set a constant value */
 
1053
 
 
1054
SWIGINTERN void
 
1055
SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
 
1056
  PyDict_SetItemString(d, (char*) name, obj);
 
1057
  Py_DECREF(obj);                            
 
1058
}
 
1059
 
 
1060
/* Append a value to the result obj */
 
1061
 
 
1062
SWIGINTERN PyObject*
 
1063
SWIG_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;
 
1088
  } else {
 
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);
 
1100
  }
 
1101
  return result;
 
1102
#endif
 
1103
}
 
1104
 
 
1105
/* Unpack the argument tuple */
 
1106
 
 
1107
SWIGINTERN int
 
1108
SWIG_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
 
1173
extern "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
 
1193
SWIGRUNTIMEINLINE PyObject * 
 
1194
_SWIG_Py_None(void)
 
1195
{
 
1196
  PyObject *none = Py_BuildValue("");
 
1197
  Py_DECREF(none);
 
1198
  return none;
 
1199
}
 
1200
SWIGRUNTIME PyObject * 
 
1201
SWIG_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
 
 
1210
SWIGRUNTIMEINLINE PyObject * 
 
1211
SWIG_Py_Void(void)
 
1212
{
 
1213
  PyObject *none = Py_None;
 
1214
  Py_INCREF(none);
 
1215
  return none;
 
1216
}
 
1217
 
 
1218
/* PySwigClientData */
 
1219
 
 
1220
typedef struct {
 
1221
  PyObject *klass;
 
1222
  PyObject *newraw;
 
1223
  PyObject *newargs;
 
1224
  PyObject *destroy;
 
1225
  int delargs;
 
1226
  int implicitconv;
 
1227
} PySwigClientData;
 
1228
 
 
1229
SWIGRUNTIMEINLINE int 
 
1230
SWIG_Python_CheckImplicit(swig_type_info *ty)
 
1231
{
 
1232
  PySwigClientData *data = (PySwigClientData *)ty->clientdata;
 
1233
  return data ? data->implicitconv : 0;
 
1234
}
 
1235
 
 
1236
SWIGRUNTIMEINLINE PyObject *
 
1237
SWIG_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
 
 
1244
SWIGRUNTIME PySwigClientData * 
 
1245
PySwigClientData_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
 
 
1297
SWIGRUNTIME void 
 
1298
PySwigClientData_Del(PySwigClientData* data)
 
1299
{
 
1300
  Py_XDECREF(data->newraw);
 
1301
  Py_XDECREF(data->newargs);
 
1302
  Py_XDECREF(data->destroy);
 
1303
}
 
1304
 
 
1305
/* =============== PySwigObject =====================*/
 
1306
 
 
1307
typedef struct {
 
1308
  PyObject_HEAD
 
1309
  void *ptr;
 
1310
  swig_type_info *ty;
 
1311
  int own;
 
1312
  PyObject *next;
 
1313
} PySwigObject;
 
1314
 
 
1315
SWIGRUNTIME PyObject *
 
1316
PySwigObject_long(PySwigObject *v)
 
1317
{
 
1318
  return PyLong_FromVoidPtr(v->ptr);
 
1319
}
 
1320
 
 
1321
SWIGRUNTIME PyObject *
 
1322
PySwigObject_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
 
 
1339
SWIGRUNTIME PyObject *
 
1340
PySwigObject_oct(PySwigObject *v)
 
1341
{
 
1342
  return PySwigObject_format("%o",v);
 
1343
}
 
1344
 
 
1345
SWIGRUNTIME PyObject *
 
1346
PySwigObject_hex(PySwigObject *v)
 
1347
{
 
1348
  return PySwigObject_format("%x",v);
 
1349
}
 
1350
 
 
1351
SWIGRUNTIME PyObject *
 
1352
#ifdef METH_NOARGS
 
1353
PySwigObject_repr(PySwigObject *v)
 
1354
#else
 
1355
PySwigObject_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
 
 
1373
SWIGRUNTIME int
 
1374
PySwigObject_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
 
 
1390
SWIGRUNTIME PyObject *
 
1391
PySwigObject_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
 
 
1398
SWIGRUNTIME int
 
1399
PySwigObject_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
 
 
1406
SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
 
1407
 
 
1408
SWIGRUNTIME PyTypeObject*
 
1409
PySwigObject_type(void) {
 
1410
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
 
1411
  return type;
 
1412
}
 
1413
 
 
1414
SWIGRUNTIMEINLINE int
 
1415
PySwigObject_Check(PyObject *op) {
 
1416
  return ((op)->ob_type == PySwigObject_type())
 
1417
    || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
 
1418
}
 
1419
 
 
1420
SWIGRUNTIME PyObject *
 
1421
PySwigObject_New(void *ptr, swig_type_info *ty, int own);
 
1422
 
 
1423
SWIGRUNTIME void
 
1424
PySwigObject_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
 
 
1457
SWIGRUNTIME PyObject* 
 
1458
PySwigObject_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
 
 
1474
SWIGRUNTIME PyObject* 
 
1475
#ifdef METH_NOARGS
 
1476
PySwigObject_next(PyObject* v)
 
1477
#else
 
1478
PySwigObject_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
 
 
1490
SWIGINTERN PyObject*
 
1491
#ifdef METH_NOARGS
 
1492
PySwigObject_disown(PyObject *v)
 
1493
#else
 
1494
PySwigObject_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
 
 
1502
SWIGINTERN PyObject*
 
1503
#ifdef METH_NOARGS
 
1504
PySwigObject_acquire(PyObject *v)
 
1505
#else
 
1506
PySwigObject_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
 
 
1514
SWIGINTERN PyObject*
 
1515
PySwigObject_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
 
1550
static PyMethodDef
 
1551
swigobject_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
 
1561
static PyMethodDef
 
1562
swigobject_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
 
1574
SWIGINTERN PyObject *
 
1575
PySwigObject_getattr(PySwigObject *sobj,char *name)
 
1576
{
 
1577
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
 
1578
}
 
1579
#endif
 
1580
 
 
1581
SWIGRUNTIME 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*/
 
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*/
 
1609
#if PY_VERSION_HEX >= 0x02020000
 
1610
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ 
 
1611
#elif PY_VERSION_HEX >= 0x02000000
 
1612
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
 
1613
#endif
 
1614
  };
 
1615
 
 
1616
  static PyTypeObject pyswigobject_type;  
 
1617
  static int type_init = 0;
 
1618
  if (!type_init) {
 
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 */ 
 
1632
#endif
 
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 */
 
1651
#if PY_VERSION_HEX >= 0x02020000
 
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 */
 
1672
#endif
 
1673
#if PY_VERSION_HEX >= 0x02030000
 
1674
        0,                                  /* tp_del */
 
1675
#endif
 
1676
#ifdef COUNT_ALLOCS
 
1677
        0,0,0,0                             /* tp_alloc -> tp_next */
 
1678
#endif
 
1679
      };
 
1680
    pyswigobject_type = tmp;
 
1681
    pyswigobject_type.ob_type = &PyType_Type;
 
1682
    type_init = 1;
 
1683
  }
 
1684
  return &pyswigobject_type;
 
1685
}
 
1686
 
 
1687
SWIGRUNTIME PyObject *
 
1688
PySwigObject_New(void *ptr, swig_type_info *ty, int own)
 
1689
{
 
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;
 
1696
  }
 
1697
  return (PyObject *)sobj;
 
1698
}
 
1699
 
 
1700
/* -----------------------------------------------------------------------------
 
1701
 * Implements a simple Swig Packed type, and use it instead of string
 
1702
 * ----------------------------------------------------------------------------- */
 
1703
 
 
1704
typedef struct {
 
1705
  PyObject_HEAD
 
1706
  void *pack;
 
1707
  swig_type_info *ty;
 
1708
  size_t size;
 
1709
} PySwigPacked;
 
1710
 
 
1711
SWIGRUNTIME int
 
1712
PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
 
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
  }
 
1720
  fputs(v->ty->name,fp); 
 
1721
  fputs(">", fp);
 
1722
  return 0; 
 
1723
}
 
1724
  
 
1725
SWIGRUNTIME PyObject *
 
1726
PySwigPacked_repr(PySwigPacked *v)
 
1727
{
 
1728
  char result[SWIG_BUFFER_SIZE];
 
1729
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
 
1730
    return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
 
1731
  } else {
 
1732
    return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
 
1733
  }  
 
1734
}
 
1735
 
 
1736
SWIGRUNTIME PyObject *
 
1737
PySwigPacked_str(PySwigPacked *v)
 
1738
{
 
1739
  char result[SWIG_BUFFER_SIZE];
 
1740
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
 
1741
    return PyString_FromFormat("%s%s", result, v->ty->name);
 
1742
  } else {
 
1743
    return PyString_FromString(v->ty->name);
 
1744
  }  
 
1745
}
 
1746
 
 
1747
SWIGRUNTIME int
 
1748
PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
 
1749
{
 
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);
 
1754
}
 
1755
 
 
1756
SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
 
1757
 
 
1758
SWIGRUNTIME PyTypeObject*
 
1759
PySwigPacked_type(void) {
 
1760
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
 
1761
  return type;
 
1762
}
 
1763
 
 
1764
SWIGRUNTIMEINLINE int
 
1765
PySwigPacked_Check(PyObject *op) {
 
1766
  return ((op)->ob_type == _PySwigPacked_type()) 
 
1767
    || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
 
1768
}
 
1769
 
 
1770
SWIGRUNTIME void
 
1771
PySwigPacked_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
 
 
1780
SWIGRUNTIME 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 */
 
1835
#endif
 
1836
#if PY_VERSION_HEX >= 0x02030000
 
1837
        0,                                  /* tp_del */
 
1838
#endif
 
1839
#ifdef COUNT_ALLOCS
 
1840
        0,0,0,0                             /* tp_alloc -> tp_next */
 
1841
#endif
 
1842
      };
 
1843
    pyswigpacked_type = tmp;
 
1844
    pyswigpacked_type.ob_type = &PyType_Type;
 
1845
    type_init = 1;
 
1846
  }
 
1847
  return &pyswigpacked_type;
 
1848
}
 
1849
 
 
1850
SWIGRUNTIME PyObject *
 
1851
PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
 
1852
{
 
1853
  PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
 
1854
  if (sobj) {
 
1855
    void *pack = malloc(size);
 
1856
    if (pack) {
 
1857
      memcpy(pack, ptr, size);
 
1858
      sobj->pack = pack;
 
1859
      sobj->ty   = ty;
 
1860
      sobj->size = size;
 
1861
    } else {
 
1862
      PyObject_DEL((PyObject *) sobj);
 
1863
      sobj = 0;
 
1864
    }
 
1865
  }
 
1866
  return (PyObject *) sobj;
 
1867
}
 
1868
 
 
1869
SWIGRUNTIME swig_type_info *
 
1870
PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
 
1871
{
 
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
  }
 
1880
}
 
1881
 
 
1882
/* -----------------------------------------------------------------------------
 
1883
 * pointers/data manipulation
 
1884
 * ----------------------------------------------------------------------------- */
 
1885
 
 
1886
SWIGRUNTIMEINLINE PyObject *
 
1887
_SWIG_This(void)
 
1888
{
 
1889
  return PyString_FromString("this");
 
1890
}
 
1891
 
 
1892
SWIGRUNTIME PyObject *
 
1893
SWIG_This(void)
 
1894
{
 
1895
  static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
 
1896
  return swig_this;
 
1897
}
 
1898
 
 
1899
/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
 
1900
 
 
1901
SWIGRUNTIME PySwigObject *
 
1902
SWIG_Python_GetSwigThis(PyObject *pyobj) 
 
1903
{
 
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);
 
1926
        } else {
 
1927
          if (PyErr_Occurred()) PyErr_Clear();
 
1928
          return 0;
 
1929
        }
 
1930
      }
 
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;
 
1947
  }
 
1948
}
 
1949
 
 
1950
/* Acquire a pointer value */
 
1951
 
 
1952
SWIGRUNTIME int
 
1953
SWIG_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
    }
 
1961
  }
 
1962
  return 0;
 
1963
}
 
1964
 
 
1965
/* Convert a pointer value */
 
1966
 
 
1967
SWIGRUNTIME int
 
1968
SWIG_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
        }
 
1992
      } else {
 
1993
        if (ptr) *ptr = vptr;
 
1994
        break;
 
1995
      }
 
1996
    }
 
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
    }
 
2042
  }
 
2043
}
 
2044
 
 
2045
/* Convert a function ptr value */
 
2046
 
 
2047
SWIGRUNTIME int
 
2048
SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
 
2049
  if (!PyCFunction_Check(obj)) {
 
2050
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
 
2051
  } else {
 
2052
    void *vptr = 0;
 
2053
    
 
2054
    /* here we get the method pointer for callbacks */
 
2055
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
 
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;
 
2069
  }
 
2070
}
 
2071
 
 
2072
/* Convert a packed value value */
 
2073
 
 
2074
SWIGRUNTIME int
 
2075
SWIG_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
    }
 
2084
  }
 
2085
  return SWIG_OK;
 
2086
}  
 
2087
 
 
2088
/* -----------------------------------------------------------------------------
 
2089
 * Create a new pointer object
 
2090
 * ----------------------------------------------------------------------------- */
 
2091
 
 
2092
/*
 
2093
  Create a new instance object, whitout calling __init__, and set the
 
2094
  'this' attribute.
 
2095
*/
 
2096
 
 
2097
SWIGRUNTIME PyObject* 
 
2098
SWIG_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
        }
 
2115
      }
 
2116
#else
 
2117
      PyObject *key = SWIG_This();
 
2118
      PyObject_SetAttr(inst, key, swig_this);
 
2119
#endif
 
2120
    }
 
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);
 
2126
  }
 
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;
 
2140
  }
 
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;
 
2147
  }
 
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
 
2158
}
 
2159
 
 
2160
SWIGRUNTIME void
 
2161
SWIG_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
 }
 
2175
#endif
 
2176
 dict = PyObject_GetAttrString(inst, "__dict__");
 
2177
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 
2178
 Py_DECREF(dict);
 
2179
 
2180
 
 
2181
 
 
2182
SWIGINTERN PyObject *
 
2183
SWIG_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]);
 
2191
    } else {
 
2192
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
 
2193
    }
 
2194
    return SWIG_Py_Void();
 
2195
  }
 
2196
}
 
2197
 
 
2198
/* Create a new pointer object */
 
2199
 
 
2200
SWIGRUNTIME PyObject *
 
2201
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
 
2202
  if (!ptr) {
 
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;
 
2213
      }
 
2214
    }
 
2215
    return robj;
 
2216
  }
 
2217
}
 
2218
 
 
2219
/* Create a new packed object */
 
2220
 
 
2221
SWIGRUNTIMEINLINE PyObject *
 
2222
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
 
2223
  return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
 
2224
}
 
2225
 
 
2226
/* -----------------------------------------------------------------------------*
 
2227
 *  Get type list 
 
2228
 * -----------------------------------------------------------------------------*/
 
2229
 
 
2230
#ifdef SWIG_LINK_RUNTIME
 
2231
void *SWIG_ReturnGlobalTypeList(void *);
 
2232
#endif
 
2233
 
 
2234
SWIGRUNTIME swig_module_info *
 
2235
SWIG_Python_GetModule(void) {
 
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
    }
 
2248
#endif
 
2249
  }
 
2250
  return (swig_module_info *) type_pointer;
 
2251
}
 
2252
 
 
2253
#if PY_MAJOR_VERSION < 2
 
2254
/* PyModule_AddObject function was introduced in Python 2.0.  The following function
 
2255
   is copied out of Python/modsupport.c in python version 2.3.4 */
 
2256
SWIGINTERN int
 
2257
PyModule_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");
 
2263
    return SWIG_ERROR;
 
2264
  }
 
2265
  if (!o) {
 
2266
    PyErr_SetString(PyExc_TypeError,
 
2267
                    "PyModule_AddObject() needs non-NULL value");
 
2268
    return SWIG_ERROR;
 
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));
 
2276
    return SWIG_ERROR;
 
2277
  }
 
2278
  if (PyDict_SetItemString(dict, name, o))
 
2279
    return SWIG_ERROR;
 
2280
  Py_DECREF(o);
 
2281
  return SWIG_OK;
 
2282
}
 
2283
#endif
 
2284
 
 
2285
SWIGRUNTIME void
 
2286
SWIG_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
 
 
2301
SWIGRUNTIME void
 
2302
SWIG_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);
 
2307
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
 
2308
  if (pointer && module) {
 
2309
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
 
2310
  } else {
 
2311
    Py_XDECREF(pointer);
 
2312
  }
 
2313
}
 
2314
 
 
2315
/* The python cached type query */
 
2316
SWIGRUNTIME PyObject *
 
2317
SWIG_Python_TypeCache() {
 
2318
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
 
2319
  return cache;
 
2320
}
 
2321
 
 
2322
SWIGRUNTIME swig_type_info *
 
2323
SWIG_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
 
 
2351
SWIGRUNTIME int
 
2352
SWIG_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
  
 
2376
SWIGRUNTIME int
 
2377
SWIG_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
 
 
2389
SWIGRUNTIMEINLINE const char *
 
2390
PySwigObject_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
 
 
2397
SWIGRUNTIME void
 
2398
SWIG_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 */
 
2435
SWIGRUNTIME void *
 
2436
SWIG_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_char swig_types[0]
 
2467
#define SWIGTYPE_p_double swig_types[1]
 
2468
#define SWIGTYPE_p_float swig_types[2]
 
2469
#define SWIGTYPE_p_form_ops_t swig_types[3]
 
2470
#define SWIGTYPE_p_int 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_wxANIHandler swig_types[8]
 
2475
#define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
 
2476
#define SWIGTYPE_p_wxActivateEvent swig_types[10]
 
2477
#define SWIGTYPE_p_wxArrayString swig_types[11]
 
2478
#define SWIGTYPE_p_wxBMPHandler swig_types[12]
 
2479
#define SWIGTYPE_p_wxBitmap swig_types[13]
 
2480
#define SWIGTYPE_p_wxBitmapButton swig_types[14]
 
2481
#define SWIGTYPE_p_wxBookCtrlBase swig_types[15]
 
2482
#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[16]
 
2483
#define SWIGTYPE_p_wxBoxSizer swig_types[17]
 
2484
#define SWIGTYPE_p_wxButton swig_types[18]
 
2485
#define SWIGTYPE_p_wxCURHandler swig_types[19]
 
2486
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[20]
 
2487
#define SWIGTYPE_p_wxCheckBox swig_types[21]
 
2488
#define SWIGTYPE_p_wxCheckListBox swig_types[22]
 
2489
#define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
 
2490
#define SWIGTYPE_p_wxChoice swig_types[24]
 
2491
#define SWIGTYPE_p_wxChoicebook swig_types[25]
 
2492
#define SWIGTYPE_p_wxChoicebookEvent swig_types[26]
 
2493
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[27]
 
2494
#define SWIGTYPE_p_wxCloseEvent swig_types[28]
 
2495
#define SWIGTYPE_p_wxCollapsiblePane swig_types[29]
 
2496
#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[30]
 
2497
#define SWIGTYPE_p_wxColour swig_types[31]
 
2498
#define SWIGTYPE_p_wxColourData swig_types[32]
 
2499
#define SWIGTYPE_p_wxColourDialog swig_types[33]
 
2500
#define SWIGTYPE_p_wxColourPickerCtrl swig_types[34]
 
2501
#define SWIGTYPE_p_wxColourPickerEvent swig_types[35]
 
2502
#define SWIGTYPE_p_wxComboBox swig_types[36]
 
2503
#define SWIGTYPE_p_wxCommandEvent swig_types[37]
 
2504
#define SWIGTYPE_p_wxContextHelp swig_types[38]
 
2505
#define SWIGTYPE_p_wxContextHelpButton swig_types[39]
 
2506
#define SWIGTYPE_p_wxContextMenuEvent swig_types[40]
 
2507
#define SWIGTYPE_p_wxControl swig_types[41]
 
2508
#define SWIGTYPE_p_wxControlWithItems swig_types[42]
 
2509
#define SWIGTYPE_p_wxDateEvent swig_types[43]
 
2510
#define SWIGTYPE_p_wxDatePickerCtrl swig_types[44]
 
2511
#define SWIGTYPE_p_wxDatePickerCtrlBase swig_types[45]
 
2512
#define SWIGTYPE_p_wxDatePickerCtrlGeneric swig_types[46]
 
2513
#define SWIGTYPE_p_wxDialog swig_types[47]
 
2514
#define SWIGTYPE_p_wxDirDialog swig_types[48]
 
2515
#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[49]
 
2516
#define SWIGTYPE_p_wxDirItemData swig_types[50]
 
2517
#define SWIGTYPE_p_wxDirPickerCtrl swig_types[51]
 
2518
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[52]
 
2519
#define SWIGTYPE_p_wxDropFilesEvent swig_types[53]
 
2520
#define SWIGTYPE_p_wxDuplexMode swig_types[54]
 
2521
#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[55]
 
2522
#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[56]
 
2523
#define SWIGTYPE_p_wxDynamicSashWindow swig_types[57]
 
2524
#define SWIGTYPE_p_wxEditableListBox swig_types[58]
 
2525
#define SWIGTYPE_p_wxEraseEvent swig_types[59]
 
2526
#define SWIGTYPE_p_wxEvent swig_types[60]
 
2527
#define SWIGTYPE_p_wxEvtHandler swig_types[61]
 
2528
#define SWIGTYPE_p_wxFSFile swig_types[62]
 
2529
#define SWIGTYPE_p_wxFileDialog swig_types[63]
 
2530
#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[64]
 
2531
#define SWIGTYPE_p_wxFilePickerCtrl swig_types[65]
 
2532
#define SWIGTYPE_p_wxFileSystem swig_types[66]
 
2533
#define SWIGTYPE_p_wxFindDialogEvent swig_types[67]
 
2534
#define SWIGTYPE_p_wxFindReplaceData swig_types[68]
 
2535
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[69]
 
2536
#define SWIGTYPE_p_wxFlexGridSizer swig_types[70]
 
2537
#define SWIGTYPE_p_wxFocusEvent swig_types[71]
 
2538
#define SWIGTYPE_p_wxFont swig_types[72]
 
2539
#define SWIGTYPE_p_wxFontData swig_types[73]
 
2540
#define SWIGTYPE_p_wxFontDialog swig_types[74]
 
2541
#define SWIGTYPE_p_wxFontPickerCtrl swig_types[75]
 
2542
#define SWIGTYPE_p_wxFontPickerEvent swig_types[76]
 
2543
#define SWIGTYPE_p_wxFrame swig_types[77]
 
2544
#define SWIGTYPE_p_wxGBSizerItem swig_types[78]
 
2545
#define SWIGTYPE_p_wxGIFHandler swig_types[79]
 
2546
#define SWIGTYPE_p_wxGauge swig_types[80]
 
2547
#define SWIGTYPE_p_wxGenericDirCtrl swig_types[81]
 
2548
#define SWIGTYPE_p_wxGenericDragImage swig_types[82]
 
2549
#define SWIGTYPE_p_wxGridBagSizer swig_types[83]
 
2550
#define SWIGTYPE_p_wxGridSizer swig_types[84]
 
2551
#define SWIGTYPE_p_wxHelpEvent swig_types[85]
 
2552
#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[86]
 
2553
#define SWIGTYPE_p_wxHyperlinkEvent swig_types[87]
 
2554
#define SWIGTYPE_p_wxICOHandler swig_types[88]
 
2555
#define SWIGTYPE_p_wxIcon swig_types[89]
 
2556
#define SWIGTYPE_p_wxIconizeEvent swig_types[90]
 
2557
#define SWIGTYPE_p_wxIdleEvent swig_types[91]
 
2558
#define SWIGTYPE_p_wxImage swig_types[92]
 
2559
#define SWIGTYPE_p_wxImageHandler swig_types[93]
 
2560
#define SWIGTYPE_p_wxImageList swig_types[94]
 
2561
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[95]
 
2562
#define SWIGTYPE_p_wxInitDialogEvent swig_types[96]
 
2563
#define SWIGTYPE_p_wxJPEGHandler swig_types[97]
 
2564
#define SWIGTYPE_p_wxKeyEvent swig_types[98]
 
2565
#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[99]
 
2566
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[100]
 
2567
#define SWIGTYPE_p_wxLayoutConstraints swig_types[101]
 
2568
#define SWIGTYPE_p_wxListBox swig_types[102]
 
2569
#define SWIGTYPE_p_wxListEvent swig_types[103]
 
2570
#define SWIGTYPE_p_wxListItem swig_types[104]
 
2571
#define SWIGTYPE_p_wxListView swig_types[105]
 
2572
#define SWIGTYPE_p_wxListbook swig_types[106]
 
2573
#define SWIGTYPE_p_wxListbookEvent swig_types[107]
 
2574
#define SWIGTYPE_p_wxMDIChildFrame swig_types[108]
 
2575
#define SWIGTYPE_p_wxMDIClientWindow swig_types[109]
 
2576
#define SWIGTYPE_p_wxMDIParentFrame swig_types[110]
 
2577
#define SWIGTYPE_p_wxMaximizeEvent swig_types[111]
 
2578
#define SWIGTYPE_p_wxMenu swig_types[112]
 
2579
#define SWIGTYPE_p_wxMenuBar swig_types[113]
 
2580
#define SWIGTYPE_p_wxMenuEvent swig_types[114]
 
2581
#define SWIGTYPE_p_wxMenuItem swig_types[115]
 
2582
#define SWIGTYPE_p_wxMessageDialog swig_types[116]
 
2583
#define SWIGTYPE_p_wxMiniFrame swig_types[117]
 
2584
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[118]
 
2585
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[119]
 
2586
#define SWIGTYPE_p_wxMouseEvent swig_types[120]
 
2587
#define SWIGTYPE_p_wxMoveEvent swig_types[121]
 
2588
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[122]
 
2589
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[123]
 
2590
#define SWIGTYPE_p_wxNcPaintEvent swig_types[124]
 
2591
#define SWIGTYPE_p_wxNotebook swig_types[125]
 
2592
#define SWIGTYPE_p_wxNotebookEvent swig_types[126]
 
2593
#define SWIGTYPE_p_wxNotifyEvent swig_types[127]
 
2594
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[128]
 
2595
#define SWIGTYPE_p_wxObject swig_types[129]
 
2596
#define SWIGTYPE_p_wxPCXHandler swig_types[130]
 
2597
#define SWIGTYPE_p_wxPNGHandler swig_types[131]
 
2598
#define SWIGTYPE_p_wxPNMHandler swig_types[132]
 
2599
#define SWIGTYPE_p_wxPageSetupDialog swig_types[133]
 
2600
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[134]
 
2601
#define SWIGTYPE_p_wxPaintEvent swig_types[135]
 
2602
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[136]
 
2603
#define SWIGTYPE_p_wxPanel swig_types[137]
 
2604
#define SWIGTYPE_p_wxPaperSize swig_types[138]
 
2605
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[139]
 
2606
#define SWIGTYPE_p_wxPickerBase swig_types[140]
 
2607
#define SWIGTYPE_p_wxPopupWindow swig_types[141]
 
2608
#define SWIGTYPE_p_wxPreviewCanvas swig_types[142]
 
2609
#define SWIGTYPE_p_wxPreviewControlBar swig_types[143]
 
2610
#define SWIGTYPE_p_wxPreviewFrame swig_types[144]
 
2611
#define SWIGTYPE_p_wxPrintData swig_types[145]
 
2612
#define SWIGTYPE_p_wxPrintDialog swig_types[146]
 
2613
#define SWIGTYPE_p_wxPrintDialogData swig_types[147]
 
2614
#define SWIGTYPE_p_wxPrintPreview swig_types[148]
 
2615
#define SWIGTYPE_p_wxPrinter swig_types[149]
 
2616
#define SWIGTYPE_p_wxProgressDialog swig_types[150]
 
2617
#define SWIGTYPE_p_wxPyApp swig_types[151]
 
2618
#define SWIGTYPE_p_wxPyAxBaseWindow swig_types[152]
 
2619
#define SWIGTYPE_p_wxPyCommandEvent swig_types[153]
 
2620
#define SWIGTYPE_p_wxPyControl swig_types[154]
 
2621
#define SWIGTYPE_p_wxPyEvent swig_types[155]
 
2622
#define SWIGTYPE_p_wxPyEvtHandler swig_types[156]
 
2623
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[157]
 
2624
#define SWIGTYPE_p_wxPyImageHandler swig_types[158]
 
2625
#define SWIGTYPE_p_wxPyListCtrl swig_types[159]
 
2626
#define SWIGTYPE_p_wxPyPanel swig_types[160]
 
2627
#define SWIGTYPE_p_wxPyPickerBase swig_types[161]
 
2628
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[162]
 
2629
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[163]
 
2630
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[164]
 
2631
#define SWIGTYPE_p_wxPyPrintPreview swig_types[165]
 
2632
#define SWIGTYPE_p_wxPyPrintout swig_types[166]
 
2633
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[167]
 
2634
#define SWIGTYPE_p_wxPySizer swig_types[168]
 
2635
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[169]
 
2636
#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[170]
 
2637
#define SWIGTYPE_p_wxPyTreeCtrl swig_types[171]
 
2638
#define SWIGTYPE_p_wxPyTreeItemData swig_types[172]
 
2639
#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[173]
 
2640
#define SWIGTYPE_p_wxPyVListBox swig_types[174]
 
2641
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[175]
 
2642
#define SWIGTYPE_p_wxPyValidator swig_types[176]
 
2643
#define SWIGTYPE_p_wxPyWindow swig_types[177]
 
2644
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[178]
 
2645
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[179]
 
2646
#define SWIGTYPE_p_wxRadioBox swig_types[180]
 
2647
#define SWIGTYPE_p_wxRadioButton swig_types[181]
 
2648
#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[182]
 
2649
#define SWIGTYPE_p_wxSashEvent swig_types[183]
 
2650
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[184]
 
2651
#define SWIGTYPE_p_wxSashWindow swig_types[185]
 
2652
#define SWIGTYPE_p_wxScrollBar swig_types[186]
 
2653
#define SWIGTYPE_p_wxScrollEvent swig_types[187]
 
2654
#define SWIGTYPE_p_wxScrollWinEvent swig_types[188]
 
2655
#define SWIGTYPE_p_wxScrolledWindow swig_types[189]
 
2656
#define SWIGTYPE_p_wxSearchCtrl swig_types[190]
 
2657
#define SWIGTYPE_p_wxSetCursorEvent swig_types[191]
 
2658
#define SWIGTYPE_p_wxShowEvent swig_types[192]
 
2659
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[193]
 
2660
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[194]
 
2661
#define SWIGTYPE_p_wxSizeEvent swig_types[195]
 
2662
#define SWIGTYPE_p_wxSizer swig_types[196]
 
2663
#define SWIGTYPE_p_wxSizerItem swig_types[197]
 
2664
#define SWIGTYPE_p_wxSlider swig_types[198]
 
2665
#define SWIGTYPE_p_wxSpinButton swig_types[199]
 
2666
#define SWIGTYPE_p_wxSpinCtrl swig_types[200]
 
2667
#define SWIGTYPE_p_wxSpinEvent swig_types[201]
 
2668
#define SWIGTYPE_p_wxSplashScreen swig_types[202]
 
2669
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[203]
 
2670
#define SWIGTYPE_p_wxSplitterEvent swig_types[204]
 
2671
#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[205]
 
2672
#define SWIGTYPE_p_wxSplitterWindow swig_types[206]
 
2673
#define SWIGTYPE_p_wxStaticBitmap swig_types[207]
 
2674
#define SWIGTYPE_p_wxStaticBox swig_types[208]
 
2675
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[209]
 
2676
#define SWIGTYPE_p_wxStaticLine swig_types[210]
 
2677
#define SWIGTYPE_p_wxStaticPicture swig_types[211]
 
2678
#define SWIGTYPE_p_wxStaticText swig_types[212]
 
2679
#define SWIGTYPE_p_wxStatusBar swig_types[213]
 
2680
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[214]
 
2681
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[215]
 
2682
#define SWIGTYPE_p_wxTGAHandler swig_types[216]
 
2683
#define SWIGTYPE_p_wxTIFFHandler swig_types[217]
 
2684
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[218]
 
2685
#define SWIGTYPE_p_wxTextCtrl swig_types[219]
 
2686
#define SWIGTYPE_p_wxTextEntryDialog swig_types[220]
 
2687
#define SWIGTYPE_p_wxTextUrlEvent swig_types[221]
 
2688
#define SWIGTYPE_p_wxThinSplitterWindow swig_types[222]
 
2689
#define SWIGTYPE_p_wxTipWindow swig_types[223]
 
2690
#define SWIGTYPE_p_wxToggleButton swig_types[224]
 
2691
#define SWIGTYPE_p_wxToolBar swig_types[225]
 
2692
#define SWIGTYPE_p_wxToolBarBase swig_types[226]
 
2693
#define SWIGTYPE_p_wxToolBarToolBase swig_types[227]
 
2694
#define SWIGTYPE_p_wxToolbook swig_types[228]
 
2695
#define SWIGTYPE_p_wxToolbookEvent swig_types[229]
 
2696
#define SWIGTYPE_p_wxTopLevelWindow swig_types[230]
 
2697
#define SWIGTYPE_p_wxTreeEvent swig_types[231]
 
2698
#define SWIGTYPE_p_wxTreeItemId swig_types[232]
 
2699
#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[233]
 
2700
#define SWIGTYPE_p_wxTreebook swig_types[234]
 
2701
#define SWIGTYPE_p_wxTreebookEvent swig_types[235]
 
2702
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[236]
 
2703
#define SWIGTYPE_p_wxValidator swig_types[237]
 
2704
#define SWIGTYPE_p_wxWindow swig_types[238]
 
2705
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[239]
 
2706
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[240]
 
2707
#define SWIGTYPE_p_wxXPMHandler swig_types[241]
 
2708
static swig_type_info *swig_types[243];
 
2709
static swig_module_info swig_module = {swig_types, 242, 0, 0, 0, 0};
 
2710
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
 
2711
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
 
2712
 
 
2713
/* -------- TYPES TABLE (END) -------- */
 
2714
 
 
2715
#if (PY_VERSION_HEX <= 0x02000000)
 
2716
# if !defined(SWIG_PYTHON_CLASSIC)
 
2717
#  error "This python version requires to use swig with the '-classic' option"
 
2718
# endif
 
2719
#endif
 
2720
#if (PY_VERSION_HEX <= 0x02020000)
 
2721
# error "This python version requires to use swig with the '-nomodern' option"
 
2722
#endif
 
2723
#if (PY_VERSION_HEX <= 0x02020000)
 
2724
# error "This python version requires to use swig with the '-nomodernargs' option"
 
2725
#endif
 
2726
#ifndef METH_O
 
2727
# error "This python version requires to use swig with the '-nofastunpack' option"
 
2728
#endif
 
2729
 
 
2730
/*-----------------------------------------------
 
2731
              @(target):= _gizmos.so
 
2732
  ------------------------------------------------*/
 
2733
#define SWIG_init    init_gizmos
 
2734
 
 
2735
#define SWIG_name    "_gizmos"
 
2736
 
 
2737
#define SWIGVERSION 0x010329 
 
2738
 
 
2739
 
 
2740
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
 
2741
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 
 
2742
 
 
2743
 
 
2744
#include <stdexcept>
 
2745
 
 
2746
 
 
2747
namespace swig {
 
2748
  class PyObject_ptr {
 
2749
  protected:
 
2750
    PyObject *_obj;
 
2751
 
 
2752
  public:
 
2753
    PyObject_ptr() :_obj(0)
 
2754
    {
 
2755
    }
 
2756
 
 
2757
    PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
 
2758
    {
 
2759
      Py_XINCREF(_obj);      
 
2760
    }
 
2761
    
 
2762
    PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
 
2763
    {
 
2764
      if (initial_ref) Py_XINCREF(_obj);
 
2765
    }
 
2766
    
 
2767
    PyObject_ptr & operator=(const PyObject_ptr& item) 
 
2768
    {
 
2769
      Py_XINCREF(item._obj);
 
2770
      Py_XDECREF(_obj);
 
2771
      _obj = item._obj;
 
2772
      return *this;      
 
2773
    }
 
2774
    
 
2775
    ~PyObject_ptr() 
 
2776
    {
 
2777
      Py_XDECREF(_obj);
 
2778
    }
 
2779
    
 
2780
    operator PyObject *() const
 
2781
    {
 
2782
      return _obj;
 
2783
    }
 
2784
 
 
2785
    PyObject *operator->() const
 
2786
    {
 
2787
      return _obj;
 
2788
    }
 
2789
  };
 
2790
}
 
2791
 
 
2792
 
 
2793
namespace swig {
 
2794
  struct PyObject_var : PyObject_ptr {
 
2795
    PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
 
2796
    
 
2797
    PyObject_var & operator = (PyObject* obj)
 
2798
    {
 
2799
      Py_XDECREF(_obj);
 
2800
      _obj = obj;
 
2801
      return *this;      
 
2802
    }
 
2803
  };
 
2804
}
 
2805
 
 
2806
 
 
2807
#include "wx/wxPython/wxPython.h"
 
2808
#include "wx/wxPython/pyclasses.h"
 
2809
 
 
2810
#include <wx/gizmos/dynamicsash.h>
 
2811
#include <wx/gizmos/editlbox.h>
 
2812
#include <wx/gizmos/splittree.h>
 
2813
#include <wx/gizmos/ledctrl.h>
 
2814
#include <wx/gizmos/statpict.h>
 
2815
 
 
2816
#include <wx/listctrl.h>
 
2817
#include <wx/treectrl.h>
 
2818
#include <wx/imaglist.h>
 
2819
 
 
2820
 
 
2821
 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); 
 
2822
 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); 
 
2823
 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); 
 
2824
 static const wxString wxPyEmptyString(wxEmptyString); 
 
2825
 
 
2826
  #define SWIG_From_long   PyInt_FromLong 
 
2827
 
 
2828
 
 
2829
SWIGINTERNINLINE PyObject *
 
2830
SWIG_From_int  (int value)
 
2831
{    
 
2832
  return SWIG_From_long  (value);
 
2833
}
 
2834
 
 
2835
 
 
2836
#include <limits.h>
 
2837
#ifndef LLONG_MIN
 
2838
# define LLONG_MIN      LONG_LONG_MIN
 
2839
#endif
 
2840
#ifndef LLONG_MAX
 
2841
# define LLONG_MAX      LONG_LONG_MAX
 
2842
#endif
 
2843
#ifndef ULLONG_MAX
 
2844
# define ULLONG_MAX     ULONG_LONG_MAX
 
2845
#endif
 
2846
 
 
2847
 
 
2848
SWIGINTERN int
 
2849
SWIG_AsVal_long (PyObject* obj, long* val)
 
2850
{
 
2851
    if (PyNumber_Check(obj)) {
 
2852
        if (val) *val = PyInt_AsLong(obj);
 
2853
        return SWIG_OK;
 
2854
    }
 
2855
    return SWIG_TypeError;
 
2856
}
 
2857
 
 
2858
 
 
2859
SWIGINTERN int
 
2860
SWIG_AsVal_int (PyObject * obj, int *val)
 
2861
{
 
2862
  long v;
 
2863
  int res = SWIG_AsVal_long (obj, &v);
 
2864
  if (SWIG_IsOK(res)) {
 
2865
    if ((v < INT_MIN || v > INT_MAX)) {
 
2866
      return SWIG_OverflowError;
 
2867
    } else {
 
2868
      if (val) *val = static_cast< int >(v);
 
2869
    }
 
2870
  }  
 
2871
  return res;
 
2872
}
 
2873
 
 
2874
SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
 
2875
            wxArrayString strings;
 
2876
            self->GetStrings(strings);
 
2877
            return wxArrayString2PyList_helper(strings);
 
2878
        }
 
2879
 
 
2880
    typedef wxTreeCtrl wxPyTreeCtrl;
 
2881
 
 
2882
 
 
2883
class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
 
2884
{
 
2885
public:
 
2886
    wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
 
2887
                            const wxPoint& pos = wxDefaultPosition,
 
2888
                            const wxSize& size = wxDefaultSize,
 
2889
                            long style = 0)
 
2890
        : wxTreeCompanionWindow(parent, id, pos, size, style) {}
 
2891
 
 
2892
 
 
2893
    virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
 
2894
        bool found;
 
2895
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
2896
        if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
 
2897
            PyObject* dcobj = wxPyMake_wxObject(&dc,false);
 
2898
            PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
 
2899
            PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
 
2900
            wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
 
2901
            Py_DECREF(dcobj);
 
2902
            Py_DECREF(idobj);
 
2903
            Py_DECREF(recobj);
 
2904
        }
 
2905
        wxPyEndBlockThreads(blocked);
 
2906
        if (! found)
 
2907
            wxTreeCompanionWindow::DrawItem(dc, id, rect);
 
2908
    }
 
2909
 
 
2910
    PYPRIVATE;
 
2911
};
 
2912
 
 
2913
 
 
2914
SWIGINTERN int
 
2915
SWIG_AsVal_bool (PyObject *obj, bool *val)
 
2916
{
 
2917
  if (obj == Py_True) {
 
2918
    if (val) *val = true;
 
2919
    return SWIG_OK;
 
2920
  } else if (obj == Py_False) {
 
2921
    if (val) *val = false;
 
2922
    return SWIG_OK;
 
2923
  } else {
 
2924
    long v = 0;
 
2925
    int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
 
2926
    if (SWIG_IsOK(res) && val) *val = v ? true : false;
 
2927
    return res;
 
2928
  }
 
2929
}
 
2930
 
 
2931
 
 
2932
#include "wx/treelistctrl.h"
 
2933
#include "wx/wxPython/pytree.h"
 
2934
 
 
2935
 
 
2936
 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); 
 
2937
 
 
2938
SWIGINTERNINLINE PyObject* 
 
2939
SWIG_From_unsigned_SS_long  (unsigned long value)
 
2940
{
 
2941
  return (value > LONG_MAX) ?
 
2942
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); 
 
2943
}
 
2944
 
 
2945
 
 
2946
SWIGINTERNINLINE PyObject *
 
2947
SWIG_From_size_t  (size_t value)
 
2948
{    
 
2949
  return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value));
 
2950
}
 
2951
 
 
2952
 
 
2953
SWIGINTERN int 
 
2954
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
 
2955
{
 
2956
    long v = 0;
 
2957
    int res = SWIG_AsVal_long(obj, &v);
 
2958
    if (SWIG_IsOK(res)) {
 
2959
        if ( v < 0) {
 
2960
            return SWIG_ValueError;
 
2961
        }
 
2962
        else if (val)
 
2963
            *val = (unsigned long)v;
 
2964
    }
 
2965
    return res;
 
2966
}
 
2967
 
 
2968
 
 
2969
SWIGINTERNINLINE int
 
2970
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
 
2971
{
 
2972
  unsigned long v;
 
2973
  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
 
2974
  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
 
2975
  return res;
 
2976
}
 
2977
 
 
2978
 // C++ version of Python aware control
 
2979
class wxPyTreeListCtrl : public wxTreeListCtrl {
 
2980
    DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
 
2981
public:
 
2982
    wxPyTreeListCtrl() : wxTreeListCtrl() {}
 
2983
    wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
 
2984
                     const wxPoint& pos,
 
2985
                     const wxSize& size,
 
2986
                     long style,
 
2987
                     const wxValidator &validator,
 
2988
                     const wxString& name) :
 
2989
        wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
 
2990
 
 
2991
    virtual int OnCompareItems(const wxTreeItemId& item1,
 
2992
                               const wxTreeItemId& item2) {
 
2993
        int rval = 0;
 
2994
        bool found;
 
2995
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
2996
        if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
 
2997
            PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
 
2998
            PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
 
2999
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
 
3000
            Py_DECREF(o1);
 
3001
            Py_DECREF(o2);
 
3002
        }
 
3003
        wxPyEndBlockThreads(blocked);
 
3004
        if (! found)
 
3005
            rval = wxTreeListCtrl::OnCompareItems(item1, item2);
 
3006
        return rval;
 
3007
    }
 
3008
 
 
3009
    virtual wxString  OnGetItemText( wxTreeItemData* item, long column ) const {
 
3010
        wxString rval;
 
3011
        bool found;
 
3012
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3013
        if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
 
3014
            PyObject* ro;
 
3015
            PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
 
3016
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
 
3017
            Py_DECREF(itemo);
 
3018
            if (ro) {
 
3019
                rval = Py2wxString(ro);
 
3020
                Py_DECREF(ro);
 
3021
            }
 
3022
        }
 
3023
        wxPyEndBlockThreads(blocked);
 
3024
        if (! found)
 
3025
            rval = wxTreeListCtrl::OnGetItemText(item, column);
 
3026
        return rval;
 
3027
    }
 
3028
 
 
3029
    PYPRIVATE;
 
3030
};
 
3031
 
 
3032
IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
 
3033
 
 
3034
 
 
3035
 
 
3036
SWIGINTERNINLINE PyObject *
 
3037
SWIG_From_unsigned_SS_int  (unsigned int value)
 
3038
{    
 
3039
  return SWIG_From_unsigned_SS_long  (value);
 
3040
}
 
3041
 
 
3042
 
 
3043
SWIGINTERN int
 
3044
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
 
3045
{
 
3046
  unsigned long v;
 
3047
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
 
3048
  if (SWIG_IsOK(res)) {
 
3049
    if ((v > UINT_MAX)) {
 
3050
      return SWIG_OverflowError;
 
3051
    } else {
 
3052
      if (val) *val = static_cast< unsigned int >(v);
 
3053
    }
 
3054
  }  
 
3055
  return res;
 
3056
}
 
3057
 
 
3058
SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
 
3059
            if (column < 0) column = self->GetMainColumn();
 
3060
            return self->GetItemText(item, column);
 
3061
        }
 
3062
SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
 
3063
            if (column < 0) column = self->GetMainColumn();
 
3064
            return self->GetItemImage(item, column, which);
 
3065
        }
 
3066
SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
 
3067
            if (column < 0) column = self->GetMainColumn();
 
3068
            self->SetItemText(item, column, text);
 
3069
        }
 
3070
SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
 
3071
            if (column < 0) column = self->GetMainColumn();
 
3072
            self->SetItemImage(item, column, image, which);
 
3073
        }
 
3074
SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
 
3075
            wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
 
3076
            if (data == NULL) {
 
3077
                data = new wxPyTreeItemData();
 
3078
                data->SetId(item); // set the id
 
3079
                self->SetItemData(item, data);
 
3080
            }
 
3081
            return data;
 
3082
        }
 
3083
SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
 
3084
            data->SetId(item); // set the id
 
3085
            self->SetItemData(item, data);
 
3086
        }
 
3087
SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
 
3088
            wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
 
3089
            if (data == NULL) {
 
3090
                data = new wxPyTreeItemData();
 
3091
                data->SetId(item); // set the id
 
3092
                self->SetItemData(item, data);
 
3093
            }
 
3094
            return data->GetData();
 
3095
        }
 
3096
SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
 
3097
            wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
 
3098
            if (data == NULL) {
 
3099
                data = new wxPyTreeItemData(obj);
 
3100
                data->SetId(item); // set the id
 
3101
                self->SetItemData(item, data);
 
3102
            } else
 
3103
                data->SetData(obj);
 
3104
        }
 
3105
SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
 
3106
            wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3107
            PyObject*           rval = PyList_New(0);
 
3108
            wxArrayTreeItemIds  array;
 
3109
            size_t              num, x;
 
3110
            num = self->GetSelections(array);
 
3111
            for (x=0; x < num; x++) {
 
3112
                wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
 
3113
                PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
 
3114
                PyList_Append(rval, item);
 
3115
                Py_DECREF(item);
 
3116
            }
 
3117
            wxPyEndBlockThreads(blocked);
 
3118
            return rval;
 
3119
        }
 
3120
SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
 
3121
            void* cookie = 0;
 
3122
            wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
 
3123
            wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3124
            PyObject* tup = PyTuple_New(2);
 
3125
            PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
 
3126
            PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
 
3127
            wxPyEndBlockThreads(blocked);
 
3128
            return tup;
 
3129
        }
 
3130
SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
 
3131
            wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
 
3132
            wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3133
            PyObject* tup = PyTuple_New(2);
 
3134
            PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
 
3135
            PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
 
3136
            wxPyEndBlockThreads(blocked);
 
3137
            return tup;
 
3138
        }
 
3139
SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
 
3140
            void* cookie = 0;
 
3141
            wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
 
3142
            wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3143
            PyObject* tup = PyTuple_New(2);
 
3144
            PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
 
3145
            PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
 
3146
            wxPyEndBlockThreads(blocked);
 
3147
            return tup;
 
3148
        }
 
3149
SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
 
3150
            wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
 
3151
            wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3152
            PyObject* tup = PyTuple_New(2);
 
3153
            PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
 
3154
            PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
 
3155
            wxPyEndBlockThreads(blocked);
 
3156
            return tup;
 
3157
        }
 
3158
SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
 
3159
            wxRect rect;
 
3160
            if (self->GetBoundingRect(item, rect, textOnly)) {
 
3161
                wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3162
                wxRect* r = new wxRect(rect);
 
3163
                PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
 
3164
                wxPyEndBlockThreads(blocked);
 
3165
                return val;
 
3166
            }
 
3167
            else {
 
3168
                RETURN_NONE();
 
3169
            }
 
3170
        }
 
3171
SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
 
3172
            if (column < 0) column = self->GetMainColumn();
 
3173
            self->EditLabel(item, column);
 
3174
        }
 
3175
 
 
3176
#include <float.h>
 
3177
 
 
3178
 
 
3179
SWIGINTERN int
 
3180
SWIG_AsVal_double (PyObject *obj, double* val)
 
3181
{
 
3182
    if (PyNumber_Check(obj)) {
 
3183
        if (val) *val = PyFloat_AsDouble(obj);
 
3184
        return SWIG_OK;
 
3185
    }
 
3186
    return SWIG_TypeError;
 
3187
}
 
3188
 
 
3189
 
 
3190
SWIGINTERN int
 
3191
SWIG_AsVal_float (PyObject * obj, float *val)
 
3192
{
 
3193
  double v;
 
3194
  int res = SWIG_AsVal_double (obj, &v);
 
3195
  if (SWIG_IsOK(res)) {
 
3196
    if ((v < -FLT_MAX || v > FLT_MAX)) {
 
3197
      return SWIG_OverflowError;
 
3198
    } else {
 
3199
      if (val) *val = static_cast< float >(v);
 
3200
    }
 
3201
  }  
 
3202
  return res;
 
3203
}
 
3204
 
 
3205
 
 
3206
  #define SWIG_From_double   PyFloat_FromDouble 
 
3207
 
 
3208
 
 
3209
SWIGINTERNINLINE PyObject *
 
3210
SWIG_From_float  (float value)
 
3211
{    
 
3212
  return SWIG_From_double  (value);
 
3213
}
 
3214
 
 
3215
#ifdef __cplusplus
 
3216
extern "C" {
 
3217
#endif
 
3218
SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
 
3219
  SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
 
3220
  return 1;
 
3221
}
 
3222
 
 
3223
 
 
3224
SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
 
3225
  PyObject *pyobj = 0;
 
3226
  
 
3227
  {
 
3228
#if wxUSE_UNICODE
 
3229
    pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
 
3230
#else
 
3231
    pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
 
3232
#endif
 
3233
  }
 
3234
  return pyobj;
 
3235
}
 
3236
 
 
3237
 
 
3238
SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
 
3239
  SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
 
3240
  return 1;
 
3241
}
 
3242
 
 
3243
 
 
3244
SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
 
3245
  PyObject *pyobj = 0;
 
3246
  
 
3247
  {
 
3248
#if wxUSE_UNICODE
 
3249
    pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
 
3250
#else
 
3251
    pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
 
3252
#endif
 
3253
  }
 
3254
  return pyobj;
 
3255
}
 
3256
 
 
3257
 
 
3258
SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
 
3259
  SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
 
3260
  return 1;
 
3261
}
 
3262
 
 
3263
 
 
3264
SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
 
3265
  PyObject *pyobj = 0;
 
3266
  
 
3267
  {
 
3268
#if wxUSE_UNICODE
 
3269
    pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
 
3270
#else
 
3271
    pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
 
3272
#endif
 
3273
  }
 
3274
  return pyobj;
 
3275
}
 
3276
 
 
3277
 
 
3278
SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3279
  PyObject *resultobj = 0;
 
3280
  wxObject *arg1 = (wxObject *) 0 ;
 
3281
  wxDynamicSashSplitEvent *result = 0 ;
 
3282
  void *argp1 = 0 ;
 
3283
  int res1 = 0 ;
 
3284
  PyObject * obj0 = 0 ;
 
3285
  char *  kwnames[] = {
 
3286
    (char *) "target", NULL 
 
3287
  };
 
3288
  
 
3289
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
 
3290
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 |  0 );
 
3291
  if (!SWIG_IsOK(res1)) {
 
3292
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'"); 
 
3293
  }
 
3294
  arg1 = reinterpret_cast< wxObject * >(argp1);
 
3295
  {
 
3296
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3297
    result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
 
3298
    wxPyEndAllowThreads(__tstate);
 
3299
    if (PyErr_Occurred()) SWIG_fail;
 
3300
  }
 
3301
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW |  0 );
 
3302
  return resultobj;
 
3303
fail:
 
3304
  return NULL;
 
3305
}
 
3306
 
 
3307
 
 
3308
SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3309
  PyObject *obj;
 
3310
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
3311
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
 
3312
  return SWIG_Py_Void();
 
3313
}
 
3314
 
 
3315
SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3316
  return SWIG_Python_InitShadowInstance(args);
 
3317
}
 
3318
 
 
3319
SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3320
  PyObject *resultobj = 0;
 
3321
  wxObject *arg1 = (wxObject *) 0 ;
 
3322
  wxDynamicSashUnifyEvent *result = 0 ;
 
3323
  void *argp1 = 0 ;
 
3324
  int res1 = 0 ;
 
3325
  PyObject * obj0 = 0 ;
 
3326
  char *  kwnames[] = {
 
3327
    (char *) "target", NULL 
 
3328
  };
 
3329
  
 
3330
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
 
3331
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 |  0 );
 
3332
  if (!SWIG_IsOK(res1)) {
 
3333
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'"); 
 
3334
  }
 
3335
  arg1 = reinterpret_cast< wxObject * >(argp1);
 
3336
  {
 
3337
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3338
    result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
 
3339
    wxPyEndAllowThreads(__tstate);
 
3340
    if (PyErr_Occurred()) SWIG_fail;
 
3341
  }
 
3342
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW |  0 );
 
3343
  return resultobj;
 
3344
fail:
 
3345
  return NULL;
 
3346
}
 
3347
 
 
3348
 
 
3349
SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3350
  PyObject *obj;
 
3351
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
3352
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
 
3353
  return SWIG_Py_Void();
 
3354
}
 
3355
 
 
3356
SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3357
  return SWIG_Python_InitShadowInstance(args);
 
3358
}
 
3359
 
 
3360
SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3361
  PyObject *resultobj = 0;
 
3362
  wxWindow *arg1 = (wxWindow *) 0 ;
 
3363
  int arg2 = (int) -1 ;
 
3364
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
3365
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
3366
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
3367
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
3368
  long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
 
3369
  wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
 
3370
  wxString *arg6 = (wxString *) &arg6_defvalue ;
 
3371
  wxDynamicSashWindow *result = 0 ;
 
3372
  void *argp1 = 0 ;
 
3373
  int res1 = 0 ;
 
3374
  int val2 ;
 
3375
  int ecode2 = 0 ;
 
3376
  wxPoint temp3 ;
 
3377
  wxSize temp4 ;
 
3378
  long val5 ;
 
3379
  int ecode5 = 0 ;
 
3380
  bool temp6 = false ;
 
3381
  PyObject * obj0 = 0 ;
 
3382
  PyObject * obj1 = 0 ;
 
3383
  PyObject * obj2 = 0 ;
 
3384
  PyObject * obj3 = 0 ;
 
3385
  PyObject * obj4 = 0 ;
 
3386
  PyObject * obj5 = 0 ;
 
3387
  char *  kwnames[] = {
 
3388
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3389
  };
 
3390
  
 
3391
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
3392
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
3393
  if (!SWIG_IsOK(res1)) {
 
3394
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
3395
  }
 
3396
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
3397
  if (obj1) {
 
3398
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3399
    if (!SWIG_IsOK(ecode2)) {
 
3400
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
 
3401
    } 
 
3402
    arg2 = static_cast< int >(val2);
 
3403
  }
 
3404
  if (obj2) {
 
3405
    {
 
3406
      arg3 = &temp3;
 
3407
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
3408
    }
 
3409
  }
 
3410
  if (obj3) {
 
3411
    {
 
3412
      arg4 = &temp4;
 
3413
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
3414
    }
 
3415
  }
 
3416
  if (obj4) {
 
3417
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
3418
    if (!SWIG_IsOK(ecode5)) {
 
3419
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
 
3420
    } 
 
3421
    arg5 = static_cast< long >(val5);
 
3422
  }
 
3423
  if (obj5) {
 
3424
    {
 
3425
      arg6 = wxString_in_helper(obj5);
 
3426
      if (arg6 == NULL) SWIG_fail;
 
3427
      temp6 = true;
 
3428
    }
 
3429
  }
 
3430
  {
 
3431
    if (!wxPyCheckForApp()) SWIG_fail;
 
3432
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3433
    result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
 
3434
    wxPyEndAllowThreads(__tstate);
 
3435
    if (PyErr_Occurred()) SWIG_fail;
 
3436
  }
 
3437
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW |  0 );
 
3438
  {
 
3439
    if (temp6)
 
3440
    delete arg6;
 
3441
  }
 
3442
  return resultobj;
 
3443
fail:
 
3444
  {
 
3445
    if (temp6)
 
3446
    delete arg6;
 
3447
  }
 
3448
  return NULL;
 
3449
}
 
3450
 
 
3451
 
 
3452
SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3453
  PyObject *resultobj = 0;
 
3454
  wxDynamicSashWindow *result = 0 ;
 
3455
  
 
3456
  if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
 
3457
  {
 
3458
    if (!wxPyCheckForApp()) SWIG_fail;
 
3459
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3460
    result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
 
3461
    wxPyEndAllowThreads(__tstate);
 
3462
    if (PyErr_Occurred()) SWIG_fail;
 
3463
  }
 
3464
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN |  0 );
 
3465
  return resultobj;
 
3466
fail:
 
3467
  return NULL;
 
3468
}
 
3469
 
 
3470
 
 
3471
SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3472
  PyObject *resultobj = 0;
 
3473
  wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
 
3474
  wxWindow *arg2 = (wxWindow *) 0 ;
 
3475
  int arg3 = (int) -1 ;
 
3476
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
3477
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
3478
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
3479
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
3480
  long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
 
3481
  wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
 
3482
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
3483
  bool result;
 
3484
  void *argp1 = 0 ;
 
3485
  int res1 = 0 ;
 
3486
  void *argp2 = 0 ;
 
3487
  int res2 = 0 ;
 
3488
  int val3 ;
 
3489
  int ecode3 = 0 ;
 
3490
  wxPoint temp4 ;
 
3491
  wxSize temp5 ;
 
3492
  long val6 ;
 
3493
  int ecode6 = 0 ;
 
3494
  bool temp7 = false ;
 
3495
  PyObject * obj0 = 0 ;
 
3496
  PyObject * obj1 = 0 ;
 
3497
  PyObject * obj2 = 0 ;
 
3498
  PyObject * obj3 = 0 ;
 
3499
  PyObject * obj4 = 0 ;
 
3500
  PyObject * obj5 = 0 ;
 
3501
  PyObject * obj6 = 0 ;
 
3502
  char *  kwnames[] = {
 
3503
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3504
  };
 
3505
  
 
3506
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
3507
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 |  0 );
 
3508
  if (!SWIG_IsOK(res1)) {
 
3509
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'"); 
 
3510
  }
 
3511
  arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
 
3512
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
3513
  if (!SWIG_IsOK(res2)) {
 
3514
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
3515
  }
 
3516
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
3517
  if (obj2) {
 
3518
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
3519
    if (!SWIG_IsOK(ecode3)) {
 
3520
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
 
3521
    } 
 
3522
    arg3 = static_cast< int >(val3);
 
3523
  }
 
3524
  if (obj3) {
 
3525
    {
 
3526
      arg4 = &temp4;
 
3527
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
3528
    }
 
3529
  }
 
3530
  if (obj4) {
 
3531
    {
 
3532
      arg5 = &temp5;
 
3533
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
3534
    }
 
3535
  }
 
3536
  if (obj5) {
 
3537
    ecode6 = SWIG_AsVal_long(obj5, &val6);
 
3538
    if (!SWIG_IsOK(ecode6)) {
 
3539
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
 
3540
    } 
 
3541
    arg6 = static_cast< long >(val6);
 
3542
  }
 
3543
  if (obj6) {
 
3544
    {
 
3545
      arg7 = wxString_in_helper(obj6);
 
3546
      if (arg7 == NULL) SWIG_fail;
 
3547
      temp7 = true;
 
3548
    }
 
3549
  }
 
3550
  {
 
3551
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3552
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
 
3553
    wxPyEndAllowThreads(__tstate);
 
3554
    if (PyErr_Occurred()) SWIG_fail;
 
3555
  }
 
3556
  {
 
3557
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
3558
  }
 
3559
  {
 
3560
    if (temp7)
 
3561
    delete arg7;
 
3562
  }
 
3563
  return resultobj;
 
3564
fail:
 
3565
  {
 
3566
    if (temp7)
 
3567
    delete arg7;
 
3568
  }
 
3569
  return NULL;
 
3570
}
 
3571
 
 
3572
 
 
3573
SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3574
  PyObject *resultobj = 0;
 
3575
  wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
 
3576
  wxWindow *arg2 = (wxWindow *) 0 ;
 
3577
  wxScrollBar *result = 0 ;
 
3578
  void *argp1 = 0 ;
 
3579
  int res1 = 0 ;
 
3580
  void *argp2 = 0 ;
 
3581
  int res2 = 0 ;
 
3582
  PyObject * obj0 = 0 ;
 
3583
  PyObject * obj1 = 0 ;
 
3584
  char *  kwnames[] = {
 
3585
    (char *) "self",(char *) "child", NULL 
 
3586
  };
 
3587
  
 
3588
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
3589
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 |  0 );
 
3590
  if (!SWIG_IsOK(res1)) {
 
3591
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'"); 
 
3592
  }
 
3593
  arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
 
3594
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
3595
  if (!SWIG_IsOK(res2)) {
 
3596
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'"); 
 
3597
  }
 
3598
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
3599
  {
 
3600
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3601
    result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
 
3602
    wxPyEndAllowThreads(__tstate);
 
3603
    if (PyErr_Occurred()) SWIG_fail;
 
3604
  }
 
3605
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 |  0 );
 
3606
  return resultobj;
 
3607
fail:
 
3608
  return NULL;
 
3609
}
 
3610
 
 
3611
 
 
3612
SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3613
  PyObject *resultobj = 0;
 
3614
  wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
 
3615
  wxWindow *arg2 = (wxWindow *) 0 ;
 
3616
  wxScrollBar *result = 0 ;
 
3617
  void *argp1 = 0 ;
 
3618
  int res1 = 0 ;
 
3619
  void *argp2 = 0 ;
 
3620
  int res2 = 0 ;
 
3621
  PyObject * obj0 = 0 ;
 
3622
  PyObject * obj1 = 0 ;
 
3623
  char *  kwnames[] = {
 
3624
    (char *) "self",(char *) "child", NULL 
 
3625
  };
 
3626
  
 
3627
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
3628
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 |  0 );
 
3629
  if (!SWIG_IsOK(res1)) {
 
3630
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'"); 
 
3631
  }
 
3632
  arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
 
3633
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
3634
  if (!SWIG_IsOK(res2)) {
 
3635
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'"); 
 
3636
  }
 
3637
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
3638
  {
 
3639
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3640
    result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
 
3641
    wxPyEndAllowThreads(__tstate);
 
3642
    if (PyErr_Occurred()) SWIG_fail;
 
3643
  }
 
3644
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 |  0 );
 
3645
  return resultobj;
 
3646
fail:
 
3647
  return NULL;
 
3648
}
 
3649
 
 
3650
 
 
3651
SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3652
  PyObject *obj;
 
3653
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
3654
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
 
3655
  return SWIG_Py_Void();
 
3656
}
 
3657
 
 
3658
SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3659
  return SWIG_Python_InitShadowInstance(args);
 
3660
}
 
3661
 
 
3662
SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3663
  PyObject *resultobj = 0;
 
3664
  wxWindow *arg1 = (wxWindow *) 0 ;
 
3665
  int arg2 = (int) -1 ;
 
3666
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
3667
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
3668
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
3669
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
3670
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
3671
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
3672
  long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
 
3673
  wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
 
3674
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
3675
  wxEditableListBox *result = 0 ;
 
3676
  void *argp1 = 0 ;
 
3677
  int res1 = 0 ;
 
3678
  int val2 ;
 
3679
  int ecode2 = 0 ;
 
3680
  bool temp3 = false ;
 
3681
  wxPoint temp4 ;
 
3682
  wxSize temp5 ;
 
3683
  long val6 ;
 
3684
  int ecode6 = 0 ;
 
3685
  bool temp7 = false ;
 
3686
  PyObject * obj0 = 0 ;
 
3687
  PyObject * obj1 = 0 ;
 
3688
  PyObject * obj2 = 0 ;
 
3689
  PyObject * obj3 = 0 ;
 
3690
  PyObject * obj4 = 0 ;
 
3691
  PyObject * obj5 = 0 ;
 
3692
  PyObject * obj6 = 0 ;
 
3693
  char *  kwnames[] = {
 
3694
    (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3695
  };
 
3696
  
 
3697
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
3698
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
3699
  if (!SWIG_IsOK(res1)) {
 
3700
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
3701
  }
 
3702
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
3703
  if (obj1) {
 
3704
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
3705
    if (!SWIG_IsOK(ecode2)) {
 
3706
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
 
3707
    } 
 
3708
    arg2 = static_cast< int >(val2);
 
3709
  }
 
3710
  if (obj2) {
 
3711
    {
 
3712
      arg3 = wxString_in_helper(obj2);
 
3713
      if (arg3 == NULL) SWIG_fail;
 
3714
      temp3 = true;
 
3715
    }
 
3716
  }
 
3717
  if (obj3) {
 
3718
    {
 
3719
      arg4 = &temp4;
 
3720
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
3721
    }
 
3722
  }
 
3723
  if (obj4) {
 
3724
    {
 
3725
      arg5 = &temp5;
 
3726
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
3727
    }
 
3728
  }
 
3729
  if (obj5) {
 
3730
    ecode6 = SWIG_AsVal_long(obj5, &val6);
 
3731
    if (!SWIG_IsOK(ecode6)) {
 
3732
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
 
3733
    } 
 
3734
    arg6 = static_cast< long >(val6);
 
3735
  }
 
3736
  if (obj6) {
 
3737
    {
 
3738
      arg7 = wxString_in_helper(obj6);
 
3739
      if (arg7 == NULL) SWIG_fail;
 
3740
      temp7 = true;
 
3741
    }
 
3742
  }
 
3743
  {
 
3744
    if (!wxPyCheckForApp()) SWIG_fail;
 
3745
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3746
    result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
 
3747
    wxPyEndAllowThreads(__tstate);
 
3748
    if (PyErr_Occurred()) SWIG_fail;
 
3749
  }
 
3750
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW |  0 );
 
3751
  {
 
3752
    if (temp3)
 
3753
    delete arg3;
 
3754
  }
 
3755
  {
 
3756
    if (temp7)
 
3757
    delete arg7;
 
3758
  }
 
3759
  return resultobj;
 
3760
fail:
 
3761
  {
 
3762
    if (temp3)
 
3763
    delete arg3;
 
3764
  }
 
3765
  {
 
3766
    if (temp7)
 
3767
    delete arg7;
 
3768
  }
 
3769
  return NULL;
 
3770
}
 
3771
 
 
3772
 
 
3773
SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3774
  PyObject *resultobj = 0;
 
3775
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3776
  wxArrayString *arg2 = 0 ;
 
3777
  void *argp1 = 0 ;
 
3778
  int res1 = 0 ;
 
3779
  bool temp2 = false ;
 
3780
  PyObject * obj0 = 0 ;
 
3781
  PyObject * obj1 = 0 ;
 
3782
  char *  kwnames[] = {
 
3783
    (char *) "self",(char *) "strings", NULL 
 
3784
  };
 
3785
  
 
3786
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
 
3787
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3788
  if (!SWIG_IsOK(res1)) {
 
3789
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3790
  }
 
3791
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3792
  {
 
3793
    if (! PySequence_Check(obj1)) {
 
3794
      PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
 
3795
      SWIG_fail;
 
3796
    }
 
3797
    arg2 = new wxArrayString;
 
3798
    temp2 = true;
 
3799
    int i, len=PySequence_Length(obj1);
 
3800
    for (i=0; i<len; i++) {
 
3801
      PyObject* item = PySequence_GetItem(obj1, i);
 
3802
      wxString* s = wxString_in_helper(item);
 
3803
      if (PyErr_Occurred())  SWIG_fail;
 
3804
      arg2->Add(*s);
 
3805
      delete s;
 
3806
      Py_DECREF(item);
 
3807
    }
 
3808
  }
 
3809
  {
 
3810
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3811
    (arg1)->SetStrings((wxArrayString const &)*arg2);
 
3812
    wxPyEndAllowThreads(__tstate);
 
3813
    if (PyErr_Occurred()) SWIG_fail;
 
3814
  }
 
3815
  resultobj = SWIG_Py_Void();
 
3816
  {
 
3817
    if (temp2) delete arg2;
 
3818
  }
 
3819
  return resultobj;
 
3820
fail:
 
3821
  {
 
3822
    if (temp2) delete arg2;
 
3823
  }
 
3824
  return NULL;
 
3825
}
 
3826
 
 
3827
 
 
3828
SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3829
  PyObject *resultobj = 0;
 
3830
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3831
  PyObject *result = 0 ;
 
3832
  void *argp1 = 0 ;
 
3833
  int res1 = 0 ;
 
3834
  PyObject *swig_obj[1] ;
 
3835
  
 
3836
  if (!args) SWIG_fail;
 
3837
  swig_obj[0] = args;
 
3838
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3839
  if (!SWIG_IsOK(res1)) {
 
3840
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3841
  }
 
3842
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3843
  {
 
3844
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3845
    result = (PyObject *)wxEditableListBox_GetStrings(arg1);
 
3846
    wxPyEndAllowThreads(__tstate);
 
3847
    if (PyErr_Occurred()) SWIG_fail;
 
3848
  }
 
3849
  resultobj = result;
 
3850
  return resultobj;
 
3851
fail:
 
3852
  return NULL;
 
3853
}
 
3854
 
 
3855
 
 
3856
SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3857
  PyObject *resultobj = 0;
 
3858
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3859
  wxPyListCtrl *result = 0 ;
 
3860
  void *argp1 = 0 ;
 
3861
  int res1 = 0 ;
 
3862
  PyObject *swig_obj[1] ;
 
3863
  
 
3864
  if (!args) SWIG_fail;
 
3865
  swig_obj[0] = args;
 
3866
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3867
  if (!SWIG_IsOK(res1)) {
 
3868
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3869
  }
 
3870
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3871
  {
 
3872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3873
    result = (wxPyListCtrl *)(arg1)->GetListCtrl();
 
3874
    wxPyEndAllowThreads(__tstate);
 
3875
    if (PyErr_Occurred()) SWIG_fail;
 
3876
  }
 
3877
  {
 
3878
    resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0); 
 
3879
  }
 
3880
  return resultobj;
 
3881
fail:
 
3882
  return NULL;
 
3883
}
 
3884
 
 
3885
 
 
3886
SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3887
  PyObject *resultobj = 0;
 
3888
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3889
  wxBitmapButton *result = 0 ;
 
3890
  void *argp1 = 0 ;
 
3891
  int res1 = 0 ;
 
3892
  PyObject *swig_obj[1] ;
 
3893
  
 
3894
  if (!args) SWIG_fail;
 
3895
  swig_obj[0] = args;
 
3896
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3897
  if (!SWIG_IsOK(res1)) {
 
3898
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3899
  }
 
3900
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3901
  {
 
3902
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3903
    result = (wxBitmapButton *)(arg1)->GetDelButton();
 
3904
    wxPyEndAllowThreads(__tstate);
 
3905
    if (PyErr_Occurred()) SWIG_fail;
 
3906
  }
 
3907
  {
 
3908
    resultobj = wxPyMake_wxObject(result, 0); 
 
3909
  }
 
3910
  return resultobj;
 
3911
fail:
 
3912
  return NULL;
 
3913
}
 
3914
 
 
3915
 
 
3916
SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3917
  PyObject *resultobj = 0;
 
3918
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3919
  wxBitmapButton *result = 0 ;
 
3920
  void *argp1 = 0 ;
 
3921
  int res1 = 0 ;
 
3922
  PyObject *swig_obj[1] ;
 
3923
  
 
3924
  if (!args) SWIG_fail;
 
3925
  swig_obj[0] = args;
 
3926
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3927
  if (!SWIG_IsOK(res1)) {
 
3928
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3929
  }
 
3930
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3931
  {
 
3932
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3933
    result = (wxBitmapButton *)(arg1)->GetNewButton();
 
3934
    wxPyEndAllowThreads(__tstate);
 
3935
    if (PyErr_Occurred()) SWIG_fail;
 
3936
  }
 
3937
  {
 
3938
    resultobj = wxPyMake_wxObject(result, 0); 
 
3939
  }
 
3940
  return resultobj;
 
3941
fail:
 
3942
  return NULL;
 
3943
}
 
3944
 
 
3945
 
 
3946
SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3947
  PyObject *resultobj = 0;
 
3948
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3949
  wxBitmapButton *result = 0 ;
 
3950
  void *argp1 = 0 ;
 
3951
  int res1 = 0 ;
 
3952
  PyObject *swig_obj[1] ;
 
3953
  
 
3954
  if (!args) SWIG_fail;
 
3955
  swig_obj[0] = args;
 
3956
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3957
  if (!SWIG_IsOK(res1)) {
 
3958
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3959
  }
 
3960
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3961
  {
 
3962
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3963
    result = (wxBitmapButton *)(arg1)->GetUpButton();
 
3964
    wxPyEndAllowThreads(__tstate);
 
3965
    if (PyErr_Occurred()) SWIG_fail;
 
3966
  }
 
3967
  {
 
3968
    resultobj = wxPyMake_wxObject(result, 0); 
 
3969
  }
 
3970
  return resultobj;
 
3971
fail:
 
3972
  return NULL;
 
3973
}
 
3974
 
 
3975
 
 
3976
SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3977
  PyObject *resultobj = 0;
 
3978
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
3979
  wxBitmapButton *result = 0 ;
 
3980
  void *argp1 = 0 ;
 
3981
  int res1 = 0 ;
 
3982
  PyObject *swig_obj[1] ;
 
3983
  
 
3984
  if (!args) SWIG_fail;
 
3985
  swig_obj[0] = args;
 
3986
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
3987
  if (!SWIG_IsOK(res1)) {
 
3988
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
3989
  }
 
3990
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
3991
  {
 
3992
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3993
    result = (wxBitmapButton *)(arg1)->GetDownButton();
 
3994
    wxPyEndAllowThreads(__tstate);
 
3995
    if (PyErr_Occurred()) SWIG_fail;
 
3996
  }
 
3997
  {
 
3998
    resultobj = wxPyMake_wxObject(result, 0); 
 
3999
  }
 
4000
  return resultobj;
 
4001
fail:
 
4002
  return NULL;
 
4003
}
 
4004
 
 
4005
 
 
4006
SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4007
  PyObject *resultobj = 0;
 
4008
  wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
 
4009
  wxBitmapButton *result = 0 ;
 
4010
  void *argp1 = 0 ;
 
4011
  int res1 = 0 ;
 
4012
  PyObject *swig_obj[1] ;
 
4013
  
 
4014
  if (!args) SWIG_fail;
 
4015
  swig_obj[0] = args;
 
4016
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 |  0 );
 
4017
  if (!SWIG_IsOK(res1)) {
 
4018
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); 
 
4019
  }
 
4020
  arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
 
4021
  {
 
4022
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4023
    result = (wxBitmapButton *)(arg1)->GetEditButton();
 
4024
    wxPyEndAllowThreads(__tstate);
 
4025
    if (PyErr_Occurred()) SWIG_fail;
 
4026
  }
 
4027
  {
 
4028
    resultobj = wxPyMake_wxObject(result, 0); 
 
4029
  }
 
4030
  return resultobj;
 
4031
fail:
 
4032
  return NULL;
 
4033
}
 
4034
 
 
4035
 
 
4036
SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4037
  PyObject *obj;
 
4038
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
4039
  SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
 
4040
  return SWIG_Py_Void();
 
4041
}
 
4042
 
 
4043
SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4044
  return SWIG_Python_InitShadowInstance(args);
 
4045
}
 
4046
 
 
4047
SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4048
  PyObject *resultobj = 0;
 
4049
  wxWindow *arg1 = (wxWindow *) 0 ;
 
4050
  int arg2 ;
 
4051
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
4052
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
4053
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
4054
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
4055
  long arg5 = (long) wxTR_HAS_BUTTONS ;
 
4056
  wxRemotelyScrolledTreeCtrl *result = 0 ;
 
4057
  void *argp1 = 0 ;
 
4058
  int res1 = 0 ;
 
4059
  int val2 ;
 
4060
  int ecode2 = 0 ;
 
4061
  wxPoint temp3 ;
 
4062
  wxSize temp4 ;
 
4063
  long val5 ;
 
4064
  int ecode5 = 0 ;
 
4065
  PyObject * obj0 = 0 ;
 
4066
  PyObject * obj1 = 0 ;
 
4067
  PyObject * obj2 = 0 ;
 
4068
  PyObject * obj3 = 0 ;
 
4069
  PyObject * obj4 = 0 ;
 
4070
  char *  kwnames[] = {
 
4071
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
4072
  };
 
4073
  
 
4074
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
4075
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4076
  if (!SWIG_IsOK(res1)) {
 
4077
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
4078
  }
 
4079
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
4080
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4081
  if (!SWIG_IsOK(ecode2)) {
 
4082
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
 
4083
  } 
 
4084
  arg2 = static_cast< int >(val2);
 
4085
  if (obj2) {
 
4086
    {
 
4087
      arg3 = &temp3;
 
4088
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
4089
    }
 
4090
  }
 
4091
  if (obj3) {
 
4092
    {
 
4093
      arg4 = &temp4;
 
4094
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
4095
    }
 
4096
  }
 
4097
  if (obj4) {
 
4098
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
4099
    if (!SWIG_IsOK(ecode5)) {
 
4100
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
 
4101
    } 
 
4102
    arg5 = static_cast< long >(val5);
 
4103
  }
 
4104
  {
 
4105
    if (!wxPyCheckForApp()) SWIG_fail;
 
4106
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4107
    result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
 
4108
    wxPyEndAllowThreads(__tstate);
 
4109
    if (PyErr_Occurred()) SWIG_fail;
 
4110
  }
 
4111
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW |  0 );
 
4112
  return resultobj;
 
4113
fail:
 
4114
  return NULL;
 
4115
}
 
4116
 
 
4117
 
 
4118
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4119
  PyObject *resultobj = 0;
 
4120
  wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4121
  void *argp1 = 0 ;
 
4122
  int res1 = 0 ;
 
4123
  PyObject *swig_obj[1] ;
 
4124
  
 
4125
  if (!args) SWIG_fail;
 
4126
  swig_obj[0] = args;
 
4127
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4128
  if (!SWIG_IsOK(res1)) {
 
4129
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); 
 
4130
  }
 
4131
  arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
 
4132
  {
 
4133
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4134
    (arg1)->HideVScrollbar();
 
4135
    wxPyEndAllowThreads(__tstate);
 
4136
    if (PyErr_Occurred()) SWIG_fail;
 
4137
  }
 
4138
  resultobj = SWIG_Py_Void();
 
4139
  return resultobj;
 
4140
fail:
 
4141
  return NULL;
 
4142
}
 
4143
 
 
4144
 
 
4145
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4146
  PyObject *resultobj = 0;
 
4147
  wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4148
  void *argp1 = 0 ;
 
4149
  int res1 = 0 ;
 
4150
  PyObject *swig_obj[1] ;
 
4151
  
 
4152
  if (!args) SWIG_fail;
 
4153
  swig_obj[0] = args;
 
4154
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4155
  if (!SWIG_IsOK(res1)) {
 
4156
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); 
 
4157
  }
 
4158
  arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
 
4159
  {
 
4160
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4161
    (arg1)->AdjustRemoteScrollbars();
 
4162
    wxPyEndAllowThreads(__tstate);
 
4163
    if (PyErr_Occurred()) SWIG_fail;
 
4164
  }
 
4165
  resultobj = SWIG_Py_Void();
 
4166
  return resultobj;
 
4167
fail:
 
4168
  return NULL;
 
4169
}
 
4170
 
 
4171
 
 
4172
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4173
  PyObject *resultobj = 0;
 
4174
  wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4175
  wxScrolledWindow *result = 0 ;
 
4176
  void *argp1 = 0 ;
 
4177
  int res1 = 0 ;
 
4178
  PyObject *swig_obj[1] ;
 
4179
  
 
4180
  if (!args) SWIG_fail;
 
4181
  swig_obj[0] = args;
 
4182
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4183
  if (!SWIG_IsOK(res1)) {
 
4184
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'"); 
 
4185
  }
 
4186
  arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
 
4187
  {
 
4188
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4189
    result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
 
4190
    wxPyEndAllowThreads(__tstate);
 
4191
    if (PyErr_Occurred()) SWIG_fail;
 
4192
  }
 
4193
  {
 
4194
    resultobj = wxPyMake_wxObject(result, 0); 
 
4195
  }
 
4196
  return resultobj;
 
4197
fail:
 
4198
  return NULL;
 
4199
}
 
4200
 
 
4201
 
 
4202
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4203
  PyObject *resultobj = 0;
 
4204
  wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4205
  int arg2 ;
 
4206
  int arg3 ;
 
4207
  void *argp1 = 0 ;
 
4208
  int res1 = 0 ;
 
4209
  int val2 ;
 
4210
  int ecode2 = 0 ;
 
4211
  int val3 ;
 
4212
  int ecode3 = 0 ;
 
4213
  PyObject * obj0 = 0 ;
 
4214
  PyObject * obj1 = 0 ;
 
4215
  PyObject * obj2 = 0 ;
 
4216
  char *  kwnames[] = {
 
4217
    (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL 
 
4218
  };
 
4219
  
 
4220
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4221
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4222
  if (!SWIG_IsOK(res1)) {
 
4223
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); 
 
4224
  }
 
4225
  arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
 
4226
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4227
  if (!SWIG_IsOK(ecode2)) {
 
4228
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
 
4229
  } 
 
4230
  arg2 = static_cast< int >(val2);
 
4231
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4232
  if (!SWIG_IsOK(ecode3)) {
 
4233
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
 
4234
  } 
 
4235
  arg3 = static_cast< int >(val3);
 
4236
  {
 
4237
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4238
    (arg1)->ScrollToLine(arg2,arg3);
 
4239
    wxPyEndAllowThreads(__tstate);
 
4240
    if (PyErr_Occurred()) SWIG_fail;
 
4241
  }
 
4242
  resultobj = SWIG_Py_Void();
 
4243
  return resultobj;
 
4244
fail:
 
4245
  return NULL;
 
4246
}
 
4247
 
 
4248
 
 
4249
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4250
  PyObject *resultobj = 0;
 
4251
  wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4252
  wxWindow *arg2 = (wxWindow *) 0 ;
 
4253
  void *argp1 = 0 ;
 
4254
  int res1 = 0 ;
 
4255
  void *argp2 = 0 ;
 
4256
  int res2 = 0 ;
 
4257
  PyObject * obj0 = 0 ;
 
4258
  PyObject * obj1 = 0 ;
 
4259
  char *  kwnames[] = {
 
4260
    (char *) "self",(char *) "companion", NULL 
 
4261
  };
 
4262
  
 
4263
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
 
4264
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4265
  if (!SWIG_IsOK(res1)) {
 
4266
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); 
 
4267
  }
 
4268
  arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
 
4269
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4270
  if (!SWIG_IsOK(res2)) {
 
4271
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
4272
  }
 
4273
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
4274
  {
 
4275
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4276
    (arg1)->SetCompanionWindow(arg2);
 
4277
    wxPyEndAllowThreads(__tstate);
 
4278
    if (PyErr_Occurred()) SWIG_fail;
 
4279
  }
 
4280
  resultobj = SWIG_Py_Void();
 
4281
  return resultobj;
 
4282
fail:
 
4283
  return NULL;
 
4284
}
 
4285
 
 
4286
 
 
4287
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4288
  PyObject *resultobj = 0;
 
4289
  wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4290
  wxWindow *result = 0 ;
 
4291
  void *argp1 = 0 ;
 
4292
  int res1 = 0 ;
 
4293
  PyObject *swig_obj[1] ;
 
4294
  
 
4295
  if (!args) SWIG_fail;
 
4296
  swig_obj[0] = args;
 
4297
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4298
  if (!SWIG_IsOK(res1)) {
 
4299
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'"); 
 
4300
  }
 
4301
  arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
 
4302
  {
 
4303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4304
    result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
 
4305
    wxPyEndAllowThreads(__tstate);
 
4306
    if (PyErr_Occurred()) SWIG_fail;
 
4307
  }
 
4308
  {
 
4309
    resultobj = wxPyMake_wxObject(result, 0); 
 
4310
  }
 
4311
  return resultobj;
 
4312
fail:
 
4313
  return NULL;
 
4314
}
 
4315
 
 
4316
 
 
4317
SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4318
  PyObject *obj;
 
4319
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
4320
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
 
4321
  return SWIG_Py_Void();
 
4322
}
 
4323
 
 
4324
SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4325
  return SWIG_Python_InitShadowInstance(args);
 
4326
}
 
4327
 
 
4328
SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4329
  PyObject *resultobj = 0;
 
4330
  wxWindow *arg1 = (wxWindow *) 0 ;
 
4331
  int arg2 = (int) -1 ;
 
4332
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
4333
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
4334
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
4335
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
4336
  long arg5 = (long) 0 ;
 
4337
  wxPyTreeCompanionWindow *result = 0 ;
 
4338
  void *argp1 = 0 ;
 
4339
  int res1 = 0 ;
 
4340
  int val2 ;
 
4341
  int ecode2 = 0 ;
 
4342
  wxPoint temp3 ;
 
4343
  wxSize temp4 ;
 
4344
  long val5 ;
 
4345
  int ecode5 = 0 ;
 
4346
  PyObject * obj0 = 0 ;
 
4347
  PyObject * obj1 = 0 ;
 
4348
  PyObject * obj2 = 0 ;
 
4349
  PyObject * obj3 = 0 ;
 
4350
  PyObject * obj4 = 0 ;
 
4351
  char *  kwnames[] = {
 
4352
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
4353
  };
 
4354
  
 
4355
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
4356
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4357
  if (!SWIG_IsOK(res1)) {
 
4358
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
4359
  }
 
4360
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
4361
  if (obj1) {
 
4362
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4363
    if (!SWIG_IsOK(ecode2)) {
 
4364
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
 
4365
    } 
 
4366
    arg2 = static_cast< int >(val2);
 
4367
  }
 
4368
  if (obj2) {
 
4369
    {
 
4370
      arg3 = &temp3;
 
4371
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
4372
    }
 
4373
  }
 
4374
  if (obj3) {
 
4375
    {
 
4376
      arg4 = &temp4;
 
4377
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
4378
    }
 
4379
  }
 
4380
  if (obj4) {
 
4381
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
4382
    if (!SWIG_IsOK(ecode5)) {
 
4383
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
 
4384
    } 
 
4385
    arg5 = static_cast< long >(val5);
 
4386
  }
 
4387
  {
 
4388
    if (!wxPyCheckForApp()) SWIG_fail;
 
4389
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4390
    result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
 
4391
    wxPyEndAllowThreads(__tstate);
 
4392
    if (PyErr_Occurred()) SWIG_fail;
 
4393
  }
 
4394
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW |  0 );
 
4395
  return resultobj;
 
4396
fail:
 
4397
  return NULL;
 
4398
}
 
4399
 
 
4400
 
 
4401
SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4402
  PyObject *resultobj = 0;
 
4403
  wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
 
4404
  PyObject *arg2 = (PyObject *) 0 ;
 
4405
  PyObject *arg3 = (PyObject *) 0 ;
 
4406
  void *argp1 = 0 ;
 
4407
  int res1 = 0 ;
 
4408
  PyObject * obj0 = 0 ;
 
4409
  PyObject * obj1 = 0 ;
 
4410
  PyObject * obj2 = 0 ;
 
4411
  char *  kwnames[] = {
 
4412
    (char *) "self",(char *) "self",(char *) "_class", NULL 
 
4413
  };
 
4414
  
 
4415
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4416
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 |  0 );
 
4417
  if (!SWIG_IsOK(res1)) {
 
4418
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'"); 
 
4419
  }
 
4420
  arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
 
4421
  arg2 = obj1;
 
4422
  arg3 = obj2;
 
4423
  {
 
4424
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4425
    (arg1)->_setCallbackInfo(arg2,arg3);
 
4426
    wxPyEndAllowThreads(__tstate);
 
4427
    if (PyErr_Occurred()) SWIG_fail;
 
4428
  }
 
4429
  resultobj = SWIG_Py_Void();
 
4430
  return resultobj;
 
4431
fail:
 
4432
  return NULL;
 
4433
}
 
4434
 
 
4435
 
 
4436
SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4437
  PyObject *resultobj = 0;
 
4438
  wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
 
4439
  wxRemotelyScrolledTreeCtrl *result = 0 ;
 
4440
  void *argp1 = 0 ;
 
4441
  int res1 = 0 ;
 
4442
  PyObject *swig_obj[1] ;
 
4443
  
 
4444
  if (!args) SWIG_fail;
 
4445
  swig_obj[0] = args;
 
4446
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 |  0 );
 
4447
  if (!SWIG_IsOK(res1)) {
 
4448
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'"); 
 
4449
  }
 
4450
  arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
 
4451
  {
 
4452
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4453
    result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
 
4454
    wxPyEndAllowThreads(__tstate);
 
4455
    if (PyErr_Occurred()) SWIG_fail;
 
4456
  }
 
4457
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4458
  return resultobj;
 
4459
fail:
 
4460
  return NULL;
 
4461
}
 
4462
 
 
4463
 
 
4464
SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4465
  PyObject *resultobj = 0;
 
4466
  wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
 
4467
  wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
 
4468
  void *argp1 = 0 ;
 
4469
  int res1 = 0 ;
 
4470
  void *argp2 = 0 ;
 
4471
  int res2 = 0 ;
 
4472
  PyObject * obj0 = 0 ;
 
4473
  PyObject * obj1 = 0 ;
 
4474
  char *  kwnames[] = {
 
4475
    (char *) "self",(char *) "treeCtrl", NULL 
 
4476
  };
 
4477
  
 
4478
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
 
4479
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 |  0 );
 
4480
  if (!SWIG_IsOK(res1)) {
 
4481
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'"); 
 
4482
  }
 
4483
  arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
 
4484
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 |  0 );
 
4485
  if (!SWIG_IsOK(res2)) {
 
4486
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); 
 
4487
  }
 
4488
  arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
 
4489
  {
 
4490
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4491
    (arg1)->SetTreeCtrl(arg2);
 
4492
    wxPyEndAllowThreads(__tstate);
 
4493
    if (PyErr_Occurred()) SWIG_fail;
 
4494
  }
 
4495
  resultobj = SWIG_Py_Void();
 
4496
  return resultobj;
 
4497
fail:
 
4498
  return NULL;
 
4499
}
 
4500
 
 
4501
 
 
4502
SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4503
  PyObject *obj;
 
4504
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
4505
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
 
4506
  return SWIG_Py_Void();
 
4507
}
 
4508
 
 
4509
SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4510
  return SWIG_Python_InitShadowInstance(args);
 
4511
}
 
4512
 
 
4513
SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4514
  PyObject *resultobj = 0;
 
4515
  wxWindow *arg1 = (wxWindow *) 0 ;
 
4516
  int arg2 = (int) -1 ;
 
4517
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
4518
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
4519
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
4520
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
4521
  long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
 
4522
  wxThinSplitterWindow *result = 0 ;
 
4523
  void *argp1 = 0 ;
 
4524
  int res1 = 0 ;
 
4525
  int val2 ;
 
4526
  int ecode2 = 0 ;
 
4527
  wxPoint temp3 ;
 
4528
  wxSize temp4 ;
 
4529
  long val5 ;
 
4530
  int ecode5 = 0 ;
 
4531
  PyObject * obj0 = 0 ;
 
4532
  PyObject * obj1 = 0 ;
 
4533
  PyObject * obj2 = 0 ;
 
4534
  PyObject * obj3 = 0 ;
 
4535
  PyObject * obj4 = 0 ;
 
4536
  char *  kwnames[] = {
 
4537
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
4538
  };
 
4539
  
 
4540
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
4541
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4542
  if (!SWIG_IsOK(res1)) {
 
4543
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
4544
  }
 
4545
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
4546
  if (obj1) {
 
4547
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4548
    if (!SWIG_IsOK(ecode2)) {
 
4549
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
 
4550
    } 
 
4551
    arg2 = static_cast< int >(val2);
 
4552
  }
 
4553
  if (obj2) {
 
4554
    {
 
4555
      arg3 = &temp3;
 
4556
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
4557
    }
 
4558
  }
 
4559
  if (obj3) {
 
4560
    {
 
4561
      arg4 = &temp4;
 
4562
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
4563
    }
 
4564
  }
 
4565
  if (obj4) {
 
4566
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
4567
    if (!SWIG_IsOK(ecode5)) {
 
4568
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
 
4569
    } 
 
4570
    arg5 = static_cast< long >(val5);
 
4571
  }
 
4572
  {
 
4573
    if (!wxPyCheckForApp()) SWIG_fail;
 
4574
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4575
    result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
 
4576
    wxPyEndAllowThreads(__tstate);
 
4577
    if (PyErr_Occurred()) SWIG_fail;
 
4578
  }
 
4579
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW |  0 );
 
4580
  return resultobj;
 
4581
fail:
 
4582
  return NULL;
 
4583
}
 
4584
 
 
4585
 
 
4586
SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4587
  PyObject *obj;
 
4588
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
4589
  SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
 
4590
  return SWIG_Py_Void();
 
4591
}
 
4592
 
 
4593
SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4594
  return SWIG_Python_InitShadowInstance(args);
 
4595
}
 
4596
 
 
4597
SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4598
  PyObject *resultobj = 0;
 
4599
  wxWindow *arg1 = (wxWindow *) 0 ;
 
4600
  int arg2 = (int) -1 ;
 
4601
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
4602
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
4603
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
4604
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
4605
  long arg5 = (long) 0 ;
 
4606
  wxSplitterScrolledWindow *result = 0 ;
 
4607
  void *argp1 = 0 ;
 
4608
  int res1 = 0 ;
 
4609
  int val2 ;
 
4610
  int ecode2 = 0 ;
 
4611
  wxPoint temp3 ;
 
4612
  wxSize temp4 ;
 
4613
  long val5 ;
 
4614
  int ecode5 = 0 ;
 
4615
  PyObject * obj0 = 0 ;
 
4616
  PyObject * obj1 = 0 ;
 
4617
  PyObject * obj2 = 0 ;
 
4618
  PyObject * obj3 = 0 ;
 
4619
  PyObject * obj4 = 0 ;
 
4620
  char *  kwnames[] = {
 
4621
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
4622
  };
 
4623
  
 
4624
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
4625
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4626
  if (!SWIG_IsOK(res1)) {
 
4627
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
4628
  }
 
4629
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
4630
  if (obj1) {
 
4631
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4632
    if (!SWIG_IsOK(ecode2)) {
 
4633
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
 
4634
    } 
 
4635
    arg2 = static_cast< int >(val2);
 
4636
  }
 
4637
  if (obj2) {
 
4638
    {
 
4639
      arg3 = &temp3;
 
4640
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
4641
    }
 
4642
  }
 
4643
  if (obj3) {
 
4644
    {
 
4645
      arg4 = &temp4;
 
4646
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
4647
    }
 
4648
  }
 
4649
  if (obj4) {
 
4650
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
4651
    if (!SWIG_IsOK(ecode5)) {
 
4652
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
 
4653
    } 
 
4654
    arg5 = static_cast< long >(val5);
 
4655
  }
 
4656
  {
 
4657
    if (!wxPyCheckForApp()) SWIG_fail;
 
4658
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4659
    result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
 
4660
    wxPyEndAllowThreads(__tstate);
 
4661
    if (PyErr_Occurred()) SWIG_fail;
 
4662
  }
 
4663
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW |  0 );
 
4664
  return resultobj;
 
4665
fail:
 
4666
  return NULL;
 
4667
}
 
4668
 
 
4669
 
 
4670
SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4671
  PyObject *obj;
 
4672
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
4673
  SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
 
4674
  return SWIG_Py_Void();
 
4675
}
 
4676
 
 
4677
SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4678
  return SWIG_Python_InitShadowInstance(args);
 
4679
}
 
4680
 
 
4681
SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4682
  PyObject *resultobj = 0;
 
4683
  wxWindow *arg1 = (wxWindow *) 0 ;
 
4684
  int arg2 = (int) -1 ;
 
4685
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
4686
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
4687
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
4688
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
4689
  long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
 
4690
  wxLEDNumberCtrl *result = 0 ;
 
4691
  void *argp1 = 0 ;
 
4692
  int res1 = 0 ;
 
4693
  int val2 ;
 
4694
  int ecode2 = 0 ;
 
4695
  wxPoint temp3 ;
 
4696
  wxSize temp4 ;
 
4697
  long val5 ;
 
4698
  int ecode5 = 0 ;
 
4699
  PyObject * obj0 = 0 ;
 
4700
  PyObject * obj1 = 0 ;
 
4701
  PyObject * obj2 = 0 ;
 
4702
  PyObject * obj3 = 0 ;
 
4703
  PyObject * obj4 = 0 ;
 
4704
  char *  kwnames[] = {
 
4705
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
4706
  };
 
4707
  
 
4708
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
4709
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4710
  if (!SWIG_IsOK(res1)) {
 
4711
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
4712
  }
 
4713
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
4714
  if (obj1) {
 
4715
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4716
    if (!SWIG_IsOK(ecode2)) {
 
4717
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
 
4718
    } 
 
4719
    arg2 = static_cast< int >(val2);
 
4720
  }
 
4721
  if (obj2) {
 
4722
    {
 
4723
      arg3 = &temp3;
 
4724
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
4725
    }
 
4726
  }
 
4727
  if (obj3) {
 
4728
    {
 
4729
      arg4 = &temp4;
 
4730
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
4731
    }
 
4732
  }
 
4733
  if (obj4) {
 
4734
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
4735
    if (!SWIG_IsOK(ecode5)) {
 
4736
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
 
4737
    } 
 
4738
    arg5 = static_cast< long >(val5);
 
4739
  }
 
4740
  {
 
4741
    if (!wxPyCheckForApp()) SWIG_fail;
 
4742
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4743
    result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
 
4744
    wxPyEndAllowThreads(__tstate);
 
4745
    if (PyErr_Occurred()) SWIG_fail;
 
4746
  }
 
4747
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW |  0 );
 
4748
  return resultobj;
 
4749
fail:
 
4750
  return NULL;
 
4751
}
 
4752
 
 
4753
 
 
4754
SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4755
  PyObject *resultobj = 0;
 
4756
  wxLEDNumberCtrl *result = 0 ;
 
4757
  
 
4758
  if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
 
4759
  {
 
4760
    if (!wxPyCheckForApp()) SWIG_fail;
 
4761
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4762
    result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
 
4763
    wxPyEndAllowThreads(__tstate);
 
4764
    if (PyErr_Occurred()) SWIG_fail;
 
4765
  }
 
4766
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN |  0 );
 
4767
  return resultobj;
 
4768
fail:
 
4769
  return NULL;
 
4770
}
 
4771
 
 
4772
 
 
4773
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4774
  PyObject *resultobj = 0;
 
4775
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
 
4776
  wxWindow *arg2 = (wxWindow *) 0 ;
 
4777
  int arg3 = (int) -1 ;
 
4778
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
4779
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
4780
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
4781
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
4782
  long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
 
4783
  bool result;
 
4784
  void *argp1 = 0 ;
 
4785
  int res1 = 0 ;
 
4786
  void *argp2 = 0 ;
 
4787
  int res2 = 0 ;
 
4788
  int val3 ;
 
4789
  int ecode3 = 0 ;
 
4790
  wxPoint temp4 ;
 
4791
  wxSize temp5 ;
 
4792
  long val6 ;
 
4793
  int ecode6 = 0 ;
 
4794
  PyObject * obj0 = 0 ;
 
4795
  PyObject * obj1 = 0 ;
 
4796
  PyObject * obj2 = 0 ;
 
4797
  PyObject * obj3 = 0 ;
 
4798
  PyObject * obj4 = 0 ;
 
4799
  PyObject * obj5 = 0 ;
 
4800
  char *  kwnames[] = {
 
4801
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
4802
  };
 
4803
  
 
4804
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
4805
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 |  0 );
 
4806
  if (!SWIG_IsOK(res1)) {
 
4807
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); 
 
4808
  }
 
4809
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
4810
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
4811
  if (!SWIG_IsOK(res2)) {
 
4812
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
4813
  }
 
4814
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
4815
  if (obj2) {
 
4816
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4817
    if (!SWIG_IsOK(ecode3)) {
 
4818
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
 
4819
    } 
 
4820
    arg3 = static_cast< int >(val3);
 
4821
  }
 
4822
  if (obj3) {
 
4823
    {
 
4824
      arg4 = &temp4;
 
4825
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
4826
    }
 
4827
  }
 
4828
  if (obj4) {
 
4829
    {
 
4830
      arg5 = &temp5;
 
4831
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
4832
    }
 
4833
  }
 
4834
  if (obj5) {
 
4835
    ecode6 = SWIG_AsVal_long(obj5, &val6);
 
4836
    if (!SWIG_IsOK(ecode6)) {
 
4837
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
 
4838
    } 
 
4839
    arg6 = static_cast< long >(val6);
 
4840
  }
 
4841
  {
 
4842
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4843
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
 
4844
    wxPyEndAllowThreads(__tstate);
 
4845
    if (PyErr_Occurred()) SWIG_fail;
 
4846
  }
 
4847
  {
 
4848
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4849
  }
 
4850
  return resultobj;
 
4851
fail:
 
4852
  return NULL;
 
4853
}
 
4854
 
 
4855
 
 
4856
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4857
  PyObject *resultobj = 0;
 
4858
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
 
4859
  wxLEDValueAlign result;
 
4860
  void *argp1 = 0 ;
 
4861
  int res1 = 0 ;
 
4862
  PyObject *swig_obj[1] ;
 
4863
  
 
4864
  if (!args) SWIG_fail;
 
4865
  swig_obj[0] = args;
 
4866
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 |  0 );
 
4867
  if (!SWIG_IsOK(res1)) {
 
4868
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); 
 
4869
  }
 
4870
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
4871
  {
 
4872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4873
    result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
 
4874
    wxPyEndAllowThreads(__tstate);
 
4875
    if (PyErr_Occurred()) SWIG_fail;
 
4876
  }
 
4877
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4878
  return resultobj;
 
4879
fail:
 
4880
  return NULL;
 
4881
}
 
4882
 
 
4883
 
 
4884
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4885
  PyObject *resultobj = 0;
 
4886
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 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_wxLEDNumberCtrl, 0 |  0 );
 
4895
  if (!SWIG_IsOK(res1)) {
 
4896
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); 
 
4897
  }
 
4898
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
4899
  {
 
4900
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4901
    result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
 
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;
 
4909
fail:
 
4910
  return NULL;
 
4911
}
 
4912
 
 
4913
 
 
4914
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4915
  PyObject *resultobj = 0;
 
4916
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
 
4917
  wxString *result = 0 ;
 
4918
  void *argp1 = 0 ;
 
4919
  int res1 = 0 ;
 
4920
  PyObject *swig_obj[1] ;
 
4921
  
 
4922
  if (!args) SWIG_fail;
 
4923
  swig_obj[0] = args;
 
4924
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 |  0 );
 
4925
  if (!SWIG_IsOK(res1)) {
 
4926
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); 
 
4927
  }
 
4928
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
4929
  {
 
4930
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4931
    {
 
4932
      wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
 
4933
      result = (wxString *) &_result_ref;
 
4934
    }
 
4935
    wxPyEndAllowThreads(__tstate);
 
4936
    if (PyErr_Occurred()) SWIG_fail;
 
4937
  }
 
4938
  {
 
4939
#if wxUSE_UNICODE
 
4940
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
4941
#else
 
4942
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
4943
#endif
 
4944
  }
 
4945
  return resultobj;
 
4946
fail:
 
4947
  return NULL;
 
4948
}
 
4949
 
 
4950
 
 
4951
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4952
  PyObject *resultobj = 0;
 
4953
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
 
4954
  wxLEDValueAlign arg2 ;
 
4955
  bool arg3 = (bool) true ;
 
4956
  void *argp1 = 0 ;
 
4957
  int res1 = 0 ;
 
4958
  int val2 ;
 
4959
  int ecode2 = 0 ;
 
4960
  bool val3 ;
 
4961
  int ecode3 = 0 ;
 
4962
  PyObject * obj0 = 0 ;
 
4963
  PyObject * obj1 = 0 ;
 
4964
  PyObject * obj2 = 0 ;
 
4965
  char *  kwnames[] = {
 
4966
    (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL 
 
4967
  };
 
4968
  
 
4969
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4970
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 |  0 );
 
4971
  if (!SWIG_IsOK(res1)) {
 
4972
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); 
 
4973
  }
 
4974
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
4975
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4976
  if (!SWIG_IsOK(ecode2)) {
 
4977
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
 
4978
  } 
 
4979
  arg2 = static_cast< wxLEDValueAlign >(val2);
 
4980
  if (obj2) {
 
4981
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
4982
    if (!SWIG_IsOK(ecode3)) {
 
4983
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
 
4984
    } 
 
4985
    arg3 = static_cast< bool >(val3);
 
4986
  }
 
4987
  {
 
4988
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4989
    (arg1)->SetAlignment(arg2,arg3);
 
4990
    wxPyEndAllowThreads(__tstate);
 
4991
    if (PyErr_Occurred()) SWIG_fail;
 
4992
  }
 
4993
  resultobj = SWIG_Py_Void();
 
4994
  return resultobj;
 
4995
fail:
 
4996
  return NULL;
 
4997
}
 
4998
 
 
4999
 
 
5000
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5001
  PyObject *resultobj = 0;
 
5002
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
 
5003
  bool arg2 ;
 
5004
  bool arg3 = (bool) true ;
 
5005
  void *argp1 = 0 ;
 
5006
  int res1 = 0 ;
 
5007
  bool val2 ;
 
5008
  int ecode2 = 0 ;
 
5009
  bool val3 ;
 
5010
  int ecode3 = 0 ;
 
5011
  PyObject * obj0 = 0 ;
 
5012
  PyObject * obj1 = 0 ;
 
5013
  PyObject * obj2 = 0 ;
 
5014
  char *  kwnames[] = {
 
5015
    (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL 
 
5016
  };
 
5017
  
 
5018
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5019
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 |  0 );
 
5020
  if (!SWIG_IsOK(res1)) {
 
5021
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); 
 
5022
  }
 
5023
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
5024
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
5025
  if (!SWIG_IsOK(ecode2)) {
 
5026
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
 
5027
  } 
 
5028
  arg2 = static_cast< bool >(val2);
 
5029
  if (obj2) {
 
5030
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5031
    if (!SWIG_IsOK(ecode3)) {
 
5032
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
 
5033
    } 
 
5034
    arg3 = static_cast< bool >(val3);
 
5035
  }
 
5036
  {
 
5037
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5038
    (arg1)->SetDrawFaded(arg2,arg3);
 
5039
    wxPyEndAllowThreads(__tstate);
 
5040
    if (PyErr_Occurred()) SWIG_fail;
 
5041
  }
 
5042
  resultobj = SWIG_Py_Void();
 
5043
  return resultobj;
 
5044
fail:
 
5045
  return NULL;
 
5046
}
 
5047
 
 
5048
 
 
5049
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5050
  PyObject *resultobj = 0;
 
5051
  wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
 
5052
  wxString *arg2 = 0 ;
 
5053
  bool arg3 = (bool) true ;
 
5054
  void *argp1 = 0 ;
 
5055
  int res1 = 0 ;
 
5056
  bool temp2 = false ;
 
5057
  bool val3 ;
 
5058
  int ecode3 = 0 ;
 
5059
  PyObject * obj0 = 0 ;
 
5060
  PyObject * obj1 = 0 ;
 
5061
  PyObject * obj2 = 0 ;
 
5062
  char *  kwnames[] = {
 
5063
    (char *) "self",(char *) "Value",(char *) "Redraw", NULL 
 
5064
  };
 
5065
  
 
5066
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5067
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 |  0 );
 
5068
  if (!SWIG_IsOK(res1)) {
 
5069
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); 
 
5070
  }
 
5071
  arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
 
5072
  {
 
5073
    arg2 = wxString_in_helper(obj1);
 
5074
    if (arg2 == NULL) SWIG_fail;
 
5075
    temp2 = true;
 
5076
  }
 
5077
  if (obj2) {
 
5078
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
5079
    if (!SWIG_IsOK(ecode3)) {
 
5080
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
 
5081
    } 
 
5082
    arg3 = static_cast< bool >(val3);
 
5083
  }
 
5084
  {
 
5085
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5086
    (arg1)->SetValue((wxString const &)*arg2,arg3);
 
5087
    wxPyEndAllowThreads(__tstate);
 
5088
    if (PyErr_Occurred()) SWIG_fail;
 
5089
  }
 
5090
  resultobj = SWIG_Py_Void();
 
5091
  {
 
5092
    if (temp2)
 
5093
    delete arg2;
 
5094
  }
 
5095
  return resultobj;
 
5096
fail:
 
5097
  {
 
5098
    if (temp2)
 
5099
    delete arg2;
 
5100
  }
 
5101
  return NULL;
 
5102
}
 
5103
 
 
5104
 
 
5105
SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5106
  PyObject *obj;
 
5107
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
5108
  SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
 
5109
  return SWIG_Py_Void();
 
5110
}
 
5111
 
 
5112
SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5113
  return SWIG_Python_InitShadowInstance(args);
 
5114
}
 
5115
 
 
5116
SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
 
5117
  SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
 
5118
  return 1;
 
5119
}
 
5120
 
 
5121
 
 
5122
SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
 
5123
  PyObject *pyobj = 0;
 
5124
  
 
5125
  {
 
5126
#if wxUSE_UNICODE
 
5127
    pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
 
5128
#else
 
5129
    pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
 
5130
#endif
 
5131
  }
 
5132
  return pyobj;
 
5133
}
 
5134
 
 
5135
 
 
5136
SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5137
  PyObject *resultobj = 0;
 
5138
  wxString const &arg1_defvalue = wxPyEmptyString ;
 
5139
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
5140
  int arg2 = (int) DEFAULT_COL_WIDTH ;
 
5141
  int arg3 = (int) wxALIGN_LEFT ;
 
5142
  int arg4 = (int) -1 ;
 
5143
  bool arg5 = (bool) true ;
 
5144
  bool arg6 = (bool) false ;
 
5145
  wxTreeListColumnInfo *result = 0 ;
 
5146
  bool temp1 = false ;
 
5147
  int val2 ;
 
5148
  int ecode2 = 0 ;
 
5149
  int val3 ;
 
5150
  int ecode3 = 0 ;
 
5151
  int val4 ;
 
5152
  int ecode4 = 0 ;
 
5153
  bool val5 ;
 
5154
  int ecode5 = 0 ;
 
5155
  bool val6 ;
 
5156
  int ecode6 = 0 ;
 
5157
  PyObject * obj0 = 0 ;
 
5158
  PyObject * obj1 = 0 ;
 
5159
  PyObject * obj2 = 0 ;
 
5160
  PyObject * obj3 = 0 ;
 
5161
  PyObject * obj4 = 0 ;
 
5162
  PyObject * obj5 = 0 ;
 
5163
  char *  kwnames[] = {
 
5164
    (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL 
 
5165
  };
 
5166
  
 
5167
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
5168
  if (obj0) {
 
5169
    {
 
5170
      arg1 = wxString_in_helper(obj0);
 
5171
      if (arg1 == NULL) SWIG_fail;
 
5172
      temp1 = true;
 
5173
    }
 
5174
  }
 
5175
  if (obj1) {
 
5176
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5177
    if (!SWIG_IsOK(ecode2)) {
 
5178
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
 
5179
    } 
 
5180
    arg2 = static_cast< int >(val2);
 
5181
  }
 
5182
  if (obj2) {
 
5183
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
5184
    if (!SWIG_IsOK(ecode3)) {
 
5185
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
 
5186
    } 
 
5187
    arg3 = static_cast< int >(val3);
 
5188
  }
 
5189
  if (obj3) {
 
5190
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
5191
    if (!SWIG_IsOK(ecode4)) {
 
5192
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
 
5193
    } 
 
5194
    arg4 = static_cast< int >(val4);
 
5195
  }
 
5196
  if (obj4) {
 
5197
    ecode5 = SWIG_AsVal_bool(obj4, &val5);
 
5198
    if (!SWIG_IsOK(ecode5)) {
 
5199
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
 
5200
    } 
 
5201
    arg5 = static_cast< bool >(val5);
 
5202
  }
 
5203
  if (obj5) {
 
5204
    ecode6 = SWIG_AsVal_bool(obj5, &val6);
 
5205
    if (!SWIG_IsOK(ecode6)) {
 
5206
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
 
5207
    } 
 
5208
    arg6 = static_cast< bool >(val6);
 
5209
  }
 
5210
  {
 
5211
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5212
    result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
 
5213
    wxPyEndAllowThreads(__tstate);
 
5214
    if (PyErr_Occurred()) SWIG_fail;
 
5215
  }
 
5216
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW |  0 );
 
5217
  {
 
5218
    if (temp1)
 
5219
    delete arg1;
 
5220
  }
 
5221
  return resultobj;
 
5222
fail:
 
5223
  {
 
5224
    if (temp1)
 
5225
    delete arg1;
 
5226
  }
 
5227
  return NULL;
 
5228
}
 
5229
 
 
5230
 
 
5231
SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5232
  PyObject *resultobj = 0;
 
5233
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5234
  void *argp1 = 0 ;
 
5235
  int res1 = 0 ;
 
5236
  PyObject *swig_obj[1] ;
 
5237
  
 
5238
  if (!args) SWIG_fail;
 
5239
  swig_obj[0] = args;
 
5240
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN |  0 );
 
5241
  if (!SWIG_IsOK(res1)) {
 
5242
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5243
  }
 
5244
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5245
  {
 
5246
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5247
    delete arg1;
 
5248
    
 
5249
    wxPyEndAllowThreads(__tstate);
 
5250
    if (PyErr_Occurred()) SWIG_fail;
 
5251
  }
 
5252
  resultobj = SWIG_Py_Void();
 
5253
  return resultobj;
 
5254
fail:
 
5255
  return NULL;
 
5256
}
 
5257
 
 
5258
 
 
5259
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5260
  PyObject *resultobj = 0;
 
5261
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5262
  int result;
 
5263
  void *argp1 = 0 ;
 
5264
  int res1 = 0 ;
 
5265
  PyObject *swig_obj[1] ;
 
5266
  
 
5267
  if (!args) SWIG_fail;
 
5268
  swig_obj[0] = args;
 
5269
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5270
  if (!SWIG_IsOK(res1)) {
 
5271
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5272
  }
 
5273
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5274
  {
 
5275
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5276
    result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
 
5277
    wxPyEndAllowThreads(__tstate);
 
5278
    if (PyErr_Occurred()) SWIG_fail;
 
5279
  }
 
5280
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5281
  return resultobj;
 
5282
fail:
 
5283
  return NULL;
 
5284
}
 
5285
 
 
5286
 
 
5287
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5288
  PyObject *resultobj = 0;
 
5289
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5290
  wxString result;
 
5291
  void *argp1 = 0 ;
 
5292
  int res1 = 0 ;
 
5293
  PyObject *swig_obj[1] ;
 
5294
  
 
5295
  if (!args) SWIG_fail;
 
5296
  swig_obj[0] = args;
 
5297
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5298
  if (!SWIG_IsOK(res1)) {
 
5299
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5300
  }
 
5301
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5302
  {
 
5303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5304
    result = ((wxTreeListColumnInfo const *)arg1)->GetText();
 
5305
    wxPyEndAllowThreads(__tstate);
 
5306
    if (PyErr_Occurred()) SWIG_fail;
 
5307
  }
 
5308
  {
 
5309
#if wxUSE_UNICODE
 
5310
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
5311
#else
 
5312
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
5313
#endif
 
5314
  }
 
5315
  return resultobj;
 
5316
fail:
 
5317
  return NULL;
 
5318
}
 
5319
 
 
5320
 
 
5321
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5322
  PyObject *resultobj = 0;
 
5323
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5324
  int result;
 
5325
  void *argp1 = 0 ;
 
5326
  int res1 = 0 ;
 
5327
  PyObject *swig_obj[1] ;
 
5328
  
 
5329
  if (!args) SWIG_fail;
 
5330
  swig_obj[0] = args;
 
5331
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5332
  if (!SWIG_IsOK(res1)) {
 
5333
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5334
  }
 
5335
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5336
  {
 
5337
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5338
    result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
 
5339
    wxPyEndAllowThreads(__tstate);
 
5340
    if (PyErr_Occurred()) SWIG_fail;
 
5341
  }
 
5342
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5343
  return resultobj;
 
5344
fail:
 
5345
  return NULL;
 
5346
}
 
5347
 
 
5348
 
 
5349
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5350
  PyObject *resultobj = 0;
 
5351
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5352
  int result;
 
5353
  void *argp1 = 0 ;
 
5354
  int res1 = 0 ;
 
5355
  PyObject *swig_obj[1] ;
 
5356
  
 
5357
  if (!args) SWIG_fail;
 
5358
  swig_obj[0] = args;
 
5359
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5360
  if (!SWIG_IsOK(res1)) {
 
5361
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5362
  }
 
5363
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5364
  {
 
5365
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5366
    result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
 
5367
    wxPyEndAllowThreads(__tstate);
 
5368
    if (PyErr_Occurred()) SWIG_fail;
 
5369
  }
 
5370
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5371
  return resultobj;
 
5372
fail:
 
5373
  return NULL;
 
5374
}
 
5375
 
 
5376
 
 
5377
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5378
  PyObject *resultobj = 0;
 
5379
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5380
  size_t result;
 
5381
  void *argp1 = 0 ;
 
5382
  int res1 = 0 ;
 
5383
  PyObject *swig_obj[1] ;
 
5384
  
 
5385
  if (!args) SWIG_fail;
 
5386
  swig_obj[0] = args;
 
5387
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5388
  if (!SWIG_IsOK(res1)) {
 
5389
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5390
  }
 
5391
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5392
  {
 
5393
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5394
    result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
 
5395
    wxPyEndAllowThreads(__tstate);
 
5396
    if (PyErr_Occurred()) SWIG_fail;
 
5397
  }
 
5398
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
5399
  return resultobj;
 
5400
fail:
 
5401
  return NULL;
 
5402
}
 
5403
 
 
5404
 
 
5405
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5406
  PyObject *resultobj = 0;
 
5407
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5408
  bool result;
 
5409
  void *argp1 = 0 ;
 
5410
  int res1 = 0 ;
 
5411
  PyObject *swig_obj[1] ;
 
5412
  
 
5413
  if (!args) SWIG_fail;
 
5414
  swig_obj[0] = args;
 
5415
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5416
  if (!SWIG_IsOK(res1)) {
 
5417
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5418
  }
 
5419
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5420
  {
 
5421
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5422
    result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
 
5423
    wxPyEndAllowThreads(__tstate);
 
5424
    if (PyErr_Occurred()) SWIG_fail;
 
5425
  }
 
5426
  {
 
5427
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5428
  }
 
5429
  return resultobj;
 
5430
fail:
 
5431
  return NULL;
 
5432
}
 
5433
 
 
5434
 
 
5435
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5436
  PyObject *resultobj = 0;
 
5437
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5438
  bool result;
 
5439
  void *argp1 = 0 ;
 
5440
  int res1 = 0 ;
 
5441
  PyObject *swig_obj[1] ;
 
5442
  
 
5443
  if (!args) SWIG_fail;
 
5444
  swig_obj[0] = args;
 
5445
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5446
  if (!SWIG_IsOK(res1)) {
 
5447
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); 
 
5448
  }
 
5449
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5450
  {
 
5451
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5452
    result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
 
5453
    wxPyEndAllowThreads(__tstate);
 
5454
    if (PyErr_Occurred()) SWIG_fail;
 
5455
  }
 
5456
  {
 
5457
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5458
  }
 
5459
  return resultobj;
 
5460
fail:
 
5461
  return NULL;
 
5462
}
 
5463
 
 
5464
 
 
5465
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5466
  PyObject *resultobj = 0;
 
5467
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5468
  int arg2 ;
 
5469
  void *argp1 = 0 ;
 
5470
  int res1 = 0 ;
 
5471
  int val2 ;
 
5472
  int ecode2 = 0 ;
 
5473
  PyObject * obj0 = 0 ;
 
5474
  PyObject * obj1 = 0 ;
 
5475
  char *  kwnames[] = {
 
5476
    (char *) "self",(char *) "alignment", NULL 
 
5477
  };
 
5478
  
 
5479
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
 
5480
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5481
  if (!SWIG_IsOK(res1)) {
 
5482
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5483
  }
 
5484
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5485
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5486
  if (!SWIG_IsOK(ecode2)) {
 
5487
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
 
5488
  } 
 
5489
  arg2 = static_cast< int >(val2);
 
5490
  {
 
5491
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5492
    (arg1)->SetAlignment(arg2);
 
5493
    wxPyEndAllowThreads(__tstate);
 
5494
    if (PyErr_Occurred()) SWIG_fail;
 
5495
  }
 
5496
  resultobj = SWIG_Py_Void();
 
5497
  return resultobj;
 
5498
fail:
 
5499
  return NULL;
 
5500
}
 
5501
 
 
5502
 
 
5503
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5504
  PyObject *resultobj = 0;
 
5505
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5506
  wxString *arg2 = 0 ;
 
5507
  void *argp1 = 0 ;
 
5508
  int res1 = 0 ;
 
5509
  bool temp2 = false ;
 
5510
  PyObject * obj0 = 0 ;
 
5511
  PyObject * obj1 = 0 ;
 
5512
  char *  kwnames[] = {
 
5513
    (char *) "self",(char *) "text", NULL 
 
5514
  };
 
5515
  
 
5516
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
 
5517
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5518
  if (!SWIG_IsOK(res1)) {
 
5519
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5520
  }
 
5521
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5522
  {
 
5523
    arg2 = wxString_in_helper(obj1);
 
5524
    if (arg2 == NULL) SWIG_fail;
 
5525
    temp2 = true;
 
5526
  }
 
5527
  {
 
5528
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5529
    (arg1)->SetText((wxString const &)*arg2);
 
5530
    wxPyEndAllowThreads(__tstate);
 
5531
    if (PyErr_Occurred()) SWIG_fail;
 
5532
  }
 
5533
  resultobj = SWIG_Py_Void();
 
5534
  {
 
5535
    if (temp2)
 
5536
    delete arg2;
 
5537
  }
 
5538
  return resultobj;
 
5539
fail:
 
5540
  {
 
5541
    if (temp2)
 
5542
    delete arg2;
 
5543
  }
 
5544
  return NULL;
 
5545
}
 
5546
 
 
5547
 
 
5548
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5549
  PyObject *resultobj = 0;
 
5550
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5551
  int arg2 ;
 
5552
  void *argp1 = 0 ;
 
5553
  int res1 = 0 ;
 
5554
  int val2 ;
 
5555
  int ecode2 = 0 ;
 
5556
  PyObject * obj0 = 0 ;
 
5557
  PyObject * obj1 = 0 ;
 
5558
  char *  kwnames[] = {
 
5559
    (char *) "self",(char *) "image", NULL 
 
5560
  };
 
5561
  
 
5562
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
 
5563
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5564
  if (!SWIG_IsOK(res1)) {
 
5565
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5566
  }
 
5567
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5568
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5569
  if (!SWIG_IsOK(ecode2)) {
 
5570
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
 
5571
  } 
 
5572
  arg2 = static_cast< int >(val2);
 
5573
  {
 
5574
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5575
    (arg1)->SetImage(arg2);
 
5576
    wxPyEndAllowThreads(__tstate);
 
5577
    if (PyErr_Occurred()) SWIG_fail;
 
5578
  }
 
5579
  resultobj = SWIG_Py_Void();
 
5580
  return resultobj;
 
5581
fail:
 
5582
  return NULL;
 
5583
}
 
5584
 
 
5585
 
 
5586
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5587
  PyObject *resultobj = 0;
 
5588
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5589
  int arg2 ;
 
5590
  void *argp1 = 0 ;
 
5591
  int res1 = 0 ;
 
5592
  int val2 ;
 
5593
  int ecode2 = 0 ;
 
5594
  PyObject * obj0 = 0 ;
 
5595
  PyObject * obj1 = 0 ;
 
5596
  char *  kwnames[] = {
 
5597
    (char *) "self",(char *) "image", NULL 
 
5598
  };
 
5599
  
 
5600
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
 
5601
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5602
  if (!SWIG_IsOK(res1)) {
 
5603
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5604
  }
 
5605
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5606
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5607
  if (!SWIG_IsOK(ecode2)) {
 
5608
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
 
5609
  } 
 
5610
  arg2 = static_cast< int >(val2);
 
5611
  {
 
5612
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5613
    (arg1)->SetSelectedImage(arg2);
 
5614
    wxPyEndAllowThreads(__tstate);
 
5615
    if (PyErr_Occurred()) SWIG_fail;
 
5616
  }
 
5617
  resultobj = SWIG_Py_Void();
 
5618
  return resultobj;
 
5619
fail:
 
5620
  return NULL;
 
5621
}
 
5622
 
 
5623
 
 
5624
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5625
  PyObject *resultobj = 0;
 
5626
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5627
  size_t arg2 ;
 
5628
  void *argp1 = 0 ;
 
5629
  int res1 = 0 ;
 
5630
  size_t val2 ;
 
5631
  int ecode2 = 0 ;
 
5632
  PyObject * obj0 = 0 ;
 
5633
  PyObject * obj1 = 0 ;
 
5634
  char *  kwnames[] = {
 
5635
    (char *) "self",(char *) "with", NULL 
 
5636
  };
 
5637
  
 
5638
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
5639
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5640
  if (!SWIG_IsOK(res1)) {
 
5641
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5642
  }
 
5643
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5644
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
5645
  if (!SWIG_IsOK(ecode2)) {
 
5646
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
 
5647
  } 
 
5648
  arg2 = static_cast< size_t >(val2);
 
5649
  {
 
5650
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5651
    (arg1)->SetWidth(arg2);
 
5652
    wxPyEndAllowThreads(__tstate);
 
5653
    if (PyErr_Occurred()) SWIG_fail;
 
5654
  }
 
5655
  resultobj = SWIG_Py_Void();
 
5656
  return resultobj;
 
5657
fail:
 
5658
  return NULL;
 
5659
}
 
5660
 
 
5661
 
 
5662
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5663
  PyObject *resultobj = 0;
 
5664
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5665
  bool arg2 ;
 
5666
  void *argp1 = 0 ;
 
5667
  int res1 = 0 ;
 
5668
  bool val2 ;
 
5669
  int ecode2 = 0 ;
 
5670
  PyObject * obj0 = 0 ;
 
5671
  PyObject * obj1 = 0 ;
 
5672
  char *  kwnames[] = {
 
5673
    (char *) "self",(char *) "edit", NULL 
 
5674
  };
 
5675
  
 
5676
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
 
5677
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5678
  if (!SWIG_IsOK(res1)) {
 
5679
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5680
  }
 
5681
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5682
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
5683
  if (!SWIG_IsOK(ecode2)) {
 
5684
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
 
5685
  } 
 
5686
  arg2 = static_cast< bool >(val2);
 
5687
  {
 
5688
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5689
    (arg1)->SetEditable(arg2);
 
5690
    wxPyEndAllowThreads(__tstate);
 
5691
    if (PyErr_Occurred()) SWIG_fail;
 
5692
  }
 
5693
  resultobj = SWIG_Py_Void();
 
5694
  return resultobj;
 
5695
fail:
 
5696
  return NULL;
 
5697
}
 
5698
 
 
5699
 
 
5700
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5701
  PyObject *resultobj = 0;
 
5702
  wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
 
5703
  bool arg2 ;
 
5704
  void *argp1 = 0 ;
 
5705
  int res1 = 0 ;
 
5706
  bool val2 ;
 
5707
  int ecode2 = 0 ;
 
5708
  PyObject * obj0 = 0 ;
 
5709
  PyObject * obj1 = 0 ;
 
5710
  char *  kwnames[] = {
 
5711
    (char *) "self",(char *) "shown", NULL 
 
5712
  };
 
5713
  
 
5714
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
 
5715
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
5716
  if (!SWIG_IsOK(res1)) {
 
5717
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); 
 
5718
  }
 
5719
  arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
 
5720
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
5721
  if (!SWIG_IsOK(ecode2)) {
 
5722
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
 
5723
  } 
 
5724
  arg2 = static_cast< bool >(val2);
 
5725
  {
 
5726
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5727
    (arg1)->SetShown(arg2);
 
5728
    wxPyEndAllowThreads(__tstate);
 
5729
    if (PyErr_Occurred()) SWIG_fail;
 
5730
  }
 
5731
  resultobj = SWIG_Py_Void();
 
5732
  return resultobj;
 
5733
fail:
 
5734
  return NULL;
 
5735
}
 
5736
 
 
5737
 
 
5738
SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5739
  PyObject *obj;
 
5740
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
5741
  SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
 
5742
  return SWIG_Py_Void();
 
5743
}
 
5744
 
 
5745
SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5746
  return SWIG_Python_InitShadowInstance(args);
 
5747
}
 
5748
 
 
5749
SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5750
  PyObject *resultobj = 0;
 
5751
  wxWindow *arg1 = (wxWindow *) 0 ;
 
5752
  int arg2 = (int) -1 ;
 
5753
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
5754
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
5755
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
5756
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
5757
  long arg5 = (long) wxTR_DEFAULT_STYLE ;
 
5758
  wxValidator const &arg6_defvalue = wxDefaultValidator ;
 
5759
  wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
 
5760
  wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
 
5761
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
5762
  wxPyTreeListCtrl *result = 0 ;
 
5763
  void *argp1 = 0 ;
 
5764
  int res1 = 0 ;
 
5765
  int val2 ;
 
5766
  int ecode2 = 0 ;
 
5767
  wxPoint temp3 ;
 
5768
  wxSize temp4 ;
 
5769
  long val5 ;
 
5770
  int ecode5 = 0 ;
 
5771
  void *argp6 = 0 ;
 
5772
  int res6 = 0 ;
 
5773
  bool temp7 = false ;
 
5774
  PyObject * obj0 = 0 ;
 
5775
  PyObject * obj1 = 0 ;
 
5776
  PyObject * obj2 = 0 ;
 
5777
  PyObject * obj3 = 0 ;
 
5778
  PyObject * obj4 = 0 ;
 
5779
  PyObject * obj5 = 0 ;
 
5780
  PyObject * obj6 = 0 ;
 
5781
  char *  kwnames[] = {
 
5782
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5783
  };
 
5784
  
 
5785
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
5786
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
5787
  if (!SWIG_IsOK(res1)) {
 
5788
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
5789
  }
 
5790
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
5791
  if (obj1) {
 
5792
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5793
    if (!SWIG_IsOK(ecode2)) {
 
5794
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
 
5795
    } 
 
5796
    arg2 = static_cast< int >(val2);
 
5797
  }
 
5798
  if (obj2) {
 
5799
    {
 
5800
      arg3 = &temp3;
 
5801
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
5802
    }
 
5803
  }
 
5804
  if (obj3) {
 
5805
    {
 
5806
      arg4 = &temp4;
 
5807
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
5808
    }
 
5809
  }
 
5810
  if (obj4) {
 
5811
    ecode5 = SWIG_AsVal_long(obj4, &val5);
 
5812
    if (!SWIG_IsOK(ecode5)) {
 
5813
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
 
5814
    } 
 
5815
    arg5 = static_cast< long >(val5);
 
5816
  }
 
5817
  if (obj5) {
 
5818
    res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator,  0  | 0);
 
5819
    if (!SWIG_IsOK(res6)) {
 
5820
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
 
5821
    }
 
5822
    if (!argp6) {
 
5823
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); 
 
5824
    }
 
5825
    arg6 = reinterpret_cast< wxValidator * >(argp6);
 
5826
  }
 
5827
  if (obj6) {
 
5828
    {
 
5829
      arg7 = wxString_in_helper(obj6);
 
5830
      if (arg7 == NULL) SWIG_fail;
 
5831
      temp7 = true;
 
5832
    }
 
5833
  }
 
5834
  {
 
5835
    if (!wxPyCheckForApp()) SWIG_fail;
 
5836
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5837
    result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
 
5838
    wxPyEndAllowThreads(__tstate);
 
5839
    if (PyErr_Occurred()) SWIG_fail;
 
5840
  }
 
5841
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW |  0 );
 
5842
  {
 
5843
    if (temp7)
 
5844
    delete arg7;
 
5845
  }
 
5846
  return resultobj;
 
5847
fail:
 
5848
  {
 
5849
    if (temp7)
 
5850
    delete arg7;
 
5851
  }
 
5852
  return NULL;
 
5853
}
 
5854
 
 
5855
 
 
5856
SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5857
  PyObject *resultobj = 0;
 
5858
  wxPyTreeListCtrl *result = 0 ;
 
5859
  
 
5860
  if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
 
5861
  {
 
5862
    if (!wxPyCheckForApp()) SWIG_fail;
 
5863
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5864
    result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
 
5865
    wxPyEndAllowThreads(__tstate);
 
5866
    if (PyErr_Occurred()) SWIG_fail;
 
5867
  }
 
5868
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN |  0 );
 
5869
  return resultobj;
 
5870
fail:
 
5871
  return NULL;
 
5872
}
 
5873
 
 
5874
 
 
5875
SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5876
  PyObject *resultobj = 0;
 
5877
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
5878
  wxWindow *arg2 = (wxWindow *) 0 ;
 
5879
  int arg3 = (int) -1 ;
 
5880
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
5881
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
5882
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
5883
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
5884
  long arg6 = (long) wxTR_DEFAULT_STYLE ;
 
5885
  wxValidator const &arg7_defvalue = wxDefaultValidator ;
 
5886
  wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
 
5887
  wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
 
5888
  wxString *arg8 = (wxString *) &arg8_defvalue ;
 
5889
  bool result;
 
5890
  void *argp1 = 0 ;
 
5891
  int res1 = 0 ;
 
5892
  void *argp2 = 0 ;
 
5893
  int res2 = 0 ;
 
5894
  int val3 ;
 
5895
  int ecode3 = 0 ;
 
5896
  wxPoint temp4 ;
 
5897
  wxSize temp5 ;
 
5898
  long val6 ;
 
5899
  int ecode6 = 0 ;
 
5900
  void *argp7 = 0 ;
 
5901
  int res7 = 0 ;
 
5902
  bool temp8 = false ;
 
5903
  PyObject * obj0 = 0 ;
 
5904
  PyObject * obj1 = 0 ;
 
5905
  PyObject * obj2 = 0 ;
 
5906
  PyObject * obj3 = 0 ;
 
5907
  PyObject * obj4 = 0 ;
 
5908
  PyObject * obj5 = 0 ;
 
5909
  PyObject * obj6 = 0 ;
 
5910
  PyObject * obj7 = 0 ;
 
5911
  char *  kwnames[] = {
 
5912
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5913
  };
 
5914
  
 
5915
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
 
5916
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
5917
  if (!SWIG_IsOK(res1)) {
 
5918
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
5919
  }
 
5920
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
5921
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
5922
  if (!SWIG_IsOK(res2)) {
 
5923
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
5924
  }
 
5925
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
5926
  if (obj2) {
 
5927
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
5928
    if (!SWIG_IsOK(ecode3)) {
 
5929
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
 
5930
    } 
 
5931
    arg3 = static_cast< int >(val3);
 
5932
  }
 
5933
  if (obj3) {
 
5934
    {
 
5935
      arg4 = &temp4;
 
5936
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
5937
    }
 
5938
  }
 
5939
  if (obj4) {
 
5940
    {
 
5941
      arg5 = &temp5;
 
5942
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
5943
    }
 
5944
  }
 
5945
  if (obj5) {
 
5946
    ecode6 = SWIG_AsVal_long(obj5, &val6);
 
5947
    if (!SWIG_IsOK(ecode6)) {
 
5948
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
 
5949
    } 
 
5950
    arg6 = static_cast< long >(val6);
 
5951
  }
 
5952
  if (obj6) {
 
5953
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator,  0  | 0);
 
5954
    if (!SWIG_IsOK(res7)) {
 
5955
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
 
5956
    }
 
5957
    if (!argp7) {
 
5958
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
 
5959
    }
 
5960
    arg7 = reinterpret_cast< wxValidator * >(argp7);
 
5961
  }
 
5962
  if (obj7) {
 
5963
    {
 
5964
      arg8 = wxString_in_helper(obj7);
 
5965
      if (arg8 == NULL) SWIG_fail;
 
5966
      temp8 = true;
 
5967
    }
 
5968
  }
 
5969
  {
 
5970
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5971
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
 
5972
    wxPyEndAllowThreads(__tstate);
 
5973
    if (PyErr_Occurred()) SWIG_fail;
 
5974
  }
 
5975
  {
 
5976
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5977
  }
 
5978
  {
 
5979
    if (temp8)
 
5980
    delete arg8;
 
5981
  }
 
5982
  return resultobj;
 
5983
fail:
 
5984
  {
 
5985
    if (temp8)
 
5986
    delete arg8;
 
5987
  }
 
5988
  return NULL;
 
5989
}
 
5990
 
 
5991
 
 
5992
SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5993
  PyObject *resultobj = 0;
 
5994
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
5995
  PyObject *arg2 = (PyObject *) 0 ;
 
5996
  PyObject *arg3 = (PyObject *) 0 ;
 
5997
  void *argp1 = 0 ;
 
5998
  int res1 = 0 ;
 
5999
  PyObject * obj0 = 0 ;
 
6000
  PyObject * obj1 = 0 ;
 
6001
  PyObject * obj2 = 0 ;
 
6002
  char *  kwnames[] = {
 
6003
    (char *) "self",(char *) "self",(char *) "_class", NULL 
 
6004
  };
 
6005
  
 
6006
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6007
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6008
  if (!SWIG_IsOK(res1)) {
 
6009
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6010
  }
 
6011
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6012
  arg2 = obj1;
 
6013
  arg3 = obj2;
 
6014
  {
 
6015
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6016
    (arg1)->_setCallbackInfo(arg2,arg3);
 
6017
    wxPyEndAllowThreads(__tstate);
 
6018
    if (PyErr_Occurred()) SWIG_fail;
 
6019
  }
 
6020
  resultobj = SWIG_Py_Void();
 
6021
  return resultobj;
 
6022
fail:
 
6023
  return NULL;
 
6024
}
 
6025
 
 
6026
 
 
6027
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6028
  PyObject *resultobj = 0;
 
6029
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6030
  size_t result;
 
6031
  void *argp1 = 0 ;
 
6032
  int res1 = 0 ;
 
6033
  PyObject *swig_obj[1] ;
 
6034
  
 
6035
  if (!args) SWIG_fail;
 
6036
  swig_obj[0] = args;
 
6037
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6038
  if (!SWIG_IsOK(res1)) {
 
6039
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6040
  }
 
6041
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6042
  {
 
6043
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6044
    result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
 
6045
    wxPyEndAllowThreads(__tstate);
 
6046
    if (PyErr_Occurred()) SWIG_fail;
 
6047
  }
 
6048
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
6049
  return resultobj;
 
6050
fail:
 
6051
  return NULL;
 
6052
}
 
6053
 
 
6054
 
 
6055
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6056
  PyObject *resultobj = 0;
 
6057
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6058
  unsigned int result;
 
6059
  void *argp1 = 0 ;
 
6060
  int res1 = 0 ;
 
6061
  PyObject *swig_obj[1] ;
 
6062
  
 
6063
  if (!args) SWIG_fail;
 
6064
  swig_obj[0] = args;
 
6065
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6066
  if (!SWIG_IsOK(res1)) {
 
6067
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6068
  }
 
6069
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6070
  {
 
6071
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6072
    result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
 
6073
    wxPyEndAllowThreads(__tstate);
 
6074
    if (PyErr_Occurred()) SWIG_fail;
 
6075
  }
 
6076
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
 
6077
  return resultobj;
 
6078
fail:
 
6079
  return NULL;
 
6080
}
 
6081
 
 
6082
 
 
6083
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6084
  PyObject *resultobj = 0;
 
6085
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6086
  unsigned int arg2 ;
 
6087
  void *argp1 = 0 ;
 
6088
  int res1 = 0 ;
 
6089
  unsigned int val2 ;
 
6090
  int ecode2 = 0 ;
 
6091
  PyObject * obj0 = 0 ;
 
6092
  PyObject * obj1 = 0 ;
 
6093
  char *  kwnames[] = {
 
6094
    (char *) "self",(char *) "indent", NULL 
 
6095
  };
 
6096
  
 
6097
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
 
6098
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6099
  if (!SWIG_IsOK(res1)) {
 
6100
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6101
  }
 
6102
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6103
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
 
6104
  if (!SWIG_IsOK(ecode2)) {
 
6105
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
 
6106
  } 
 
6107
  arg2 = static_cast< unsigned int >(val2);
 
6108
  {
 
6109
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6110
    (arg1)->SetIndent(arg2);
 
6111
    wxPyEndAllowThreads(__tstate);
 
6112
    if (PyErr_Occurred()) SWIG_fail;
 
6113
  }
 
6114
  resultobj = SWIG_Py_Void();
 
6115
  return resultobj;
 
6116
fail:
 
6117
  return NULL;
 
6118
}
 
6119
 
 
6120
 
 
6121
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6122
  PyObject *resultobj = 0;
 
6123
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6124
  unsigned int result;
 
6125
  void *argp1 = 0 ;
 
6126
  int res1 = 0 ;
 
6127
  PyObject *swig_obj[1] ;
 
6128
  
 
6129
  if (!args) SWIG_fail;
 
6130
  swig_obj[0] = args;
 
6131
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6132
  if (!SWIG_IsOK(res1)) {
 
6133
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6134
  }
 
6135
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6136
  {
 
6137
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6138
    result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
 
6139
    wxPyEndAllowThreads(__tstate);
 
6140
    if (PyErr_Occurred()) SWIG_fail;
 
6141
  }
 
6142
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
 
6143
  return resultobj;
 
6144
fail:
 
6145
  return NULL;
 
6146
}
 
6147
 
 
6148
 
 
6149
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6150
  PyObject *resultobj = 0;
 
6151
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6152
  unsigned int arg2 ;
 
6153
  void *argp1 = 0 ;
 
6154
  int res1 = 0 ;
 
6155
  unsigned int val2 ;
 
6156
  int ecode2 = 0 ;
 
6157
  PyObject * obj0 = 0 ;
 
6158
  PyObject * obj1 = 0 ;
 
6159
  char *  kwnames[] = {
 
6160
    (char *) "self",(char *) "spacing", NULL 
 
6161
  };
 
6162
  
 
6163
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
 
6164
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6165
  if (!SWIG_IsOK(res1)) {
 
6166
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6167
  }
 
6168
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6169
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
 
6170
  if (!SWIG_IsOK(ecode2)) {
 
6171
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
 
6172
  } 
 
6173
  arg2 = static_cast< unsigned int >(val2);
 
6174
  {
 
6175
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6176
    (arg1)->SetLineSpacing(arg2);
 
6177
    wxPyEndAllowThreads(__tstate);
 
6178
    if (PyErr_Occurred()) SWIG_fail;
 
6179
  }
 
6180
  resultobj = SWIG_Py_Void();
 
6181
  return resultobj;
 
6182
fail:
 
6183
  return NULL;
 
6184
}
 
6185
 
 
6186
 
 
6187
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6188
  PyObject *resultobj = 0;
 
6189
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6190
  wxImageList *result = 0 ;
 
6191
  void *argp1 = 0 ;
 
6192
  int res1 = 0 ;
 
6193
  PyObject *swig_obj[1] ;
 
6194
  
 
6195
  if (!args) SWIG_fail;
 
6196
  swig_obj[0] = args;
 
6197
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6198
  if (!SWIG_IsOK(res1)) {
 
6199
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6200
  }
 
6201
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6202
  {
 
6203
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6204
    result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
 
6205
    wxPyEndAllowThreads(__tstate);
 
6206
    if (PyErr_Occurred()) SWIG_fail;
 
6207
  }
 
6208
  {
 
6209
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
6210
  }
 
6211
  return resultobj;
 
6212
fail:
 
6213
  return NULL;
 
6214
}
 
6215
 
 
6216
 
 
6217
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6218
  PyObject *resultobj = 0;
 
6219
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6220
  wxImageList *result = 0 ;
 
6221
  void *argp1 = 0 ;
 
6222
  int res1 = 0 ;
 
6223
  PyObject *swig_obj[1] ;
 
6224
  
 
6225
  if (!args) SWIG_fail;
 
6226
  swig_obj[0] = args;
 
6227
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6228
  if (!SWIG_IsOK(res1)) {
 
6229
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6230
  }
 
6231
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6232
  {
 
6233
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6234
    result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
 
6235
    wxPyEndAllowThreads(__tstate);
 
6236
    if (PyErr_Occurred()) SWIG_fail;
 
6237
  }
 
6238
  {
 
6239
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
6240
  }
 
6241
  return resultobj;
 
6242
fail:
 
6243
  return NULL;
 
6244
}
 
6245
 
 
6246
 
 
6247
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6248
  PyObject *resultobj = 0;
 
6249
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6250
  wxImageList *result = 0 ;
 
6251
  void *argp1 = 0 ;
 
6252
  int res1 = 0 ;
 
6253
  PyObject *swig_obj[1] ;
 
6254
  
 
6255
  if (!args) SWIG_fail;
 
6256
  swig_obj[0] = args;
 
6257
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6258
  if (!SWIG_IsOK(res1)) {
 
6259
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6260
  }
 
6261
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6262
  {
 
6263
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6264
    result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
 
6265
    wxPyEndAllowThreads(__tstate);
 
6266
    if (PyErr_Occurred()) SWIG_fail;
 
6267
  }
 
6268
  {
 
6269
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
6270
  }
 
6271
  return resultobj;
 
6272
fail:
 
6273
  return NULL;
 
6274
}
 
6275
 
 
6276
 
 
6277
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6278
  PyObject *resultobj = 0;
 
6279
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6280
  wxImageList *arg2 = (wxImageList *) 0 ;
 
6281
  void *argp1 = 0 ;
 
6282
  int res1 = 0 ;
 
6283
  void *argp2 = 0 ;
 
6284
  int res2 = 0 ;
 
6285
  PyObject * obj0 = 0 ;
 
6286
  PyObject * obj1 = 0 ;
 
6287
  char *  kwnames[] = {
 
6288
    (char *) "self",(char *) "imageList", NULL 
 
6289
  };
 
6290
  
 
6291
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
 
6292
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6293
  if (!SWIG_IsOK(res1)) {
 
6294
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6295
  }
 
6296
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6297
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 |  0 );
 
6298
  if (!SWIG_IsOK(res2)) {
 
6299
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); 
 
6300
  }
 
6301
  arg2 = reinterpret_cast< wxImageList * >(argp2);
 
6302
  {
 
6303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6304
    (arg1)->SetImageList(arg2);
 
6305
    wxPyEndAllowThreads(__tstate);
 
6306
    if (PyErr_Occurred()) SWIG_fail;
 
6307
  }
 
6308
  resultobj = SWIG_Py_Void();
 
6309
  return resultobj;
 
6310
fail:
 
6311
  return NULL;
 
6312
}
 
6313
 
 
6314
 
 
6315
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6316
  PyObject *resultobj = 0;
 
6317
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6318
  wxImageList *arg2 = (wxImageList *) 0 ;
 
6319
  void *argp1 = 0 ;
 
6320
  int res1 = 0 ;
 
6321
  void *argp2 = 0 ;
 
6322
  int res2 = 0 ;
 
6323
  PyObject * obj0 = 0 ;
 
6324
  PyObject * obj1 = 0 ;
 
6325
  char *  kwnames[] = {
 
6326
    (char *) "self",(char *) "imageList", NULL 
 
6327
  };
 
6328
  
 
6329
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
 
6330
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6331
  if (!SWIG_IsOK(res1)) {
 
6332
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6333
  }
 
6334
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6335
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 |  0 );
 
6336
  if (!SWIG_IsOK(res2)) {
 
6337
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); 
 
6338
  }
 
6339
  arg2 = reinterpret_cast< wxImageList * >(argp2);
 
6340
  {
 
6341
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6342
    (arg1)->SetStateImageList(arg2);
 
6343
    wxPyEndAllowThreads(__tstate);
 
6344
    if (PyErr_Occurred()) SWIG_fail;
 
6345
  }
 
6346
  resultobj = SWIG_Py_Void();
 
6347
  return resultobj;
 
6348
fail:
 
6349
  return NULL;
 
6350
}
 
6351
 
 
6352
 
 
6353
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6354
  PyObject *resultobj = 0;
 
6355
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6356
  wxImageList *arg2 = (wxImageList *) 0 ;
 
6357
  void *argp1 = 0 ;
 
6358
  int res1 = 0 ;
 
6359
  void *argp2 = 0 ;
 
6360
  int res2 = 0 ;
 
6361
  PyObject * obj0 = 0 ;
 
6362
  PyObject * obj1 = 0 ;
 
6363
  char *  kwnames[] = {
 
6364
    (char *) "self",(char *) "imageList", NULL 
 
6365
  };
 
6366
  
 
6367
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
 
6368
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6369
  if (!SWIG_IsOK(res1)) {
 
6370
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6371
  }
 
6372
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6373
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 |  0 );
 
6374
  if (!SWIG_IsOK(res2)) {
 
6375
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); 
 
6376
  }
 
6377
  arg2 = reinterpret_cast< wxImageList * >(argp2);
 
6378
  {
 
6379
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6380
    (arg1)->SetButtonsImageList(arg2);
 
6381
    wxPyEndAllowThreads(__tstate);
 
6382
    if (PyErr_Occurred()) SWIG_fail;
 
6383
  }
 
6384
  resultobj = SWIG_Py_Void();
 
6385
  return resultobj;
 
6386
fail:
 
6387
  return NULL;
 
6388
}
 
6389
 
 
6390
 
 
6391
SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6392
  PyObject *resultobj = 0;
 
6393
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6394
  wxImageList *arg2 = (wxImageList *) 0 ;
 
6395
  void *argp1 = 0 ;
 
6396
  int res1 = 0 ;
 
6397
  int res2 = 0 ;
 
6398
  PyObject * obj0 = 0 ;
 
6399
  PyObject * obj1 = 0 ;
 
6400
  char *  kwnames[] = {
 
6401
    (char *) "self",(char *) "imageList", NULL 
 
6402
  };
 
6403
  
 
6404
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
 
6405
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6406
  if (!SWIG_IsOK(res1)) {
 
6407
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6408
  }
 
6409
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6410
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN |  0 );
 
6411
  if (!SWIG_IsOK(res2)) {
 
6412
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
 
6413
  }
 
6414
  {
 
6415
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6416
    (arg1)->AssignImageList(arg2);
 
6417
    wxPyEndAllowThreads(__tstate);
 
6418
    if (PyErr_Occurred()) SWIG_fail;
 
6419
  }
 
6420
  resultobj = SWIG_Py_Void();
 
6421
  return resultobj;
 
6422
fail:
 
6423
  return NULL;
 
6424
}
 
6425
 
 
6426
 
 
6427
SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6428
  PyObject *resultobj = 0;
 
6429
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6430
  wxImageList *arg2 = (wxImageList *) 0 ;
 
6431
  void *argp1 = 0 ;
 
6432
  int res1 = 0 ;
 
6433
  int res2 = 0 ;
 
6434
  PyObject * obj0 = 0 ;
 
6435
  PyObject * obj1 = 0 ;
 
6436
  char *  kwnames[] = {
 
6437
    (char *) "self",(char *) "imageList", NULL 
 
6438
  };
 
6439
  
 
6440
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
 
6441
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6442
  if (!SWIG_IsOK(res1)) {
 
6443
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6444
  }
 
6445
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6446
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN |  0 );
 
6447
  if (!SWIG_IsOK(res2)) {
 
6448
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
 
6449
  }
 
6450
  {
 
6451
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6452
    (arg1)->AssignStateImageList(arg2);
 
6453
    wxPyEndAllowThreads(__tstate);
 
6454
    if (PyErr_Occurred()) SWIG_fail;
 
6455
  }
 
6456
  resultobj = SWIG_Py_Void();
 
6457
  return resultobj;
 
6458
fail:
 
6459
  return NULL;
 
6460
}
 
6461
 
 
6462
 
 
6463
SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6464
  PyObject *resultobj = 0;
 
6465
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6466
  wxImageList *arg2 = (wxImageList *) 0 ;
 
6467
  void *argp1 = 0 ;
 
6468
  int res1 = 0 ;
 
6469
  int res2 = 0 ;
 
6470
  PyObject * obj0 = 0 ;
 
6471
  PyObject * obj1 = 0 ;
 
6472
  char *  kwnames[] = {
 
6473
    (char *) "self",(char *) "imageList", NULL 
 
6474
  };
 
6475
  
 
6476
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
 
6477
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6478
  if (!SWIG_IsOK(res1)) {
 
6479
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6480
  }
 
6481
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6482
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN |  0 );
 
6483
  if (!SWIG_IsOK(res2)) {
 
6484
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
 
6485
  }
 
6486
  {
 
6487
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6488
    (arg1)->AssignButtonsImageList(arg2);
 
6489
    wxPyEndAllowThreads(__tstate);
 
6490
    if (PyErr_Occurred()) SWIG_fail;
 
6491
  }
 
6492
  resultobj = SWIG_Py_Void();
 
6493
  return resultobj;
 
6494
fail:
 
6495
  return NULL;
 
6496
}
 
6497
 
 
6498
 
 
6499
SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6500
  PyObject *resultobj = 0;
 
6501
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6502
  wxString *arg2 = 0 ;
 
6503
  int arg3 = (int) DEFAULT_COL_WIDTH ;
 
6504
  int arg4 = (int) wxALIGN_LEFT ;
 
6505
  int arg5 = (int) -1 ;
 
6506
  bool arg6 = (bool) true ;
 
6507
  bool arg7 = (bool) false ;
 
6508
  void *argp1 = 0 ;
 
6509
  int res1 = 0 ;
 
6510
  bool temp2 = false ;
 
6511
  int val3 ;
 
6512
  int ecode3 = 0 ;
 
6513
  int val4 ;
 
6514
  int ecode4 = 0 ;
 
6515
  int val5 ;
 
6516
  int ecode5 = 0 ;
 
6517
  bool val6 ;
 
6518
  int ecode6 = 0 ;
 
6519
  bool val7 ;
 
6520
  int ecode7 = 0 ;
 
6521
  PyObject * obj0 = 0 ;
 
6522
  PyObject * obj1 = 0 ;
 
6523
  PyObject * obj2 = 0 ;
 
6524
  PyObject * obj3 = 0 ;
 
6525
  PyObject * obj4 = 0 ;
 
6526
  PyObject * obj5 = 0 ;
 
6527
  PyObject * obj6 = 0 ;
 
6528
  char *  kwnames[] = {
 
6529
    (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL 
 
6530
  };
 
6531
  
 
6532
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
6533
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6534
  if (!SWIG_IsOK(res1)) {
 
6535
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6536
  }
 
6537
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6538
  {
 
6539
    arg2 = wxString_in_helper(obj1);
 
6540
    if (arg2 == NULL) SWIG_fail;
 
6541
    temp2 = true;
 
6542
  }
 
6543
  if (obj2) {
 
6544
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
6545
    if (!SWIG_IsOK(ecode3)) {
 
6546
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
 
6547
    } 
 
6548
    arg3 = static_cast< int >(val3);
 
6549
  }
 
6550
  if (obj3) {
 
6551
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
6552
    if (!SWIG_IsOK(ecode4)) {
 
6553
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
 
6554
    } 
 
6555
    arg4 = static_cast< int >(val4);
 
6556
  }
 
6557
  if (obj4) {
 
6558
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
6559
    if (!SWIG_IsOK(ecode5)) {
 
6560
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
 
6561
    } 
 
6562
    arg5 = static_cast< int >(val5);
 
6563
  }
 
6564
  if (obj5) {
 
6565
    ecode6 = SWIG_AsVal_bool(obj5, &val6);
 
6566
    if (!SWIG_IsOK(ecode6)) {
 
6567
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
 
6568
    } 
 
6569
    arg6 = static_cast< bool >(val6);
 
6570
  }
 
6571
  if (obj6) {
 
6572
    ecode7 = SWIG_AsVal_bool(obj6, &val7);
 
6573
    if (!SWIG_IsOK(ecode7)) {
 
6574
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
 
6575
    } 
 
6576
    arg7 = static_cast< bool >(val7);
 
6577
  }
 
6578
  {
 
6579
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6580
    (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
 
6581
    wxPyEndAllowThreads(__tstate);
 
6582
    if (PyErr_Occurred()) SWIG_fail;
 
6583
  }
 
6584
  resultobj = SWIG_Py_Void();
 
6585
  {
 
6586
    if (temp2)
 
6587
    delete arg2;
 
6588
  }
 
6589
  return resultobj;
 
6590
fail:
 
6591
  {
 
6592
    if (temp2)
 
6593
    delete arg2;
 
6594
  }
 
6595
  return NULL;
 
6596
}
 
6597
 
 
6598
 
 
6599
SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6600
  PyObject *resultobj = 0;
 
6601
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6602
  wxTreeListColumnInfo *arg2 = 0 ;
 
6603
  void *argp1 = 0 ;
 
6604
  int res1 = 0 ;
 
6605
  void *argp2 = 0 ;
 
6606
  int res2 = 0 ;
 
6607
  PyObject * obj0 = 0 ;
 
6608
  PyObject * obj1 = 0 ;
 
6609
  char *  kwnames[] = {
 
6610
    (char *) "self",(char *) "col", NULL 
 
6611
  };
 
6612
  
 
6613
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
 
6614
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6615
  if (!SWIG_IsOK(res1)) {
 
6616
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6617
  }
 
6618
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6619
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo,  0  | 0);
 
6620
  if (!SWIG_IsOK(res2)) {
 
6621
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'"); 
 
6622
  }
 
6623
  if (!argp2) {
 
6624
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'"); 
 
6625
  }
 
6626
  arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
 
6627
  {
 
6628
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6629
    (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
 
6630
    wxPyEndAllowThreads(__tstate);
 
6631
    if (PyErr_Occurred()) SWIG_fail;
 
6632
  }
 
6633
  resultobj = SWIG_Py_Void();
 
6634
  return resultobj;
 
6635
fail:
 
6636
  return NULL;
 
6637
}
 
6638
 
 
6639
 
 
6640
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6641
  PyObject *resultobj = 0;
 
6642
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6643
  int arg2 ;
 
6644
  wxString *arg3 = 0 ;
 
6645
  int arg4 = (int) DEFAULT_COL_WIDTH ;
 
6646
  int arg5 = (int) wxALIGN_LEFT ;
 
6647
  int arg6 = (int) -1 ;
 
6648
  bool arg7 = (bool) true ;
 
6649
  bool arg8 = (bool) false ;
 
6650
  void *argp1 = 0 ;
 
6651
  int res1 = 0 ;
 
6652
  int val2 ;
 
6653
  int ecode2 = 0 ;
 
6654
  bool temp3 = false ;
 
6655
  int val4 ;
 
6656
  int ecode4 = 0 ;
 
6657
  int val5 ;
 
6658
  int ecode5 = 0 ;
 
6659
  int val6 ;
 
6660
  int ecode6 = 0 ;
 
6661
  bool val7 ;
 
6662
  int ecode7 = 0 ;
 
6663
  bool val8 ;
 
6664
  int ecode8 = 0 ;
 
6665
  PyObject * obj0 = 0 ;
 
6666
  PyObject * obj1 = 0 ;
 
6667
  PyObject * obj2 = 0 ;
 
6668
  PyObject * obj3 = 0 ;
 
6669
  PyObject * obj4 = 0 ;
 
6670
  PyObject * obj5 = 0 ;
 
6671
  PyObject * obj6 = 0 ;
 
6672
  PyObject * obj7 = 0 ;
 
6673
  char *  kwnames[] = {
 
6674
    (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL 
 
6675
  };
 
6676
  
 
6677
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
 
6678
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6679
  if (!SWIG_IsOK(res1)) {
 
6680
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6681
  }
 
6682
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6683
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6684
  if (!SWIG_IsOK(ecode2)) {
 
6685
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
 
6686
  } 
 
6687
  arg2 = static_cast< int >(val2);
 
6688
  {
 
6689
    arg3 = wxString_in_helper(obj2);
 
6690
    if (arg3 == NULL) SWIG_fail;
 
6691
    temp3 = true;
 
6692
  }
 
6693
  if (obj3) {
 
6694
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
6695
    if (!SWIG_IsOK(ecode4)) {
 
6696
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
 
6697
    } 
 
6698
    arg4 = static_cast< int >(val4);
 
6699
  }
 
6700
  if (obj4) {
 
6701
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
6702
    if (!SWIG_IsOK(ecode5)) {
 
6703
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
 
6704
    } 
 
6705
    arg5 = static_cast< int >(val5);
 
6706
  }
 
6707
  if (obj5) {
 
6708
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
6709
    if (!SWIG_IsOK(ecode6)) {
 
6710
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
 
6711
    } 
 
6712
    arg6 = static_cast< int >(val6);
 
6713
  }
 
6714
  if (obj6) {
 
6715
    ecode7 = SWIG_AsVal_bool(obj6, &val7);
 
6716
    if (!SWIG_IsOK(ecode7)) {
 
6717
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
 
6718
    } 
 
6719
    arg7 = static_cast< bool >(val7);
 
6720
  }
 
6721
  if (obj7) {
 
6722
    ecode8 = SWIG_AsVal_bool(obj7, &val8);
 
6723
    if (!SWIG_IsOK(ecode8)) {
 
6724
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
 
6725
    } 
 
6726
    arg8 = static_cast< bool >(val8);
 
6727
  }
 
6728
  {
 
6729
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6730
    (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
 
6731
    wxPyEndAllowThreads(__tstate);
 
6732
    if (PyErr_Occurred()) SWIG_fail;
 
6733
  }
 
6734
  resultobj = SWIG_Py_Void();
 
6735
  {
 
6736
    if (temp3)
 
6737
    delete arg3;
 
6738
  }
 
6739
  return resultobj;
 
6740
fail:
 
6741
  {
 
6742
    if (temp3)
 
6743
    delete arg3;
 
6744
  }
 
6745
  return NULL;
 
6746
}
 
6747
 
 
6748
 
 
6749
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6750
  PyObject *resultobj = 0;
 
6751
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6752
  size_t arg2 ;
 
6753
  wxTreeListColumnInfo *arg3 = 0 ;
 
6754
  void *argp1 = 0 ;
 
6755
  int res1 = 0 ;
 
6756
  size_t val2 ;
 
6757
  int ecode2 = 0 ;
 
6758
  void *argp3 = 0 ;
 
6759
  int res3 = 0 ;
 
6760
  PyObject * obj0 = 0 ;
 
6761
  PyObject * obj1 = 0 ;
 
6762
  PyObject * obj2 = 0 ;
 
6763
  char *  kwnames[] = {
 
6764
    (char *) "self",(char *) "before",(char *) "col", NULL 
 
6765
  };
 
6766
  
 
6767
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6768
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6769
  if (!SWIG_IsOK(res1)) {
 
6770
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6771
  }
 
6772
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6773
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
6774
  if (!SWIG_IsOK(ecode2)) {
 
6775
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
 
6776
  } 
 
6777
  arg2 = static_cast< size_t >(val2);
 
6778
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo,  0  | 0);
 
6779
  if (!SWIG_IsOK(res3)) {
 
6780
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); 
 
6781
  }
 
6782
  if (!argp3) {
 
6783
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); 
 
6784
  }
 
6785
  arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
 
6786
  {
 
6787
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6788
    (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
 
6789
    wxPyEndAllowThreads(__tstate);
 
6790
    if (PyErr_Occurred()) SWIG_fail;
 
6791
  }
 
6792
  resultobj = SWIG_Py_Void();
 
6793
  return resultobj;
 
6794
fail:
 
6795
  return NULL;
 
6796
}
 
6797
 
 
6798
 
 
6799
SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6800
  PyObject *resultobj = 0;
 
6801
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6802
  size_t arg2 ;
 
6803
  void *argp1 = 0 ;
 
6804
  int res1 = 0 ;
 
6805
  size_t val2 ;
 
6806
  int ecode2 = 0 ;
 
6807
  PyObject * obj0 = 0 ;
 
6808
  PyObject * obj1 = 0 ;
 
6809
  char *  kwnames[] = {
 
6810
    (char *) "self",(char *) "column", NULL 
 
6811
  };
 
6812
  
 
6813
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
 
6814
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6815
  if (!SWIG_IsOK(res1)) {
 
6816
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6817
  }
 
6818
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6819
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
6820
  if (!SWIG_IsOK(ecode2)) {
 
6821
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
 
6822
  } 
 
6823
  arg2 = static_cast< size_t >(val2);
 
6824
  {
 
6825
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6826
    (arg1)->RemoveColumn(arg2);
 
6827
    wxPyEndAllowThreads(__tstate);
 
6828
    if (PyErr_Occurred()) SWIG_fail;
 
6829
  }
 
6830
  resultobj = SWIG_Py_Void();
 
6831
  return resultobj;
 
6832
fail:
 
6833
  return NULL;
 
6834
}
 
6835
 
 
6836
 
 
6837
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6838
  PyObject *resultobj = 0;
 
6839
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6840
  size_t result;
 
6841
  void *argp1 = 0 ;
 
6842
  int res1 = 0 ;
 
6843
  PyObject *swig_obj[1] ;
 
6844
  
 
6845
  if (!args) SWIG_fail;
 
6846
  swig_obj[0] = args;
 
6847
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6848
  if (!SWIG_IsOK(res1)) {
 
6849
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6850
  }
 
6851
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6852
  {
 
6853
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6854
    result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
 
6855
    wxPyEndAllowThreads(__tstate);
 
6856
    if (PyErr_Occurred()) SWIG_fail;
 
6857
  }
 
6858
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
6859
  return resultobj;
 
6860
fail:
 
6861
  return NULL;
 
6862
}
 
6863
 
 
6864
 
 
6865
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6866
  PyObject *resultobj = 0;
 
6867
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6868
  size_t arg2 ;
 
6869
  void *argp1 = 0 ;
 
6870
  int res1 = 0 ;
 
6871
  size_t val2 ;
 
6872
  int ecode2 = 0 ;
 
6873
  PyObject * obj0 = 0 ;
 
6874
  PyObject * obj1 = 0 ;
 
6875
  char *  kwnames[] = {
 
6876
    (char *) "self",(char *) "column", NULL 
 
6877
  };
 
6878
  
 
6879
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
 
6880
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6881
  if (!SWIG_IsOK(res1)) {
 
6882
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6883
  }
 
6884
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6885
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
6886
  if (!SWIG_IsOK(ecode2)) {
 
6887
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
 
6888
  } 
 
6889
  arg2 = static_cast< size_t >(val2);
 
6890
  {
 
6891
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6892
    (arg1)->SetMainColumn(arg2);
 
6893
    wxPyEndAllowThreads(__tstate);
 
6894
    if (PyErr_Occurred()) SWIG_fail;
 
6895
  }
 
6896
  resultobj = SWIG_Py_Void();
 
6897
  return resultobj;
 
6898
fail:
 
6899
  return NULL;
 
6900
}
 
6901
 
 
6902
 
 
6903
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6904
  PyObject *resultobj = 0;
 
6905
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6906
  size_t result;
 
6907
  void *argp1 = 0 ;
 
6908
  int res1 = 0 ;
 
6909
  PyObject *swig_obj[1] ;
 
6910
  
 
6911
  if (!args) SWIG_fail;
 
6912
  swig_obj[0] = args;
 
6913
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6914
  if (!SWIG_IsOK(res1)) {
 
6915
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
6916
  }
 
6917
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6918
  {
 
6919
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6920
    result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
 
6921
    wxPyEndAllowThreads(__tstate);
 
6922
    if (PyErr_Occurred()) SWIG_fail;
 
6923
  }
 
6924
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
6925
  return resultobj;
 
6926
fail:
 
6927
  return NULL;
 
6928
}
 
6929
 
 
6930
 
 
6931
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6932
  PyObject *resultobj = 0;
 
6933
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6934
  int arg2 ;
 
6935
  wxTreeListColumnInfo *arg3 = 0 ;
 
6936
  void *argp1 = 0 ;
 
6937
  int res1 = 0 ;
 
6938
  int val2 ;
 
6939
  int ecode2 = 0 ;
 
6940
  void *argp3 = 0 ;
 
6941
  int res3 = 0 ;
 
6942
  PyObject * obj0 = 0 ;
 
6943
  PyObject * obj1 = 0 ;
 
6944
  PyObject * obj2 = 0 ;
 
6945
  char *  kwnames[] = {
 
6946
    (char *) "self",(char *) "column",(char *) "colInfo", NULL 
 
6947
  };
 
6948
  
 
6949
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6950
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6951
  if (!SWIG_IsOK(res1)) {
 
6952
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
6953
  }
 
6954
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
6955
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6956
  if (!SWIG_IsOK(ecode2)) {
 
6957
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
 
6958
  } 
 
6959
  arg2 = static_cast< int >(val2);
 
6960
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo,  0  | 0);
 
6961
  if (!SWIG_IsOK(res3)) {
 
6962
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); 
 
6963
  }
 
6964
  if (!argp3) {
 
6965
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); 
 
6966
  }
 
6967
  arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
 
6968
  {
 
6969
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6970
    (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
 
6971
    wxPyEndAllowThreads(__tstate);
 
6972
    if (PyErr_Occurred()) SWIG_fail;
 
6973
  }
 
6974
  resultobj = SWIG_Py_Void();
 
6975
  return resultobj;
 
6976
fail:
 
6977
  return NULL;
 
6978
}
 
6979
 
 
6980
 
 
6981
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6982
  PyObject *resultobj = 0;
 
6983
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
6984
  int arg2 ;
 
6985
  wxTreeListColumnInfo *result = 0 ;
 
6986
  void *argp1 = 0 ;
 
6987
  int res1 = 0 ;
 
6988
  int val2 ;
 
6989
  int ecode2 = 0 ;
 
6990
  PyObject * obj0 = 0 ;
 
6991
  PyObject * obj1 = 0 ;
 
6992
  char *  kwnames[] = {
 
6993
    (char *) "self",(char *) "column", NULL 
 
6994
  };
 
6995
  
 
6996
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
 
6997
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
6998
  if (!SWIG_IsOK(res1)) {
 
6999
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7000
  }
 
7001
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7002
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7003
  if (!SWIG_IsOK(ecode2)) {
 
7004
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
 
7005
  } 
 
7006
  arg2 = static_cast< int >(val2);
 
7007
  {
 
7008
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7009
    {
 
7010
      wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
 
7011
      result = (wxTreeListColumnInfo *) &_result_ref;
 
7012
    }
 
7013
    wxPyEndAllowThreads(__tstate);
 
7014
    if (PyErr_Occurred()) SWIG_fail;
 
7015
  }
 
7016
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 |  0 );
 
7017
  return resultobj;
 
7018
fail:
 
7019
  return NULL;
 
7020
}
 
7021
 
 
7022
 
 
7023
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7024
  PyObject *resultobj = 0;
 
7025
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7026
  int arg2 ;
 
7027
  wxString *arg3 = 0 ;
 
7028
  void *argp1 = 0 ;
 
7029
  int res1 = 0 ;
 
7030
  int val2 ;
 
7031
  int ecode2 = 0 ;
 
7032
  bool temp3 = false ;
 
7033
  PyObject * obj0 = 0 ;
 
7034
  PyObject * obj1 = 0 ;
 
7035
  PyObject * obj2 = 0 ;
 
7036
  char *  kwnames[] = {
 
7037
    (char *) "self",(char *) "column",(char *) "text", NULL 
 
7038
  };
 
7039
  
 
7040
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7041
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7042
  if (!SWIG_IsOK(res1)) {
 
7043
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7044
  }
 
7045
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7046
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7047
  if (!SWIG_IsOK(ecode2)) {
 
7048
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
 
7049
  } 
 
7050
  arg2 = static_cast< int >(val2);
 
7051
  {
 
7052
    arg3 = wxString_in_helper(obj2);
 
7053
    if (arg3 == NULL) SWIG_fail;
 
7054
    temp3 = true;
 
7055
  }
 
7056
  {
 
7057
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7058
    (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
 
7059
    wxPyEndAllowThreads(__tstate);
 
7060
    if (PyErr_Occurred()) SWIG_fail;
 
7061
  }
 
7062
  resultobj = SWIG_Py_Void();
 
7063
  {
 
7064
    if (temp3)
 
7065
    delete arg3;
 
7066
  }
 
7067
  return resultobj;
 
7068
fail:
 
7069
  {
 
7070
    if (temp3)
 
7071
    delete arg3;
 
7072
  }
 
7073
  return NULL;
 
7074
}
 
7075
 
 
7076
 
 
7077
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7078
  PyObject *resultobj = 0;
 
7079
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7080
  int arg2 ;
 
7081
  wxString result;
 
7082
  void *argp1 = 0 ;
 
7083
  int res1 = 0 ;
 
7084
  int val2 ;
 
7085
  int ecode2 = 0 ;
 
7086
  PyObject * obj0 = 0 ;
 
7087
  PyObject * obj1 = 0 ;
 
7088
  char *  kwnames[] = {
 
7089
    (char *) "self",(char *) "column", NULL 
 
7090
  };
 
7091
  
 
7092
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
 
7093
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7094
  if (!SWIG_IsOK(res1)) {
 
7095
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
7096
  }
 
7097
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7098
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7099
  if (!SWIG_IsOK(ecode2)) {
 
7100
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
 
7101
  } 
 
7102
  arg2 = static_cast< int >(val2);
 
7103
  {
 
7104
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7105
    result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
 
7106
    wxPyEndAllowThreads(__tstate);
 
7107
    if (PyErr_Occurred()) SWIG_fail;
 
7108
  }
 
7109
  {
 
7110
#if wxUSE_UNICODE
 
7111
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
7112
#else
 
7113
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
7114
#endif
 
7115
  }
 
7116
  return resultobj;
 
7117
fail:
 
7118
  return NULL;
 
7119
}
 
7120
 
 
7121
 
 
7122
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7123
  PyObject *resultobj = 0;
 
7124
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7125
  int arg2 ;
 
7126
  int arg3 ;
 
7127
  void *argp1 = 0 ;
 
7128
  int res1 = 0 ;
 
7129
  int val2 ;
 
7130
  int ecode2 = 0 ;
 
7131
  int val3 ;
 
7132
  int ecode3 = 0 ;
 
7133
  PyObject * obj0 = 0 ;
 
7134
  PyObject * obj1 = 0 ;
 
7135
  PyObject * obj2 = 0 ;
 
7136
  char *  kwnames[] = {
 
7137
    (char *) "self",(char *) "column",(char *) "width", NULL 
 
7138
  };
 
7139
  
 
7140
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7141
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7142
  if (!SWIG_IsOK(res1)) {
 
7143
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7144
  }
 
7145
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7146
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7147
  if (!SWIG_IsOK(ecode2)) {
 
7148
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
 
7149
  } 
 
7150
  arg2 = static_cast< int >(val2);
 
7151
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7152
  if (!SWIG_IsOK(ecode3)) {
 
7153
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
 
7154
  } 
 
7155
  arg3 = static_cast< int >(val3);
 
7156
  {
 
7157
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7158
    (arg1)->SetColumnWidth(arg2,arg3);
 
7159
    wxPyEndAllowThreads(__tstate);
 
7160
    if (PyErr_Occurred()) SWIG_fail;
 
7161
  }
 
7162
  resultobj = SWIG_Py_Void();
 
7163
  return resultobj;
 
7164
fail:
 
7165
  return NULL;
 
7166
}
 
7167
 
 
7168
 
 
7169
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7170
  PyObject *resultobj = 0;
 
7171
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7172
  int arg2 ;
 
7173
  int result;
 
7174
  void *argp1 = 0 ;
 
7175
  int res1 = 0 ;
 
7176
  int val2 ;
 
7177
  int ecode2 = 0 ;
 
7178
  PyObject * obj0 = 0 ;
 
7179
  PyObject * obj1 = 0 ;
 
7180
  char *  kwnames[] = {
 
7181
    (char *) "self",(char *) "column", NULL 
 
7182
  };
 
7183
  
 
7184
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
 
7185
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7186
  if (!SWIG_IsOK(res1)) {
 
7187
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
7188
  }
 
7189
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7190
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7191
  if (!SWIG_IsOK(ecode2)) {
 
7192
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
 
7193
  } 
 
7194
  arg2 = static_cast< int >(val2);
 
7195
  {
 
7196
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7197
    result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
 
7198
    wxPyEndAllowThreads(__tstate);
 
7199
    if (PyErr_Occurred()) SWIG_fail;
 
7200
  }
 
7201
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7202
  return resultobj;
 
7203
fail:
 
7204
  return NULL;
 
7205
}
 
7206
 
 
7207
 
 
7208
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7209
  PyObject *resultobj = 0;
 
7210
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7211
  int arg2 ;
 
7212
  int arg3 ;
 
7213
  void *argp1 = 0 ;
 
7214
  int res1 = 0 ;
 
7215
  int val2 ;
 
7216
  int ecode2 = 0 ;
 
7217
  int val3 ;
 
7218
  int ecode3 = 0 ;
 
7219
  PyObject * obj0 = 0 ;
 
7220
  PyObject * obj1 = 0 ;
 
7221
  PyObject * obj2 = 0 ;
 
7222
  char *  kwnames[] = {
 
7223
    (char *) "self",(char *) "column",(char *) "flag", NULL 
 
7224
  };
 
7225
  
 
7226
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7227
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7228
  if (!SWIG_IsOK(res1)) {
 
7229
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7230
  }
 
7231
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7232
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7233
  if (!SWIG_IsOK(ecode2)) {
 
7234
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
 
7235
  } 
 
7236
  arg2 = static_cast< int >(val2);
 
7237
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7238
  if (!SWIG_IsOK(ecode3)) {
 
7239
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
 
7240
  } 
 
7241
  arg3 = static_cast< int >(val3);
 
7242
  {
 
7243
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7244
    (arg1)->SetColumnAlignment(arg2,arg3);
 
7245
    wxPyEndAllowThreads(__tstate);
 
7246
    if (PyErr_Occurred()) SWIG_fail;
 
7247
  }
 
7248
  resultobj = SWIG_Py_Void();
 
7249
  return resultobj;
 
7250
fail:
 
7251
  return NULL;
 
7252
}
 
7253
 
 
7254
 
 
7255
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7256
  PyObject *resultobj = 0;
 
7257
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7258
  int arg2 ;
 
7259
  int result;
 
7260
  void *argp1 = 0 ;
 
7261
  int res1 = 0 ;
 
7262
  int val2 ;
 
7263
  int ecode2 = 0 ;
 
7264
  PyObject * obj0 = 0 ;
 
7265
  PyObject * obj1 = 0 ;
 
7266
  char *  kwnames[] = {
 
7267
    (char *) "self",(char *) "column", NULL 
 
7268
  };
 
7269
  
 
7270
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
 
7271
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7272
  if (!SWIG_IsOK(res1)) {
 
7273
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
7274
  }
 
7275
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7276
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7277
  if (!SWIG_IsOK(ecode2)) {
 
7278
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
 
7279
  } 
 
7280
  arg2 = static_cast< int >(val2);
 
7281
  {
 
7282
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7283
    result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
 
7284
    wxPyEndAllowThreads(__tstate);
 
7285
    if (PyErr_Occurred()) SWIG_fail;
 
7286
  }
 
7287
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7288
  return resultobj;
 
7289
fail:
 
7290
  return NULL;
 
7291
}
 
7292
 
 
7293
 
 
7294
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7295
  PyObject *resultobj = 0;
 
7296
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7297
  int arg2 ;
 
7298
  int arg3 ;
 
7299
  void *argp1 = 0 ;
 
7300
  int res1 = 0 ;
 
7301
  int val2 ;
 
7302
  int ecode2 = 0 ;
 
7303
  int val3 ;
 
7304
  int ecode3 = 0 ;
 
7305
  PyObject * obj0 = 0 ;
 
7306
  PyObject * obj1 = 0 ;
 
7307
  PyObject * obj2 = 0 ;
 
7308
  char *  kwnames[] = {
 
7309
    (char *) "self",(char *) "column",(char *) "image", NULL 
 
7310
  };
 
7311
  
 
7312
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7313
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7314
  if (!SWIG_IsOK(res1)) {
 
7315
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7316
  }
 
7317
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7318
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7319
  if (!SWIG_IsOK(ecode2)) {
 
7320
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
 
7321
  } 
 
7322
  arg2 = static_cast< int >(val2);
 
7323
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7324
  if (!SWIG_IsOK(ecode3)) {
 
7325
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
 
7326
  } 
 
7327
  arg3 = static_cast< int >(val3);
 
7328
  {
 
7329
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7330
    (arg1)->SetColumnImage(arg2,arg3);
 
7331
    wxPyEndAllowThreads(__tstate);
 
7332
    if (PyErr_Occurred()) SWIG_fail;
 
7333
  }
 
7334
  resultobj = SWIG_Py_Void();
 
7335
  return resultobj;
 
7336
fail:
 
7337
  return NULL;
 
7338
}
 
7339
 
 
7340
 
 
7341
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7342
  PyObject *resultobj = 0;
 
7343
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7344
  int arg2 ;
 
7345
  int result;
 
7346
  void *argp1 = 0 ;
 
7347
  int res1 = 0 ;
 
7348
  int val2 ;
 
7349
  int ecode2 = 0 ;
 
7350
  PyObject * obj0 = 0 ;
 
7351
  PyObject * obj1 = 0 ;
 
7352
  char *  kwnames[] = {
 
7353
    (char *) "self",(char *) "column", NULL 
 
7354
  };
 
7355
  
 
7356
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
 
7357
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7358
  if (!SWIG_IsOK(res1)) {
 
7359
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
7360
  }
 
7361
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7362
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7363
  if (!SWIG_IsOK(ecode2)) {
 
7364
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
 
7365
  } 
 
7366
  arg2 = static_cast< int >(val2);
 
7367
  {
 
7368
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7369
    result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
 
7370
    wxPyEndAllowThreads(__tstate);
 
7371
    if (PyErr_Occurred()) SWIG_fail;
 
7372
  }
 
7373
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7374
  return resultobj;
 
7375
fail:
 
7376
  return NULL;
 
7377
}
 
7378
 
 
7379
 
 
7380
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7381
  PyObject *resultobj = 0;
 
7382
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7383
  int arg2 ;
 
7384
  bool arg3 = (bool) true ;
 
7385
  void *argp1 = 0 ;
 
7386
  int res1 = 0 ;
 
7387
  int val2 ;
 
7388
  int ecode2 = 0 ;
 
7389
  bool val3 ;
 
7390
  int ecode3 = 0 ;
 
7391
  PyObject * obj0 = 0 ;
 
7392
  PyObject * obj1 = 0 ;
 
7393
  PyObject * obj2 = 0 ;
 
7394
  char *  kwnames[] = {
 
7395
    (char *) "self",(char *) "column",(char *) "shown", NULL 
 
7396
  };
 
7397
  
 
7398
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7399
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7400
  if (!SWIG_IsOK(res1)) {
 
7401
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7402
  }
 
7403
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7404
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7405
  if (!SWIG_IsOK(ecode2)) {
 
7406
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
 
7407
  } 
 
7408
  arg2 = static_cast< int >(val2);
 
7409
  if (obj2) {
 
7410
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
7411
    if (!SWIG_IsOK(ecode3)) {
 
7412
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
 
7413
    } 
 
7414
    arg3 = static_cast< bool >(val3);
 
7415
  }
 
7416
  {
 
7417
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7418
    (arg1)->SetColumnShown(arg2,arg3);
 
7419
    wxPyEndAllowThreads(__tstate);
 
7420
    if (PyErr_Occurred()) SWIG_fail;
 
7421
  }
 
7422
  resultobj = SWIG_Py_Void();
 
7423
  return resultobj;
 
7424
fail:
 
7425
  return NULL;
 
7426
}
 
7427
 
 
7428
 
 
7429
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7430
  PyObject *resultobj = 0;
 
7431
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7432
  int arg2 ;
 
7433
  bool result;
 
7434
  void *argp1 = 0 ;
 
7435
  int res1 = 0 ;
 
7436
  int val2 ;
 
7437
  int ecode2 = 0 ;
 
7438
  PyObject * obj0 = 0 ;
 
7439
  PyObject * obj1 = 0 ;
 
7440
  char *  kwnames[] = {
 
7441
    (char *) "self",(char *) "column", NULL 
 
7442
  };
 
7443
  
 
7444
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
 
7445
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7446
  if (!SWIG_IsOK(res1)) {
 
7447
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
7448
  }
 
7449
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7450
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7451
  if (!SWIG_IsOK(ecode2)) {
 
7452
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
 
7453
  } 
 
7454
  arg2 = static_cast< int >(val2);
 
7455
  {
 
7456
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7457
    result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
 
7458
    wxPyEndAllowThreads(__tstate);
 
7459
    if (PyErr_Occurred()) SWIG_fail;
 
7460
  }
 
7461
  {
 
7462
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7463
  }
 
7464
  return resultobj;
 
7465
fail:
 
7466
  return NULL;
 
7467
}
 
7468
 
 
7469
 
 
7470
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7471
  PyObject *resultobj = 0;
 
7472
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7473
  int arg2 ;
 
7474
  bool arg3 = (bool) true ;
 
7475
  void *argp1 = 0 ;
 
7476
  int res1 = 0 ;
 
7477
  int val2 ;
 
7478
  int ecode2 = 0 ;
 
7479
  bool val3 ;
 
7480
  int ecode3 = 0 ;
 
7481
  PyObject * obj0 = 0 ;
 
7482
  PyObject * obj1 = 0 ;
 
7483
  PyObject * obj2 = 0 ;
 
7484
  char *  kwnames[] = {
 
7485
    (char *) "self",(char *) "column",(char *) "edit", NULL 
 
7486
  };
 
7487
  
 
7488
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7489
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7490
  if (!SWIG_IsOK(res1)) {
 
7491
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7492
  }
 
7493
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7494
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7495
  if (!SWIG_IsOK(ecode2)) {
 
7496
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
 
7497
  } 
 
7498
  arg2 = static_cast< int >(val2);
 
7499
  if (obj2) {
 
7500
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
7501
    if (!SWIG_IsOK(ecode3)) {
 
7502
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
 
7503
    } 
 
7504
    arg3 = static_cast< bool >(val3);
 
7505
  }
 
7506
  {
 
7507
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7508
    (arg1)->SetColumnEditable(arg2,arg3);
 
7509
    wxPyEndAllowThreads(__tstate);
 
7510
    if (PyErr_Occurred()) SWIG_fail;
 
7511
  }
 
7512
  resultobj = SWIG_Py_Void();
 
7513
  return resultobj;
 
7514
fail:
 
7515
  return NULL;
 
7516
}
 
7517
 
 
7518
 
 
7519
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7520
  PyObject *resultobj = 0;
 
7521
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7522
  int arg2 ;
 
7523
  bool result;
 
7524
  void *argp1 = 0 ;
 
7525
  int res1 = 0 ;
 
7526
  int val2 ;
 
7527
  int ecode2 = 0 ;
 
7528
  PyObject * obj0 = 0 ;
 
7529
  PyObject * obj1 = 0 ;
 
7530
  char *  kwnames[] = {
 
7531
    (char *) "self",(char *) "column", NULL 
 
7532
  };
 
7533
  
 
7534
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
 
7535
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7536
  if (!SWIG_IsOK(res1)) {
 
7537
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
7538
  }
 
7539
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7540
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7541
  if (!SWIG_IsOK(ecode2)) {
 
7542
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
 
7543
  } 
 
7544
  arg2 = static_cast< int >(val2);
 
7545
  {
 
7546
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7547
    result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
 
7548
    wxPyEndAllowThreads(__tstate);
 
7549
    if (PyErr_Occurred()) SWIG_fail;
 
7550
  }
 
7551
  {
 
7552
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7553
  }
 
7554
  return resultobj;
 
7555
fail:
 
7556
  return NULL;
 
7557
}
 
7558
 
 
7559
 
 
7560
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7561
  PyObject *resultobj = 0;
 
7562
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7563
  wxTreeItemId *arg2 = 0 ;
 
7564
  int arg3 = (int) -1 ;
 
7565
  wxString result;
 
7566
  void *argp1 = 0 ;
 
7567
  int res1 = 0 ;
 
7568
  void *argp2 = 0 ;
 
7569
  int res2 = 0 ;
 
7570
  int val3 ;
 
7571
  int ecode3 = 0 ;
 
7572
  PyObject * obj0 = 0 ;
 
7573
  PyObject * obj1 = 0 ;
 
7574
  PyObject * obj2 = 0 ;
 
7575
  char *  kwnames[] = {
 
7576
    (char *) "self",(char *) "item",(char *) "column", NULL 
 
7577
  };
 
7578
  
 
7579
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7580
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7581
  if (!SWIG_IsOK(res1)) {
 
7582
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7583
  }
 
7584
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7585
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7586
  if (!SWIG_IsOK(res2)) {
 
7587
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7588
  }
 
7589
  if (!argp2) {
 
7590
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7591
  }
 
7592
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7593
  if (obj2) {
 
7594
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7595
    if (!SWIG_IsOK(ecode3)) {
 
7596
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
 
7597
    } 
 
7598
    arg3 = static_cast< int >(val3);
 
7599
  }
 
7600
  {
 
7601
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7602
    result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
 
7603
    wxPyEndAllowThreads(__tstate);
 
7604
    if (PyErr_Occurred()) SWIG_fail;
 
7605
  }
 
7606
  {
 
7607
#if wxUSE_UNICODE
 
7608
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
7609
#else
 
7610
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
7611
#endif
 
7612
  }
 
7613
  return resultobj;
 
7614
fail:
 
7615
  return NULL;
 
7616
}
 
7617
 
 
7618
 
 
7619
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7620
  PyObject *resultobj = 0;
 
7621
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7622
  wxTreeItemId *arg2 = 0 ;
 
7623
  int arg3 = (int) -1 ;
 
7624
  wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
 
7625
  int result;
 
7626
  void *argp1 = 0 ;
 
7627
  int res1 = 0 ;
 
7628
  void *argp2 = 0 ;
 
7629
  int res2 = 0 ;
 
7630
  int val3 ;
 
7631
  int ecode3 = 0 ;
 
7632
  int val4 ;
 
7633
  int ecode4 = 0 ;
 
7634
  PyObject * obj0 = 0 ;
 
7635
  PyObject * obj1 = 0 ;
 
7636
  PyObject * obj2 = 0 ;
 
7637
  PyObject * obj3 = 0 ;
 
7638
  char *  kwnames[] = {
 
7639
    (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL 
 
7640
  };
 
7641
  
 
7642
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
7643
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7644
  if (!SWIG_IsOK(res1)) {
 
7645
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7646
  }
 
7647
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7648
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7649
  if (!SWIG_IsOK(res2)) {
 
7650
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7651
  }
 
7652
  if (!argp2) {
 
7653
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7654
  }
 
7655
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7656
  if (obj2) {
 
7657
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7658
    if (!SWIG_IsOK(ecode3)) {
 
7659
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
 
7660
    } 
 
7661
    arg3 = static_cast< int >(val3);
 
7662
  }
 
7663
  if (obj3) {
 
7664
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
7665
    if (!SWIG_IsOK(ecode4)) {
 
7666
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
 
7667
    } 
 
7668
    arg4 = static_cast< wxTreeItemIcon >(val4);
 
7669
  }
 
7670
  {
 
7671
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7672
    result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
 
7673
    wxPyEndAllowThreads(__tstate);
 
7674
    if (PyErr_Occurred()) SWIG_fail;
 
7675
  }
 
7676
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7677
  return resultobj;
 
7678
fail:
 
7679
  return NULL;
 
7680
}
 
7681
 
 
7682
 
 
7683
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7684
  PyObject *resultobj = 0;
 
7685
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7686
  wxTreeItemId *arg2 = 0 ;
 
7687
  wxString *arg3 = 0 ;
 
7688
  int arg4 = (int) -1 ;
 
7689
  void *argp1 = 0 ;
 
7690
  int res1 = 0 ;
 
7691
  void *argp2 = 0 ;
 
7692
  int res2 = 0 ;
 
7693
  bool temp3 = false ;
 
7694
  int val4 ;
 
7695
  int ecode4 = 0 ;
 
7696
  PyObject * obj0 = 0 ;
 
7697
  PyObject * obj1 = 0 ;
 
7698
  PyObject * obj2 = 0 ;
 
7699
  PyObject * obj3 = 0 ;
 
7700
  char *  kwnames[] = {
 
7701
    (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL 
 
7702
  };
 
7703
  
 
7704
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
7705
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7706
  if (!SWIG_IsOK(res1)) {
 
7707
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7708
  }
 
7709
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7710
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7711
  if (!SWIG_IsOK(res2)) {
 
7712
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7713
  }
 
7714
  if (!argp2) {
 
7715
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7716
  }
 
7717
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7718
  {
 
7719
    arg3 = wxString_in_helper(obj2);
 
7720
    if (arg3 == NULL) SWIG_fail;
 
7721
    temp3 = true;
 
7722
  }
 
7723
  if (obj3) {
 
7724
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
7725
    if (!SWIG_IsOK(ecode4)) {
 
7726
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
 
7727
    } 
 
7728
    arg4 = static_cast< int >(val4);
 
7729
  }
 
7730
  {
 
7731
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7732
    wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
 
7733
    wxPyEndAllowThreads(__tstate);
 
7734
    if (PyErr_Occurred()) SWIG_fail;
 
7735
  }
 
7736
  resultobj = SWIG_Py_Void();
 
7737
  {
 
7738
    if (temp3)
 
7739
    delete arg3;
 
7740
  }
 
7741
  return resultobj;
 
7742
fail:
 
7743
  {
 
7744
    if (temp3)
 
7745
    delete arg3;
 
7746
  }
 
7747
  return NULL;
 
7748
}
 
7749
 
 
7750
 
 
7751
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7752
  PyObject *resultobj = 0;
 
7753
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7754
  wxTreeItemId *arg2 = 0 ;
 
7755
  int arg3 ;
 
7756
  int arg4 = (int) -1 ;
 
7757
  wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
 
7758
  void *argp1 = 0 ;
 
7759
  int res1 = 0 ;
 
7760
  void *argp2 = 0 ;
 
7761
  int res2 = 0 ;
 
7762
  int val3 ;
 
7763
  int ecode3 = 0 ;
 
7764
  int val4 ;
 
7765
  int ecode4 = 0 ;
 
7766
  int val5 ;
 
7767
  int ecode5 = 0 ;
 
7768
  PyObject * obj0 = 0 ;
 
7769
  PyObject * obj1 = 0 ;
 
7770
  PyObject * obj2 = 0 ;
 
7771
  PyObject * obj3 = 0 ;
 
7772
  PyObject * obj4 = 0 ;
 
7773
  char *  kwnames[] = {
 
7774
    (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL 
 
7775
  };
 
7776
  
 
7777
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
7778
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7779
  if (!SWIG_IsOK(res1)) {
 
7780
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7781
  }
 
7782
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7783
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7784
  if (!SWIG_IsOK(res2)) {
 
7785
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7786
  }
 
7787
  if (!argp2) {
 
7788
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7789
  }
 
7790
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7791
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7792
  if (!SWIG_IsOK(ecode3)) {
 
7793
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
 
7794
  } 
 
7795
  arg3 = static_cast< int >(val3);
 
7796
  if (obj3) {
 
7797
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
7798
    if (!SWIG_IsOK(ecode4)) {
 
7799
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
 
7800
    } 
 
7801
    arg4 = static_cast< int >(val4);
 
7802
  }
 
7803
  if (obj4) {
 
7804
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
7805
    if (!SWIG_IsOK(ecode5)) {
 
7806
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
 
7807
    } 
 
7808
    arg5 = static_cast< wxTreeItemIcon >(val5);
 
7809
  }
 
7810
  {
 
7811
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7812
    wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
 
7813
    wxPyEndAllowThreads(__tstate);
 
7814
    if (PyErr_Occurred()) SWIG_fail;
 
7815
  }
 
7816
  resultobj = SWIG_Py_Void();
 
7817
  return resultobj;
 
7818
fail:
 
7819
  return NULL;
 
7820
}
 
7821
 
 
7822
 
 
7823
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7824
  PyObject *resultobj = 0;
 
7825
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7826
  wxTreeItemId *arg2 = 0 ;
 
7827
  wxPyTreeItemData *result = 0 ;
 
7828
  void *argp1 = 0 ;
 
7829
  int res1 = 0 ;
 
7830
  void *argp2 = 0 ;
 
7831
  int res2 = 0 ;
 
7832
  PyObject * obj0 = 0 ;
 
7833
  PyObject * obj1 = 0 ;
 
7834
  char *  kwnames[] = {
 
7835
    (char *) "self",(char *) "item", NULL 
 
7836
  };
 
7837
  
 
7838
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
 
7839
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7840
  if (!SWIG_IsOK(res1)) {
 
7841
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7842
  }
 
7843
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7844
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7845
  if (!SWIG_IsOK(res2)) {
 
7846
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7847
  }
 
7848
  if (!argp2) {
 
7849
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7850
  }
 
7851
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7852
  {
 
7853
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7854
    result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
 
7855
    wxPyEndAllowThreads(__tstate);
 
7856
    if (PyErr_Occurred()) SWIG_fail;
 
7857
  }
 
7858
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 |  0 );
 
7859
  return resultobj;
 
7860
fail:
 
7861
  return NULL;
 
7862
}
 
7863
 
 
7864
 
 
7865
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7866
  PyObject *resultobj = 0;
 
7867
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7868
  wxTreeItemId *arg2 = 0 ;
 
7869
  wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
 
7870
  void *argp1 = 0 ;
 
7871
  int res1 = 0 ;
 
7872
  void *argp2 = 0 ;
 
7873
  int res2 = 0 ;
 
7874
  int res3 = 0 ;
 
7875
  PyObject * obj0 = 0 ;
 
7876
  PyObject * obj1 = 0 ;
 
7877
  PyObject * obj2 = 0 ;
 
7878
  char *  kwnames[] = {
 
7879
    (char *) "self",(char *) "item",(char *) "data", NULL 
 
7880
  };
 
7881
  
 
7882
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7883
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7884
  if (!SWIG_IsOK(res1)) {
 
7885
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7886
  }
 
7887
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7888
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7889
  if (!SWIG_IsOK(res2)) {
 
7890
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7891
  }
 
7892
  if (!argp2) {
 
7893
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7894
  }
 
7895
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7896
  res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN |  0 );
 
7897
  if (!SWIG_IsOK(res3)) {
 
7898
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
 
7899
  }
 
7900
  {
 
7901
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7902
    wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
 
7903
    wxPyEndAllowThreads(__tstate);
 
7904
    if (PyErr_Occurred()) SWIG_fail;
 
7905
  }
 
7906
  resultobj = SWIG_Py_Void();
 
7907
  return resultobj;
 
7908
fail:
 
7909
  return NULL;
 
7910
}
 
7911
 
 
7912
 
 
7913
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7914
  PyObject *resultobj = 0;
 
7915
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7916
  wxTreeItemId *arg2 = 0 ;
 
7917
  PyObject *result = 0 ;
 
7918
  void *argp1 = 0 ;
 
7919
  int res1 = 0 ;
 
7920
  void *argp2 = 0 ;
 
7921
  int res2 = 0 ;
 
7922
  PyObject * obj0 = 0 ;
 
7923
  PyObject * obj1 = 0 ;
 
7924
  char *  kwnames[] = {
 
7925
    (char *) "self",(char *) "item", NULL 
 
7926
  };
 
7927
  
 
7928
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
 
7929
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7930
  if (!SWIG_IsOK(res1)) {
 
7931
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7932
  }
 
7933
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7934
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7935
  if (!SWIG_IsOK(res2)) {
 
7936
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7937
  }
 
7938
  if (!argp2) {
 
7939
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7940
  }
 
7941
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7942
  {
 
7943
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7944
    result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
 
7945
    wxPyEndAllowThreads(__tstate);
 
7946
    if (PyErr_Occurred()) SWIG_fail;
 
7947
  }
 
7948
  resultobj = result;
 
7949
  return resultobj;
 
7950
fail:
 
7951
  return NULL;
 
7952
}
 
7953
 
 
7954
 
 
7955
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7956
  PyObject *resultobj = 0;
 
7957
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
7958
  wxTreeItemId *arg2 = 0 ;
 
7959
  PyObject *arg3 = (PyObject *) 0 ;
 
7960
  void *argp1 = 0 ;
 
7961
  int res1 = 0 ;
 
7962
  void *argp2 = 0 ;
 
7963
  int res2 = 0 ;
 
7964
  PyObject * obj0 = 0 ;
 
7965
  PyObject * obj1 = 0 ;
 
7966
  PyObject * obj2 = 0 ;
 
7967
  char *  kwnames[] = {
 
7968
    (char *) "self",(char *) "item",(char *) "obj", NULL 
 
7969
  };
 
7970
  
 
7971
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7972
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
7973
  if (!SWIG_IsOK(res1)) {
 
7974
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
7975
  }
 
7976
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
7977
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
7978
  if (!SWIG_IsOK(res2)) {
 
7979
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7980
  }
 
7981
  if (!argp2) {
 
7982
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
7983
  }
 
7984
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
7985
  arg3 = obj2;
 
7986
  {
 
7987
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7988
    wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
 
7989
    wxPyEndAllowThreads(__tstate);
 
7990
    if (PyErr_Occurred()) SWIG_fail;
 
7991
  }
 
7992
  resultobj = SWIG_Py_Void();
 
7993
  return resultobj;
 
7994
fail:
 
7995
  return NULL;
 
7996
}
 
7997
 
 
7998
 
 
7999
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8000
  PyObject *resultobj = 0;
 
8001
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8002
  wxTreeItemId *arg2 = 0 ;
 
8003
  bool result;
 
8004
  void *argp1 = 0 ;
 
8005
  int res1 = 0 ;
 
8006
  void *argp2 = 0 ;
 
8007
  int res2 = 0 ;
 
8008
  PyObject * obj0 = 0 ;
 
8009
  PyObject * obj1 = 0 ;
 
8010
  char *  kwnames[] = {
 
8011
    (char *) "self",(char *) "item", NULL 
 
8012
  };
 
8013
  
 
8014
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
 
8015
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8016
  if (!SWIG_IsOK(res1)) {
 
8017
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8018
  }
 
8019
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8020
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8021
  if (!SWIG_IsOK(res2)) {
 
8022
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8023
  }
 
8024
  if (!argp2) {
 
8025
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8026
  }
 
8027
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8028
  {
 
8029
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8030
    result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
 
8031
    wxPyEndAllowThreads(__tstate);
 
8032
    if (PyErr_Occurred()) SWIG_fail;
 
8033
  }
 
8034
  {
 
8035
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8036
  }
 
8037
  return resultobj;
 
8038
fail:
 
8039
  return NULL;
 
8040
}
 
8041
 
 
8042
 
 
8043
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8044
  PyObject *resultobj = 0;
 
8045
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8046
  wxTreeItemId *arg2 = 0 ;
 
8047
  wxColour result;
 
8048
  void *argp1 = 0 ;
 
8049
  int res1 = 0 ;
 
8050
  void *argp2 = 0 ;
 
8051
  int res2 = 0 ;
 
8052
  PyObject * obj0 = 0 ;
 
8053
  PyObject * obj1 = 0 ;
 
8054
  char *  kwnames[] = {
 
8055
    (char *) "self",(char *) "item", NULL 
 
8056
  };
 
8057
  
 
8058
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
8059
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8060
  if (!SWIG_IsOK(res1)) {
 
8061
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8062
  }
 
8063
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8064
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8065
  if (!SWIG_IsOK(res2)) {
 
8066
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8067
  }
 
8068
  if (!argp2) {
 
8069
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8070
  }
 
8071
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8072
  {
 
8073
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8074
    result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
 
8075
    wxPyEndAllowThreads(__tstate);
 
8076
    if (PyErr_Occurred()) SWIG_fail;
 
8077
  }
 
8078
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
8079
  return resultobj;
 
8080
fail:
 
8081
  return NULL;
 
8082
}
 
8083
 
 
8084
 
 
8085
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8086
  PyObject *resultobj = 0;
 
8087
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8088
  wxTreeItemId *arg2 = 0 ;
 
8089
  wxColour result;
 
8090
  void *argp1 = 0 ;
 
8091
  int res1 = 0 ;
 
8092
  void *argp2 = 0 ;
 
8093
  int res2 = 0 ;
 
8094
  PyObject * obj0 = 0 ;
 
8095
  PyObject * obj1 = 0 ;
 
8096
  char *  kwnames[] = {
 
8097
    (char *) "self",(char *) "item", NULL 
 
8098
  };
 
8099
  
 
8100
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
8101
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8102
  if (!SWIG_IsOK(res1)) {
 
8103
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8104
  }
 
8105
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8106
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8107
  if (!SWIG_IsOK(res2)) {
 
8108
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8109
  }
 
8110
  if (!argp2) {
 
8111
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8112
  }
 
8113
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8114
  {
 
8115
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8116
    result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
 
8117
    wxPyEndAllowThreads(__tstate);
 
8118
    if (PyErr_Occurred()) SWIG_fail;
 
8119
  }
 
8120
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
8121
  return resultobj;
 
8122
fail:
 
8123
  return NULL;
 
8124
}
 
8125
 
 
8126
 
 
8127
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8128
  PyObject *resultobj = 0;
 
8129
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8130
  wxTreeItemId *arg2 = 0 ;
 
8131
  wxFont result;
 
8132
  void *argp1 = 0 ;
 
8133
  int res1 = 0 ;
 
8134
  void *argp2 = 0 ;
 
8135
  int res2 = 0 ;
 
8136
  PyObject * obj0 = 0 ;
 
8137
  PyObject * obj1 = 0 ;
 
8138
  char *  kwnames[] = {
 
8139
    (char *) "self",(char *) "item", NULL 
 
8140
  };
 
8141
  
 
8142
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
 
8143
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8144
  if (!SWIG_IsOK(res1)) {
 
8145
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8146
  }
 
8147
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8148
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8149
  if (!SWIG_IsOK(res2)) {
 
8150
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8151
  }
 
8152
  if (!argp2) {
 
8153
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8154
  }
 
8155
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8156
  {
 
8157
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8158
    result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
 
8159
    wxPyEndAllowThreads(__tstate);
 
8160
    if (PyErr_Occurred()) SWIG_fail;
 
8161
  }
 
8162
  resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN |  0 );
 
8163
  return resultobj;
 
8164
fail:
 
8165
  return NULL;
 
8166
}
 
8167
 
 
8168
 
 
8169
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8170
  PyObject *resultobj = 0;
 
8171
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8172
  wxTreeItemId *arg2 = 0 ;
 
8173
  bool arg3 = (bool) true ;
 
8174
  void *argp1 = 0 ;
 
8175
  int res1 = 0 ;
 
8176
  void *argp2 = 0 ;
 
8177
  int res2 = 0 ;
 
8178
  bool val3 ;
 
8179
  int ecode3 = 0 ;
 
8180
  PyObject * obj0 = 0 ;
 
8181
  PyObject * obj1 = 0 ;
 
8182
  PyObject * obj2 = 0 ;
 
8183
  char *  kwnames[] = {
 
8184
    (char *) "self",(char *) "item",(char *) "has", NULL 
 
8185
  };
 
8186
  
 
8187
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8188
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8189
  if (!SWIG_IsOK(res1)) {
 
8190
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8191
  }
 
8192
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8193
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8194
  if (!SWIG_IsOK(res2)) {
 
8195
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8196
  }
 
8197
  if (!argp2) {
 
8198
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8199
  }
 
8200
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8201
  if (obj2) {
 
8202
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
8203
    if (!SWIG_IsOK(ecode3)) {
 
8204
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
 
8205
    } 
 
8206
    arg3 = static_cast< bool >(val3);
 
8207
  }
 
8208
  {
 
8209
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8210
    (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
 
8211
    wxPyEndAllowThreads(__tstate);
 
8212
    if (PyErr_Occurred()) SWIG_fail;
 
8213
  }
 
8214
  resultobj = SWIG_Py_Void();
 
8215
  return resultobj;
 
8216
fail:
 
8217
  return NULL;
 
8218
}
 
8219
 
 
8220
 
 
8221
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8222
  PyObject *resultobj = 0;
 
8223
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8224
  wxTreeItemId *arg2 = 0 ;
 
8225
  bool arg3 = (bool) true ;
 
8226
  void *argp1 = 0 ;
 
8227
  int res1 = 0 ;
 
8228
  void *argp2 = 0 ;
 
8229
  int res2 = 0 ;
 
8230
  bool val3 ;
 
8231
  int ecode3 = 0 ;
 
8232
  PyObject * obj0 = 0 ;
 
8233
  PyObject * obj1 = 0 ;
 
8234
  PyObject * obj2 = 0 ;
 
8235
  char *  kwnames[] = {
 
8236
    (char *) "self",(char *) "item",(char *) "bold", NULL 
 
8237
  };
 
8238
  
 
8239
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8240
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8241
  if (!SWIG_IsOK(res1)) {
 
8242
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8243
  }
 
8244
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8245
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8246
  if (!SWIG_IsOK(res2)) {
 
8247
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8248
  }
 
8249
  if (!argp2) {
 
8250
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8251
  }
 
8252
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8253
  if (obj2) {
 
8254
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
8255
    if (!SWIG_IsOK(ecode3)) {
 
8256
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
 
8257
    } 
 
8258
    arg3 = static_cast< bool >(val3);
 
8259
  }
 
8260
  {
 
8261
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8262
    (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
 
8263
    wxPyEndAllowThreads(__tstate);
 
8264
    if (PyErr_Occurred()) SWIG_fail;
 
8265
  }
 
8266
  resultobj = SWIG_Py_Void();
 
8267
  return resultobj;
 
8268
fail:
 
8269
  return NULL;
 
8270
}
 
8271
 
 
8272
 
 
8273
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8274
  PyObject *resultobj = 0;
 
8275
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8276
  wxTreeItemId *arg2 = 0 ;
 
8277
  wxColour *arg3 = 0 ;
 
8278
  void *argp1 = 0 ;
 
8279
  int res1 = 0 ;
 
8280
  void *argp2 = 0 ;
 
8281
  int res2 = 0 ;
 
8282
  wxColour temp3 ;
 
8283
  PyObject * obj0 = 0 ;
 
8284
  PyObject * obj1 = 0 ;
 
8285
  PyObject * obj2 = 0 ;
 
8286
  char *  kwnames[] = {
 
8287
    (char *) "self",(char *) "item",(char *) "colour", NULL 
 
8288
  };
 
8289
  
 
8290
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8291
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8292
  if (!SWIG_IsOK(res1)) {
 
8293
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8294
  }
 
8295
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8296
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8297
  if (!SWIG_IsOK(res2)) {
 
8298
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8299
  }
 
8300
  if (!argp2) {
 
8301
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8302
  }
 
8303
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8304
  {
 
8305
    arg3 = &temp3;
 
8306
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
8307
  }
 
8308
  {
 
8309
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8310
    (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
 
8311
    wxPyEndAllowThreads(__tstate);
 
8312
    if (PyErr_Occurred()) SWIG_fail;
 
8313
  }
 
8314
  resultobj = SWIG_Py_Void();
 
8315
  return resultobj;
 
8316
fail:
 
8317
  return NULL;
 
8318
}
 
8319
 
 
8320
 
 
8321
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8322
  PyObject *resultobj = 0;
 
8323
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8324
  wxTreeItemId *arg2 = 0 ;
 
8325
  wxColour *arg3 = 0 ;
 
8326
  void *argp1 = 0 ;
 
8327
  int res1 = 0 ;
 
8328
  void *argp2 = 0 ;
 
8329
  int res2 = 0 ;
 
8330
  wxColour temp3 ;
 
8331
  PyObject * obj0 = 0 ;
 
8332
  PyObject * obj1 = 0 ;
 
8333
  PyObject * obj2 = 0 ;
 
8334
  char *  kwnames[] = {
 
8335
    (char *) "self",(char *) "item",(char *) "colour", NULL 
 
8336
  };
 
8337
  
 
8338
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8339
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8340
  if (!SWIG_IsOK(res1)) {
 
8341
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8342
  }
 
8343
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8344
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8345
  if (!SWIG_IsOK(res2)) {
 
8346
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8347
  }
 
8348
  if (!argp2) {
 
8349
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8350
  }
 
8351
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8352
  {
 
8353
    arg3 = &temp3;
 
8354
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
8355
  }
 
8356
  {
 
8357
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8358
    (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
 
8359
    wxPyEndAllowThreads(__tstate);
 
8360
    if (PyErr_Occurred()) SWIG_fail;
 
8361
  }
 
8362
  resultobj = SWIG_Py_Void();
 
8363
  return resultobj;
 
8364
fail:
 
8365
  return NULL;
 
8366
}
 
8367
 
 
8368
 
 
8369
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8370
  PyObject *resultobj = 0;
 
8371
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8372
  wxTreeItemId *arg2 = 0 ;
 
8373
  wxFont *arg3 = 0 ;
 
8374
  void *argp1 = 0 ;
 
8375
  int res1 = 0 ;
 
8376
  void *argp2 = 0 ;
 
8377
  int res2 = 0 ;
 
8378
  void *argp3 = 0 ;
 
8379
  int res3 = 0 ;
 
8380
  PyObject * obj0 = 0 ;
 
8381
  PyObject * obj1 = 0 ;
 
8382
  PyObject * obj2 = 0 ;
 
8383
  char *  kwnames[] = {
 
8384
    (char *) "self",(char *) "item",(char *) "font", NULL 
 
8385
  };
 
8386
  
 
8387
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8388
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8389
  if (!SWIG_IsOK(res1)) {
 
8390
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8391
  }
 
8392
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8393
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8394
  if (!SWIG_IsOK(res2)) {
 
8395
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8396
  }
 
8397
  if (!argp2) {
 
8398
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8399
  }
 
8400
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8401
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont,  0  | 0);
 
8402
  if (!SWIG_IsOK(res3)) {
 
8403
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'"); 
 
8404
  }
 
8405
  if (!argp3) {
 
8406
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'"); 
 
8407
  }
 
8408
  arg3 = reinterpret_cast< wxFont * >(argp3);
 
8409
  {
 
8410
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8411
    (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
 
8412
    wxPyEndAllowThreads(__tstate);
 
8413
    if (PyErr_Occurred()) SWIG_fail;
 
8414
  }
 
8415
  resultobj = SWIG_Py_Void();
 
8416
  return resultobj;
 
8417
fail:
 
8418
  return NULL;
 
8419
}
 
8420
 
 
8421
 
 
8422
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8423
  PyObject *resultobj = 0;
 
8424
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8425
  wxTreeItemId *arg2 = 0 ;
 
8426
  bool result;
 
8427
  void *argp1 = 0 ;
 
8428
  int res1 = 0 ;
 
8429
  void *argp2 = 0 ;
 
8430
  int res2 = 0 ;
 
8431
  PyObject * obj0 = 0 ;
 
8432
  PyObject * obj1 = 0 ;
 
8433
  char *  kwnames[] = {
 
8434
    (char *) "self",(char *) "item", NULL 
 
8435
  };
 
8436
  
 
8437
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
8438
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8439
  if (!SWIG_IsOK(res1)) {
 
8440
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8441
  }
 
8442
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8443
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8444
  if (!SWIG_IsOK(res2)) {
 
8445
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8446
  }
 
8447
  if (!argp2) {
 
8448
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8449
  }
 
8450
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8451
  {
 
8452
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8453
    result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
 
8454
    wxPyEndAllowThreads(__tstate);
 
8455
    if (PyErr_Occurred()) SWIG_fail;
 
8456
  }
 
8457
  {
 
8458
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8459
  }
 
8460
  return resultobj;
 
8461
fail:
 
8462
  return NULL;
 
8463
}
 
8464
 
 
8465
 
 
8466
SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8467
  PyObject *resultobj = 0;
 
8468
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8469
  wxTreeItemId *arg2 = 0 ;
 
8470
  bool result;
 
8471
  void *argp1 = 0 ;
 
8472
  int res1 = 0 ;
 
8473
  void *argp2 = 0 ;
 
8474
  int res2 = 0 ;
 
8475
  PyObject * obj0 = 0 ;
 
8476
  PyObject * obj1 = 0 ;
 
8477
  char *  kwnames[] = {
 
8478
    (char *) "self",(char *) "item", NULL 
 
8479
  };
 
8480
  
 
8481
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
 
8482
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8483
  if (!SWIG_IsOK(res1)) {
 
8484
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8485
  }
 
8486
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8487
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8488
  if (!SWIG_IsOK(res2)) {
 
8489
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8490
  }
 
8491
  if (!argp2) {
 
8492
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8493
  }
 
8494
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8495
  {
 
8496
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8497
    result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
 
8498
    wxPyEndAllowThreads(__tstate);
 
8499
    if (PyErr_Occurred()) SWIG_fail;
 
8500
  }
 
8501
  {
 
8502
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8503
  }
 
8504
  return resultobj;
 
8505
fail:
 
8506
  return NULL;
 
8507
}
 
8508
 
 
8509
 
 
8510
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8511
  PyObject *resultobj = 0;
 
8512
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8513
  wxTreeItemId *arg2 = 0 ;
 
8514
  bool result;
 
8515
  void *argp1 = 0 ;
 
8516
  int res1 = 0 ;
 
8517
  void *argp2 = 0 ;
 
8518
  int res2 = 0 ;
 
8519
  PyObject * obj0 = 0 ;
 
8520
  PyObject * obj1 = 0 ;
 
8521
  char *  kwnames[] = {
 
8522
    (char *) "self",(char *) "item", NULL 
 
8523
  };
 
8524
  
 
8525
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
 
8526
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8527
  if (!SWIG_IsOK(res1)) {
 
8528
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8529
  }
 
8530
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8531
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8532
  if (!SWIG_IsOK(res2)) {
 
8533
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8534
  }
 
8535
  if (!argp2) {
 
8536
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8537
  }
 
8538
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8539
  {
 
8540
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8541
    result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
 
8542
    wxPyEndAllowThreads(__tstate);
 
8543
    if (PyErr_Occurred()) SWIG_fail;
 
8544
  }
 
8545
  {
 
8546
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8547
  }
 
8548
  return resultobj;
 
8549
fail:
 
8550
  return NULL;
 
8551
}
 
8552
 
 
8553
 
 
8554
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8555
  PyObject *resultobj = 0;
 
8556
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8557
  wxTreeItemId *arg2 = 0 ;
 
8558
  bool result;
 
8559
  void *argp1 = 0 ;
 
8560
  int res1 = 0 ;
 
8561
  void *argp2 = 0 ;
 
8562
  int res2 = 0 ;
 
8563
  PyObject * obj0 = 0 ;
 
8564
  PyObject * obj1 = 0 ;
 
8565
  char *  kwnames[] = {
 
8566
    (char *) "self",(char *) "item", NULL 
 
8567
  };
 
8568
  
 
8569
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
 
8570
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8571
  if (!SWIG_IsOK(res1)) {
 
8572
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8573
  }
 
8574
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8575
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8576
  if (!SWIG_IsOK(res2)) {
 
8577
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8578
  }
 
8579
  if (!argp2) {
 
8580
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8581
  }
 
8582
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8583
  {
 
8584
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8585
    result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
 
8586
    wxPyEndAllowThreads(__tstate);
 
8587
    if (PyErr_Occurred()) SWIG_fail;
 
8588
  }
 
8589
  {
 
8590
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8591
  }
 
8592
  return resultobj;
 
8593
fail:
 
8594
  return NULL;
 
8595
}
 
8596
 
 
8597
 
 
8598
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8599
  PyObject *resultobj = 0;
 
8600
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8601
  wxTreeItemId *arg2 = 0 ;
 
8602
  bool result;
 
8603
  void *argp1 = 0 ;
 
8604
  int res1 = 0 ;
 
8605
  void *argp2 = 0 ;
 
8606
  int res2 = 0 ;
 
8607
  PyObject * obj0 = 0 ;
 
8608
  PyObject * obj1 = 0 ;
 
8609
  char *  kwnames[] = {
 
8610
    (char *) "self",(char *) "item", NULL 
 
8611
  };
 
8612
  
 
8613
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
 
8614
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8615
  if (!SWIG_IsOK(res1)) {
 
8616
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8617
  }
 
8618
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8619
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8620
  if (!SWIG_IsOK(res2)) {
 
8621
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8622
  }
 
8623
  if (!argp2) {
 
8624
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8625
  }
 
8626
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8627
  {
 
8628
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8629
    result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
 
8630
    wxPyEndAllowThreads(__tstate);
 
8631
    if (PyErr_Occurred()) SWIG_fail;
 
8632
  }
 
8633
  {
 
8634
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8635
  }
 
8636
  return resultobj;
 
8637
fail:
 
8638
  return NULL;
 
8639
}
 
8640
 
 
8641
 
 
8642
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8643
  PyObject *resultobj = 0;
 
8644
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8645
  wxTreeItemId *arg2 = 0 ;
 
8646
  bool arg3 = (bool) true ;
 
8647
  size_t result;
 
8648
  void *argp1 = 0 ;
 
8649
  int res1 = 0 ;
 
8650
  void *argp2 = 0 ;
 
8651
  int res2 = 0 ;
 
8652
  bool val3 ;
 
8653
  int ecode3 = 0 ;
 
8654
  PyObject * obj0 = 0 ;
 
8655
  PyObject * obj1 = 0 ;
 
8656
  PyObject * obj2 = 0 ;
 
8657
  char *  kwnames[] = {
 
8658
    (char *) "self",(char *) "item",(char *) "recursively", NULL 
 
8659
  };
 
8660
  
 
8661
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8662
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8663
  if (!SWIG_IsOK(res1)) {
 
8664
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8665
  }
 
8666
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8667
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8668
  if (!SWIG_IsOK(res2)) {
 
8669
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8670
  }
 
8671
  if (!argp2) {
 
8672
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8673
  }
 
8674
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8675
  if (obj2) {
 
8676
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
8677
    if (!SWIG_IsOK(ecode3)) {
 
8678
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
 
8679
    } 
 
8680
    arg3 = static_cast< bool >(val3);
 
8681
  }
 
8682
  {
 
8683
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8684
    result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
 
8685
    wxPyEndAllowThreads(__tstate);
 
8686
    if (PyErr_Occurred()) SWIG_fail;
 
8687
  }
 
8688
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
8689
  return resultobj;
 
8690
fail:
 
8691
  return NULL;
 
8692
}
 
8693
 
 
8694
 
 
8695
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8696
  PyObject *resultobj = 0;
 
8697
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8698
  wxTreeItemId result;
 
8699
  void *argp1 = 0 ;
 
8700
  int res1 = 0 ;
 
8701
  PyObject *swig_obj[1] ;
 
8702
  
 
8703
  if (!args) SWIG_fail;
 
8704
  swig_obj[0] = args;
 
8705
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8706
  if (!SWIG_IsOK(res1)) {
 
8707
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8708
  }
 
8709
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8710
  {
 
8711
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8712
    result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
 
8713
    wxPyEndAllowThreads(__tstate);
 
8714
    if (PyErr_Occurred()) SWIG_fail;
 
8715
  }
 
8716
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
8717
  return resultobj;
 
8718
fail:
 
8719
  return NULL;
 
8720
}
 
8721
 
 
8722
 
 
8723
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8724
  PyObject *resultobj = 0;
 
8725
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8726
  wxTreeItemId result;
 
8727
  void *argp1 = 0 ;
 
8728
  int res1 = 0 ;
 
8729
  PyObject *swig_obj[1] ;
 
8730
  
 
8731
  if (!args) SWIG_fail;
 
8732
  swig_obj[0] = args;
 
8733
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8734
  if (!SWIG_IsOK(res1)) {
 
8735
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8736
  }
 
8737
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8738
  {
 
8739
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8740
    result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
 
8741
    wxPyEndAllowThreads(__tstate);
 
8742
    if (PyErr_Occurred()) SWIG_fail;
 
8743
  }
 
8744
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
8745
  return resultobj;
 
8746
fail:
 
8747
  return NULL;
 
8748
}
 
8749
 
 
8750
 
 
8751
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8752
  PyObject *resultobj = 0;
 
8753
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8754
  PyObject *result = 0 ;
 
8755
  void *argp1 = 0 ;
 
8756
  int res1 = 0 ;
 
8757
  PyObject *swig_obj[1] ;
 
8758
  
 
8759
  if (!args) SWIG_fail;
 
8760
  swig_obj[0] = args;
 
8761
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8762
  if (!SWIG_IsOK(res1)) {
 
8763
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8764
  }
 
8765
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8766
  {
 
8767
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8768
    result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
 
8769
    wxPyEndAllowThreads(__tstate);
 
8770
    if (PyErr_Occurred()) SWIG_fail;
 
8771
  }
 
8772
  resultobj = result;
 
8773
  return resultobj;
 
8774
fail:
 
8775
  return NULL;
 
8776
}
 
8777
 
 
8778
 
 
8779
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8780
  PyObject *resultobj = 0;
 
8781
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8782
  wxTreeItemId *arg2 = 0 ;
 
8783
  wxTreeItemId result;
 
8784
  void *argp1 = 0 ;
 
8785
  int res1 = 0 ;
 
8786
  void *argp2 = 0 ;
 
8787
  int res2 = 0 ;
 
8788
  PyObject * obj0 = 0 ;
 
8789
  PyObject * obj1 = 0 ;
 
8790
  char *  kwnames[] = {
 
8791
    (char *) "self",(char *) "item", NULL 
 
8792
  };
 
8793
  
 
8794
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
 
8795
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8796
  if (!SWIG_IsOK(res1)) {
 
8797
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8798
  }
 
8799
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8800
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8801
  if (!SWIG_IsOK(res2)) {
 
8802
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8803
  }
 
8804
  if (!argp2) {
 
8805
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8806
  }
 
8807
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8808
  {
 
8809
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8810
    result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
 
8811
    wxPyEndAllowThreads(__tstate);
 
8812
    if (PyErr_Occurred()) SWIG_fail;
 
8813
  }
 
8814
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
8815
  return resultobj;
 
8816
fail:
 
8817
  return NULL;
 
8818
}
 
8819
 
 
8820
 
 
8821
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCurrentItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8822
  PyObject *resultobj = 0;
 
8823
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8824
  wxTreeItemId result;
 
8825
  void *argp1 = 0 ;
 
8826
  int res1 = 0 ;
 
8827
  PyObject *swig_obj[1] ;
 
8828
  
 
8829
  if (!args) SWIG_fail;
 
8830
  swig_obj[0] = args;
 
8831
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8832
  if (!SWIG_IsOK(res1)) {
 
8833
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCurrentItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
8834
  }
 
8835
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8836
  {
 
8837
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8838
    result = ((wxPyTreeListCtrl const *)arg1)->GetCurrentItem();
 
8839
    wxPyEndAllowThreads(__tstate);
 
8840
    if (PyErr_Occurred()) SWIG_fail;
 
8841
  }
 
8842
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
8843
  return resultobj;
 
8844
fail:
 
8845
  return NULL;
 
8846
}
 
8847
 
 
8848
 
 
8849
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetCurrentItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8850
  PyObject *resultobj = 0;
 
8851
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8852
  wxTreeItemId *arg2 = 0 ;
 
8853
  void *argp1 = 0 ;
 
8854
  int res1 = 0 ;
 
8855
  void *argp2 = 0 ;
 
8856
  int res2 = 0 ;
 
8857
  PyObject * obj0 = 0 ;
 
8858
  PyObject * obj1 = 0 ;
 
8859
  char *  kwnames[] = {
 
8860
    (char *) "self",(char *) "newItem", NULL 
 
8861
  };
 
8862
  
 
8863
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetCurrentItem",kwnames,&obj0,&obj1)) SWIG_fail;
 
8864
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8865
  if (!SWIG_IsOK(res1)) {
 
8866
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetCurrentItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8867
  }
 
8868
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8869
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8870
  if (!SWIG_IsOK(res2)) {
 
8871
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetCurrentItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8872
  }
 
8873
  if (!argp2) {
 
8874
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetCurrentItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8875
  }
 
8876
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8877
  {
 
8878
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8879
    (arg1)->SetCurrentItem((wxTreeItemId const &)*arg2);
 
8880
    wxPyEndAllowThreads(__tstate);
 
8881
    if (PyErr_Occurred()) SWIG_fail;
 
8882
  }
 
8883
  resultobj = SWIG_Py_Void();
 
8884
  return resultobj;
 
8885
fail:
 
8886
  return NULL;
 
8887
}
 
8888
 
 
8889
 
 
8890
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8891
  PyObject *resultobj = 0;
 
8892
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8893
  wxTreeItemId *arg2 = 0 ;
 
8894
  PyObject *result = 0 ;
 
8895
  void *argp1 = 0 ;
 
8896
  int res1 = 0 ;
 
8897
  void *argp2 = 0 ;
 
8898
  int res2 = 0 ;
 
8899
  PyObject * obj0 = 0 ;
 
8900
  PyObject * obj1 = 0 ;
 
8901
  char *  kwnames[] = {
 
8902
    (char *) "self",(char *) "item", NULL 
 
8903
  };
 
8904
  
 
8905
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
 
8906
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8907
  if (!SWIG_IsOK(res1)) {
 
8908
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8909
  }
 
8910
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8911
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8912
  if (!SWIG_IsOK(res2)) {
 
8913
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8914
  }
 
8915
  if (!argp2) {
 
8916
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8917
  }
 
8918
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8919
  {
 
8920
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8921
    result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
 
8922
    wxPyEndAllowThreads(__tstate);
 
8923
    if (PyErr_Occurred()) SWIG_fail;
 
8924
  }
 
8925
  resultobj = result;
 
8926
  return resultobj;
 
8927
fail:
 
8928
  return NULL;
 
8929
}
 
8930
 
 
8931
 
 
8932
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8933
  PyObject *resultobj = 0;
 
8934
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8935
  wxTreeItemId *arg2 = 0 ;
 
8936
  void *arg3 = (void *) 0 ;
 
8937
  PyObject *result = 0 ;
 
8938
  void *argp1 = 0 ;
 
8939
  int res1 = 0 ;
 
8940
  void *argp2 = 0 ;
 
8941
  int res2 = 0 ;
 
8942
  int res3 ;
 
8943
  PyObject * obj0 = 0 ;
 
8944
  PyObject * obj1 = 0 ;
 
8945
  PyObject * obj2 = 0 ;
 
8946
  char *  kwnames[] = {
 
8947
    (char *) "self",(char *) "item",(char *) "cookie", NULL 
 
8948
  };
 
8949
  
 
8950
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8951
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8952
  if (!SWIG_IsOK(res1)) {
 
8953
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
8954
  }
 
8955
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
8956
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
8957
  if (!SWIG_IsOK(res2)) {
 
8958
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8959
  }
 
8960
  if (!argp2) {
 
8961
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
8962
  }
 
8963
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
8964
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
 
8965
  if (!SWIG_IsOK(res3)) {
 
8966
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'"); 
 
8967
  }
 
8968
  {
 
8969
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8970
    result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
 
8971
    wxPyEndAllowThreads(__tstate);
 
8972
    if (PyErr_Occurred()) SWIG_fail;
 
8973
  }
 
8974
  resultobj = result;
 
8975
  return resultobj;
 
8976
fail:
 
8977
  return NULL;
 
8978
}
 
8979
 
 
8980
 
 
8981
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8982
  PyObject *resultobj = 0;
 
8983
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
8984
  wxTreeItemId *arg2 = 0 ;
 
8985
  PyObject *result = 0 ;
 
8986
  void *argp1 = 0 ;
 
8987
  int res1 = 0 ;
 
8988
  void *argp2 = 0 ;
 
8989
  int res2 = 0 ;
 
8990
  PyObject * obj0 = 0 ;
 
8991
  PyObject * obj1 = 0 ;
 
8992
  char *  kwnames[] = {
 
8993
    (char *) "self",(char *) "item", NULL 
 
8994
  };
 
8995
  
 
8996
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
 
8997
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
8998
  if (!SWIG_IsOK(res1)) {
 
8999
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9000
  }
 
9001
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9002
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9003
  if (!SWIG_IsOK(res2)) {
 
9004
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9005
  }
 
9006
  if (!argp2) {
 
9007
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9008
  }
 
9009
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9010
  {
 
9011
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9012
    result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
 
9013
    wxPyEndAllowThreads(__tstate);
 
9014
    if (PyErr_Occurred()) SWIG_fail;
 
9015
  }
 
9016
  resultobj = result;
 
9017
  return resultobj;
 
9018
fail:
 
9019
  return NULL;
 
9020
}
 
9021
 
 
9022
 
 
9023
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9024
  PyObject *resultobj = 0;
 
9025
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9026
  wxTreeItemId *arg2 = 0 ;
 
9027
  void *arg3 = (void *) 0 ;
 
9028
  PyObject *result = 0 ;
 
9029
  void *argp1 = 0 ;
 
9030
  int res1 = 0 ;
 
9031
  void *argp2 = 0 ;
 
9032
  int res2 = 0 ;
 
9033
  int res3 ;
 
9034
  PyObject * obj0 = 0 ;
 
9035
  PyObject * obj1 = 0 ;
 
9036
  PyObject * obj2 = 0 ;
 
9037
  char *  kwnames[] = {
 
9038
    (char *) "self",(char *) "item",(char *) "cookie", NULL 
 
9039
  };
 
9040
  
 
9041
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9042
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9043
  if (!SWIG_IsOK(res1)) {
 
9044
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9045
  }
 
9046
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9047
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9048
  if (!SWIG_IsOK(res2)) {
 
9049
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9050
  }
 
9051
  if (!argp2) {
 
9052
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9053
  }
 
9054
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9055
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
 
9056
  if (!SWIG_IsOK(res3)) {
 
9057
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'"); 
 
9058
  }
 
9059
  {
 
9060
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9061
    result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
 
9062
    wxPyEndAllowThreads(__tstate);
 
9063
    if (PyErr_Occurred()) SWIG_fail;
 
9064
  }
 
9065
  resultobj = result;
 
9066
  return resultobj;
 
9067
fail:
 
9068
  return NULL;
 
9069
}
 
9070
 
 
9071
 
 
9072
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9073
  PyObject *resultobj = 0;
 
9074
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9075
  wxTreeItemId *arg2 = 0 ;
 
9076
  wxTreeItemId result;
 
9077
  void *argp1 = 0 ;
 
9078
  int res1 = 0 ;
 
9079
  void *argp2 = 0 ;
 
9080
  int res2 = 0 ;
 
9081
  PyObject * obj0 = 0 ;
 
9082
  PyObject * obj1 = 0 ;
 
9083
  char *  kwnames[] = {
 
9084
    (char *) "self",(char *) "item", NULL 
 
9085
  };
 
9086
  
 
9087
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
 
9088
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9089
  if (!SWIG_IsOK(res1)) {
 
9090
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9091
  }
 
9092
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9093
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9094
  if (!SWIG_IsOK(res2)) {
 
9095
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9096
  }
 
9097
  if (!argp2) {
 
9098
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9099
  }
 
9100
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9101
  {
 
9102
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9103
    result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
 
9104
    wxPyEndAllowThreads(__tstate);
 
9105
    if (PyErr_Occurred()) SWIG_fail;
 
9106
  }
 
9107
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9108
  return resultobj;
 
9109
fail:
 
9110
  return NULL;
 
9111
}
 
9112
 
 
9113
 
 
9114
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9115
  PyObject *resultobj = 0;
 
9116
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9117
  wxTreeItemId *arg2 = 0 ;
 
9118
  wxTreeItemId result;
 
9119
  void *argp1 = 0 ;
 
9120
  int res1 = 0 ;
 
9121
  void *argp2 = 0 ;
 
9122
  int res2 = 0 ;
 
9123
  PyObject * obj0 = 0 ;
 
9124
  PyObject * obj1 = 0 ;
 
9125
  char *  kwnames[] = {
 
9126
    (char *) "self",(char *) "item", NULL 
 
9127
  };
 
9128
  
 
9129
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
 
9130
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9131
  if (!SWIG_IsOK(res1)) {
 
9132
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9133
  }
 
9134
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9135
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9136
  if (!SWIG_IsOK(res2)) {
 
9137
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9138
  }
 
9139
  if (!argp2) {
 
9140
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9141
  }
 
9142
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9143
  {
 
9144
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9145
    result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
 
9146
    wxPyEndAllowThreads(__tstate);
 
9147
    if (PyErr_Occurred()) SWIG_fail;
 
9148
  }
 
9149
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9150
  return resultobj;
 
9151
fail:
 
9152
  return NULL;
 
9153
}
 
9154
 
 
9155
 
 
9156
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9157
  PyObject *resultobj = 0;
 
9158
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9159
  wxTreeItemId *arg2 = 0 ;
 
9160
  wxTreeItemId result;
 
9161
  void *argp1 = 0 ;
 
9162
  int res1 = 0 ;
 
9163
  void *argp2 = 0 ;
 
9164
  int res2 = 0 ;
 
9165
  PyObject * obj0 = 0 ;
 
9166
  PyObject * obj1 = 0 ;
 
9167
  char *  kwnames[] = {
 
9168
    (char *) "self",(char *) "item", NULL 
 
9169
  };
 
9170
  
 
9171
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
 
9172
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9173
  if (!SWIG_IsOK(res1)) {
 
9174
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9175
  }
 
9176
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9177
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9178
  if (!SWIG_IsOK(res2)) {
 
9179
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9180
  }
 
9181
  if (!argp2) {
 
9182
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9183
  }
 
9184
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9185
  {
 
9186
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9187
    result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
 
9188
    wxPyEndAllowThreads(__tstate);
 
9189
    if (PyErr_Occurred()) SWIG_fail;
 
9190
  }
 
9191
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9192
  return resultobj;
 
9193
fail:
 
9194
  return NULL;
 
9195
}
 
9196
 
 
9197
 
 
9198
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9199
  PyObject *resultobj = 0;
 
9200
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9201
  wxTreeItemId *arg2 = 0 ;
 
9202
  wxTreeItemId result;
 
9203
  void *argp1 = 0 ;
 
9204
  int res1 = 0 ;
 
9205
  void *argp2 = 0 ;
 
9206
  int res2 = 0 ;
 
9207
  PyObject * obj0 = 0 ;
 
9208
  PyObject * obj1 = 0 ;
 
9209
  char *  kwnames[] = {
 
9210
    (char *) "self",(char *) "item", NULL 
 
9211
  };
 
9212
  
 
9213
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
 
9214
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9215
  if (!SWIG_IsOK(res1)) {
 
9216
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9217
  }
 
9218
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9219
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9220
  if (!SWIG_IsOK(res2)) {
 
9221
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9222
  }
 
9223
  if (!argp2) {
 
9224
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9225
  }
 
9226
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9227
  {
 
9228
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9229
    result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
 
9230
    wxPyEndAllowThreads(__tstate);
 
9231
    if (PyErr_Occurred()) SWIG_fail;
 
9232
  }
 
9233
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9234
  return resultobj;
 
9235
fail:
 
9236
  return NULL;
 
9237
}
 
9238
 
 
9239
 
 
9240
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9241
  PyObject *resultobj = 0;
 
9242
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9243
  wxTreeItemId result;
 
9244
  void *argp1 = 0 ;
 
9245
  int res1 = 0 ;
 
9246
  PyObject *swig_obj[1] ;
 
9247
  
 
9248
  if (!args) SWIG_fail;
 
9249
  swig_obj[0] = args;
 
9250
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9251
  if (!SWIG_IsOK(res1)) {
 
9252
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9253
  }
 
9254
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9255
  {
 
9256
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9257
    result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
 
9258
    wxPyEndAllowThreads(__tstate);
 
9259
    if (PyErr_Occurred()) SWIG_fail;
 
9260
  }
 
9261
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9262
  return resultobj;
 
9263
fail:
 
9264
  return NULL;
 
9265
}
 
9266
 
 
9267
 
 
9268
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9269
  PyObject *resultobj = 0;
 
9270
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9271
  wxTreeItemId *arg2 = 0 ;
 
9272
  wxTreeItemId result;
 
9273
  void *argp1 = 0 ;
 
9274
  int res1 = 0 ;
 
9275
  void *argp2 = 0 ;
 
9276
  int res2 = 0 ;
 
9277
  PyObject * obj0 = 0 ;
 
9278
  PyObject * obj1 = 0 ;
 
9279
  char *  kwnames[] = {
 
9280
    (char *) "self",(char *) "item", NULL 
 
9281
  };
 
9282
  
 
9283
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
 
9284
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9285
  if (!SWIG_IsOK(res1)) {
 
9286
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9287
  }
 
9288
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9289
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9290
  if (!SWIG_IsOK(res2)) {
 
9291
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9292
  }
 
9293
  if (!argp2) {
 
9294
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9295
  }
 
9296
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9297
  {
 
9298
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9299
    result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
 
9300
    wxPyEndAllowThreads(__tstate);
 
9301
    if (PyErr_Occurred()) SWIG_fail;
 
9302
  }
 
9303
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9304
  return resultobj;
 
9305
fail:
 
9306
  return NULL;
 
9307
}
 
9308
 
 
9309
 
 
9310
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9311
  PyObject *resultobj = 0;
 
9312
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9313
  wxTreeItemId *arg2 = 0 ;
 
9314
  wxTreeItemId result;
 
9315
  void *argp1 = 0 ;
 
9316
  int res1 = 0 ;
 
9317
  void *argp2 = 0 ;
 
9318
  int res2 = 0 ;
 
9319
  PyObject * obj0 = 0 ;
 
9320
  PyObject * obj1 = 0 ;
 
9321
  char *  kwnames[] = {
 
9322
    (char *) "self",(char *) "item", NULL 
 
9323
  };
 
9324
  
 
9325
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
 
9326
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9327
  if (!SWIG_IsOK(res1)) {
 
9328
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9329
  }
 
9330
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9331
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9332
  if (!SWIG_IsOK(res2)) {
 
9333
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9334
  }
 
9335
  if (!argp2) {
 
9336
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9337
  }
 
9338
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9339
  {
 
9340
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9341
    result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
 
9342
    wxPyEndAllowThreads(__tstate);
 
9343
    if (PyErr_Occurred()) SWIG_fail;
 
9344
  }
 
9345
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9346
  return resultobj;
 
9347
fail:
 
9348
  return NULL;
 
9349
}
 
9350
 
 
9351
 
 
9352
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9353
  PyObject *resultobj = 0;
 
9354
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9355
  bool arg2 = (bool) false ;
 
9356
  wxTreeItemId result;
 
9357
  void *argp1 = 0 ;
 
9358
  int res1 = 0 ;
 
9359
  bool val2 ;
 
9360
  int ecode2 = 0 ;
 
9361
  PyObject * obj0 = 0 ;
 
9362
  PyObject * obj1 = 0 ;
 
9363
  char *  kwnames[] = {
 
9364
    (char *) "self",(char *) "fullRow", NULL 
 
9365
  };
 
9366
  
 
9367
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
 
9368
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9369
  if (!SWIG_IsOK(res1)) {
 
9370
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9371
  }
 
9372
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9373
  if (obj1) {
 
9374
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
9375
    if (!SWIG_IsOK(ecode2)) {
 
9376
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
 
9377
    } 
 
9378
    arg2 = static_cast< bool >(val2);
 
9379
  }
 
9380
  {
 
9381
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9382
    result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
 
9383
    wxPyEndAllowThreads(__tstate);
 
9384
    if (PyErr_Occurred()) SWIG_fail;
 
9385
  }
 
9386
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9387
  return resultobj;
 
9388
fail:
 
9389
  return NULL;
 
9390
}
 
9391
 
 
9392
 
 
9393
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9394
  PyObject *resultobj = 0;
 
9395
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9396
  wxTreeItemId *arg2 = 0 ;
 
9397
  bool arg3 = (bool) false ;
 
9398
  wxTreeItemId result;
 
9399
  void *argp1 = 0 ;
 
9400
  int res1 = 0 ;
 
9401
  void *argp2 = 0 ;
 
9402
  int res2 = 0 ;
 
9403
  bool val3 ;
 
9404
  int ecode3 = 0 ;
 
9405
  PyObject * obj0 = 0 ;
 
9406
  PyObject * obj1 = 0 ;
 
9407
  PyObject * obj2 = 0 ;
 
9408
  char *  kwnames[] = {
 
9409
    (char *) "self",(char *) "item",(char *) "fullRow", NULL 
 
9410
  };
 
9411
  
 
9412
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9413
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9414
  if (!SWIG_IsOK(res1)) {
 
9415
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9416
  }
 
9417
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9418
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9419
  if (!SWIG_IsOK(res2)) {
 
9420
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9421
  }
 
9422
  if (!argp2) {
 
9423
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9424
  }
 
9425
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9426
  if (obj2) {
 
9427
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
9428
    if (!SWIG_IsOK(ecode3)) {
 
9429
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
 
9430
    } 
 
9431
    arg3 = static_cast< bool >(val3);
 
9432
  }
 
9433
  {
 
9434
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9435
    result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
 
9436
    wxPyEndAllowThreads(__tstate);
 
9437
    if (PyErr_Occurred()) SWIG_fail;
 
9438
  }
 
9439
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9440
  return resultobj;
 
9441
fail:
 
9442
  return NULL;
 
9443
}
 
9444
 
 
9445
 
 
9446
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9447
  PyObject *resultobj = 0;
 
9448
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9449
  wxTreeItemId *arg2 = 0 ;
 
9450
  bool arg3 = (bool) false ;
 
9451
  wxTreeItemId result;
 
9452
  void *argp1 = 0 ;
 
9453
  int res1 = 0 ;
 
9454
  void *argp2 = 0 ;
 
9455
  int res2 = 0 ;
 
9456
  bool val3 ;
 
9457
  int ecode3 = 0 ;
 
9458
  PyObject * obj0 = 0 ;
 
9459
  PyObject * obj1 = 0 ;
 
9460
  PyObject * obj2 = 0 ;
 
9461
  char *  kwnames[] = {
 
9462
    (char *) "self",(char *) "item",(char *) "fullRow", NULL 
 
9463
  };
 
9464
  
 
9465
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9466
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9467
  if (!SWIG_IsOK(res1)) {
 
9468
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
9469
  }
 
9470
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9471
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9472
  if (!SWIG_IsOK(res2)) {
 
9473
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9474
  }
 
9475
  if (!argp2) {
 
9476
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9477
  }
 
9478
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9479
  if (obj2) {
 
9480
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
9481
    if (!SWIG_IsOK(ecode3)) {
 
9482
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
 
9483
    } 
 
9484
    arg3 = static_cast< bool >(val3);
 
9485
  }
 
9486
  {
 
9487
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9488
    result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
 
9489
    wxPyEndAllowThreads(__tstate);
 
9490
    if (PyErr_Occurred()) SWIG_fail;
 
9491
  }
 
9492
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9493
  return resultobj;
 
9494
fail:
 
9495
  return NULL;
 
9496
}
 
9497
 
 
9498
 
 
9499
SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9500
  PyObject *resultobj = 0;
 
9501
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9502
  wxString *arg2 = 0 ;
 
9503
  int arg3 = (int) -1 ;
 
9504
  int arg4 = (int) -1 ;
 
9505
  wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
 
9506
  wxTreeItemId result;
 
9507
  void *argp1 = 0 ;
 
9508
  int res1 = 0 ;
 
9509
  bool temp2 = false ;
 
9510
  int val3 ;
 
9511
  int ecode3 = 0 ;
 
9512
  int val4 ;
 
9513
  int ecode4 = 0 ;
 
9514
  int res5 = 0 ;
 
9515
  PyObject * obj0 = 0 ;
 
9516
  PyObject * obj1 = 0 ;
 
9517
  PyObject * obj2 = 0 ;
 
9518
  PyObject * obj3 = 0 ;
 
9519
  PyObject * obj4 = 0 ;
 
9520
  char *  kwnames[] = {
 
9521
    (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
9522
  };
 
9523
  
 
9524
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
9525
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9526
  if (!SWIG_IsOK(res1)) {
 
9527
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9528
  }
 
9529
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9530
  {
 
9531
    arg2 = wxString_in_helper(obj1);
 
9532
    if (arg2 == NULL) SWIG_fail;
 
9533
    temp2 = true;
 
9534
  }
 
9535
  if (obj2) {
 
9536
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
9537
    if (!SWIG_IsOK(ecode3)) {
 
9538
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
 
9539
    } 
 
9540
    arg3 = static_cast< int >(val3);
 
9541
  }
 
9542
  if (obj3) {
 
9543
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
9544
    if (!SWIG_IsOK(ecode4)) {
 
9545
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
 
9546
    } 
 
9547
    arg4 = static_cast< int >(val4);
 
9548
  }
 
9549
  if (obj4) {
 
9550
    res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN |  0 );
 
9551
    if (!SWIG_IsOK(res5)) {
 
9552
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
 
9553
    }
 
9554
  }
 
9555
  {
 
9556
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9557
    result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
 
9558
    wxPyEndAllowThreads(__tstate);
 
9559
    if (PyErr_Occurred()) SWIG_fail;
 
9560
  }
 
9561
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9562
  {
 
9563
    if (temp2)
 
9564
    delete arg2;
 
9565
  }
 
9566
  return resultobj;
 
9567
fail:
 
9568
  {
 
9569
    if (temp2)
 
9570
    delete arg2;
 
9571
  }
 
9572
  return NULL;
 
9573
}
 
9574
 
 
9575
 
 
9576
SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9577
  PyObject *resultobj = 0;
 
9578
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9579
  wxTreeItemId *arg2 = 0 ;
 
9580
  wxString *arg3 = 0 ;
 
9581
  int arg4 = (int) -1 ;
 
9582
  int arg5 = (int) -1 ;
 
9583
  wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
 
9584
  wxTreeItemId result;
 
9585
  void *argp1 = 0 ;
 
9586
  int res1 = 0 ;
 
9587
  void *argp2 = 0 ;
 
9588
  int res2 = 0 ;
 
9589
  bool temp3 = false ;
 
9590
  int val4 ;
 
9591
  int ecode4 = 0 ;
 
9592
  int val5 ;
 
9593
  int ecode5 = 0 ;
 
9594
  int res6 = 0 ;
 
9595
  PyObject * obj0 = 0 ;
 
9596
  PyObject * obj1 = 0 ;
 
9597
  PyObject * obj2 = 0 ;
 
9598
  PyObject * obj3 = 0 ;
 
9599
  PyObject * obj4 = 0 ;
 
9600
  PyObject * obj5 = 0 ;
 
9601
  char *  kwnames[] = {
 
9602
    (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
9603
  };
 
9604
  
 
9605
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
9606
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9607
  if (!SWIG_IsOK(res1)) {
 
9608
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9609
  }
 
9610
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9611
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9612
  if (!SWIG_IsOK(res2)) {
 
9613
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9614
  }
 
9615
  if (!argp2) {
 
9616
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9617
  }
 
9618
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9619
  {
 
9620
    arg3 = wxString_in_helper(obj2);
 
9621
    if (arg3 == NULL) SWIG_fail;
 
9622
    temp3 = true;
 
9623
  }
 
9624
  if (obj3) {
 
9625
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
9626
    if (!SWIG_IsOK(ecode4)) {
 
9627
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
 
9628
    } 
 
9629
    arg4 = static_cast< int >(val4);
 
9630
  }
 
9631
  if (obj4) {
 
9632
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
9633
    if (!SWIG_IsOK(ecode5)) {
 
9634
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
 
9635
    } 
 
9636
    arg5 = static_cast< int >(val5);
 
9637
  }
 
9638
  if (obj5) {
 
9639
    res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN |  0 );
 
9640
    if (!SWIG_IsOK(res6)) {
 
9641
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
 
9642
    }
 
9643
  }
 
9644
  {
 
9645
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9646
    result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
 
9647
    wxPyEndAllowThreads(__tstate);
 
9648
    if (PyErr_Occurred()) SWIG_fail;
 
9649
  }
 
9650
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9651
  {
 
9652
    if (temp3)
 
9653
    delete arg3;
 
9654
  }
 
9655
  return resultobj;
 
9656
fail:
 
9657
  {
 
9658
    if (temp3)
 
9659
    delete arg3;
 
9660
  }
 
9661
  return NULL;
 
9662
}
 
9663
 
 
9664
 
 
9665
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9666
  PyObject *resultobj = 0;
 
9667
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9668
  wxTreeItemId *arg2 = 0 ;
 
9669
  wxTreeItemId *arg3 = 0 ;
 
9670
  wxString *arg4 = 0 ;
 
9671
  int arg5 = (int) -1 ;
 
9672
  int arg6 = (int) -1 ;
 
9673
  wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
 
9674
  wxTreeItemId result;
 
9675
  void *argp1 = 0 ;
 
9676
  int res1 = 0 ;
 
9677
  void *argp2 = 0 ;
 
9678
  int res2 = 0 ;
 
9679
  void *argp3 = 0 ;
 
9680
  int res3 = 0 ;
 
9681
  bool temp4 = false ;
 
9682
  int val5 ;
 
9683
  int ecode5 = 0 ;
 
9684
  int val6 ;
 
9685
  int ecode6 = 0 ;
 
9686
  int res7 = 0 ;
 
9687
  PyObject * obj0 = 0 ;
 
9688
  PyObject * obj1 = 0 ;
 
9689
  PyObject * obj2 = 0 ;
 
9690
  PyObject * obj3 = 0 ;
 
9691
  PyObject * obj4 = 0 ;
 
9692
  PyObject * obj5 = 0 ;
 
9693
  PyObject * obj6 = 0 ;
 
9694
  char *  kwnames[] = {
 
9695
    (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
9696
  };
 
9697
  
 
9698
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
9699
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9700
  if (!SWIG_IsOK(res1)) {
 
9701
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9702
  }
 
9703
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9704
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9705
  if (!SWIG_IsOK(res2)) {
 
9706
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9707
  }
 
9708
  if (!argp2) {
 
9709
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9710
  }
 
9711
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9712
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9713
  if (!SWIG_IsOK(res3)) {
 
9714
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); 
 
9715
  }
 
9716
  if (!argp3) {
 
9717
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); 
 
9718
  }
 
9719
  arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
 
9720
  {
 
9721
    arg4 = wxString_in_helper(obj3);
 
9722
    if (arg4 == NULL) SWIG_fail;
 
9723
    temp4 = true;
 
9724
  }
 
9725
  if (obj4) {
 
9726
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
9727
    if (!SWIG_IsOK(ecode5)) {
 
9728
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
 
9729
    } 
 
9730
    arg5 = static_cast< int >(val5);
 
9731
  }
 
9732
  if (obj5) {
 
9733
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
9734
    if (!SWIG_IsOK(ecode6)) {
 
9735
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
 
9736
    } 
 
9737
    arg6 = static_cast< int >(val6);
 
9738
  }
 
9739
  if (obj6) {
 
9740
    res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN |  0 );
 
9741
    if (!SWIG_IsOK(res7)) {
 
9742
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
 
9743
    }
 
9744
  }
 
9745
  {
 
9746
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9747
    result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
 
9748
    wxPyEndAllowThreads(__tstate);
 
9749
    if (PyErr_Occurred()) SWIG_fail;
 
9750
  }
 
9751
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9752
  {
 
9753
    if (temp4)
 
9754
    delete arg4;
 
9755
  }
 
9756
  return resultobj;
 
9757
fail:
 
9758
  {
 
9759
    if (temp4)
 
9760
    delete arg4;
 
9761
  }
 
9762
  return NULL;
 
9763
}
 
9764
 
 
9765
 
 
9766
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9767
  PyObject *resultobj = 0;
 
9768
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9769
  wxTreeItemId *arg2 = 0 ;
 
9770
  size_t arg3 ;
 
9771
  wxString *arg4 = 0 ;
 
9772
  int arg5 = (int) -1 ;
 
9773
  int arg6 = (int) -1 ;
 
9774
  wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
 
9775
  wxTreeItemId result;
 
9776
  void *argp1 = 0 ;
 
9777
  int res1 = 0 ;
 
9778
  void *argp2 = 0 ;
 
9779
  int res2 = 0 ;
 
9780
  size_t val3 ;
 
9781
  int ecode3 = 0 ;
 
9782
  bool temp4 = false ;
 
9783
  int val5 ;
 
9784
  int ecode5 = 0 ;
 
9785
  int val6 ;
 
9786
  int ecode6 = 0 ;
 
9787
  int res7 = 0 ;
 
9788
  PyObject * obj0 = 0 ;
 
9789
  PyObject * obj1 = 0 ;
 
9790
  PyObject * obj2 = 0 ;
 
9791
  PyObject * obj3 = 0 ;
 
9792
  PyObject * obj4 = 0 ;
 
9793
  PyObject * obj5 = 0 ;
 
9794
  PyObject * obj6 = 0 ;
 
9795
  char *  kwnames[] = {
 
9796
    (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
9797
  };
 
9798
  
 
9799
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
9800
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9801
  if (!SWIG_IsOK(res1)) {
 
9802
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9803
  }
 
9804
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9805
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9806
  if (!SWIG_IsOK(res2)) {
 
9807
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9808
  }
 
9809
  if (!argp2) {
 
9810
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9811
  }
 
9812
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9813
  ecode3 = SWIG_AsVal_size_t(obj2, &val3);
 
9814
  if (!SWIG_IsOK(ecode3)) {
 
9815
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
 
9816
  } 
 
9817
  arg3 = static_cast< size_t >(val3);
 
9818
  {
 
9819
    arg4 = wxString_in_helper(obj3);
 
9820
    if (arg4 == NULL) SWIG_fail;
 
9821
    temp4 = true;
 
9822
  }
 
9823
  if (obj4) {
 
9824
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
9825
    if (!SWIG_IsOK(ecode5)) {
 
9826
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
 
9827
    } 
 
9828
    arg5 = static_cast< int >(val5);
 
9829
  }
 
9830
  if (obj5) {
 
9831
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
9832
    if (!SWIG_IsOK(ecode6)) {
 
9833
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
 
9834
    } 
 
9835
    arg6 = static_cast< int >(val6);
 
9836
  }
 
9837
  if (obj6) {
 
9838
    res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN |  0 );
 
9839
    if (!SWIG_IsOK(res7)) {
 
9840
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
 
9841
    }
 
9842
  }
 
9843
  {
 
9844
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9845
    result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
 
9846
    wxPyEndAllowThreads(__tstate);
 
9847
    if (PyErr_Occurred()) SWIG_fail;
 
9848
  }
 
9849
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9850
  {
 
9851
    if (temp4)
 
9852
    delete arg4;
 
9853
  }
 
9854
  return resultobj;
 
9855
fail:
 
9856
  {
 
9857
    if (temp4)
 
9858
    delete arg4;
 
9859
  }
 
9860
  return NULL;
 
9861
}
 
9862
 
 
9863
 
 
9864
SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9865
  PyObject *resultobj = 0;
 
9866
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9867
  wxTreeItemId *arg2 = 0 ;
 
9868
  wxString *arg3 = 0 ;
 
9869
  int arg4 = (int) -1 ;
 
9870
  int arg5 = (int) -1 ;
 
9871
  wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
 
9872
  wxTreeItemId result;
 
9873
  void *argp1 = 0 ;
 
9874
  int res1 = 0 ;
 
9875
  void *argp2 = 0 ;
 
9876
  int res2 = 0 ;
 
9877
  bool temp3 = false ;
 
9878
  int val4 ;
 
9879
  int ecode4 = 0 ;
 
9880
  int val5 ;
 
9881
  int ecode5 = 0 ;
 
9882
  int res6 = 0 ;
 
9883
  PyObject * obj0 = 0 ;
 
9884
  PyObject * obj1 = 0 ;
 
9885
  PyObject * obj2 = 0 ;
 
9886
  PyObject * obj3 = 0 ;
 
9887
  PyObject * obj4 = 0 ;
 
9888
  PyObject * obj5 = 0 ;
 
9889
  char *  kwnames[] = {
 
9890
    (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
9891
  };
 
9892
  
 
9893
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
9894
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9895
  if (!SWIG_IsOK(res1)) {
 
9896
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9897
  }
 
9898
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9899
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9900
  if (!SWIG_IsOK(res2)) {
 
9901
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9902
  }
 
9903
  if (!argp2) {
 
9904
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9905
  }
 
9906
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9907
  {
 
9908
    arg3 = wxString_in_helper(obj2);
 
9909
    if (arg3 == NULL) SWIG_fail;
 
9910
    temp3 = true;
 
9911
  }
 
9912
  if (obj3) {
 
9913
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
9914
    if (!SWIG_IsOK(ecode4)) {
 
9915
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
 
9916
    } 
 
9917
    arg4 = static_cast< int >(val4);
 
9918
  }
 
9919
  if (obj4) {
 
9920
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
9921
    if (!SWIG_IsOK(ecode5)) {
 
9922
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
 
9923
    } 
 
9924
    arg5 = static_cast< int >(val5);
 
9925
  }
 
9926
  if (obj5) {
 
9927
    res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN |  0 );
 
9928
    if (!SWIG_IsOK(res6)) {
 
9929
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
 
9930
    }
 
9931
  }
 
9932
  {
 
9933
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9934
    result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
 
9935
    wxPyEndAllowThreads(__tstate);
 
9936
    if (PyErr_Occurred()) SWIG_fail;
 
9937
  }
 
9938
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
9939
  {
 
9940
    if (temp3)
 
9941
    delete arg3;
 
9942
  }
 
9943
  return resultobj;
 
9944
fail:
 
9945
  {
 
9946
    if (temp3)
 
9947
    delete arg3;
 
9948
  }
 
9949
  return NULL;
 
9950
}
 
9951
 
 
9952
 
 
9953
SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9954
  PyObject *resultobj = 0;
 
9955
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9956
  wxTreeItemId *arg2 = 0 ;
 
9957
  void *argp1 = 0 ;
 
9958
  int res1 = 0 ;
 
9959
  void *argp2 = 0 ;
 
9960
  int res2 = 0 ;
 
9961
  PyObject * obj0 = 0 ;
 
9962
  PyObject * obj1 = 0 ;
 
9963
  char *  kwnames[] = {
 
9964
    (char *) "self",(char *) "item", NULL 
 
9965
  };
 
9966
  
 
9967
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
 
9968
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
9969
  if (!SWIG_IsOK(res1)) {
 
9970
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
9971
  }
 
9972
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
9973
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
9974
  if (!SWIG_IsOK(res2)) {
 
9975
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9976
  }
 
9977
  if (!argp2) {
 
9978
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
9979
  }
 
9980
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
9981
  {
 
9982
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9983
    (arg1)->Delete((wxTreeItemId const &)*arg2);
 
9984
    wxPyEndAllowThreads(__tstate);
 
9985
    if (PyErr_Occurred()) SWIG_fail;
 
9986
  }
 
9987
  resultobj = SWIG_Py_Void();
 
9988
  return resultobj;
 
9989
fail:
 
9990
  return NULL;
 
9991
}
 
9992
 
 
9993
 
 
9994
SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9995
  PyObject *resultobj = 0;
 
9996
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
9997
  wxTreeItemId *arg2 = 0 ;
 
9998
  void *argp1 = 0 ;
 
9999
  int res1 = 0 ;
 
10000
  void *argp2 = 0 ;
 
10001
  int res2 = 0 ;
 
10002
  PyObject * obj0 = 0 ;
 
10003
  PyObject * obj1 = 0 ;
 
10004
  char *  kwnames[] = {
 
10005
    (char *) "self",(char *) "item", NULL 
 
10006
  };
 
10007
  
 
10008
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
 
10009
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10010
  if (!SWIG_IsOK(res1)) {
 
10011
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10012
  }
 
10013
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10014
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10015
  if (!SWIG_IsOK(res2)) {
 
10016
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10017
  }
 
10018
  if (!argp2) {
 
10019
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10020
  }
 
10021
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10022
  {
 
10023
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10024
    (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
 
10025
    wxPyEndAllowThreads(__tstate);
 
10026
    if (PyErr_Occurred()) SWIG_fail;
 
10027
  }
 
10028
  resultobj = SWIG_Py_Void();
 
10029
  return resultobj;
 
10030
fail:
 
10031
  return NULL;
 
10032
}
 
10033
 
 
10034
 
 
10035
SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10036
  PyObject *resultobj = 0;
 
10037
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10038
  void *argp1 = 0 ;
 
10039
  int res1 = 0 ;
 
10040
  PyObject *swig_obj[1] ;
 
10041
  
 
10042
  if (!args) SWIG_fail;
 
10043
  swig_obj[0] = args;
 
10044
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10045
  if (!SWIG_IsOK(res1)) {
 
10046
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10047
  }
 
10048
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10049
  {
 
10050
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10051
    (arg1)->DeleteRoot();
 
10052
    wxPyEndAllowThreads(__tstate);
 
10053
    if (PyErr_Occurred()) SWIG_fail;
 
10054
  }
 
10055
  resultobj = SWIG_Py_Void();
 
10056
  return resultobj;
 
10057
fail:
 
10058
  return NULL;
 
10059
}
 
10060
 
 
10061
 
 
10062
SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10063
  PyObject *resultobj = 0;
 
10064
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10065
  wxTreeItemId *arg2 = 0 ;
 
10066
  void *argp1 = 0 ;
 
10067
  int res1 = 0 ;
 
10068
  void *argp2 = 0 ;
 
10069
  int res2 = 0 ;
 
10070
  PyObject * obj0 = 0 ;
 
10071
  PyObject * obj1 = 0 ;
 
10072
  char *  kwnames[] = {
 
10073
    (char *) "self",(char *) "item", NULL 
 
10074
  };
 
10075
  
 
10076
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
 
10077
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10078
  if (!SWIG_IsOK(res1)) {
 
10079
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10080
  }
 
10081
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10082
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10083
  if (!SWIG_IsOK(res2)) {
 
10084
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10085
  }
 
10086
  if (!argp2) {
 
10087
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10088
  }
 
10089
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10090
  {
 
10091
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10092
    (arg1)->Expand((wxTreeItemId const &)*arg2);
 
10093
    wxPyEndAllowThreads(__tstate);
 
10094
    if (PyErr_Occurred()) SWIG_fail;
 
10095
  }
 
10096
  resultobj = SWIG_Py_Void();
 
10097
  return resultobj;
 
10098
fail:
 
10099
  return NULL;
 
10100
}
 
10101
 
 
10102
 
 
10103
SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10104
  PyObject *resultobj = 0;
 
10105
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10106
  wxTreeItemId *arg2 = 0 ;
 
10107
  void *argp1 = 0 ;
 
10108
  int res1 = 0 ;
 
10109
  void *argp2 = 0 ;
 
10110
  int res2 = 0 ;
 
10111
  PyObject * obj0 = 0 ;
 
10112
  PyObject * obj1 = 0 ;
 
10113
  char *  kwnames[] = {
 
10114
    (char *) "self",(char *) "item", NULL 
 
10115
  };
 
10116
  
 
10117
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
 
10118
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10119
  if (!SWIG_IsOK(res1)) {
 
10120
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10121
  }
 
10122
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10123
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10124
  if (!SWIG_IsOK(res2)) {
 
10125
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10126
  }
 
10127
  if (!argp2) {
 
10128
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10129
  }
 
10130
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10131
  {
 
10132
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10133
    (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
 
10134
    wxPyEndAllowThreads(__tstate);
 
10135
    if (PyErr_Occurred()) SWIG_fail;
 
10136
  }
 
10137
  resultobj = SWIG_Py_Void();
 
10138
  return resultobj;
 
10139
fail:
 
10140
  return NULL;
 
10141
}
 
10142
 
 
10143
 
 
10144
SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10145
  PyObject *resultobj = 0;
 
10146
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10147
  wxTreeItemId *arg2 = 0 ;
 
10148
  void *argp1 = 0 ;
 
10149
  int res1 = 0 ;
 
10150
  void *argp2 = 0 ;
 
10151
  int res2 = 0 ;
 
10152
  PyObject * obj0 = 0 ;
 
10153
  PyObject * obj1 = 0 ;
 
10154
  char *  kwnames[] = {
 
10155
    (char *) "self",(char *) "item", NULL 
 
10156
  };
 
10157
  
 
10158
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
 
10159
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10160
  if (!SWIG_IsOK(res1)) {
 
10161
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10162
  }
 
10163
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10164
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10165
  if (!SWIG_IsOK(res2)) {
 
10166
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10167
  }
 
10168
  if (!argp2) {
 
10169
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10170
  }
 
10171
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10172
  {
 
10173
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10174
    (arg1)->Collapse((wxTreeItemId const &)*arg2);
 
10175
    wxPyEndAllowThreads(__tstate);
 
10176
    if (PyErr_Occurred()) SWIG_fail;
 
10177
  }
 
10178
  resultobj = SWIG_Py_Void();
 
10179
  return resultobj;
 
10180
fail:
 
10181
  return NULL;
 
10182
}
 
10183
 
 
10184
 
 
10185
SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10186
  PyObject *resultobj = 0;
 
10187
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10188
  wxTreeItemId *arg2 = 0 ;
 
10189
  void *argp1 = 0 ;
 
10190
  int res1 = 0 ;
 
10191
  void *argp2 = 0 ;
 
10192
  int res2 = 0 ;
 
10193
  PyObject * obj0 = 0 ;
 
10194
  PyObject * obj1 = 0 ;
 
10195
  char *  kwnames[] = {
 
10196
    (char *) "self",(char *) "item", NULL 
 
10197
  };
 
10198
  
 
10199
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
 
10200
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10201
  if (!SWIG_IsOK(res1)) {
 
10202
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10203
  }
 
10204
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10205
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10206
  if (!SWIG_IsOK(res2)) {
 
10207
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10208
  }
 
10209
  if (!argp2) {
 
10210
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10211
  }
 
10212
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10213
  {
 
10214
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10215
    (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
 
10216
    wxPyEndAllowThreads(__tstate);
 
10217
    if (PyErr_Occurred()) SWIG_fail;
 
10218
  }
 
10219
  resultobj = SWIG_Py_Void();
 
10220
  return resultobj;
 
10221
fail:
 
10222
  return NULL;
 
10223
}
 
10224
 
 
10225
 
 
10226
SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10227
  PyObject *resultobj = 0;
 
10228
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10229
  wxTreeItemId *arg2 = 0 ;
 
10230
  void *argp1 = 0 ;
 
10231
  int res1 = 0 ;
 
10232
  void *argp2 = 0 ;
 
10233
  int res2 = 0 ;
 
10234
  PyObject * obj0 = 0 ;
 
10235
  PyObject * obj1 = 0 ;
 
10236
  char *  kwnames[] = {
 
10237
    (char *) "self",(char *) "item", NULL 
 
10238
  };
 
10239
  
 
10240
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
 
10241
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10242
  if (!SWIG_IsOK(res1)) {
 
10243
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10244
  }
 
10245
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10246
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10247
  if (!SWIG_IsOK(res2)) {
 
10248
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10249
  }
 
10250
  if (!argp2) {
 
10251
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10252
  }
 
10253
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10254
  {
 
10255
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10256
    (arg1)->Toggle((wxTreeItemId const &)*arg2);
 
10257
    wxPyEndAllowThreads(__tstate);
 
10258
    if (PyErr_Occurred()) SWIG_fail;
 
10259
  }
 
10260
  resultobj = SWIG_Py_Void();
 
10261
  return resultobj;
 
10262
fail:
 
10263
  return NULL;
 
10264
}
 
10265
 
 
10266
 
 
10267
SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10268
  PyObject *resultobj = 0;
 
10269
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10270
  void *argp1 = 0 ;
 
10271
  int res1 = 0 ;
 
10272
  PyObject *swig_obj[1] ;
 
10273
  
 
10274
  if (!args) SWIG_fail;
 
10275
  swig_obj[0] = args;
 
10276
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10277
  if (!SWIG_IsOK(res1)) {
 
10278
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10279
  }
 
10280
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10281
  {
 
10282
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10283
    (arg1)->Unselect();
 
10284
    wxPyEndAllowThreads(__tstate);
 
10285
    if (PyErr_Occurred()) SWIG_fail;
 
10286
  }
 
10287
  resultobj = SWIG_Py_Void();
 
10288
  return resultobj;
 
10289
fail:
 
10290
  return NULL;
 
10291
}
 
10292
 
 
10293
 
 
10294
SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10295
  PyObject *resultobj = 0;
 
10296
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10297
  void *argp1 = 0 ;
 
10298
  int res1 = 0 ;
 
10299
  PyObject *swig_obj[1] ;
 
10300
  
 
10301
  if (!args) SWIG_fail;
 
10302
  swig_obj[0] = args;
 
10303
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10304
  if (!SWIG_IsOK(res1)) {
 
10305
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10306
  }
 
10307
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10308
  {
 
10309
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10310
    (arg1)->UnselectAll();
 
10311
    wxPyEndAllowThreads(__tstate);
 
10312
    if (PyErr_Occurred()) SWIG_fail;
 
10313
  }
 
10314
  resultobj = SWIG_Py_Void();
 
10315
  return resultobj;
 
10316
fail:
 
10317
  return NULL;
 
10318
}
 
10319
 
 
10320
 
 
10321
SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10322
  PyObject *resultobj = 0;
 
10323
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10324
  wxTreeItemId *arg2 = 0 ;
 
10325
  wxTreeItemId const &arg3_defvalue = wxTreeItemId() ;
 
10326
  wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
 
10327
  bool arg4 = (bool) true ;
 
10328
  void *argp1 = 0 ;
 
10329
  int res1 = 0 ;
 
10330
  void *argp2 = 0 ;
 
10331
  int res2 = 0 ;
 
10332
  void *argp3 = 0 ;
 
10333
  int res3 = 0 ;
 
10334
  bool val4 ;
 
10335
  int ecode4 = 0 ;
 
10336
  PyObject * obj0 = 0 ;
 
10337
  PyObject * obj1 = 0 ;
 
10338
  PyObject * obj2 = 0 ;
 
10339
  PyObject * obj3 = 0 ;
 
10340
  char *  kwnames[] = {
 
10341
    (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL 
 
10342
  };
 
10343
  
 
10344
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
10345
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10346
  if (!SWIG_IsOK(res1)) {
 
10347
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10348
  }
 
10349
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10350
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10351
  if (!SWIG_IsOK(res2)) {
 
10352
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10353
  }
 
10354
  if (!argp2) {
 
10355
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10356
  }
 
10357
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10358
  if (obj2) {
 
10359
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10360
    if (!SWIG_IsOK(res3)) {
 
10361
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); 
 
10362
    }
 
10363
    if (!argp3) {
 
10364
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); 
 
10365
    }
 
10366
    arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
 
10367
  }
 
10368
  if (obj3) {
 
10369
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
 
10370
    if (!SWIG_IsOK(ecode4)) {
 
10371
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
 
10372
    } 
 
10373
    arg4 = static_cast< bool >(val4);
 
10374
  }
 
10375
  {
 
10376
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10377
    (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
 
10378
    wxPyEndAllowThreads(__tstate);
 
10379
    if (PyErr_Occurred()) SWIG_fail;
 
10380
  }
 
10381
  resultobj = SWIG_Py_Void();
 
10382
  return resultobj;
 
10383
fail:
 
10384
  return NULL;
 
10385
}
 
10386
 
 
10387
 
 
10388
SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10389
  PyObject *resultobj = 0;
 
10390
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10391
  void *argp1 = 0 ;
 
10392
  int res1 = 0 ;
 
10393
  PyObject *swig_obj[1] ;
 
10394
  
 
10395
  if (!args) SWIG_fail;
 
10396
  swig_obj[0] = args;
 
10397
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10398
  if (!SWIG_IsOK(res1)) {
 
10399
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10400
  }
 
10401
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10402
  {
 
10403
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10404
    (arg1)->SelectAll();
 
10405
    wxPyEndAllowThreads(__tstate);
 
10406
    if (PyErr_Occurred()) SWIG_fail;
 
10407
  }
 
10408
  resultobj = SWIG_Py_Void();
 
10409
  return resultobj;
 
10410
fail:
 
10411
  return NULL;
 
10412
}
 
10413
 
 
10414
 
 
10415
SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10416
  PyObject *resultobj = 0;
 
10417
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10418
  wxTreeItemId *arg2 = 0 ;
 
10419
  void *argp1 = 0 ;
 
10420
  int res1 = 0 ;
 
10421
  void *argp2 = 0 ;
 
10422
  int res2 = 0 ;
 
10423
  PyObject * obj0 = 0 ;
 
10424
  PyObject * obj1 = 0 ;
 
10425
  char *  kwnames[] = {
 
10426
    (char *) "self",(char *) "item", NULL 
 
10427
  };
 
10428
  
 
10429
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
10430
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10431
  if (!SWIG_IsOK(res1)) {
 
10432
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10433
  }
 
10434
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10435
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10436
  if (!SWIG_IsOK(res2)) {
 
10437
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10438
  }
 
10439
  if (!argp2) {
 
10440
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10441
  }
 
10442
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10443
  {
 
10444
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10445
    (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
 
10446
    wxPyEndAllowThreads(__tstate);
 
10447
    if (PyErr_Occurred()) SWIG_fail;
 
10448
  }
 
10449
  resultobj = SWIG_Py_Void();
 
10450
  return resultobj;
 
10451
fail:
 
10452
  return NULL;
 
10453
}
 
10454
 
 
10455
 
 
10456
SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10457
  PyObject *resultobj = 0;
 
10458
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10459
  wxTreeItemId *arg2 = 0 ;
 
10460
  void *argp1 = 0 ;
 
10461
  int res1 = 0 ;
 
10462
  void *argp2 = 0 ;
 
10463
  int res2 = 0 ;
 
10464
  PyObject * obj0 = 0 ;
 
10465
  PyObject * obj1 = 0 ;
 
10466
  char *  kwnames[] = {
 
10467
    (char *) "self",(char *) "item", NULL 
 
10468
  };
 
10469
  
 
10470
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
 
10471
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10472
  if (!SWIG_IsOK(res1)) {
 
10473
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10474
  }
 
10475
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10476
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10477
  if (!SWIG_IsOK(res2)) {
 
10478
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10479
  }
 
10480
  if (!argp2) {
 
10481
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10482
  }
 
10483
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10484
  {
 
10485
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10486
    (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
 
10487
    wxPyEndAllowThreads(__tstate);
 
10488
    if (PyErr_Occurred()) SWIG_fail;
 
10489
  }
 
10490
  resultobj = SWIG_Py_Void();
 
10491
  return resultobj;
 
10492
fail:
 
10493
  return NULL;
 
10494
}
 
10495
 
 
10496
 
 
10497
SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10498
  PyObject *resultobj = 0;
 
10499
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10500
  wxPoint *arg2 = 0 ;
 
10501
  int *arg3 = 0 ;
 
10502
  int *arg4 = 0 ;
 
10503
  wxTreeItemId result;
 
10504
  void *argp1 = 0 ;
 
10505
  int res1 = 0 ;
 
10506
  wxPoint temp2 ;
 
10507
  int temp3 ;
 
10508
  int res3 = SWIG_TMPOBJ ;
 
10509
  int temp4 ;
 
10510
  int res4 = SWIG_TMPOBJ ;
 
10511
  PyObject * obj0 = 0 ;
 
10512
  PyObject * obj1 = 0 ;
 
10513
  char *  kwnames[] = {
 
10514
    (char *) "self",(char *) "point", NULL 
 
10515
  };
 
10516
  
 
10517
  arg3 = &temp3;
 
10518
  arg4 = &temp4;
 
10519
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
 
10520
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10521
  if (!SWIG_IsOK(res1)) {
 
10522
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10523
  }
 
10524
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10525
  {
 
10526
    arg2 = &temp2;
 
10527
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
10528
  }
 
10529
  {
 
10530
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10531
    result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
 
10532
    wxPyEndAllowThreads(__tstate);
 
10533
    if (PyErr_Occurred()) SWIG_fail;
 
10534
  }
 
10535
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
10536
  if (SWIG_IsTmpObj(res3)) {
 
10537
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
 
10538
  } else {
 
10539
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
10540
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
 
10541
  }
 
10542
  if (SWIG_IsTmpObj(res4)) {
 
10543
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
 
10544
  } else {
 
10545
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
10546
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
 
10547
  }
 
10548
  return resultobj;
 
10549
fail:
 
10550
  return NULL;
 
10551
}
 
10552
 
 
10553
 
 
10554
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10555
  PyObject *resultobj = 0;
 
10556
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10557
  wxTreeItemId *arg2 = 0 ;
 
10558
  bool arg3 = (bool) false ;
 
10559
  PyObject *result = 0 ;
 
10560
  void *argp1 = 0 ;
 
10561
  int res1 = 0 ;
 
10562
  void *argp2 = 0 ;
 
10563
  int res2 = 0 ;
 
10564
  bool val3 ;
 
10565
  int ecode3 = 0 ;
 
10566
  PyObject * obj0 = 0 ;
 
10567
  PyObject * obj1 = 0 ;
 
10568
  PyObject * obj2 = 0 ;
 
10569
  char *  kwnames[] = {
 
10570
    (char *) "self",(char *) "item",(char *) "textOnly", NULL 
 
10571
  };
 
10572
  
 
10573
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10574
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10575
  if (!SWIG_IsOK(res1)) {
 
10576
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10577
  }
 
10578
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10579
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10580
  if (!SWIG_IsOK(res2)) {
 
10581
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10582
  }
 
10583
  if (!argp2) {
 
10584
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10585
  }
 
10586
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10587
  if (obj2) {
 
10588
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
10589
    if (!SWIG_IsOK(ecode3)) {
 
10590
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
 
10591
    } 
 
10592
    arg3 = static_cast< bool >(val3);
 
10593
  }
 
10594
  {
 
10595
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10596
    result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
 
10597
    wxPyEndAllowThreads(__tstate);
 
10598
    if (PyErr_Occurred()) SWIG_fail;
 
10599
  }
 
10600
  resultobj = result;
 
10601
  return resultobj;
 
10602
fail:
 
10603
  return NULL;
 
10604
}
 
10605
 
 
10606
 
 
10607
SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10608
  PyObject *resultobj = 0;
 
10609
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10610
  wxTreeItemId *arg2 = 0 ;
 
10611
  int arg3 = (int) -1 ;
 
10612
  void *argp1 = 0 ;
 
10613
  int res1 = 0 ;
 
10614
  void *argp2 = 0 ;
 
10615
  int res2 = 0 ;
 
10616
  int val3 ;
 
10617
  int ecode3 = 0 ;
 
10618
  PyObject * obj0 = 0 ;
 
10619
  PyObject * obj1 = 0 ;
 
10620
  PyObject * obj2 = 0 ;
 
10621
  char *  kwnames[] = {
 
10622
    (char *) "self",(char *) "item",(char *) "column", NULL 
 
10623
  };
 
10624
  
 
10625
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10626
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10627
  if (!SWIG_IsOK(res1)) {
 
10628
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10629
  }
 
10630
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10631
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10632
  if (!SWIG_IsOK(res2)) {
 
10633
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10634
  }
 
10635
  if (!argp2) {
 
10636
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10637
  }
 
10638
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10639
  if (obj2) {
 
10640
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
10641
    if (!SWIG_IsOK(ecode3)) {
 
10642
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
 
10643
    } 
 
10644
    arg3 = static_cast< int >(val3);
 
10645
  }
 
10646
  {
 
10647
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10648
    wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
 
10649
    wxPyEndAllowThreads(__tstate);
 
10650
    if (PyErr_Occurred()) SWIG_fail;
 
10651
  }
 
10652
  resultobj = SWIG_Py_Void();
 
10653
  return resultobj;
 
10654
fail:
 
10655
  return NULL;
 
10656
}
 
10657
 
 
10658
 
 
10659
SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10660
  PyObject *resultobj = 0;
 
10661
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10662
  wxTreeItemId *arg2 = 0 ;
 
10663
  void *argp1 = 0 ;
 
10664
  int res1 = 0 ;
 
10665
  void *argp2 = 0 ;
 
10666
  int res2 = 0 ;
 
10667
  PyObject * obj0 = 0 ;
 
10668
  PyObject * obj1 = 0 ;
 
10669
  char *  kwnames[] = {
 
10670
    (char *) "self",(char *) "item", NULL 
 
10671
  };
 
10672
  
 
10673
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
 
10674
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10675
  if (!SWIG_IsOK(res1)) {
 
10676
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10677
  }
 
10678
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10679
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10680
  if (!SWIG_IsOK(res2)) {
 
10681
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10682
  }
 
10683
  if (!argp2) {
 
10684
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10685
  }
 
10686
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10687
  {
 
10688
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10689
    (arg1)->SortChildren((wxTreeItemId const &)*arg2);
 
10690
    wxPyEndAllowThreads(__tstate);
 
10691
    if (PyErr_Occurred()) SWIG_fail;
 
10692
  }
 
10693
  resultobj = SWIG_Py_Void();
 
10694
  return resultobj;
 
10695
fail:
 
10696
  return NULL;
 
10697
}
 
10698
 
 
10699
 
 
10700
SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10701
  PyObject *resultobj = 0;
 
10702
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10703
  wxTreeItemId *arg2 = 0 ;
 
10704
  wxString *arg3 = 0 ;
 
10705
  int arg4 = (int) 0 ;
 
10706
  wxTreeItemId result;
 
10707
  void *argp1 = 0 ;
 
10708
  int res1 = 0 ;
 
10709
  void *argp2 = 0 ;
 
10710
  int res2 = 0 ;
 
10711
  bool temp3 = false ;
 
10712
  int val4 ;
 
10713
  int ecode4 = 0 ;
 
10714
  PyObject * obj0 = 0 ;
 
10715
  PyObject * obj1 = 0 ;
 
10716
  PyObject * obj2 = 0 ;
 
10717
  PyObject * obj3 = 0 ;
 
10718
  char *  kwnames[] = {
 
10719
    (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL 
 
10720
  };
 
10721
  
 
10722
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
10723
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10724
  if (!SWIG_IsOK(res1)) {
 
10725
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10726
  }
 
10727
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10728
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10729
  if (!SWIG_IsOK(res2)) {
 
10730
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10731
  }
 
10732
  if (!argp2) {
 
10733
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10734
  }
 
10735
  arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10736
  {
 
10737
    arg3 = wxString_in_helper(obj2);
 
10738
    if (arg3 == NULL) SWIG_fail;
 
10739
    temp3 = true;
 
10740
  }
 
10741
  if (obj3) {
 
10742
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
10743
    if (!SWIG_IsOK(ecode4)) {
 
10744
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
 
10745
    } 
 
10746
    arg4 = static_cast< int >(val4);
 
10747
  }
 
10748
  {
 
10749
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10750
    result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
 
10751
    wxPyEndAllowThreads(__tstate);
 
10752
    if (PyErr_Occurred()) SWIG_fail;
 
10753
  }
 
10754
  resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN |  0 );
 
10755
  {
 
10756
    if (temp3)
 
10757
    delete arg3;
 
10758
  }
 
10759
  return resultobj;
 
10760
fail:
 
10761
  {
 
10762
    if (temp3)
 
10763
    delete arg3;
 
10764
  }
 
10765
  return NULL;
 
10766
}
 
10767
 
 
10768
 
 
10769
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10770
  PyObject *resultobj = 0;
 
10771
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10772
  wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
 
10773
  wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
 
10774
  void *argp1 = 0 ;
 
10775
  int res1 = 0 ;
 
10776
  void *argp2 = 0 ;
 
10777
  int res2 = 0 ;
 
10778
  PyObject * obj0 = 0 ;
 
10779
  PyObject * obj1 = 0 ;
 
10780
  char *  kwnames[] = {
 
10781
    (char *) "self",(char *) "item", NULL 
 
10782
  };
 
10783
  
 
10784
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
 
10785
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10786
  if (!SWIG_IsOK(res1)) {
 
10787
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); 
 
10788
  }
 
10789
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10790
  if (obj1) {
 
10791
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId,  0  | 0);
 
10792
    if (!SWIG_IsOK(res2)) {
 
10793
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10794
    }
 
10795
    if (!argp2) {
 
10796
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); 
 
10797
    }
 
10798
    arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
 
10799
  }
 
10800
  {
 
10801
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10802
    (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
 
10803
    wxPyEndAllowThreads(__tstate);
 
10804
    if (PyErr_Occurred()) SWIG_fail;
 
10805
  }
 
10806
  resultobj = SWIG_Py_Void();
 
10807
  return resultobj;
 
10808
fail:
 
10809
  return NULL;
 
10810
}
 
10811
 
 
10812
 
 
10813
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10814
  PyObject *resultobj = 0;
 
10815
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10816
  wxWindow *result = 0 ;
 
10817
  void *argp1 = 0 ;
 
10818
  int res1 = 0 ;
 
10819
  PyObject *swig_obj[1] ;
 
10820
  
 
10821
  if (!args) SWIG_fail;
 
10822
  swig_obj[0] = args;
 
10823
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10824
  if (!SWIG_IsOK(res1)) {
 
10825
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
10826
  }
 
10827
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10828
  {
 
10829
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10830
    result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
 
10831
    wxPyEndAllowThreads(__tstate);
 
10832
    if (PyErr_Occurred()) SWIG_fail;
 
10833
  }
 
10834
  {
 
10835
    resultobj = wxPyMake_wxObject(result, 0); 
 
10836
  }
 
10837
  return resultobj;
 
10838
fail:
 
10839
  return NULL;
 
10840
}
 
10841
 
 
10842
 
 
10843
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10844
  PyObject *resultobj = 0;
 
10845
  wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
 
10846
  wxScrolledWindow *result = 0 ;
 
10847
  void *argp1 = 0 ;
 
10848
  int res1 = 0 ;
 
10849
  PyObject *swig_obj[1] ;
 
10850
  
 
10851
  if (!args) SWIG_fail;
 
10852
  swig_obj[0] = args;
 
10853
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 |  0 );
 
10854
  if (!SWIG_IsOK(res1)) {
 
10855
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); 
 
10856
  }
 
10857
  arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
 
10858
  {
 
10859
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10860
    result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
 
10861
    wxPyEndAllowThreads(__tstate);
 
10862
    if (PyErr_Occurred()) SWIG_fail;
 
10863
  }
 
10864
  {
 
10865
    resultobj = wxPyMake_wxObject(result, 0); 
 
10866
  }
 
10867
  return resultobj;
 
10868
fail:
 
10869
  return NULL;
 
10870
}
 
10871
 
 
10872
 
 
10873
SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10874
  PyObject *obj;
 
10875
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
10876
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
 
10877
  return SWIG_Py_Void();
 
10878
}
 
10879
 
 
10880
SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10881
  return SWIG_Python_InitShadowInstance(args);
 
10882
}
 
10883
 
 
10884
SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10885
  PyObject *resultobj = 0;
 
10886
  wxWindow *arg1 = (wxWindow *) 0 ;
 
10887
  int arg2 = (int) -1 ;
 
10888
  wxBitmap const &arg3_defvalue = wxNullBitmap ;
 
10889
  wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
 
10890
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
10891
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
10892
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
10893
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
10894
  long arg6 = (long) 0 ;
 
10895
  wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
 
10896
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
10897
  wxStaticPicture *result = 0 ;
 
10898
  void *argp1 = 0 ;
 
10899
  int res1 = 0 ;
 
10900
  int val2 ;
 
10901
  int ecode2 = 0 ;
 
10902
  void *argp3 = 0 ;
 
10903
  int res3 = 0 ;
 
10904
  wxPoint temp4 ;
 
10905
  wxSize temp5 ;
 
10906
  long val6 ;
 
10907
  int ecode6 = 0 ;
 
10908
  bool temp7 = false ;
 
10909
  PyObject * obj0 = 0 ;
 
10910
  PyObject * obj1 = 0 ;
 
10911
  PyObject * obj2 = 0 ;
 
10912
  PyObject * obj3 = 0 ;
 
10913
  PyObject * obj4 = 0 ;
 
10914
  PyObject * obj5 = 0 ;
 
10915
  PyObject * obj6 = 0 ;
 
10916
  char *  kwnames[] = {
 
10917
    (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10918
  };
 
10919
  
 
10920
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
10921
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
10922
  if (!SWIG_IsOK(res1)) {
 
10923
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
10924
  }
 
10925
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
10926
  if (obj1) {
 
10927
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10928
    if (!SWIG_IsOK(ecode2)) {
 
10929
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
 
10930
    } 
 
10931
    arg2 = static_cast< int >(val2);
 
10932
  }
 
10933
  if (obj2) {
 
10934
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap,  0  | 0);
 
10935
    if (!SWIG_IsOK(res3)) {
 
10936
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'"); 
 
10937
    }
 
10938
    if (!argp3) {
 
10939
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'"); 
 
10940
    }
 
10941
    arg3 = reinterpret_cast< wxBitmap * >(argp3);
 
10942
  }
 
10943
  if (obj3) {
 
10944
    {
 
10945
      arg4 = &temp4;
 
10946
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
10947
    }
 
10948
  }
 
10949
  if (obj4) {
 
10950
    {
 
10951
      arg5 = &temp5;
 
10952
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
10953
    }
 
10954
  }
 
10955
  if (obj5) {
 
10956
    ecode6 = SWIG_AsVal_long(obj5, &val6);
 
10957
    if (!SWIG_IsOK(ecode6)) {
 
10958
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
 
10959
    } 
 
10960
    arg6 = static_cast< long >(val6);
 
10961
  }
 
10962
  if (obj6) {
 
10963
    {
 
10964
      arg7 = wxString_in_helper(obj6);
 
10965
      if (arg7 == NULL) SWIG_fail;
 
10966
      temp7 = true;
 
10967
    }
 
10968
  }
 
10969
  {
 
10970
    if (!wxPyCheckForApp()) SWIG_fail;
 
10971
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10972
    result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
 
10973
    wxPyEndAllowThreads(__tstate);
 
10974
    if (PyErr_Occurred()) SWIG_fail;
 
10975
  }
 
10976
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW |  0 );
 
10977
  {
 
10978
    if (temp7)
 
10979
    delete arg7;
 
10980
  }
 
10981
  return resultobj;
 
10982
fail:
 
10983
  {
 
10984
    if (temp7)
 
10985
    delete arg7;
 
10986
  }
 
10987
  return NULL;
 
10988
}
 
10989
 
 
10990
 
 
10991
SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10992
  PyObject *resultobj = 0;
 
10993
  wxStaticPicture *result = 0 ;
 
10994
  
 
10995
  if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
 
10996
  {
 
10997
    if (!wxPyCheckForApp()) SWIG_fail;
 
10998
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10999
    result = (wxStaticPicture *)new wxStaticPicture();
 
11000
    wxPyEndAllowThreads(__tstate);
 
11001
    if (PyErr_Occurred()) SWIG_fail;
 
11002
  }
 
11003
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN |  0 );
 
11004
  return resultobj;
 
11005
fail:
 
11006
  return NULL;
 
11007
}
 
11008
 
 
11009
 
 
11010
SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11011
  PyObject *resultobj = 0;
 
11012
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11013
  wxWindow *arg2 = (wxWindow *) 0 ;
 
11014
  int arg3 = (int) -1 ;
 
11015
  wxBitmap const &arg4_defvalue = wxNullBitmap ;
 
11016
  wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
 
11017
  wxPoint const &arg5_defvalue = wxDefaultPosition ;
 
11018
  wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
 
11019
  wxSize const &arg6_defvalue = wxDefaultSize ;
 
11020
  wxSize *arg6 = (wxSize *) &arg6_defvalue ;
 
11021
  long arg7 = (long) 0 ;
 
11022
  wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
 
11023
  wxString *arg8 = (wxString *) &arg8_defvalue ;
 
11024
  bool result;
 
11025
  void *argp1 = 0 ;
 
11026
  int res1 = 0 ;
 
11027
  void *argp2 = 0 ;
 
11028
  int res2 = 0 ;
 
11029
  int val3 ;
 
11030
  int ecode3 = 0 ;
 
11031
  void *argp4 = 0 ;
 
11032
  int res4 = 0 ;
 
11033
  wxPoint temp5 ;
 
11034
  wxSize temp6 ;
 
11035
  long val7 ;
 
11036
  int ecode7 = 0 ;
 
11037
  bool temp8 = false ;
 
11038
  PyObject * obj0 = 0 ;
 
11039
  PyObject * obj1 = 0 ;
 
11040
  PyObject * obj2 = 0 ;
 
11041
  PyObject * obj3 = 0 ;
 
11042
  PyObject * obj4 = 0 ;
 
11043
  PyObject * obj5 = 0 ;
 
11044
  PyObject * obj6 = 0 ;
 
11045
  PyObject * obj7 = 0 ;
 
11046
  char *  kwnames[] = {
 
11047
    (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
11048
  };
 
11049
  
 
11050
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
 
11051
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11052
  if (!SWIG_IsOK(res1)) {
 
11053
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); 
 
11054
  }
 
11055
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11056
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
11057
  if (!SWIG_IsOK(res2)) {
 
11058
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
11059
  }
 
11060
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
11061
  if (obj2) {
 
11062
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11063
    if (!SWIG_IsOK(ecode3)) {
 
11064
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
 
11065
    } 
 
11066
    arg3 = static_cast< int >(val3);
 
11067
  }
 
11068
  if (obj3) {
 
11069
    res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap,  0  | 0);
 
11070
    if (!SWIG_IsOK(res4)) {
 
11071
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'"); 
 
11072
    }
 
11073
    if (!argp4) {
 
11074
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'"); 
 
11075
    }
 
11076
    arg4 = reinterpret_cast< wxBitmap * >(argp4);
 
11077
  }
 
11078
  if (obj4) {
 
11079
    {
 
11080
      arg5 = &temp5;
 
11081
      if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
 
11082
    }
 
11083
  }
 
11084
  if (obj5) {
 
11085
    {
 
11086
      arg6 = &temp6;
 
11087
      if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
 
11088
    }
 
11089
  }
 
11090
  if (obj6) {
 
11091
    ecode7 = SWIG_AsVal_long(obj6, &val7);
 
11092
    if (!SWIG_IsOK(ecode7)) {
 
11093
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
 
11094
    } 
 
11095
    arg7 = static_cast< long >(val7);
 
11096
  }
 
11097
  if (obj7) {
 
11098
    {
 
11099
      arg8 = wxString_in_helper(obj7);
 
11100
      if (arg8 == NULL) SWIG_fail;
 
11101
      temp8 = true;
 
11102
    }
 
11103
  }
 
11104
  {
 
11105
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11106
    result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
 
11107
    wxPyEndAllowThreads(__tstate);
 
11108
    if (PyErr_Occurred()) SWIG_fail;
 
11109
  }
 
11110
  {
 
11111
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11112
  }
 
11113
  {
 
11114
    if (temp8)
 
11115
    delete arg8;
 
11116
  }
 
11117
  return resultobj;
 
11118
fail:
 
11119
  {
 
11120
    if (temp8)
 
11121
    delete arg8;
 
11122
  }
 
11123
  return NULL;
 
11124
}
 
11125
 
 
11126
 
 
11127
SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11128
  PyObject *resultobj = 0;
 
11129
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11130
  wxBitmap *arg2 = 0 ;
 
11131
  void *argp1 = 0 ;
 
11132
  int res1 = 0 ;
 
11133
  void *argp2 = 0 ;
 
11134
  int res2 = 0 ;
 
11135
  PyObject * obj0 = 0 ;
 
11136
  PyObject * obj1 = 0 ;
 
11137
  char *  kwnames[] = {
 
11138
    (char *) "self",(char *) "bmp", NULL 
 
11139
  };
 
11140
  
 
11141
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
 
11142
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11143
  if (!SWIG_IsOK(res1)) {
 
11144
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); 
 
11145
  }
 
11146
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11147
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap,  0  | 0);
 
11148
  if (!SWIG_IsOK(res2)) {
 
11149
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); 
 
11150
  }
 
11151
  if (!argp2) {
 
11152
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); 
 
11153
  }
 
11154
  arg2 = reinterpret_cast< wxBitmap * >(argp2);
 
11155
  {
 
11156
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11157
    (arg1)->SetBitmap((wxBitmap const &)*arg2);
 
11158
    wxPyEndAllowThreads(__tstate);
 
11159
    if (PyErr_Occurred()) SWIG_fail;
 
11160
  }
 
11161
  resultobj = SWIG_Py_Void();
 
11162
  return resultobj;
 
11163
fail:
 
11164
  return NULL;
 
11165
}
 
11166
 
 
11167
 
 
11168
SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11169
  PyObject *resultobj = 0;
 
11170
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11171
  wxBitmap result;
 
11172
  void *argp1 = 0 ;
 
11173
  int res1 = 0 ;
 
11174
  PyObject *swig_obj[1] ;
 
11175
  
 
11176
  if (!args) SWIG_fail;
 
11177
  swig_obj[0] = args;
 
11178
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11179
  if (!SWIG_IsOK(res1)) {
 
11180
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); 
 
11181
  }
 
11182
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11183
  {
 
11184
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11185
    result = ((wxStaticPicture const *)arg1)->GetBitmap();
 
11186
    wxPyEndAllowThreads(__tstate);
 
11187
    if (PyErr_Occurred()) SWIG_fail;
 
11188
  }
 
11189
  resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN |  0 );
 
11190
  return resultobj;
 
11191
fail:
 
11192
  return NULL;
 
11193
}
 
11194
 
 
11195
 
 
11196
SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11197
  PyObject *resultobj = 0;
 
11198
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11199
  wxIcon *arg2 = 0 ;
 
11200
  void *argp1 = 0 ;
 
11201
  int res1 = 0 ;
 
11202
  void *argp2 = 0 ;
 
11203
  int res2 = 0 ;
 
11204
  PyObject * obj0 = 0 ;
 
11205
  PyObject * obj1 = 0 ;
 
11206
  char *  kwnames[] = {
 
11207
    (char *) "self",(char *) "icon", NULL 
 
11208
  };
 
11209
  
 
11210
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
 
11211
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11212
  if (!SWIG_IsOK(res1)) {
 
11213
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); 
 
11214
  }
 
11215
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11216
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon,  0  | 0);
 
11217
  if (!SWIG_IsOK(res2)) {
 
11218
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
 
11219
  }
 
11220
  if (!argp2) {
 
11221
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); 
 
11222
  }
 
11223
  arg2 = reinterpret_cast< wxIcon * >(argp2);
 
11224
  {
 
11225
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11226
    (arg1)->SetIcon((wxIcon const &)*arg2);
 
11227
    wxPyEndAllowThreads(__tstate);
 
11228
    if (PyErr_Occurred()) SWIG_fail;
 
11229
  }
 
11230
  resultobj = SWIG_Py_Void();
 
11231
  return resultobj;
 
11232
fail:
 
11233
  return NULL;
 
11234
}
 
11235
 
 
11236
 
 
11237
SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11238
  PyObject *resultobj = 0;
 
11239
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11240
  wxIcon result;
 
11241
  void *argp1 = 0 ;
 
11242
  int res1 = 0 ;
 
11243
  PyObject *swig_obj[1] ;
 
11244
  
 
11245
  if (!args) SWIG_fail;
 
11246
  swig_obj[0] = args;
 
11247
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11248
  if (!SWIG_IsOK(res1)) {
 
11249
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); 
 
11250
  }
 
11251
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11252
  {
 
11253
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11254
    result = ((wxStaticPicture const *)arg1)->GetIcon();
 
11255
    wxPyEndAllowThreads(__tstate);
 
11256
    if (PyErr_Occurred()) SWIG_fail;
 
11257
  }
 
11258
  resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN |  0 );
 
11259
  return resultobj;
 
11260
fail:
 
11261
  return NULL;
 
11262
}
 
11263
 
 
11264
 
 
11265
SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11266
  PyObject *resultobj = 0;
 
11267
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11268
  int arg2 ;
 
11269
  void *argp1 = 0 ;
 
11270
  int res1 = 0 ;
 
11271
  int val2 ;
 
11272
  int ecode2 = 0 ;
 
11273
  PyObject * obj0 = 0 ;
 
11274
  PyObject * obj1 = 0 ;
 
11275
  char *  kwnames[] = {
 
11276
    (char *) "self",(char *) "align", NULL 
 
11277
  };
 
11278
  
 
11279
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
 
11280
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11281
  if (!SWIG_IsOK(res1)) {
 
11282
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); 
 
11283
  }
 
11284
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11285
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11286
  if (!SWIG_IsOK(ecode2)) {
 
11287
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
 
11288
  } 
 
11289
  arg2 = static_cast< int >(val2);
 
11290
  {
 
11291
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11292
    (arg1)->SetAlignment(arg2);
 
11293
    wxPyEndAllowThreads(__tstate);
 
11294
    if (PyErr_Occurred()) SWIG_fail;
 
11295
  }
 
11296
  resultobj = SWIG_Py_Void();
 
11297
  return resultobj;
 
11298
fail:
 
11299
  return NULL;
 
11300
}
 
11301
 
 
11302
 
 
11303
SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11304
  PyObject *resultobj = 0;
 
11305
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11306
  int result;
 
11307
  void *argp1 = 0 ;
 
11308
  int res1 = 0 ;
 
11309
  PyObject *swig_obj[1] ;
 
11310
  
 
11311
  if (!args) SWIG_fail;
 
11312
  swig_obj[0] = args;
 
11313
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11314
  if (!SWIG_IsOK(res1)) {
 
11315
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); 
 
11316
  }
 
11317
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11318
  {
 
11319
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11320
    result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
 
11321
    wxPyEndAllowThreads(__tstate);
 
11322
    if (PyErr_Occurred()) SWIG_fail;
 
11323
  }
 
11324
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11325
  return resultobj;
 
11326
fail:
 
11327
  return NULL;
 
11328
}
 
11329
 
 
11330
 
 
11331
SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11332
  PyObject *resultobj = 0;
 
11333
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11334
  int arg2 ;
 
11335
  void *argp1 = 0 ;
 
11336
  int res1 = 0 ;
 
11337
  int val2 ;
 
11338
  int ecode2 = 0 ;
 
11339
  PyObject * obj0 = 0 ;
 
11340
  PyObject * obj1 = 0 ;
 
11341
  char *  kwnames[] = {
 
11342
    (char *) "self",(char *) "scale", NULL 
 
11343
  };
 
11344
  
 
11345
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
 
11346
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11347
  if (!SWIG_IsOK(res1)) {
 
11348
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); 
 
11349
  }
 
11350
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11351
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11352
  if (!SWIG_IsOK(ecode2)) {
 
11353
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
 
11354
  } 
 
11355
  arg2 = static_cast< int >(val2);
 
11356
  {
 
11357
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11358
    (arg1)->SetScale(arg2);
 
11359
    wxPyEndAllowThreads(__tstate);
 
11360
    if (PyErr_Occurred()) SWIG_fail;
 
11361
  }
 
11362
  resultobj = SWIG_Py_Void();
 
11363
  return resultobj;
 
11364
fail:
 
11365
  return NULL;
 
11366
}
 
11367
 
 
11368
 
 
11369
SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11370
  PyObject *resultobj = 0;
 
11371
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11372
  int result;
 
11373
  void *argp1 = 0 ;
 
11374
  int res1 = 0 ;
 
11375
  PyObject *swig_obj[1] ;
 
11376
  
 
11377
  if (!args) SWIG_fail;
 
11378
  swig_obj[0] = args;
 
11379
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11380
  if (!SWIG_IsOK(res1)) {
 
11381
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); 
 
11382
  }
 
11383
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11384
  {
 
11385
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11386
    result = (int)((wxStaticPicture const *)arg1)->GetScale();
 
11387
    wxPyEndAllowThreads(__tstate);
 
11388
    if (PyErr_Occurred()) SWIG_fail;
 
11389
  }
 
11390
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11391
  return resultobj;
 
11392
fail:
 
11393
  return NULL;
 
11394
}
 
11395
 
 
11396
 
 
11397
SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11398
  PyObject *resultobj = 0;
 
11399
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11400
  float arg2 ;
 
11401
  float arg3 ;
 
11402
  void *argp1 = 0 ;
 
11403
  int res1 = 0 ;
 
11404
  float val2 ;
 
11405
  int ecode2 = 0 ;
 
11406
  float val3 ;
 
11407
  int ecode3 = 0 ;
 
11408
  PyObject * obj0 = 0 ;
 
11409
  PyObject * obj1 = 0 ;
 
11410
  PyObject * obj2 = 0 ;
 
11411
  char *  kwnames[] = {
 
11412
    (char *) "self",(char *) "sx",(char *) "sy", NULL 
 
11413
  };
 
11414
  
 
11415
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11416
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11417
  if (!SWIG_IsOK(res1)) {
 
11418
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); 
 
11419
  }
 
11420
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11421
  ecode2 = SWIG_AsVal_float(obj1, &val2);
 
11422
  if (!SWIG_IsOK(ecode2)) {
 
11423
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
 
11424
  } 
 
11425
  arg2 = static_cast< float >(val2);
 
11426
  ecode3 = SWIG_AsVal_float(obj2, &val3);
 
11427
  if (!SWIG_IsOK(ecode3)) {
 
11428
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
 
11429
  } 
 
11430
  arg3 = static_cast< float >(val3);
 
11431
  {
 
11432
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11433
    (arg1)->SetCustomScale(arg2,arg3);
 
11434
    wxPyEndAllowThreads(__tstate);
 
11435
    if (PyErr_Occurred()) SWIG_fail;
 
11436
  }
 
11437
  resultobj = SWIG_Py_Void();
 
11438
  return resultobj;
 
11439
fail:
 
11440
  return NULL;
 
11441
}
 
11442
 
 
11443
 
 
11444
SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11445
  PyObject *resultobj = 0;
 
11446
  wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
 
11447
  float *arg2 = (float *) 0 ;
 
11448
  float *arg3 = (float *) 0 ;
 
11449
  void *argp1 = 0 ;
 
11450
  int res1 = 0 ;
 
11451
  float temp2 ;
 
11452
  int res2 = SWIG_TMPOBJ ;
 
11453
  float temp3 ;
 
11454
  int res3 = SWIG_TMPOBJ ;
 
11455
  PyObject *swig_obj[1] ;
 
11456
  
 
11457
  arg2 = &temp2;
 
11458
  arg3 = &temp3;
 
11459
  if (!args) SWIG_fail;
 
11460
  swig_obj[0] = args;
 
11461
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 |  0 );
 
11462
  if (!SWIG_IsOK(res1)) {
 
11463
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); 
 
11464
  }
 
11465
  arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
 
11466
  {
 
11467
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11468
    ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
 
11469
    wxPyEndAllowThreads(__tstate);
 
11470
    if (PyErr_Occurred()) SWIG_fail;
 
11471
  }
 
11472
  resultobj = SWIG_Py_Void();
 
11473
  if (SWIG_IsTmpObj(res2)) {
 
11474
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
 
11475
  } else {
 
11476
    int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
11477
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
 
11478
  }
 
11479
  if (SWIG_IsTmpObj(res3)) {
 
11480
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
 
11481
  } else {
 
11482
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
11483
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
 
11484
  }
 
11485
  return resultobj;
 
11486
fail:
 
11487
  return NULL;
 
11488
}
 
11489
 
 
11490
 
 
11491
SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11492
  PyObject *obj;
 
11493
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
11494
  SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
 
11495
  return SWIG_Py_Void();
 
11496
}
 
11497
 
 
11498
SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11499
  return SWIG_Python_InitShadowInstance(args);
 
11500
}
 
11501
 
 
11502
static PyMethodDef SwigMethods[] = {
 
11503
         { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
11504
         { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
 
11505
         { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
 
11506
         { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
11507
         { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
 
11508
         { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
 
11509
         { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
11510
         { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
 
11511
         { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
11512
         { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
11513
         { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
11514
         { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
 
11515
         { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
 
11516
         { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
 
11517
         { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
 
11518
         { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
 
11519
         { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
 
11520
         { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
 
11521
         { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
 
11522
         { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
 
11523
         { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
 
11524
         { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
 
11525
         { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
 
11526
         { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
 
11527
         { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
 
11528
         { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
 
11529
         { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
 
11530
         { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
 
11531
         { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
11532
         { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
11533
         { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
 
11534
         { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
 
11535
         { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
 
11536
         { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
11537
         { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
11538
         { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
 
11539
         { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
 
11540
         { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
 
11541
         { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
 
11542
         { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
11543
         { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
 
11544
         { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
 
11545
         { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
11546
         { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
 
11547
         { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
 
11548
         { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
 
11549
         { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
 
11550
         { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
11551
         { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
 
11552
         { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
 
11553
         { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
 
11554
         { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
11555
         { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
 
11556
         { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
 
11557
         { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
 
11558
         { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
 
11559
         { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
11560
         { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
 
11561
         { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
 
11562
         { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
 
11563
         { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
 
11564
         { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
 
11565
         { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
 
11566
         { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
 
11567
         { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
 
11568
         { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
11569
         { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
11570
         { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
11571
         { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
11572
         { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
11573
         { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
 
11574
         { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
 
11575
         { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
 
11576
         { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
 
11577
         { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
 
11578
         { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
 
11579
         { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
11580
         { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
11581
         { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
 
11582
         { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
 
11583
         { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
11584
         { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
 
11585
         { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
 
11586
         { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
 
11587
         { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
 
11588
         { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
 
11589
         { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
 
11590
         { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
 
11591
         { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
 
11592
         { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
 
11593
         { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
 
11594
         { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
 
11595
         { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
11596
         { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
11597
         { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
11598
         { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
11599
         { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
11600
         { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
 
11601
         { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
11602
         { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
 
11603
         { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
11604
         { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
 
11605
         { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
 
11606
         { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
 
11607
         { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
11608
         { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
 
11609
         { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
11610
         { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
11611
         { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
11612
         { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
11613
         { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
 
11614
         { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
 
11615
         { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
 
11616
         { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
 
11617
         { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
 
11618
         { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
11619
         { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
 
11620
         { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
11621
         { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
 
11622
         { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
 
11623
         { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
 
11624
         { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
 
11625
         { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
 
11626
         { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
11627
         { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
11628
         { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
11629
         { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
 
11630
         { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
 
11631
         { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
11632
         { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
11633
         { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
11634
         { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
11635
         { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
 
11636
         { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
 
11637
         { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
 
11638
         { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
 
11639
         { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
 
11640
         { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
 
11641
         { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
 
11642
         { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
 
11643
         { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
 
11644
         { (char *)"TreeListCtrl_GetCurrentItem", (PyCFunction)_wrap_TreeListCtrl_GetCurrentItem, METH_O, NULL},
 
11645
         { (char *)"TreeListCtrl_SetCurrentItem", (PyCFunction) _wrap_TreeListCtrl_SetCurrentItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11646
         { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
11647
         { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
11648
         { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
11649
         { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
11650
         { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
 
11651
         { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
 
11652
         { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
 
11653
         { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
 
11654
         { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
 
11655
         { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
 
11656
         { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
 
11657
         { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11658
         { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
11659
         { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
11660
         { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
 
11661
         { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11662
         { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11663
         { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
 
11664
         { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11665
         { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
 
11666
         { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
 
11667
         { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
 
11668
         { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
 
11669
         { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
 
11670
         { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
 
11671
         { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
 
11672
         { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
 
11673
         { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
 
11674
         { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
 
11675
         { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11676
         { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
 
11677
         { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
11678
         { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
 
11679
         { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
 
11680
         { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
 
11681
         { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
 
11682
         { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
 
11683
         { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11684
         { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
 
11685
         { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
 
11686
         { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
 
11687
         { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
 
11688
         { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
 
11689
         { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
 
11690
         { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
 
11691
         { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
11692
         { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
 
11693
         { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
 
11694
         { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
 
11695
         { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
 
11696
         { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
11697
         { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
 
11698
         { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
 
11699
         { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
 
11700
         { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
 
11701
         { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
 
11702
         { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
 
11703
         { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
 
11704
         { NULL, NULL, 0, NULL }
 
11705
};
 
11706
 
 
11707
 
 
11708
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
 
11709
 
 
11710
static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
 
11711
    return (void *)((wxValidator *)  ((wxPyValidator *) x));
 
11712
}
 
11713
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
 
11714
    return (void *)((wxPanel *)  ((wxScrolledWindow *) x));
 
11715
}
 
11716
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
 
11717
    return (void *)((wxPanel *)  ((wxPyVScrolledWindow *) x));
 
11718
}
 
11719
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
 
11720
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
11721
}
 
11722
static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
 
11723
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
 
11724
}
 
11725
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
 
11726
    return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
11727
}
 
11728
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
 
11729
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
11730
}
 
11731
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
 
11732
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
11733
}
 
11734
static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
 
11735
    return (void *)((wxPanel *)  ((wxPyPanel *) x));
 
11736
}
 
11737
static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
 
11738
    return (void *)((wxPanel *)  ((wxEditableListBox *) x));
 
11739
}
 
11740
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
 
11741
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
11742
}
 
11743
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
 
11744
    return (void *)((wxPanel *)  ((wxPreviewControlBar *) x));
 
11745
}
 
11746
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
 
11747
    return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
11748
}
 
11749
static void *_p_wxToolbookTo_p_wxWindow(void *x) {
 
11750
    return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
 
11751
}
 
11752
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
 
11753
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
11754
}
 
11755
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
 
11756
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
11757
}
 
11758
static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
 
11759
    return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
 
11760
}
 
11761
static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
 
11762
    return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
 
11763
}
 
11764
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
 
11765
    return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
 
11766
}
 
11767
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
 
11768
    return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
 
11769
}
 
11770
static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
 
11771
    return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
 
11772
}
 
11773
static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
 
11774
    return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
 
11775
}
 
11776
static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
 
11777
    return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
 
11778
}
 
11779
static void *_p_wxPyPickerBaseTo_p_wxWindow(void *x) {
 
11780
    return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxPyPickerBase *) x));
 
11781
}
 
11782
static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
 
11783
    return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
 
11784
}
 
11785
static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
 
11786
    return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
 
11787
}
 
11788
static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
 
11789
    return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
 
11790
}
 
11791
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
 
11792
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
11793
}
 
11794
static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
 
11795
    return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
 
11796
}
 
11797
static void *_p_wxControlTo_p_wxWindow(void *x) {
 
11798
    return (void *)((wxWindow *)  ((wxControl *) x));
 
11799
}
 
11800
static void *_p_wxPyControlTo_p_wxWindow(void *x) {
 
11801
    return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
 
11802
}
 
11803
static void *_p_wxGaugeTo_p_wxWindow(void *x) {
 
11804
    return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
 
11805
}
 
11806
static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
 
11807
    return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
 
11808
}
 
11809
static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
 
11810
    return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
 
11811
}
 
11812
static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
 
11813
    return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
 
11814
}
 
11815
static void *_p_wxChoiceTo_p_wxWindow(void *x) {
 
11816
    return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
 
11817
}
 
11818
static void *_p_wxTreebookTo_p_wxWindow(void *x) {
 
11819
    return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
 
11820
}
 
11821
static void *_p_wxListViewTo_p_wxWindow(void *x) {
 
11822
    return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
 
11823
}
 
11824
static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
 
11825
    return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
 
11826
}
 
11827
static void *_p_wxNotebookTo_p_wxWindow(void *x) {
 
11828
    return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
 
11829
}
 
11830
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
 
11831
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
11832
}
 
11833
static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
 
11834
    return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
 
11835
}
 
11836
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
 
11837
    return (void *)((wxWindow *)  ((wxPyWindow *) x));
 
11838
}
 
11839
static void *_p_wxPyAxBaseWindowTo_p_wxWindow(void *x) {
 
11840
    return (void *)((wxWindow *)  ((wxPyAxBaseWindow *) x));
 
11841
}
 
11842
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
 
11843
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
11844
}
 
11845
static void *_p_wxDatePickerCtrlGenericTo_p_wxWindow(void *x) {
 
11846
    return (void *)((wxWindow *) (wxControl *)(wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x));
 
11847
}
 
11848
static void *_p_wxListbookTo_p_wxWindow(void *x) {
 
11849
    return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
 
11850
}
 
11851
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
 
11852
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
11853
}
 
11854
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
 
11855
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
11856
}
 
11857
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
 
11858
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
11859
}
 
11860
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
 
11861
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
11862
}
 
11863
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
 
11864
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
11865
}
 
11866
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
 
11867
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
11868
}
 
11869
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
 
11870
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
11871
}
 
11872
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
 
11873
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
 
11874
}
 
11875
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
 
11876
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
11877
}
 
11878
static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
 
11879
    return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
 
11880
}
 
11881
static void *_p_wxSliderTo_p_wxWindow(void *x) {
 
11882
    return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
 
11883
}
 
11884
static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
 
11885
    return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
 
11886
}
 
11887
static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
 
11888
    return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
 
11889
}
 
11890
static void *_p_wxDatePickerCtrlBaseTo_p_wxWindow(void *x) {
 
11891
    return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrlBase *) x));
 
11892
}
 
11893
static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
 
11894
    return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
 
11895
}
 
11896
static void *_p_wxListBoxTo_p_wxWindow(void *x) {
 
11897
    return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
 
11898
}
 
11899
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
 
11900
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
11901
}
 
11902
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
 
11903
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
11904
}
 
11905
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
 
11906
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
11907
}
 
11908
static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
 
11909
    return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
 
11910
}
 
11911
static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
 
11912
    return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
 
11913
}
 
11914
static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
 
11915
    return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
 
11916
}
 
11917
static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
 
11918
    return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
 
11919
}
 
11920
static void *_p_wxButtonTo_p_wxWindow(void *x) {
 
11921
    return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
 
11922
}
 
11923
static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
 
11924
    return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
 
11925
}
 
11926
static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
 
11927
    return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
 
11928
}
 
11929
static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
 
11930
    return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
 
11931
}
 
11932
static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
 
11933
    return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
 
11934
}
 
11935
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
 
11936
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
11937
}
 
11938
static void *_p_wxFrameTo_p_wxWindow(void *x) {
 
11939
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
 
11940
}
 
11941
static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
 
11942
    return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
 
11943
}
 
11944
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
 
11945
    return (void *)((wxWindow *)  ((wxStatusBar *) x));
 
11946
}
 
11947
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
 
11948
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
11949
}
 
11950
static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
 
11951
    return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
 
11952
}
 
11953
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
 
11954
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
11955
}
 
11956
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
 
11957
    return (void *)((wxWindow *)  ((wxMDIClientWindow *) x));
 
11958
}
 
11959
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
 
11960
    return (void *)((wxWindow *)  ((wxSashWindow *) x));
 
11961
}
 
11962
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
 
11963
    return (void *)((wxWindow *)  ((wxSplitterWindow *) x));
 
11964
}
 
11965
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
 
11966
    return (void *)((wxWindow *)  ((wxSplashScreenWindow *) x));
 
11967
}
 
11968
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
 
11969
    return (void *)((wxWindow *)  ((wxTopLevelWindow *) x));
 
11970
}
 
11971
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
 
11972
    return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
 
11973
}
 
11974
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
 
11975
    return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
 
11976
}
 
11977
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
 
11978
    return (void *)((wxWindow *)  ((wxPopupWindow *) x));
 
11979
}
 
11980
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
 
11981
    return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
11982
}
 
11983
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
 
11984
    return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
11985
}
 
11986
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
 
11987
    return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
 
11988
}
 
11989
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
 
11990
    return (void *)((wxWindow *)  ((wxMenuBar *) x));
 
11991
}
 
11992
static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
 
11993
    return (void *)((wxWindow *)  ((wxDynamicSashWindow *) x));
 
11994
}
 
11995
static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
 
11996
    return (void *)((wxWindow *)  ((wxPyTreeCompanionWindow *) x));
 
11997
}
 
11998
static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
 
11999
    return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
 
12000
}
 
12001
static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
 
12002
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
 
12003
}
 
12004
static void *_p_wxDialogTo_p_wxWindow(void *x) {
 
12005
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
 
12006
}
 
12007
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
 
12008
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
12009
}
 
12010
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
 
12011
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
12012
}
 
12013
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
 
12014
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
12015
}
 
12016
static void *_p_wxPanelTo_p_wxWindow(void *x) {
 
12017
    return (void *)((wxWindow *)  ((wxPanel *) x));
 
12018
}
 
12019
static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
 
12020
    return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
 
12021
}
 
12022
static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
 
12023
    return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
 
12024
}
 
12025
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
 
12026
    return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
12027
}
 
12028
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
 
12029
    return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
 
12030
}
 
12031
static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
 
12032
    return (void *)((wxWindow *) (wxControl *)(wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x));
 
12033
}
 
12034
static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
 
12035
    return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
 
12036
}
 
12037
static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
 
12038
    return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
 
12039
}
 
12040
static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
 
12041
    return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
 
12042
}
 
12043
static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
 
12044
    return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
 
12045
}
 
12046
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
 
12047
    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
 
12048
}
 
12049
static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
 
12050
    return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
 
12051
}
 
12052
static void *_p_wxToolBarTo_p_wxWindow(void *x) {
 
12053
    return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
 
12054
}
 
12055
static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
 
12056
    return (void *)((wxSplitterWindow *)  ((wxThinSplitterWindow *) x));
 
12057
}
 
12058
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
 
12059
    return (void *)((wxScrolledWindow *)  ((wxPyScrolledWindow *) x));
 
12060
}
 
12061
static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
 
12062
    return (void *)((wxScrolledWindow *)  ((wxSplitterScrolledWindow *) x));
 
12063
}
 
12064
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
 
12065
    return (void *)((wxScrolledWindow *)  ((wxPreviewCanvas *) x));
 
12066
}
 
12067
static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
 
12068
    return (void *)((wxControl *)  ((wxCollapsiblePane *) x));
 
12069
}
 
12070
static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
 
12071
    return (void *)((wxControl *)  ((wxBookCtrlBase *) x));
 
12072
}
 
12073
static void *_p_wxToolBarTo_p_wxControl(void *x) {
 
12074
    return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
 
12075
}
 
12076
static void *_p_wxDatePickerCtrlBaseTo_p_wxControl(void *x) {
 
12077
    return (void *)((wxControl *)  ((wxDatePickerCtrlBase *) x));
 
12078
}
 
12079
static void *_p_wxDatePickerCtrlGenericTo_p_wxControl(void *x) {
 
12080
    return (void *)((wxControl *) (wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x));
 
12081
}
 
12082
static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
 
12083
    return (void *)((wxControl *)  ((wxPickerBase *) x));
 
12084
}
 
12085
static void *_p_wxPyPickerBaseTo_p_wxControl(void *x) {
 
12086
    return (void *)((wxControl *) (wxPickerBase *) ((wxPyPickerBase *) x));
 
12087
}
 
12088
static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
 
12089
    return (void *)((wxControl *)  ((wxToggleButton *) x));
 
12090
}
 
12091
static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
 
12092
    return (void *)((wxControl *)  ((wxRadioButton *) x));
 
12093
}
 
12094
static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
 
12095
    return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
 
12096
}
 
12097
static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
 
12098
    return (void *)((wxControl *)  ((wxLEDNumberCtrl *) x));
 
12099
}
 
12100
static void *_p_wxToolbookTo_p_wxControl(void *x) {
 
12101
    return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
 
12102
}
 
12103
static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
 
12104
    return (void *)((wxControl *)  ((wxToolBarBase *) x));
 
12105
}
 
12106
static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
 
12107
    return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
 
12108
}
 
12109
static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
 
12110
    return (void *)((wxControl *)  ((wxPyListCtrl *) x));
 
12111
}
 
12112
static void *_p_wxComboBoxTo_p_wxControl(void *x) {
 
12113
    return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
 
12114
}
 
12115
static void *_p_wxPyControlTo_p_wxControl(void *x) {
 
12116
    return (void *)((wxControl *)  ((wxPyControl *) x));
 
12117
}
 
12118
static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
 
12119
    return (void *)((wxControl *)  ((wxPyTreeListCtrl *) x));
 
12120
}
 
12121
static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
 
12122
    return (void *)((wxControl *)  ((wxGenericDirCtrl *) x));
 
12123
}
 
12124
static void *_p_wxScrollBarTo_p_wxControl(void *x) {
 
12125
    return (void *)((wxControl *)  ((wxScrollBar *) x));
 
12126
}
 
12127
static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
 
12128
    return (void *)((wxControl *)  ((wxControlWithItems *) x));
 
12129
}
 
12130
static void *_p_wxGaugeTo_p_wxControl(void *x) {
 
12131
    return (void *)((wxControl *)  ((wxGauge *) x));
 
12132
}
 
12133
static void *_p_wxStaticLineTo_p_wxControl(void *x) {
 
12134
    return (void *)((wxControl *)  ((wxStaticLine *) x));
 
12135
}
 
12136
static void *_p_wxChoicebookTo_p_wxControl(void *x) {
 
12137
    return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
 
12138
}
 
12139
static void *_p_wxListbookTo_p_wxControl(void *x) {
 
12140
    return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
 
12141
}
 
12142
static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
 
12143
    return (void *)((wxControl *)  ((wxHyperlinkCtrl *) x));
 
12144
}
 
12145
static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
 
12146
    return (void *)((wxControl *)  ((wxPyTreeCtrl *) x));
 
12147
}
 
12148
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
 
12149
    return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
 
12150
}
 
12151
static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
 
12152
    return (void *)((wxControl *)  ((wxCheckBox *) x));
 
12153
}
 
12154
static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
 
12155
    return (void *)((wxControl *)  ((wxRadioBox *) x));
 
12156
}
 
12157
static void *_p_wxChoiceTo_p_wxControl(void *x) {
 
12158
    return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
 
12159
}
 
12160
static void *_p_wxListBoxTo_p_wxControl(void *x) {
 
12161
    return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
 
12162
}
 
12163
static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
 
12164
    return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
 
12165
}
 
12166
static void *_p_wxListViewTo_p_wxControl(void *x) {
 
12167
    return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
 
12168
}
 
12169
static void *_p_wxNotebookTo_p_wxControl(void *x) {
 
12170
    return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
 
12171
}
 
12172
static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
 
12173
    return (void *)((wxControl *)  ((wxStaticBitmap *) x));
 
12174
}
 
12175
static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
 
12176
    return (void *)((wxControl *)  ((wxSpinCtrl *) x));
 
12177
}
 
12178
static void *_p_wxStaticTextTo_p_wxControl(void *x) {
 
12179
    return (void *)((wxControl *)  ((wxStaticText *) x));
 
12180
}
 
12181
static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
 
12182
    return (void *)((wxControl *)  ((wxStaticBox *) x));
 
12183
}
 
12184
static void *_p_wxSliderTo_p_wxControl(void *x) {
 
12185
    return (void *)((wxControl *)  ((wxSlider *) x));
 
12186
}
 
12187
static void *_p_wxTreebookTo_p_wxControl(void *x) {
 
12188
    return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
 
12189
}
 
12190
static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
 
12191
    return (void *)((wxControl *)  ((wxSpinButton *) x));
 
12192
}
 
12193
static void *_p_wxButtonTo_p_wxControl(void *x) {
 
12194
    return (void *)((wxControl *)  ((wxButton *) x));
 
12195
}
 
12196
static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
 
12197
    return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
 
12198
}
 
12199
static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
 
12200
    return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
 
12201
}
 
12202
static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
 
12203
    return (void *)((wxControl *) (wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x));
 
12204
}
 
12205
static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
 
12206
    return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
 
12207
}
 
12208
static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
 
12209
    return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
 
12210
}
 
12211
static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
 
12212
    return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
 
12213
}
 
12214
static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
 
12215
    return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
 
12216
}
 
12217
static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
 
12218
    return (void *)((wxControl *)  ((wxStaticPicture *) x));
 
12219
}
 
12220
static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
 
12221
    return (void *)((wxControl *)  ((wxTextCtrl *) x));
 
12222
}
 
12223
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
 
12224
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
 
12225
}
 
12226
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
 
12227
    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
 
12228
}
 
12229
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
 
12230
    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
 
12231
}
 
12232
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
 
12233
    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
 
12234
}
 
12235
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
 
12236
    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
 
12237
}
 
12238
static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
 
12239
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
 
12240
}
 
12241
static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
 
12242
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
 
12243
}
 
12244
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
 
12245
    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
 
12246
}
 
12247
static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
 
12248
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
 
12249
}
 
12250
static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
 
12251
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
 
12252
}
 
12253
static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
 
12254
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
 
12255
}
 
12256
static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
 
12257
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
 
12258
}
 
12259
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
 
12260
    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
 
12261
}
 
12262
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
 
12263
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
 
12264
}
 
12265
static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
 
12266
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
 
12267
}
 
12268
static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
 
12269
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
 
12270
}
 
12271
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
 
12272
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
 
12273
}
 
12274
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
 
12275
    return (void *)((wxEvent *)  ((wxMouseCaptureLostEvent *) x));
 
12276
}
 
12277
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
 
12278
    return (void *)((wxEvent *)  ((wxPyEvent *) x));
 
12279
}
 
12280
static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
 
12281
    return (void *)((wxEvent *)  ((wxCalculateLayoutEvent *) x));
 
12282
}
 
12283
static void *_p_wxListEventTo_p_wxEvent(void *x) {
 
12284
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
 
12285
}
 
12286
static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
 
12287
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
 
12288
}
 
12289
static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
 
12290
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
 
12291
}
 
12292
static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
 
12293
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
 
12294
}
 
12295
static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
 
12296
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
 
12297
}
 
12298
static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
 
12299
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
 
12300
}
 
12301
static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
 
12302
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
 
12303
}
 
12304
static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
 
12305
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
 
12306
}
 
12307
static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
 
12308
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
 
12309
}
 
12310
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
 
12311
    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
 
12312
}
 
12313
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
 
12314
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
 
12315
}
 
12316
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
 
12317
    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
 
12318
}
 
12319
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
 
12320
    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
 
12321
}
 
12322
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
 
12323
    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
 
12324
}
 
12325
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
 
12326
    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
 
12327
}
 
12328
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
 
12329
    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
 
12330
}
 
12331
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
 
12332
    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
 
12333
}
 
12334
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
 
12335
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
 
12336
}
 
12337
static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
 
12338
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
 
12339
}
 
12340
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
 
12341
    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
 
12342
}
 
12343
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
 
12344
    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
 
12345
}
 
12346
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
 
12347
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
 
12348
}
 
12349
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
 
12350
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
 
12351
}
 
12352
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
 
12353
    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
 
12354
}
 
12355
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
 
12356
    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
 
12357
}
 
12358
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
 
12359
    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
 
12360
}
 
12361
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
 
12362
    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
 
12363
}
 
12364
static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
 
12365
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
 
12366
}
 
12367
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
 
12368
    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
 
12369
}
 
12370
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
 
12371
    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
 
12372
}
 
12373
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
 
12374
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
 
12375
}
 
12376
static void *_p_wxSashEventTo_p_wxEvent(void *x) {
 
12377
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
 
12378
}
 
12379
static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
 
12380
    return (void *)((wxEvent *)  ((wxQueryLayoutInfoEvent *) x));
 
12381
}
 
12382
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
 
12383
    return (void *)((wxEvent *)  ((wxShowEvent *) x));
 
12384
}
 
12385
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
 
12386
    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
 
12387
}
 
12388
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
 
12389
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
 
12390
}
 
12391
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
 
12392
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
 
12393
}
 
12394
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
 
12395
    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
 
12396
}
 
12397
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
 
12398
    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
 
12399
}
 
12400
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
 
12401
    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
 
12402
}
 
12403
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
 
12404
    return (void *)((wxEvent *)  ((wxTaskBarIconEvent *) x));
 
12405
}
 
12406
static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
 
12407
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
 
12408
}
 
12409
static void *_p_wxScrollBarTo_p_wxObject(void *x) {
 
12410
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
 
12411
}
 
12412
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
 
12413
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
 
12414
}
 
12415
static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
 
12416
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
12417
}
 
12418
static void *_p_wxEventTo_p_wxObject(void *x) {
 
12419
    return (void *)((wxObject *)  ((wxEvent *) x));
 
12420
}
 
12421
static void *_p_wxDirItemDataTo_p_wxObject(void *x) {
 
12422
    return (void *)((wxObject *)  ((wxDirItemData *) x));
 
12423
}
 
12424
static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
 
12425
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
 
12426
}
 
12427
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
 
12428
    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
 
12429
}
 
12430
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
 
12431
    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
 
12432
}
 
12433
static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
 
12434
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
12435
}
 
12436
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
 
12437
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
12438
}
 
12439
static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
 
12440
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
 
12441
}
 
12442
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
 
12443
    return (void *)((wxObject *)  ((wxMenuItem *) x));
 
12444
}
 
12445
static void *_p_wxImageTo_p_wxObject(void *x) {
 
12446
    return (void *)((wxObject *)  ((wxImage *) x));
 
12447
}
 
12448
static void *_p_wxPySizerTo_p_wxObject(void *x) {
 
12449
    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
 
12450
}
 
12451
static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
 
12452
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
 
12453
}
 
12454
static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
 
12455
    return (void *)((wxObject *)  ((wxGenericDragImage *) x));
 
12456
}
 
12457
static void *_p_wxComboBoxTo_p_wxObject(void *x) {
 
12458
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
 
12459
}
 
12460
static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
 
12461
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
 
12462
}
 
12463
static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
 
12464
    return (void *)((wxObject *)  ((wxLayoutAlgorithm *) x));
 
12465
}
 
12466
static void *_p_wxPyAppTo_p_wxObject(void *x) {
 
12467
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
 
12468
}
 
12469
static void *_p_wxTreebookTo_p_wxObject(void *x) {
 
12470
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
 
12471
}
 
12472
static void *_p_wxNotebookTo_p_wxObject(void *x) {
 
12473
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
 
12474
}
 
12475
static void *_p_wxListItemTo_p_wxObject(void *x) {
 
12476
    return (void *)((wxObject *)  ((wxListItem *) x));
 
12477
}
 
12478
static void *_p_wxChoicebookTo_p_wxObject(void *x) {
 
12479
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
 
12480
}
 
12481
static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
 
12482
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
 
12483
}
 
12484
static void *_p_wxDatePickerCtrlBaseTo_p_wxObject(void *x) {
 
12485
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrlBase *) x));
 
12486
}
 
12487
static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
 
12488
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
 
12489
}
 
12490
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
 
12491
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
 
12492
}
 
12493
static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
 
12494
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
12495
}
 
12496
static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
 
12497
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
 
12498
}
 
12499
static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
 
12500
    return (void *)((wxObject *)  ((wxFindReplaceData *) x));
 
12501
}
 
12502
static void *_p_wxStaticLineTo_p_wxObject(void *x) {
 
12503
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
 
12504
}
 
12505
static void *_p_wxValidatorTo_p_wxObject(void *x) {
 
12506
    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
 
12507
}
 
12508
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
 
12509
    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
 
12510
}
 
12511
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
 
12512
    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
 
12513
}
 
12514
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
 
12515
    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
 
12516
}
 
12517
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
 
12518
    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
 
12519
}
 
12520
static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
 
12521
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
 
12522
}
 
12523
static void *_p_wxTreeEventTo_p_wxObject(void *x) {
 
12524
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
 
12525
}
 
12526
static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
 
12527
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
 
12528
}
 
12529
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
 
12530
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
 
12531
}
 
12532
static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
 
12533
    return (void *)((wxObject *)  ((wxPrintDialogData *) x));
 
12534
}
 
12535
static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
 
12536
    return (void *)((wxObject *)  ((wxPageSetupDialogData *) x));
 
12537
}
 
12538
static void *_p_wxPrinterTo_p_wxObject(void *x) {
 
12539
    return (void *)((wxObject *)  ((wxPrinter *) x));
 
12540
}
 
12541
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
 
12542
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
12543
}
 
12544
static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
 
12545
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
 
12546
}
 
12547
static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
 
12548
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
 
12549
}
 
12550
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
 
12551
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
 
12552
}
 
12553
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
 
12554
    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
 
12555
}
 
12556
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
 
12557
    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
 
12558
}
 
12559
static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
 
12560
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
 
12561
}
 
12562
static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
 
12563
    return (void *)((wxObject *)  ((wxTreeListColumnInfo *) x));
 
12564
}
 
12565
static void *_p_wxControlTo_p_wxObject(void *x) {
 
12566
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
 
12567
}
 
12568
static void *_p_wxPyControlTo_p_wxObject(void *x) {
 
12569
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
 
12570
}
 
12571
static void *_p_wxContextHelpTo_p_wxObject(void *x) {
 
12572
    return (void *)((wxObject *)  ((wxContextHelp *) x));
 
12573
}
 
12574
static void *_p_wxColourDataTo_p_wxObject(void *x) {
 
12575
    return (void *)((wxObject *)  ((wxColourData *) x));
 
12576
}
 
12577
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
 
12578
    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
 
12579
}
 
12580
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
 
12581
    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
 
12582
}
 
12583
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
 
12584
    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
 
12585
}
 
12586
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
 
12587
    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
 
12588
}
 
12589
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
 
12590
    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
 
12591
}
 
12592
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
 
12593
    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
 
12594
}
 
12595
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
 
12596
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
 
12597
}
 
12598
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
 
12599
    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
 
12600
}
 
12601
static void *_p_wxDateEventTo_p_wxObject(void *x) {
 
12602
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
 
12603
}
 
12604
static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
 
12605
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
 
12606
}
 
12607
static void *_p_wxStaticTextTo_p_wxObject(void *x) {
 
12608
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
 
12609
}
 
12610
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
 
12611
    return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
 
12612
}
 
12613
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
 
12614
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
 
12615
}
 
12616
static void *_p_wxListEventTo_p_wxObject(void *x) {
 
12617
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
 
12618
}
 
12619
static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
 
12620
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
 
12621
}
 
12622
static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
 
12623
    return (void *)((wxObject *)  ((wxPyPrintout *) x));
 
12624
}
 
12625
static void *_p_wxGaugeTo_p_wxObject(void *x) {
 
12626
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
 
12627
}
 
12628
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
 
12629
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
12630
}
 
12631
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
 
12632
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
 
12633
}
 
12634
static void *_p_wxChoiceTo_p_wxObject(void *x) {
 
12635
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
 
12636
}
 
12637
static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
 
12638
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
 
12639
}
 
12640
static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
 
12641
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
 
12642
}
 
12643
static void *_p_wxButtonTo_p_wxObject(void *x) {
 
12644
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
 
12645
}
 
12646
static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
 
12647
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
 
12648
}
 
12649
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
 
12650
    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
 
12651
}
 
12652
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
 
12653
    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
 
12654
}
 
12655
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
 
12656
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
 
12657
}
 
12658
static void *_p_wxSashEventTo_p_wxObject(void *x) {
 
12659
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
 
12660
}
 
12661
static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
 
12662
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
 
12663
}
 
12664
static void *_p_wxListBoxTo_p_wxObject(void *x) {
 
12665
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
 
12666
}
 
12667
static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
 
12668
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
12669
}
 
12670
static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
 
12671
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
12672
}
 
12673
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
 
12674
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
12675
}
 
12676
static void *_p_wxPrintDataTo_p_wxObject(void *x) {
 
12677
    return (void *)((wxObject *)  ((wxPrintData *) x));
 
12678
}
 
12679
static void *_p_wxFontDataTo_p_wxObject(void *x) {
 
12680
    return (void *)((wxObject *)  ((wxFontData *) x));
 
12681
}
 
12682
static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
 
12683
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
 
12684
}
 
12685
static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
 
12686
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
12687
}
 
12688
static void *_p_wxListbookTo_p_wxObject(void *x) {
 
12689
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
 
12690
}
 
12691
static void *_p_wxFrameTo_p_wxObject(void *x) {
 
12692
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
 
12693
}
 
12694
static void *_p_wxPyPanelTo_p_wxObject(void *x) {
 
12695
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
 
12696
}
 
12697
static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
 
12698
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
 
12699
}
 
12700
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
 
12701
    return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
 
12702
}
 
12703
static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
 
12704
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
12705
}
 
12706
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
 
12707
    return (void *)((wxObject *)  ((wxFileSystem *) x));
 
12708
}
 
12709
static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
 
12710
    return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
 
12711
}
 
12712
static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
 
12713
    return (void *)((wxObject *)  ((wxPrintPreview *) x));
 
12714
}
 
12715
static void *_p_wxListViewTo_p_wxObject(void *x) {
 
12716
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
 
12717
}
 
12718
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
 
12719
    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
 
12720
}
 
12721
static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
 
12722
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
 
12723
}
 
12724
static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
 
12725
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
 
12726
}
 
12727
static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
 
12728
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
 
12729
}
 
12730
static void *_p_wxSizerTo_p_wxObject(void *x) {
 
12731
    return (void *)((wxObject *)  ((wxSizer *) x));
 
12732
}
 
12733
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
 
12734
    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
 
12735
}
 
12736
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
 
12737
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
 
12738
}
 
12739
static void *_p_wxDatePickerCtrlGenericTo_p_wxObject(void *x) {
 
12740
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x));
 
12741
}
 
12742
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
 
12743
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
 
12744
}
 
12745
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
 
12746
    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
 
12747
}
 
12748
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
 
12749
    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
 
12750
}
 
12751
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
 
12752
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
 
12753
}
 
12754
static void *_p_wxFSFileTo_p_wxObject(void *x) {
 
12755
    return (void *)((wxObject *)  ((wxFSFile *) x));
 
12756
}
 
12757
static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
 
12758
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
 
12759
}
 
12760
static void *_p_wxPyPickerBaseTo_p_wxObject(void *x) {
 
12761
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxPyPickerBase *) x));
 
12762
}
 
12763
static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
 
12764
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
 
12765
}
 
12766
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
 
12767
    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
 
12768
}
 
12769
static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
 
12770
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
 
12771
}
 
12772
static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
 
12773
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
 
12774
}
 
12775
static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
 
12776
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
 
12777
}
 
12778
static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
 
12779
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
 
12780
}
 
12781
static void *_p_wxMenuTo_p_wxObject(void *x) {
 
12782
    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
 
12783
}
 
12784
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
 
12785
    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
 
12786
}
 
12787
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
 
12788
    return (void *)((wxObject *)  ((wxSizerItem *) x));
 
12789
}
 
12790
static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
 
12791
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
 
12792
}
 
12793
static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
 
12794
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
 
12795
}
 
12796
static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
 
12797
    return (void *)((wxObject *)  ((wxPrintDialog *) x));
 
12798
}
 
12799
static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
 
12800
    return (void *)((wxObject *)  ((wxPageSetupDialog *) x));
 
12801
}
 
12802
static void *_p_wxFontDialogTo_p_wxObject(void *x) {
 
12803
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
12804
}
 
12805
static void *_p_wxDirDialogTo_p_wxObject(void *x) {
 
12806
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
12807
}
 
12808
static void *_p_wxColourDialogTo_p_wxObject(void *x) {
 
12809
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
12810
}
 
12811
static void *_p_wxDialogTo_p_wxObject(void *x) {
 
12812
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
 
12813
}
 
12814
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
 
12815
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
 
12816
}
 
12817
static void *_p_wxPyEventTo_p_wxObject(void *x) {
 
12818
    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
 
12819
}
 
12820
static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
 
12821
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
 
12822
}
 
12823
static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
 
12824
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
 
12825
}
 
12826
static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
 
12827
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
 
12828
}
 
12829
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) {
 
12830
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x));
 
12831
}
 
12832
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
 
12833
    return (void *)((wxObject *)  ((wxEvtHandler *) x));
 
12834
}
 
12835
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
 
12836
    return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
 
12837
}
 
12838
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
 
12839
    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
 
12840
}
 
12841
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
 
12842
    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
 
12843
}
 
12844
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
 
12845
    return (void *)((wxObject *)  ((wxImageHandler *) x));
 
12846
}
 
12847
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
 
12848
    return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
 
12849
}
 
12850
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
 
12851
    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
 
12852
}
 
12853
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
 
12854
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
 
12855
}
 
12856
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
 
12857
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
 
12858
}
 
12859
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
 
12860
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
 
12861
}
 
12862
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
 
12863
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
 
12864
}
 
12865
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
 
12866
    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
 
12867
}
 
12868
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
 
12869
    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
 
12870
}
 
12871
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
 
12872
    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
 
12873
}
 
12874
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
 
12875
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
 
12876
}
 
12877
static void *_p_wxShowEventTo_p_wxObject(void *x) {
 
12878
    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
 
12879
}
 
12880
static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
 
12881
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
 
12882
}
 
12883
static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
 
12884
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
12885
}
 
12886
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
 
12887
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
 
12888
}
 
12889
static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
 
12890
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
 
12891
}
 
12892
static void *_p_wxTipWindowTo_p_wxObject(void *x) {
 
12893
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
12894
}
 
12895
static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
 
12896
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
12897
}
 
12898
static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
 
12899
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
 
12900
}
 
12901
static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
 
12902
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
 
12903
}
 
12904
static void *_p_wxSashWindowTo_p_wxObject(void *x) {
 
12905
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
 
12906
}
 
12907
static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
 
12908
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
 
12909
}
 
12910
static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
 
12911
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
 
12912
}
 
12913
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
 
12914
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
 
12915
}
 
12916
static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
 
12917
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
 
12918
}
 
12919
static void *_p_wxWindowTo_p_wxObject(void *x) {
 
12920
    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
 
12921
}
 
12922
static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
 
12923
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
 
12924
}
 
12925
static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
 
12926
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
 
12927
}
 
12928
static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
 
12929
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
 
12930
}
 
12931
static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
 
12932
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
 
12933
}
 
12934
static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
 
12935
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
 
12936
}
 
12937
static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
 
12938
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
 
12939
}
 
12940
static void *_p_wxListbookEventTo_p_wxObject(void *x) {
 
12941
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
 
12942
}
 
12943
static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
 
12944
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
 
12945
}
 
12946
static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
 
12947
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
 
12948
}
 
12949
static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
 
12950
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
 
12951
}
 
12952
static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
 
12953
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
12954
}
 
12955
static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
 
12956
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
 
12957
}
 
12958
static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
 
12959
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
12960
}
 
12961
static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
 
12962
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
12963
}
 
12964
static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
 
12965
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
12966
}
 
12967
static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
 
12968
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
12969
}
 
12970
static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
 
12971
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
12972
}
 
12973
static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
 
12974
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
12975
}
 
12976
static void *_p_wxFileDialogTo_p_wxObject(void *x) {
 
12977
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
12978
}
 
12979
static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
 
12980
    return (void *)((wxObject *)  ((wxToolBarToolBase *) x));
 
12981
}
 
12982
static void *_p_wxPyWindowTo_p_wxObject(void *x) {
 
12983
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
 
12984
}
 
12985
static void *_p_wxSliderTo_p_wxObject(void *x) {
 
12986
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
 
12987
}
 
12988
static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
 
12989
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x));
 
12990
}
 
12991
static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
 
12992
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
 
12993
}
 
12994
static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
 
12995
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
 
12996
}
 
12997
static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
 
12998
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
 
12999
}
 
13000
static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
 
13001
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
 
13002
}
 
13003
static void *_p_wxPyAxBaseWindowTo_p_wxObject(void *x) {
 
13004
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyAxBaseWindow *) x));
 
13005
}
 
13006
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
 
13007
    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
 
13008
}
 
13009
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
 
13010
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
 
13011
}
 
13012
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
 
13013
    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
 
13014
}
 
13015
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
 
13016
    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
 
13017
}
 
13018
static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
 
13019
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
 
13020
}
 
13021
static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
 
13022
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
 
13023
}
 
13024
static void *_p_wxHelpEventTo_p_wxObject(void *x) {
 
13025
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
 
13026
}
 
13027
static void *_p_wxPanelTo_p_wxObject(void *x) {
 
13028
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
 
13029
}
 
13030
static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
 
13031
    return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
 
13032
}
 
13033
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
 
13034
    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
 
13035
}
 
13036
static void *_p_wxSpinEventTo_p_wxObject(void *x) {
 
13037
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
 
13038
}
 
13039
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
 
13040
    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
 
13041
}
 
13042
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
 
13043
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
 
13044
}
 
13045
static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
 
13046
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
 
13047
}
 
13048
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
 
13049
    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
 
13050
}
 
13051
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
 
13052
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
 
13053
}
 
13054
static void *_p_wxToolbookTo_p_wxObject(void *x) {
 
13055
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
 
13056
}
 
13057
static void *_p_wxToolBarTo_p_wxObject(void *x) {
 
13058
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
 
13059
}
 
13060
static void *_p_wxStatusBarTo_p_wxObject(void *x) {
 
13061
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
 
13062
}
 
13063
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
 
13064
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
 
13065
}
 
13066
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
 
13067
    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
 
13068
}
 
13069
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
 
13070
    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
 
13071
}
 
13072
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
 
13073
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
13074
}
 
13075
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
 
13076
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
 
13077
}
 
13078
static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
 
13079
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
 
13080
}
 
13081
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
 
13082
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
13083
}
 
13084
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
 
13085
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
13086
}
 
13087
static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
 
13088
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
 
13089
}
 
13090
static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
 
13091
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
 
13092
}
 
13093
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
 
13094
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
 
13095
}
 
13096
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
 
13097
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
 
13098
}
 
13099
static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
 
13100
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
 
13101
}
 
13102
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
 
13103
    return (void *)((wxEvtHandler *)  ((wxPyTaskBarIcon *) x));
 
13104
}
 
13105
static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
 
13106
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
 
13107
}
 
13108
static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
 
13109
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
 
13110
}
 
13111
static void *_p_wxPyPickerBaseTo_p_wxEvtHandler(void *x) {
 
13112
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxPyPickerBase *) x));
 
13113
}
 
13114
static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
 
13115
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
 
13116
}
 
13117
static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
 
13118
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
 
13119
}
 
13120
static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
 
13121
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
 
13122
}
 
13123
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
 
13124
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
13125
}
 
13126
static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
 
13127
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
 
13128
}
 
13129
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
 
13130
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
 
13131
}
 
13132
static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
 
13133
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
 
13134
}
 
13135
static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
 
13136
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
 
13137
}
 
13138
static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
 
13139
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
 
13140
}
 
13141
static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
 
13142
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
 
13143
}
 
13144
static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
 
13145
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
 
13146
}
 
13147
static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
 
13148
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
 
13149
}
 
13150
static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
 
13151
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
 
13152
}
 
13153
static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
 
13154
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
 
13155
}
 
13156
static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
 
13157
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
 
13158
}
 
13159
static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
 
13160
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
 
13161
}
 
13162
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
 
13163
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
13164
}
 
13165
static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
 
13166
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
 
13167
}
 
13168
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
 
13169
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
 
13170
}
 
13171
static void *_p_wxPyAxBaseWindowTo_p_wxEvtHandler(void *x) {
 
13172
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyAxBaseWindow *) x));
 
13173
}
 
13174
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
 
13175
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
13176
}
 
13177
static void *_p_wxDatePickerCtrlGenericTo_p_wxEvtHandler(void *x) {
 
13178
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x));
 
13179
}
 
13180
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
 
13181
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
13182
}
 
13183
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
 
13184
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
 
13185
}
 
13186
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
 
13187
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
13188
}
 
13189
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
 
13190
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
13191
}
 
13192
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
 
13193
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
13194
}
 
13195
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
 
13196
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
13197
}
 
13198
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
 
13199
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
13200
}
 
13201
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
 
13202
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
13203
}
 
13204
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
 
13205
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
13206
}
 
13207
static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
 
13208
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
 
13209
}
 
13210
static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
 
13211
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
 
13212
}
 
13213
static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
 
13214
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
 
13215
}
 
13216
static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
 
13217
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
 
13218
}
 
13219
static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
 
13220
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
 
13221
}
 
13222
static void *_p_wxDatePickerCtrlBaseTo_p_wxEvtHandler(void *x) {
 
13223
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrlBase *) x));
 
13224
}
 
13225
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) {
 
13226
    return (void *)((wxEvtHandler *)  ((wxPyEvtHandler *) x));
 
13227
}
 
13228
static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
 
13229
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
 
13230
}
 
13231
static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
 
13232
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
 
13233
}
 
13234
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
 
13235
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
13236
}
 
13237
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
 
13238
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
13239
}
 
13240
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
 
13241
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
13242
}
 
13243
static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
 
13244
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
 
13245
}
 
13246
static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
 
13247
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
 
13248
}
 
13249
static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
 
13250
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
 
13251
}
 
13252
static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
 
13253
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
 
13254
}
 
13255
static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
 
13256
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
 
13257
}
 
13258
static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
 
13259
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
 
13260
}
 
13261
static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
 
13262
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
 
13263
}
 
13264
static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
 
13265
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
 
13266
}
 
13267
static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
 
13268
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
 
13269
}
 
13270
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
 
13271
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
13272
}
 
13273
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
 
13274
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
 
13275
}
 
13276
static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
 
13277
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
 
13278
}
 
13279
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
 
13280
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
 
13281
}
 
13282
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
 
13283
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
13284
}
 
13285
static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
 
13286
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
 
13287
}
 
13288
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
 
13289
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
13290
}
 
13291
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
 
13292
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
 
13293
}
 
13294
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
 
13295
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
 
13296
}
 
13297
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
 
13298
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
 
13299
}
 
13300
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
 
13301
    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
 
13302
}
 
13303
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
 
13304
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
 
13305
}
 
13306
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
 
13307
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
 
13308
}
 
13309
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
 
13310
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
 
13311
}
 
13312
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
 
13313
    return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
 
13314
}
 
13315
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
 
13316
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
 
13317
}
 
13318
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
 
13319
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
13320
}
 
13321
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
 
13322
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
13323
}
 
13324
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
 
13325
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
 
13326
}
 
13327
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
 
13328
    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
 
13329
}
 
13330
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
 
13331
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
 
13332
}
 
13333
static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
 
13334
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
 
13335
}
 
13336
static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
 
13337
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
 
13338
}
 
13339
static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
 
13340
    return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
 
13341
}
 
13342
static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
 
13343
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
 
13344
}
 
13345
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
 
13346
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
13347
}
 
13348
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
 
13349
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
 
13350
}
 
13351
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
 
13352
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
13353
}
 
13354
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
 
13355
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
13356
}
 
13357
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
 
13358
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
 
13359
}
 
13360
static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
 
13361
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
 
13362
}
 
13363
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
 
13364
    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
 
13365
}
 
13366
static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
 
13367
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
 
13368
}
 
13369
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
 
13370
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
13371
}
 
13372
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
 
13373
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
 
13374
}
 
13375
static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
 
13376
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x));
 
13377
}
 
13378
static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
 
13379
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
 
13380
}
 
13381
static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
 
13382
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
 
13383
}
 
13384
static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
 
13385
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
 
13386
}
 
13387
static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
 
13388
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
 
13389
}
 
13390
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
 
13391
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
13392
}
 
13393
static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
 
13394
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
 
13395
}
 
13396
static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
 
13397
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
 
13398
}
 
13399
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
 
13400
    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
 
13401
}
 
13402
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
 
13403
    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
 
13404
}
 
13405
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
 
13406
    return (void *)((wxPyTreeCtrl *)  ((wxRemotelyScrolledTreeCtrl *) x));
 
13407
}
 
13408
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
 
13409
    return (void *)((wxCommandEvent *)  ((wxSashEvent *) x));
 
13410
}
 
13411
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
 
13412
    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
 
13413
}
 
13414
static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
 
13415
    return (void *)((wxCommandEvent *)  ((wxHyperlinkEvent *) x));
 
13416
}
 
13417
static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
 
13418
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
 
13419
}
 
13420
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
 
13421
    return (void *)((wxCommandEvent *)  ((wxClipboardTextEvent *) x));
 
13422
}
 
13423
static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
 
13424
    return (void *)((wxCommandEvent *)  ((wxColourPickerEvent *) x));
 
13425
}
 
13426
static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
 
13427
    return (void *)((wxCommandEvent *)  ((wxFileDirPickerEvent *) x));
 
13428
}
 
13429
static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
 
13430
    return (void *)((wxCommandEvent *)  ((wxFontPickerEvent *) x));
 
13431
}
 
13432
static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
 
13433
    return (void *)((wxCommandEvent *)  ((wxTextUrlEvent *) x));
 
13434
}
 
13435
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
 
13436
    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
 
13437
}
 
13438
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
 
13439
    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
 
13440
}
 
13441
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
 
13442
    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
 
13443
}
 
13444
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
 
13445
    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
 
13446
}
 
13447
static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
 
13448
    return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
 
13449
}
 
13450
static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
 
13451
    return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
 
13452
}
 
13453
static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
 
13454
    return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
 
13455
}
 
13456
static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
 
13457
    return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
 
13458
}
 
13459
static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
 
13460
    return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
 
13461
}
 
13462
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
 
13463
    return (void *)((wxCommandEvent *)  ((wxDateEvent *) x));
 
13464
}
 
13465
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
 
13466
    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
 
13467
}
 
13468
static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
 
13469
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
 
13470
}
 
13471
static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
 
13472
    return (void *)((wxCommandEvent *)  ((wxCollapsiblePaneEvent *) x));
 
13473
}
 
13474
static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
 
13475
    return (void *)((wxCommandEvent *)  ((wxDynamicSashSplitEvent *) x));
 
13476
}
 
13477
static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
 
13478
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
 
13479
}
 
13480
static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
 
13481
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
 
13482
}
 
13483
static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
 
13484
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
 
13485
}
 
13486
static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
 
13487
    return (void *)((wxCommandEvent *)  ((wxHelpEvent *) x));
 
13488
}
 
13489
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
 
13490
    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
 
13491
}
 
13492
static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
 
13493
    return (void *)((wxCommandEvent *)  ((wxDynamicSashUnifyEvent *) x));
 
13494
}
 
13495
static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
 
13496
    return (void *)((wxCommandEvent *)  ((wxFindDialogEvent *) x));
 
13497
}
 
13498
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
 
13499
    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
 
13500
}
 
13501
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
 
13502
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
 
13503
static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
 
13504
static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
 
13505
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
 
13506
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
 
13507
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
 
13508
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
 
13509
static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
 
13510
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
 
13511
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
 
13512
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
 
13513
static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
 
13514
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
 
13515
static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
 
13516
static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
 
13517
static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
 
13518
static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
 
13519
static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
 
13520
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
 
13521
static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
 
13522
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
 
13523
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
 
13524
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
 
13525
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
 
13526
static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
 
13527
static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
 
13528
static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
 
13529
static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
 
13530
static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
 
13531
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
 
13532
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
 
13533
static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
 
13534
static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", 0, 0, 0, 0, 0};
 
13535
static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
 
13536
static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
 
13537
static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
 
13538
static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
 
13539
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
 
13540
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
 
13541
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
 
13542
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
 
13543
static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", 0, 0, 0, 0, 0};
 
13544
static swig_type_info _swigt__p_wxDatePickerCtrlGeneric = {"_p_wxDatePickerCtrlGeneric", 0, 0, 0, 0, 0};
 
13545
static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
 
13546
static swig_type_info _swigt__p_wxDatePickerCtrlBase = {"_p_wxDatePickerCtrlBase", 0, 0, 0, 0, 0};
 
13547
static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
 
13548
static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
 
13549
static swig_type_info _swigt__p_wxPyPickerBase = {"_p_wxPyPickerBase", 0, 0, 0, 0, 0};
 
13550
static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
 
13551
static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
 
13552
static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", 0, 0, 0, 0, 0};
 
13553
static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
 
13554
static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
 
13555
static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
 
13556
static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
 
13557
static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0};
 
13558
static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
 
13559
static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
 
13560
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
 
13561
static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
 
13562
static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
 
13563
static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
 
13564
static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
 
13565
static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
 
13566
static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
 
13567
static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
 
13568
static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
 
13569
static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
 
13570
static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
 
13571
static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
 
13572
static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
 
13573
static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
 
13574
static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
 
13575
static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
 
13576
static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
 
13577
static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
 
13578
static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
 
13579
static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
 
13580
static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
 
13581
static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
 
13582
static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
 
13583
static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
 
13584
static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
 
13585
static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
 
13586
static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
 
13587
static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
 
13588
static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
 
13589
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
 
13590
static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
 
13591
static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
 
13592
static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
 
13593
static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
 
13594
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
 
13595
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
 
13596
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
 
13597
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
 
13598
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
 
13599
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
 
13600
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
 
13601
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
 
13602
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
 
13603
static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
 
13604
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
 
13605
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
 
13606
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
 
13607
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
 
13608
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
 
13609
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
 
13610
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
 
13611
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
 
13612
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
 
13613
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
 
13614
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
 
13615
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
 
13616
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
 
13617
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
 
13618
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
 
13619
static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
 
13620
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
 
13621
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
 
13622
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
 
13623
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
 
13624
static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
 
13625
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
 
13626
static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
 
13627
static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
 
13628
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
 
13629
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
 
13630
static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
 
13631
static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
 
13632
static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
 
13633
static swig_type_info _swigt__p_wxPyAxBaseWindow = {"_p_wxPyAxBaseWindow", 0, 0, 0, 0, 0};
 
13634
static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
 
13635
static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
 
13636
static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
 
13637
static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
 
13638
static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
 
13639
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
 
13640
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
 
13641
static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
 
13642
static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
 
13643
static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
 
13644
static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
 
13645
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0};
 
13646
static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
 
13647
static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
 
13648
static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
 
13649
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
 
13650
static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
 
13651
static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
 
13652
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
 
13653
static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
 
13654
static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
 
13655
static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
 
13656
static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
 
13657
static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
 
13658
static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
 
13659
static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
 
13660
static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
 
13661
static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
 
13662
static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
 
13663
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
 
13664
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
 
13665
static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
 
13666
static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
 
13667
static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
 
13668
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
 
13669
static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
 
13670
static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
 
13671
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
 
13672
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
 
13673
static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
 
13674
static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
 
13675
static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
 
13676
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
 
13677
static swig_type_info _swigt__p_wxDirItemData = {"_p_wxDirItemData", 0, 0, 0, 0, 0};
 
13678
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
 
13679
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
 
13680
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
 
13681
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
 
13682
static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
 
13683
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
 
13684
static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
 
13685
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
 
13686
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
 
13687
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
 
13688
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
 
13689
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
 
13690
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
 
13691
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
 
13692
static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
 
13693
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
 
13694
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
 
13695
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
 
13696
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
 
13697
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
 
13698
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
 
13699
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
 
13700
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
 
13701
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
 
13702
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
 
13703
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
 
13704
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
 
13705
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
 
13706
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
 
13707
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
 
13708
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
 
13709
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
 
13710
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
 
13711
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
 
13712
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
 
13713
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
 
13714
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
 
13715
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
 
13716
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
 
13717
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
 
13718
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
 
13719
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
 
13720
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
 
13721
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
 
13722
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
 
13723
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
 
13724
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
 
13725
static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
 
13726
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
 
13727
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
 
13728
static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
 
13729
static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
 
13730
static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
 
13731
static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
 
13732
static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
 
13733
static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
 
13734
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
 
13735
static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
 
13736
static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
 
13737
static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
 
13738
static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
 
13739
static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
 
13740
static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
 
13741
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
 
13742
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
 
13743
 
 
13744
static swig_type_info *swig_type_initial[] = {
 
13745
  &_swigt__p_char,
 
13746
  &_swigt__p_double,
 
13747
  &_swigt__p_float,
 
13748
  &_swigt__p_form_ops_t,
 
13749
  &_swigt__p_int,
 
13750
  &_swigt__p_unsigned_char,
 
13751
  &_swigt__p_unsigned_int,
 
13752
  &_swigt__p_unsigned_long,
 
13753
  &_swigt__p_wxANIHandler,
 
13754
  &_swigt__p_wxAcceleratorTable,
 
13755
  &_swigt__p_wxActivateEvent,
 
13756
  &_swigt__p_wxArrayString,
 
13757
  &_swigt__p_wxBMPHandler,
 
13758
  &_swigt__p_wxBitmap,
 
13759
  &_swigt__p_wxBitmapButton,
 
13760
  &_swigt__p_wxBookCtrlBase,
 
13761
  &_swigt__p_wxBookCtrlBaseEvent,
 
13762
  &_swigt__p_wxBoxSizer,
 
13763
  &_swigt__p_wxButton,
 
13764
  &_swigt__p_wxCURHandler,
 
13765
  &_swigt__p_wxCalculateLayoutEvent,
 
13766
  &_swigt__p_wxCheckBox,
 
13767
  &_swigt__p_wxCheckListBox,
 
13768
  &_swigt__p_wxChildFocusEvent,
 
13769
  &_swigt__p_wxChoice,
 
13770
  &_swigt__p_wxChoicebook,
 
13771
  &_swigt__p_wxChoicebookEvent,
 
13772
  &_swigt__p_wxClipboardTextEvent,
 
13773
  &_swigt__p_wxCloseEvent,
 
13774
  &_swigt__p_wxCollapsiblePane,
 
13775
  &_swigt__p_wxCollapsiblePaneEvent,
 
13776
  &_swigt__p_wxColour,
 
13777
  &_swigt__p_wxColourData,
 
13778
  &_swigt__p_wxColourDialog,
 
13779
  &_swigt__p_wxColourPickerCtrl,
 
13780
  &_swigt__p_wxColourPickerEvent,
 
13781
  &_swigt__p_wxComboBox,
 
13782
  &_swigt__p_wxCommandEvent,
 
13783
  &_swigt__p_wxContextHelp,
 
13784
  &_swigt__p_wxContextHelpButton,
 
13785
  &_swigt__p_wxContextMenuEvent,
 
13786
  &_swigt__p_wxControl,
 
13787
  &_swigt__p_wxControlWithItems,
 
13788
  &_swigt__p_wxDateEvent,
 
13789
  &_swigt__p_wxDatePickerCtrl,
 
13790
  &_swigt__p_wxDatePickerCtrlBase,
 
13791
  &_swigt__p_wxDatePickerCtrlGeneric,
 
13792
  &_swigt__p_wxDialog,
 
13793
  &_swigt__p_wxDirDialog,
 
13794
  &_swigt__p_wxDirFilterListCtrl,
 
13795
  &_swigt__p_wxDirItemData,
 
13796
  &_swigt__p_wxDirPickerCtrl,
 
13797
  &_swigt__p_wxDisplayChangedEvent,
 
13798
  &_swigt__p_wxDropFilesEvent,
 
13799
  &_swigt__p_wxDuplexMode,
 
13800
  &_swigt__p_wxDynamicSashSplitEvent,
 
13801
  &_swigt__p_wxDynamicSashUnifyEvent,
 
13802
  &_swigt__p_wxDynamicSashWindow,
 
13803
  &_swigt__p_wxEditableListBox,
 
13804
  &_swigt__p_wxEraseEvent,
 
13805
  &_swigt__p_wxEvent,
 
13806
  &_swigt__p_wxEvtHandler,
 
13807
  &_swigt__p_wxFSFile,
 
13808
  &_swigt__p_wxFileDialog,
 
13809
  &_swigt__p_wxFileDirPickerEvent,
 
13810
  &_swigt__p_wxFilePickerCtrl,
 
13811
  &_swigt__p_wxFileSystem,
 
13812
  &_swigt__p_wxFindDialogEvent,
 
13813
  &_swigt__p_wxFindReplaceData,
 
13814
  &_swigt__p_wxFindReplaceDialog,
 
13815
  &_swigt__p_wxFlexGridSizer,
 
13816
  &_swigt__p_wxFocusEvent,
 
13817
  &_swigt__p_wxFont,
 
13818
  &_swigt__p_wxFontData,
 
13819
  &_swigt__p_wxFontDialog,
 
13820
  &_swigt__p_wxFontPickerCtrl,
 
13821
  &_swigt__p_wxFontPickerEvent,
 
13822
  &_swigt__p_wxFrame,
 
13823
  &_swigt__p_wxGBSizerItem,
 
13824
  &_swigt__p_wxGIFHandler,
 
13825
  &_swigt__p_wxGauge,
 
13826
  &_swigt__p_wxGenericDirCtrl,
 
13827
  &_swigt__p_wxGenericDragImage,
 
13828
  &_swigt__p_wxGridBagSizer,
 
13829
  &_swigt__p_wxGridSizer,
 
13830
  &_swigt__p_wxHelpEvent,
 
13831
  &_swigt__p_wxHyperlinkCtrl,
 
13832
  &_swigt__p_wxHyperlinkEvent,
 
13833
  &_swigt__p_wxICOHandler,
 
13834
  &_swigt__p_wxIcon,
 
13835
  &_swigt__p_wxIconizeEvent,
 
13836
  &_swigt__p_wxIdleEvent,
 
13837
  &_swigt__p_wxImage,
 
13838
  &_swigt__p_wxImageHandler,
 
13839
  &_swigt__p_wxImageList,
 
13840
  &_swigt__p_wxIndividualLayoutConstraint,
 
13841
  &_swigt__p_wxInitDialogEvent,
 
13842
  &_swigt__p_wxJPEGHandler,
 
13843
  &_swigt__p_wxKeyEvent,
 
13844
  &_swigt__p_wxLEDNumberCtrl,
 
13845
  &_swigt__p_wxLayoutAlgorithm,
 
13846
  &_swigt__p_wxLayoutConstraints,
 
13847
  &_swigt__p_wxListBox,
 
13848
  &_swigt__p_wxListEvent,
 
13849
  &_swigt__p_wxListItem,
 
13850
  &_swigt__p_wxListView,
 
13851
  &_swigt__p_wxListbook,
 
13852
  &_swigt__p_wxListbookEvent,
 
13853
  &_swigt__p_wxMDIChildFrame,
 
13854
  &_swigt__p_wxMDIClientWindow,
 
13855
  &_swigt__p_wxMDIParentFrame,
 
13856
  &_swigt__p_wxMaximizeEvent,
 
13857
  &_swigt__p_wxMenu,
 
13858
  &_swigt__p_wxMenuBar,
 
13859
  &_swigt__p_wxMenuEvent,
 
13860
  &_swigt__p_wxMenuItem,
 
13861
  &_swigt__p_wxMessageDialog,
 
13862
  &_swigt__p_wxMiniFrame,
 
13863
  &_swigt__p_wxMouseCaptureChangedEvent,
 
13864
  &_swigt__p_wxMouseCaptureLostEvent,
 
13865
  &_swigt__p_wxMouseEvent,
 
13866
  &_swigt__p_wxMoveEvent,
 
13867
  &_swigt__p_wxMultiChoiceDialog,
 
13868
  &_swigt__p_wxNavigationKeyEvent,
 
13869
  &_swigt__p_wxNcPaintEvent,
 
13870
  &_swigt__p_wxNotebook,
 
13871
  &_swigt__p_wxNotebookEvent,
 
13872
  &_swigt__p_wxNotifyEvent,
 
13873
  &_swigt__p_wxNumberEntryDialog,
 
13874
  &_swigt__p_wxObject,
 
13875
  &_swigt__p_wxPCXHandler,
 
13876
  &_swigt__p_wxPNGHandler,
 
13877
  &_swigt__p_wxPNMHandler,
 
13878
  &_swigt__p_wxPageSetupDialog,
 
13879
  &_swigt__p_wxPageSetupDialogData,
 
13880
  &_swigt__p_wxPaintEvent,
 
13881
  &_swigt__p_wxPaletteChangedEvent,
 
13882
  &_swigt__p_wxPanel,
 
13883
  &_swigt__p_wxPaperSize,
 
13884
  &_swigt__p_wxPasswordEntryDialog,
 
13885
  &_swigt__p_wxPickerBase,
 
13886
  &_swigt__p_wxPopupWindow,
 
13887
  &_swigt__p_wxPreviewCanvas,
 
13888
  &_swigt__p_wxPreviewControlBar,
 
13889
  &_swigt__p_wxPreviewFrame,
 
13890
  &_swigt__p_wxPrintData,
 
13891
  &_swigt__p_wxPrintDialog,
 
13892
  &_swigt__p_wxPrintDialogData,
 
13893
  &_swigt__p_wxPrintPreview,
 
13894
  &_swigt__p_wxPrinter,
 
13895
  &_swigt__p_wxProgressDialog,
 
13896
  &_swigt__p_wxPyApp,
 
13897
  &_swigt__p_wxPyAxBaseWindow,
 
13898
  &_swigt__p_wxPyCommandEvent,
 
13899
  &_swigt__p_wxPyControl,
 
13900
  &_swigt__p_wxPyEvent,
 
13901
  &_swigt__p_wxPyEvtHandler,
 
13902
  &_swigt__p_wxPyHtmlListBox,
 
13903
  &_swigt__p_wxPyImageHandler,
 
13904
  &_swigt__p_wxPyListCtrl,
 
13905
  &_swigt__p_wxPyPanel,
 
13906
  &_swigt__p_wxPyPickerBase,
 
13907
  &_swigt__p_wxPyPopupTransientWindow,
 
13908
  &_swigt__p_wxPyPreviewControlBar,
 
13909
  &_swigt__p_wxPyPreviewFrame,
 
13910
  &_swigt__p_wxPyPrintPreview,
 
13911
  &_swigt__p_wxPyPrintout,
 
13912
  &_swigt__p_wxPyScrolledWindow,
 
13913
  &_swigt__p_wxPySizer,
 
13914
  &_swigt__p_wxPyTaskBarIcon,
 
13915
  &_swigt__p_wxPyTreeCompanionWindow,
 
13916
  &_swigt__p_wxPyTreeCtrl,
 
13917
  &_swigt__p_wxPyTreeItemData,
 
13918
  &_swigt__p_wxPyTreeListCtrl,
 
13919
  &_swigt__p_wxPyVListBox,
 
13920
  &_swigt__p_wxPyVScrolledWindow,
 
13921
  &_swigt__p_wxPyValidator,
 
13922
  &_swigt__p_wxPyWindow,
 
13923
  &_swigt__p_wxQueryLayoutInfoEvent,
 
13924
  &_swigt__p_wxQueryNewPaletteEvent,
 
13925
  &_swigt__p_wxRadioBox,
 
13926
  &_swigt__p_wxRadioButton,
 
13927
  &_swigt__p_wxRemotelyScrolledTreeCtrl,
 
13928
  &_swigt__p_wxSashEvent,
 
13929
  &_swigt__p_wxSashLayoutWindow,
 
13930
  &_swigt__p_wxSashWindow,
 
13931
  &_swigt__p_wxScrollBar,
 
13932
  &_swigt__p_wxScrollEvent,
 
13933
  &_swigt__p_wxScrollWinEvent,
 
13934
  &_swigt__p_wxScrolledWindow,
 
13935
  &_swigt__p_wxSearchCtrl,
 
13936
  &_swigt__p_wxSetCursorEvent,
 
13937
  &_swigt__p_wxShowEvent,
 
13938
  &_swigt__p_wxSimpleHtmlListBox,
 
13939
  &_swigt__p_wxSingleChoiceDialog,
 
13940
  &_swigt__p_wxSizeEvent,
 
13941
  &_swigt__p_wxSizer,
 
13942
  &_swigt__p_wxSizerItem,
 
13943
  &_swigt__p_wxSlider,
 
13944
  &_swigt__p_wxSpinButton,
 
13945
  &_swigt__p_wxSpinCtrl,
 
13946
  &_swigt__p_wxSpinEvent,
 
13947
  &_swigt__p_wxSplashScreen,
 
13948
  &_swigt__p_wxSplashScreenWindow,
 
13949
  &_swigt__p_wxSplitterEvent,
 
13950
  &_swigt__p_wxSplitterScrolledWindow,
 
13951
  &_swigt__p_wxSplitterWindow,
 
13952
  &_swigt__p_wxStaticBitmap,
 
13953
  &_swigt__p_wxStaticBox,
 
13954
  &_swigt__p_wxStaticBoxSizer,
 
13955
  &_swigt__p_wxStaticLine,
 
13956
  &_swigt__p_wxStaticPicture,
 
13957
  &_swigt__p_wxStaticText,
 
13958
  &_swigt__p_wxStatusBar,
 
13959
  &_swigt__p_wxStdDialogButtonSizer,
 
13960
  &_swigt__p_wxSysColourChangedEvent,
 
13961
  &_swigt__p_wxTGAHandler,
 
13962
  &_swigt__p_wxTIFFHandler,
 
13963
  &_swigt__p_wxTaskBarIconEvent,
 
13964
  &_swigt__p_wxTextCtrl,
 
13965
  &_swigt__p_wxTextEntryDialog,
 
13966
  &_swigt__p_wxTextUrlEvent,
 
13967
  &_swigt__p_wxThinSplitterWindow,
 
13968
  &_swigt__p_wxTipWindow,
 
13969
  &_swigt__p_wxToggleButton,
 
13970
  &_swigt__p_wxToolBar,
 
13971
  &_swigt__p_wxToolBarBase,
 
13972
  &_swigt__p_wxToolBarToolBase,
 
13973
  &_swigt__p_wxToolbook,
 
13974
  &_swigt__p_wxToolbookEvent,
 
13975
  &_swigt__p_wxTopLevelWindow,
 
13976
  &_swigt__p_wxTreeEvent,
 
13977
  &_swigt__p_wxTreeItemId,
 
13978
  &_swigt__p_wxTreeListColumnInfo,
 
13979
  &_swigt__p_wxTreebook,
 
13980
  &_swigt__p_wxTreebookEvent,
 
13981
  &_swigt__p_wxUpdateUIEvent,
 
13982
  &_swigt__p_wxValidator,
 
13983
  &_swigt__p_wxWindow,
 
13984
  &_swigt__p_wxWindowCreateEvent,
 
13985
  &_swigt__p_wxWindowDestroyEvent,
 
13986
  &_swigt__p_wxXPMHandler,
 
13987
};
 
13988
 
 
13989
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
 
13990
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
 
13991
static swig_cast_info _swigc__p_float[] = {  {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
 
13992
static swig_cast_info _swigc__p_form_ops_t[] = {  {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
 
13993
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
 
13994
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
 
13995
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
 
13996
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
 
13997
static swig_cast_info _swigc__p_wxArrayString[] = {  {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
 
13998
static swig_cast_info _swigc__p_wxBitmap[] = {  {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
 
13999
static swig_cast_info _swigc__p_wxColour[] = {  {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
 
14000
static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14001
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14002
static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14003
static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14004
static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14005
static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14006
static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14007
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14008
static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14009
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14010
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14011
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14012
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14013
static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14014
static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14015
static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14016
static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14017
static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14018
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14019
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14020
static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14021
static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = {{&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14022
static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14023
static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14024
static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14025
static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14026
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14027
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14028
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14029
static swig_cast_info _swigc__p_wxCommandEvent[] = {  {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_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_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_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_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
 
14030
static swig_cast_info _swigc__p_wxCollapsiblePane[] = {{&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
 
14031
static swig_cast_info _swigc__p_wxDatePickerCtrlGeneric[] = {{&_swigt__p_wxDatePickerCtrlGeneric, 0, 0, 0},{0, 0, 0, 0}};
 
14032
static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
 
14033
static swig_cast_info _swigc__p_wxDatePickerCtrlBase[] = {{&_swigt__p_wxDatePickerCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
 
14034
static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
 
14035
static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
 
14036
static swig_cast_info _swigc__p_wxPyPickerBase[] = {{&_swigt__p_wxPyPickerBase, 0, 0, 0},{0, 0, 0, 0}};
 
14037
static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
 
14038
static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
 
14039
static swig_cast_info _swigc__p_wxSearchCtrl[] = {{&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14040
static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
 
14041
static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
 
14042
static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
 
14043
static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14044
static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14045
static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
 
14046
static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14047
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
 
14048
static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
 
14049
static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
 
14050
static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
 
14051
static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
 
14052
static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14053
static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
 
14054
static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
 
14055
static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
 
14056
static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
 
14057
static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
 
14058
static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
 
14059
static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
 
14060
static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
 
14061
static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14062
static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
 
14063
static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
 
14064
static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
 
14065
static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
 
14066
static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
 
14067
static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
 
14068
static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
 
14069
static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
 
14070
static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14071
static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14072
static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14073
static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14074
static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14075
static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14076
static swig_cast_info _swigc__p_wxControl[] = {  {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0},  {&_swigt__p_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_p_wxControl, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0},  {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxPyPickerBase, _p_wxPyPickerBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0},  {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0},  {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0},  {&_swigt__p_wxControl, 0, 0, 0},  {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0},  {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0},  {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_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_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0},  {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0},  {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0},  {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0},  {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0},  {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0},  {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0},  {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0},  {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0},  {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0},  {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0},  {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0},  {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0},  {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0},  {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0},  {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0},  {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0},  {&_swigt__p_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_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0},  {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
 
14077
static swig_cast_info _swigc__p_wxDuplexMode[] = {  {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
 
14078
static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = {  {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14079
static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = {  {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14080
static swig_cast_info _swigc__p_wxDynamicSashWindow[] = {  {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14081
static swig_cast_info _swigc__p_wxEditableListBox[] = {  {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
 
14082
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14083
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14084
static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14085
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14086
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14087
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14088
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14089
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14090
static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14091
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14092
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14093
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14094
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14095
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14096
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14097
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14098
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14099
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14100
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14101
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14102
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14103
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14104
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14105
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14106
static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14107
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14108
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14109
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14110
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14111
static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
 
14112
static swig_cast_info _swigc__p_wxEvent[] = {  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_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_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxEvent, 0, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0},  {&_swigt__p_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_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_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},  {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
 
14113
static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
 
14114
static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
 
14115
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
 
14116
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
 
14117
static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
 
14118
static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
 
14119
static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
 
14120
static swig_cast_info _swigc__p_wxPyAxBaseWindow[] = {{&_swigt__p_wxPyAxBaseWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14121
static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14122
static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
 
14123
static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14124
static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14125
static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14126
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14127
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14128
static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14129
static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14130
static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14131
static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14132
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14133
static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
 
14134
static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
 
14135
static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
 
14136
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
 
14137
static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
 
14138
static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
 
14139
static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
 
14140
static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14141
static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14142
static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14143
static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14144
static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14145
static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14146
static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14147
static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14148
static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14149
static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14150
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
 
14151
static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14152
static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14153
static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14154
static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14155
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
 
14156
static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
 
14157
static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
 
14158
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
 
14159
static swig_cast_info _swigc__p_wxEvtHandler[] = {  {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPickerBase, _p_wxPyPickerBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyAxBaseWindow, _p_wxPyAxBaseWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxEvtHandler, 0, 0, 0},  {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_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_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
 
14160
static swig_cast_info _swigc__p_wxFont[] = {  {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
 
14161
static swig_cast_info _swigc__p_wxIcon[] = {  {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
 
14162
static swig_cast_info _swigc__p_wxImageList[] = {  {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
 
14163
static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = {  {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14164
static swig_cast_info _swigc__p_wxDirItemData[] = {{&_swigt__p_wxDirItemData, 0, 0, 0},{0, 0, 0, 0}};
 
14165
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
 
14166
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
 
14167
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
 
14168
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
 
14169
static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
 
14170
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
 
14171
static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
 
14172
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
 
14173
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
 
14174
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
 
14175
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
 
14176
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14177
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14178
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
 
14179
static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
 
14180
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
 
14181
static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
 
14182
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14183
static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
 
14184
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
 
14185
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
 
14186
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
 
14187
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
 
14188
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
 
14189
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14190
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14191
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14192
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
 
14193
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
 
14194
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
14195
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
14196
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14197
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
 
14198
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14199
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14200
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14201
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14202
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14203
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14204
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14205
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14206
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14207
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14208
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14209
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14210
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14211
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
 
14212
static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
 
14213
static swig_cast_info _swigc__p_wxObject[] = {  {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDirItemData, _p_wxDirItemDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0},  {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0},  {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0},  {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_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_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0},  {&_swigt__p_wxObject, 0, 0, 0},  {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0},  {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0},  {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0},  {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0},  {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0},  {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0},  {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0},  {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0},  {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_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_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPickerBase, _p_wxPyPickerBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0},  {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_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_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_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_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyAxBaseWindow, _p_wxPyAxBaseWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
 
14214
static swig_cast_info _swigc__p_wxPanel[] = {  {&_swigt__p_wxPanel, 0, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0},  {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
 
14215
static swig_cast_info _swigc__p_wxPaperSize[] = {  {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
 
14216
static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = {  {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14217
static swig_cast_info _swigc__p_wxPyTreeCtrl[] = {  {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},  {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0},{0, 0, 0, 0}};
 
14218
static swig_cast_info _swigc__p_wxPyTreeItemData[] = {  {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
 
14219
static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = {  {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14220
static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = {  {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
 
14221
static swig_cast_info _swigc__p_wxScrollBar[] = {  {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
 
14222
static swig_cast_info _swigc__p_wxScrolledWindow[] = {  {&_swigt__p_wxScrolledWindow, 0, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0},  {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
 
14223
static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = {  {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14224
static swig_cast_info _swigc__p_wxSplitterWindow[] = {  {&_swigt__p_wxSplitterWindow, 0, 0, 0},  {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0},{0, 0, 0, 0}};
 
14225
static swig_cast_info _swigc__p_wxStaticPicture[] = {  {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
 
14226
static swig_cast_info _swigc__p_wxThinSplitterWindow[] = {  {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
 
14227
static swig_cast_info _swigc__p_wxTreeItemId[] = {  {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
 
14228
static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = {  {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
 
14229
static 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}};
 
14230
static swig_cast_info _swigc__p_wxWindow[] = {  {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPickerBase, _p_wxPyPickerBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0},  {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0},  {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0},  {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0},  {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyAxBaseWindow, _p_wxPyAxBaseWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0},  {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0},  {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0},  {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0},  {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0},  {&_swigt__p_wxWindow, 0, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0},  {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0},  {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
 
14231
 
 
14232
static swig_cast_info *swig_cast_initial[] = {
 
14233
  _swigc__p_char,
 
14234
  _swigc__p_double,
 
14235
  _swigc__p_float,
 
14236
  _swigc__p_form_ops_t,
 
14237
  _swigc__p_int,
 
14238
  _swigc__p_unsigned_char,
 
14239
  _swigc__p_unsigned_int,
 
14240
  _swigc__p_unsigned_long,
 
14241
  _swigc__p_wxANIHandler,
 
14242
  _swigc__p_wxAcceleratorTable,
 
14243
  _swigc__p_wxActivateEvent,
 
14244
  _swigc__p_wxArrayString,
 
14245
  _swigc__p_wxBMPHandler,
 
14246
  _swigc__p_wxBitmap,
 
14247
  _swigc__p_wxBitmapButton,
 
14248
  _swigc__p_wxBookCtrlBase,
 
14249
  _swigc__p_wxBookCtrlBaseEvent,
 
14250
  _swigc__p_wxBoxSizer,
 
14251
  _swigc__p_wxButton,
 
14252
  _swigc__p_wxCURHandler,
 
14253
  _swigc__p_wxCalculateLayoutEvent,
 
14254
  _swigc__p_wxCheckBox,
 
14255
  _swigc__p_wxCheckListBox,
 
14256
  _swigc__p_wxChildFocusEvent,
 
14257
  _swigc__p_wxChoice,
 
14258
  _swigc__p_wxChoicebook,
 
14259
  _swigc__p_wxChoicebookEvent,
 
14260
  _swigc__p_wxClipboardTextEvent,
 
14261
  _swigc__p_wxCloseEvent,
 
14262
  _swigc__p_wxCollapsiblePane,
 
14263
  _swigc__p_wxCollapsiblePaneEvent,
 
14264
  _swigc__p_wxColour,
 
14265
  _swigc__p_wxColourData,
 
14266
  _swigc__p_wxColourDialog,
 
14267
  _swigc__p_wxColourPickerCtrl,
 
14268
  _swigc__p_wxColourPickerEvent,
 
14269
  _swigc__p_wxComboBox,
 
14270
  _swigc__p_wxCommandEvent,
 
14271
  _swigc__p_wxContextHelp,
 
14272
  _swigc__p_wxContextHelpButton,
 
14273
  _swigc__p_wxContextMenuEvent,
 
14274
  _swigc__p_wxControl,
 
14275
  _swigc__p_wxControlWithItems,
 
14276
  _swigc__p_wxDateEvent,
 
14277
  _swigc__p_wxDatePickerCtrl,
 
14278
  _swigc__p_wxDatePickerCtrlBase,
 
14279
  _swigc__p_wxDatePickerCtrlGeneric,
 
14280
  _swigc__p_wxDialog,
 
14281
  _swigc__p_wxDirDialog,
 
14282
  _swigc__p_wxDirFilterListCtrl,
 
14283
  _swigc__p_wxDirItemData,
 
14284
  _swigc__p_wxDirPickerCtrl,
 
14285
  _swigc__p_wxDisplayChangedEvent,
 
14286
  _swigc__p_wxDropFilesEvent,
 
14287
  _swigc__p_wxDuplexMode,
 
14288
  _swigc__p_wxDynamicSashSplitEvent,
 
14289
  _swigc__p_wxDynamicSashUnifyEvent,
 
14290
  _swigc__p_wxDynamicSashWindow,
 
14291
  _swigc__p_wxEditableListBox,
 
14292
  _swigc__p_wxEraseEvent,
 
14293
  _swigc__p_wxEvent,
 
14294
  _swigc__p_wxEvtHandler,
 
14295
  _swigc__p_wxFSFile,
 
14296
  _swigc__p_wxFileDialog,
 
14297
  _swigc__p_wxFileDirPickerEvent,
 
14298
  _swigc__p_wxFilePickerCtrl,
 
14299
  _swigc__p_wxFileSystem,
 
14300
  _swigc__p_wxFindDialogEvent,
 
14301
  _swigc__p_wxFindReplaceData,
 
14302
  _swigc__p_wxFindReplaceDialog,
 
14303
  _swigc__p_wxFlexGridSizer,
 
14304
  _swigc__p_wxFocusEvent,
 
14305
  _swigc__p_wxFont,
 
14306
  _swigc__p_wxFontData,
 
14307
  _swigc__p_wxFontDialog,
 
14308
  _swigc__p_wxFontPickerCtrl,
 
14309
  _swigc__p_wxFontPickerEvent,
 
14310
  _swigc__p_wxFrame,
 
14311
  _swigc__p_wxGBSizerItem,
 
14312
  _swigc__p_wxGIFHandler,
 
14313
  _swigc__p_wxGauge,
 
14314
  _swigc__p_wxGenericDirCtrl,
 
14315
  _swigc__p_wxGenericDragImage,
 
14316
  _swigc__p_wxGridBagSizer,
 
14317
  _swigc__p_wxGridSizer,
 
14318
  _swigc__p_wxHelpEvent,
 
14319
  _swigc__p_wxHyperlinkCtrl,
 
14320
  _swigc__p_wxHyperlinkEvent,
 
14321
  _swigc__p_wxICOHandler,
 
14322
  _swigc__p_wxIcon,
 
14323
  _swigc__p_wxIconizeEvent,
 
14324
  _swigc__p_wxIdleEvent,
 
14325
  _swigc__p_wxImage,
 
14326
  _swigc__p_wxImageHandler,
 
14327
  _swigc__p_wxImageList,
 
14328
  _swigc__p_wxIndividualLayoutConstraint,
 
14329
  _swigc__p_wxInitDialogEvent,
 
14330
  _swigc__p_wxJPEGHandler,
 
14331
  _swigc__p_wxKeyEvent,
 
14332
  _swigc__p_wxLEDNumberCtrl,
 
14333
  _swigc__p_wxLayoutAlgorithm,
 
14334
  _swigc__p_wxLayoutConstraints,
 
14335
  _swigc__p_wxListBox,
 
14336
  _swigc__p_wxListEvent,
 
14337
  _swigc__p_wxListItem,
 
14338
  _swigc__p_wxListView,
 
14339
  _swigc__p_wxListbook,
 
14340
  _swigc__p_wxListbookEvent,
 
14341
  _swigc__p_wxMDIChildFrame,
 
14342
  _swigc__p_wxMDIClientWindow,
 
14343
  _swigc__p_wxMDIParentFrame,
 
14344
  _swigc__p_wxMaximizeEvent,
 
14345
  _swigc__p_wxMenu,
 
14346
  _swigc__p_wxMenuBar,
 
14347
  _swigc__p_wxMenuEvent,
 
14348
  _swigc__p_wxMenuItem,
 
14349
  _swigc__p_wxMessageDialog,
 
14350
  _swigc__p_wxMiniFrame,
 
14351
  _swigc__p_wxMouseCaptureChangedEvent,
 
14352
  _swigc__p_wxMouseCaptureLostEvent,
 
14353
  _swigc__p_wxMouseEvent,
 
14354
  _swigc__p_wxMoveEvent,
 
14355
  _swigc__p_wxMultiChoiceDialog,
 
14356
  _swigc__p_wxNavigationKeyEvent,
 
14357
  _swigc__p_wxNcPaintEvent,
 
14358
  _swigc__p_wxNotebook,
 
14359
  _swigc__p_wxNotebookEvent,
 
14360
  _swigc__p_wxNotifyEvent,
 
14361
  _swigc__p_wxNumberEntryDialog,
 
14362
  _swigc__p_wxObject,
 
14363
  _swigc__p_wxPCXHandler,
 
14364
  _swigc__p_wxPNGHandler,
 
14365
  _swigc__p_wxPNMHandler,
 
14366
  _swigc__p_wxPageSetupDialog,
 
14367
  _swigc__p_wxPageSetupDialogData,
 
14368
  _swigc__p_wxPaintEvent,
 
14369
  _swigc__p_wxPaletteChangedEvent,
 
14370
  _swigc__p_wxPanel,
 
14371
  _swigc__p_wxPaperSize,
 
14372
  _swigc__p_wxPasswordEntryDialog,
 
14373
  _swigc__p_wxPickerBase,
 
14374
  _swigc__p_wxPopupWindow,
 
14375
  _swigc__p_wxPreviewCanvas,
 
14376
  _swigc__p_wxPreviewControlBar,
 
14377
  _swigc__p_wxPreviewFrame,
 
14378
  _swigc__p_wxPrintData,
 
14379
  _swigc__p_wxPrintDialog,
 
14380
  _swigc__p_wxPrintDialogData,
 
14381
  _swigc__p_wxPrintPreview,
 
14382
  _swigc__p_wxPrinter,
 
14383
  _swigc__p_wxProgressDialog,
 
14384
  _swigc__p_wxPyApp,
 
14385
  _swigc__p_wxPyAxBaseWindow,
 
14386
  _swigc__p_wxPyCommandEvent,
 
14387
  _swigc__p_wxPyControl,
 
14388
  _swigc__p_wxPyEvent,
 
14389
  _swigc__p_wxPyEvtHandler,
 
14390
  _swigc__p_wxPyHtmlListBox,
 
14391
  _swigc__p_wxPyImageHandler,
 
14392
  _swigc__p_wxPyListCtrl,
 
14393
  _swigc__p_wxPyPanel,
 
14394
  _swigc__p_wxPyPickerBase,
 
14395
  _swigc__p_wxPyPopupTransientWindow,
 
14396
  _swigc__p_wxPyPreviewControlBar,
 
14397
  _swigc__p_wxPyPreviewFrame,
 
14398
  _swigc__p_wxPyPrintPreview,
 
14399
  _swigc__p_wxPyPrintout,
 
14400
  _swigc__p_wxPyScrolledWindow,
 
14401
  _swigc__p_wxPySizer,
 
14402
  _swigc__p_wxPyTaskBarIcon,
 
14403
  _swigc__p_wxPyTreeCompanionWindow,
 
14404
  _swigc__p_wxPyTreeCtrl,
 
14405
  _swigc__p_wxPyTreeItemData,
 
14406
  _swigc__p_wxPyTreeListCtrl,
 
14407
  _swigc__p_wxPyVListBox,
 
14408
  _swigc__p_wxPyVScrolledWindow,
 
14409
  _swigc__p_wxPyValidator,
 
14410
  _swigc__p_wxPyWindow,
 
14411
  _swigc__p_wxQueryLayoutInfoEvent,
 
14412
  _swigc__p_wxQueryNewPaletteEvent,
 
14413
  _swigc__p_wxRadioBox,
 
14414
  _swigc__p_wxRadioButton,
 
14415
  _swigc__p_wxRemotelyScrolledTreeCtrl,
 
14416
  _swigc__p_wxSashEvent,
 
14417
  _swigc__p_wxSashLayoutWindow,
 
14418
  _swigc__p_wxSashWindow,
 
14419
  _swigc__p_wxScrollBar,
 
14420
  _swigc__p_wxScrollEvent,
 
14421
  _swigc__p_wxScrollWinEvent,
 
14422
  _swigc__p_wxScrolledWindow,
 
14423
  _swigc__p_wxSearchCtrl,
 
14424
  _swigc__p_wxSetCursorEvent,
 
14425
  _swigc__p_wxShowEvent,
 
14426
  _swigc__p_wxSimpleHtmlListBox,
 
14427
  _swigc__p_wxSingleChoiceDialog,
 
14428
  _swigc__p_wxSizeEvent,
 
14429
  _swigc__p_wxSizer,
 
14430
  _swigc__p_wxSizerItem,
 
14431
  _swigc__p_wxSlider,
 
14432
  _swigc__p_wxSpinButton,
 
14433
  _swigc__p_wxSpinCtrl,
 
14434
  _swigc__p_wxSpinEvent,
 
14435
  _swigc__p_wxSplashScreen,
 
14436
  _swigc__p_wxSplashScreenWindow,
 
14437
  _swigc__p_wxSplitterEvent,
 
14438
  _swigc__p_wxSplitterScrolledWindow,
 
14439
  _swigc__p_wxSplitterWindow,
 
14440
  _swigc__p_wxStaticBitmap,
 
14441
  _swigc__p_wxStaticBox,
 
14442
  _swigc__p_wxStaticBoxSizer,
 
14443
  _swigc__p_wxStaticLine,
 
14444
  _swigc__p_wxStaticPicture,
 
14445
  _swigc__p_wxStaticText,
 
14446
  _swigc__p_wxStatusBar,
 
14447
  _swigc__p_wxStdDialogButtonSizer,
 
14448
  _swigc__p_wxSysColourChangedEvent,
 
14449
  _swigc__p_wxTGAHandler,
 
14450
  _swigc__p_wxTIFFHandler,
 
14451
  _swigc__p_wxTaskBarIconEvent,
 
14452
  _swigc__p_wxTextCtrl,
 
14453
  _swigc__p_wxTextEntryDialog,
 
14454
  _swigc__p_wxTextUrlEvent,
 
14455
  _swigc__p_wxThinSplitterWindow,
 
14456
  _swigc__p_wxTipWindow,
 
14457
  _swigc__p_wxToggleButton,
 
14458
  _swigc__p_wxToolBar,
 
14459
  _swigc__p_wxToolBarBase,
 
14460
  _swigc__p_wxToolBarToolBase,
 
14461
  _swigc__p_wxToolbook,
 
14462
  _swigc__p_wxToolbookEvent,
 
14463
  _swigc__p_wxTopLevelWindow,
 
14464
  _swigc__p_wxTreeEvent,
 
14465
  _swigc__p_wxTreeItemId,
 
14466
  _swigc__p_wxTreeListColumnInfo,
 
14467
  _swigc__p_wxTreebook,
 
14468
  _swigc__p_wxTreebookEvent,
 
14469
  _swigc__p_wxUpdateUIEvent,
 
14470
  _swigc__p_wxValidator,
 
14471
  _swigc__p_wxWindow,
 
14472
  _swigc__p_wxWindowCreateEvent,
 
14473
  _swigc__p_wxWindowDestroyEvent,
 
14474
  _swigc__p_wxXPMHandler,
 
14475
};
 
14476
 
 
14477
 
 
14478
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
 
14479
 
 
14480
static swig_const_info swig_const_table[] = {
 
14481
{0, 0, 0, 0.0, 0, 0}};
 
14482
 
 
14483
#ifdef __cplusplus
 
14484
}
 
14485
#endif
 
14486
/* -----------------------------------------------------------------------------
 
14487
 * Type initialization:
 
14488
 * This problem is tough by the requirement that no dynamic 
 
14489
 * memory is used. Also, since swig_type_info structures store pointers to 
 
14490
 * swig_cast_info structures and swig_cast_info structures store pointers back
 
14491
 * to swig_type_info structures, we need some lookup code at initialization. 
 
14492
 * The idea is that swig generates all the structures that are needed. 
 
14493
 * The runtime then collects these partially filled structures. 
 
14494
 * The SWIG_InitializeModule function takes these initial arrays out of 
 
14495
 * swig_module, and does all the lookup, filling in the swig_module.types
 
14496
 * array with the correct data and linking the correct swig_cast_info
 
14497
 * structures together.
 
14498
 *
 
14499
 * The generated swig_type_info structures are assigned staticly to an initial 
 
14500
 * array. We just loop though that array, and handle each type individually.
 
14501
 * First we lookup if this type has been already loaded, and if so, use the
 
14502
 * loaded structure instead of the generated one. Then we have to fill in the
 
14503
 * cast linked list. The cast data is initially stored in something like a
 
14504
 * two-dimensional array. Each row corresponds to a type (there are the same
 
14505
 * number of rows as there are in the swig_type_initial array). Each entry in
 
14506
 * a column is one of the swig_cast_info structures for that type.
 
14507
 * The cast_initial array is actually an array of arrays, because each row has
 
14508
 * a variable number of columns. So to actually build the cast linked list,
 
14509
 * we find the array of casts associated with the type, and loop through it 
 
14510
 * adding the casts to the list. The one last trick we need to do is making
 
14511
 * sure the type pointer in the swig_cast_info struct is correct.
 
14512
 *
 
14513
 * First off, we lookup the cast->type name to see if it is already loaded. 
 
14514
 * There are three cases to handle:
 
14515
 *  1) If the cast->type has already been loaded AND the type we are adding
 
14516
 *     casting info to has not been loaded (it is in this module), THEN we
 
14517
 *     replace the cast->type pointer with the type pointer that has already
 
14518
 *     been loaded.
 
14519
 *  2) If BOTH types (the one we are adding casting info to, and the 
 
14520
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 
14521
 *     the previous module so we just ignore it.
 
14522
 *  3) Finally, if cast->type has not already been loaded, then we add that
 
14523
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 
14524
 *     be correct.
 
14525
 * ----------------------------------------------------------------------------- */
 
14526
 
 
14527
#ifdef __cplusplus
 
14528
extern "C" {
 
14529
#if 0
 
14530
} /* c-mode */
 
14531
#endif
 
14532
#endif
 
14533
 
 
14534
#if 0
 
14535
#define SWIGRUNTIME_DEBUG
 
14536
#endif
 
14537
 
 
14538
SWIGRUNTIME void
 
14539
SWIG_InitializeModule(void *clientdata) {
 
14540
  size_t i;
 
14541
  swig_module_info *module_head;
 
14542
  static int init_run = 0;
 
14543
  
 
14544
  clientdata = clientdata;
 
14545
  
 
14546
  if (init_run) return;
 
14547
  init_run = 1;
 
14548
  
 
14549
  /* Initialize the swig_module */
 
14550
  swig_module.type_initial = swig_type_initial;
 
14551
  swig_module.cast_initial = swig_cast_initial;
 
14552
  
 
14553
  /* Try and load any already created modules */
 
14554
  module_head = SWIG_GetModule(clientdata);
 
14555
  if (module_head) {
 
14556
    swig_module.next = module_head->next;
 
14557
    module_head->next = &swig_module;
 
14558
  } else {
 
14559
    /* This is the first module loaded */
 
14560
    swig_module.next = &swig_module;
 
14561
    SWIG_SetModule(clientdata, &swig_module);
 
14562
  }
 
14563
  
 
14564
  /* Now work on filling in swig_module.types */
 
14565
#ifdef SWIGRUNTIME_DEBUG
 
14566
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
 
14567
#endif
 
14568
  for (i = 0; i < swig_module.size; ++i) {
 
14569
    swig_type_info *type = 0;
 
14570
    swig_type_info *ret;
 
14571
    swig_cast_info *cast;
 
14572
    
 
14573
#ifdef SWIGRUNTIME_DEBUG
 
14574
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
 
14575
#endif
 
14576
    
 
14577
    /* if there is another module already loaded */
 
14578
    if (swig_module.next != &swig_module) {
 
14579
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
 
14580
    }
 
14581
    if (type) {
 
14582
      /* Overwrite clientdata field */
 
14583
#ifdef SWIGRUNTIME_DEBUG
 
14584
      printf("SWIG_InitializeModule: found type %s\n", type->name);
 
14585
#endif
 
14586
      if (swig_module.type_initial[i]->clientdata) {
 
14587
        type->clientdata = swig_module.type_initial[i]->clientdata;
 
14588
#ifdef SWIGRUNTIME_DEBUG
 
14589
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
 
14590
#endif
 
14591
      }
 
14592
    } else {
 
14593
      type = swig_module.type_initial[i];
 
14594
    }
 
14595
    
 
14596
    /* Insert casting types */
 
14597
    cast = swig_module.cast_initial[i];
 
14598
    while (cast->type) {
 
14599
      /* Don't need to add information already in the list */
 
14600
      ret = 0;
 
14601
#ifdef SWIGRUNTIME_DEBUG
 
14602
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
 
14603
#endif
 
14604
      if (swig_module.next != &swig_module) {
 
14605
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
 
14606
#ifdef SWIGRUNTIME_DEBUG
 
14607
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
 
14608
#endif
 
14609
      }
 
14610
      if (ret) {
 
14611
        if (type == swig_module.type_initial[i]) {
 
14612
#ifdef SWIGRUNTIME_DEBUG
 
14613
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
 
14614
#endif
 
14615
          cast->type = ret;
 
14616
          ret = 0;
 
14617
        } else {
 
14618
          /* Check for casting already in the list */
 
14619
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
 
14620
#ifdef SWIGRUNTIME_DEBUG
 
14621
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
 
14622
#endif
 
14623
          if (!ocast) ret = 0;
 
14624
        }
 
14625
      }
 
14626
      
 
14627
      if (!ret) {
 
14628
#ifdef SWIGRUNTIME_DEBUG
 
14629
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
 
14630
#endif
 
14631
        if (type->cast) {
 
14632
          type->cast->prev = cast;
 
14633
          cast->next = type->cast;
 
14634
        }
 
14635
        type->cast = cast;
 
14636
      }
 
14637
      cast++;
 
14638
    }
 
14639
    /* Set entry in modules->types array equal to the type */
 
14640
    swig_module.types[i] = type;
 
14641
  }
 
14642
  swig_module.types[i] = 0;
 
14643
  
 
14644
#ifdef SWIGRUNTIME_DEBUG
 
14645
  printf("**** SWIG_InitializeModule: Cast List ******\n");
 
14646
  for (i = 0; i < swig_module.size; ++i) {
 
14647
    int j = 0;
 
14648
    swig_cast_info *cast = swig_module.cast_initial[i];
 
14649
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
 
14650
    while (cast->type) {
 
14651
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
 
14652
      cast++;
 
14653
      ++j;
 
14654
    }
 
14655
    printf("---- Total casts: %d\n",j);
 
14656
  }
 
14657
  printf("**** SWIG_InitializeModule: Cast List ******\n");
 
14658
#endif
 
14659
}
 
14660
 
 
14661
/* This function will propagate the clientdata field of type to
 
14662
* any new swig_type_info structures that have been added into the list
 
14663
* of equivalent types.  It is like calling
 
14664
* SWIG_TypeClientData(type, clientdata) a second time.
 
14665
*/
 
14666
SWIGRUNTIME void
 
14667
SWIG_PropagateClientData(void) {
 
14668
  size_t i;
 
14669
  swig_cast_info *equiv;
 
14670
  static int init_run = 0;
 
14671
  
 
14672
  if (init_run) return;
 
14673
  init_run = 1;
 
14674
  
 
14675
  for (i = 0; i < swig_module.size; i++) {
 
14676
    if (swig_module.types[i]->clientdata) {
 
14677
      equiv = swig_module.types[i]->cast;
 
14678
      while (equiv) {
 
14679
        if (!equiv->converter) {
 
14680
          if (equiv->type && !equiv->type->clientdata)
 
14681
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
 
14682
        }
 
14683
        equiv = equiv->next;
 
14684
      }
 
14685
    }
 
14686
  }
 
14687
}
 
14688
 
 
14689
#ifdef __cplusplus
 
14690
#if 0
 
14691
{
 
14692
  /* c-mode */
 
14693
#endif
 
14694
}
 
14695
#endif
 
14696
 
 
14697
 
 
14698
 
 
14699
#ifdef __cplusplus
 
14700
extern "C" {
 
14701
#endif
 
14702
  
 
14703
  /* Python-specific SWIG API */
 
14704
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
 
14705
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
 
14706
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
 
14707
  
 
14708
  /* -----------------------------------------------------------------------------
 
14709
   * global variable support code.
 
14710
   * ----------------------------------------------------------------------------- */
 
14711
  
 
14712
  typedef struct swig_globalvar {
 
14713
    char       *name;                  /* Name of global variable */
 
14714
    PyObject *(*get_attr)(void);       /* Return the current value */
 
14715
    int       (*set_attr)(PyObject *); /* Set the value */
 
14716
    struct swig_globalvar *next;
 
14717
  } swig_globalvar;
 
14718
  
 
14719
  typedef struct swig_varlinkobject {
 
14720
    PyObject_HEAD
 
14721
    swig_globalvar *vars;
 
14722
  } swig_varlinkobject;
 
14723
  
 
14724
  SWIGINTERN PyObject *
 
14725
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
 
14726
    return PyString_FromString("<Swig global variables>");
 
14727
  }
 
14728
  
 
14729
  SWIGINTERN PyObject *
 
14730
  swig_varlink_str(swig_varlinkobject *v) {
 
14731
    PyObject *str = PyString_FromString("(");
 
14732
    swig_globalvar  *var;
 
14733
    for (var = v->vars; var; var=var->next) {
 
14734
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
 
14735
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
 
14736
    }
 
14737
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
 
14738
    return str;
 
14739
  }
 
14740
  
 
14741
  SWIGINTERN int
 
14742
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
 
14743
    PyObject *str = swig_varlink_str(v);
 
14744
    fprintf(fp,"Swig global variables ");
 
14745
    fprintf(fp,"%s\n", PyString_AsString(str));
 
14746
    Py_DECREF(str);
 
14747
    return 0;
 
14748
  }
 
14749
  
 
14750
  SWIGINTERN void
 
14751
  swig_varlink_dealloc(swig_varlinkobject *v) {
 
14752
    swig_globalvar *var = v->vars;
 
14753
    while (var) {
 
14754
      swig_globalvar *n = var->next;
 
14755
      free(var->name);
 
14756
      free(var);
 
14757
      var = n;
 
14758
    }
 
14759
  }
 
14760
  
 
14761
  SWIGINTERN PyObject *
 
14762
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
 
14763
    PyObject *res = NULL;
 
14764
    swig_globalvar *var = v->vars;
 
14765
    while (var) {
 
14766
      if (strcmp(var->name,n) == 0) {
 
14767
        res = (*var->get_attr)();
 
14768
        break;
 
14769
      }
 
14770
      var = var->next;
 
14771
    }
 
14772
    if (res == NULL && !PyErr_Occurred()) {
 
14773
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
 
14774
    }
 
14775
    return res;
 
14776
  }
 
14777
  
 
14778
  SWIGINTERN int
 
14779
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
 
14780
    int res = 1;
 
14781
    swig_globalvar *var = v->vars;
 
14782
    while (var) {
 
14783
      if (strcmp(var->name,n) == 0) {
 
14784
        res = (*var->set_attr)(p);
 
14785
        break;
 
14786
      }
 
14787
      var = var->next;
 
14788
    }
 
14789
    if (res == 1 && !PyErr_Occurred()) {
 
14790
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
 
14791
    }
 
14792
    return res;
 
14793
  }
 
14794
  
 
14795
  SWIGINTERN PyTypeObject*
 
14796
  swig_varlink_type(void) {
 
14797
    static char varlink__doc__[] = "Swig var link object";
 
14798
    static PyTypeObject varlink_type;
 
14799
    static int type_init = 0;  
 
14800
    if (!type_init) {
 
14801
      const PyTypeObject tmp
 
14802
      = {
 
14803
        PyObject_HEAD_INIT(NULL)
 
14804
        0,                                  /* Number of items in variable part (ob_size) */
 
14805
        (char *)"swigvarlink",              /* Type name (tp_name) */
 
14806
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
 
14807
        0,                                  /* Itemsize (tp_itemsize) */
 
14808
        (destructor) swig_varlink_dealloc,   /* Deallocator (tp_dealloc) */ 
 
14809
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
 
14810
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
 
14811
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
 
14812
        0,                                  /* tp_compare */
 
14813
        (reprfunc) swig_varlink_repr,       /* tp_repr */
 
14814
        0,                                  /* tp_as_number */
 
14815
        0,                                  /* tp_as_sequence */
 
14816
        0,                                  /* tp_as_mapping */
 
14817
        0,                                  /* tp_hash */
 
14818
        0,                                  /* tp_call */
 
14819
        (reprfunc)swig_varlink_str,        /* tp_str */
 
14820
        0,                                  /* tp_getattro */
 
14821
        0,                                  /* tp_setattro */
 
14822
        0,                                  /* tp_as_buffer */
 
14823
        0,                                  /* tp_flags */
 
14824
        varlink__doc__,                     /* tp_doc */
 
14825
        0,                                  /* tp_traverse */
 
14826
        0,                                  /* tp_clear */
 
14827
        0,                                  /* tp_richcompare */
 
14828
        0,                                  /* tp_weaklistoffset */
 
14829
#if PY_VERSION_HEX >= 0x02020000
 
14830
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
 
14831
#endif
 
14832
#if PY_VERSION_HEX >= 0x02030000
 
14833
        0,                                  /* tp_del */
 
14834
#endif
 
14835
#ifdef COUNT_ALLOCS
 
14836
        0,0,0,0                             /* tp_alloc -> tp_next */
 
14837
#endif
 
14838
      };
 
14839
      varlink_type = tmp;
 
14840
      varlink_type.ob_type = &PyType_Type;
 
14841
      type_init = 1;
 
14842
    }
 
14843
    return &varlink_type;
 
14844
  }
 
14845
  
 
14846
  /* Create a variable linking object for use later */
 
14847
  SWIGINTERN PyObject *
 
14848
  SWIG_Python_newvarlink(void) {
 
14849
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
 
14850
    if (result) {
 
14851
      result->vars = 0;
 
14852
    }
 
14853
    return ((PyObject*) result);
 
14854
  }
 
14855
  
 
14856
  SWIGINTERN void 
 
14857
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
 
14858
    swig_varlinkobject *v = (swig_varlinkobject *) p;
 
14859
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
 
14860
    if (gv) {
 
14861
      size_t size = strlen(name)+1;
 
14862
      gv->name = (char *)malloc(size);
 
14863
      if (gv->name) {
 
14864
        strncpy(gv->name,name,size);
 
14865
        gv->get_attr = get_attr;
 
14866
        gv->set_attr = set_attr;
 
14867
        gv->next = v->vars;
 
14868
      }
 
14869
    }
 
14870
    v->vars = gv;
 
14871
  }
 
14872
  
 
14873
  SWIGINTERN PyObject *
 
14874
  SWIG_globals() {
 
14875
    static PyObject *_SWIG_globals = 0; 
 
14876
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
 
14877
    return _SWIG_globals;
 
14878
  }
 
14879
  
 
14880
  /* -----------------------------------------------------------------------------
 
14881
   * constants/methods manipulation
 
14882
   * ----------------------------------------------------------------------------- */
 
14883
  
 
14884
  /* Install Constants */
 
14885
  SWIGINTERN void
 
14886
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
 
14887
    PyObject *obj = 0;
 
14888
    size_t i;
 
14889
    for (i = 0; constants[i].type; ++i) {
 
14890
      switch(constants[i].type) {
 
14891
      case SWIG_PY_POINTER:
 
14892
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
 
14893
        break;
 
14894
      case SWIG_PY_BINARY:
 
14895
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
 
14896
        break;
 
14897
      default:
 
14898
        obj = 0;
 
14899
        break;
 
14900
      }
 
14901
      if (obj) {
 
14902
        PyDict_SetItemString(d, constants[i].name, obj);
 
14903
        Py_DECREF(obj);
 
14904
      }
 
14905
    }
 
14906
  }
 
14907
  
 
14908
  /* -----------------------------------------------------------------------------*/
 
14909
  /* Fix SwigMethods to carry the callback ptrs when needed */
 
14910
  /* -----------------------------------------------------------------------------*/
 
14911
  
 
14912
  SWIGINTERN void
 
14913
  SWIG_Python_FixMethods(PyMethodDef *methods,
 
14914
    swig_const_info *const_table,
 
14915
    swig_type_info **types,
 
14916
    swig_type_info **types_initial) {
 
14917
    size_t i;
 
14918
    for (i = 0; methods[i].ml_name; ++i) {
 
14919
      const char *c = methods[i].ml_doc;
 
14920
      if (c && (c = strstr(c, "swig_ptr: "))) {
 
14921
        int j;
 
14922
        swig_const_info *ci = 0;
 
14923
        const char *name = c + 10;
 
14924
        for (j = 0; const_table[j].type; ++j) {
 
14925
          if (strncmp(const_table[j].name, name, 
 
14926
              strlen(const_table[j].name)) == 0) {
 
14927
            ci = &(const_table[j]);
 
14928
            break;
 
14929
          }
 
14930
        }
 
14931
        if (ci) {
 
14932
          size_t shift = (ci->ptype) - types;
 
14933
          swig_type_info *ty = types_initial[shift];
 
14934
          size_t ldoc = (c - methods[i].ml_doc);
 
14935
          size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
 
14936
          char *ndoc = (char*)malloc(ldoc + lptr + 10);
 
14937
          if (ndoc) {
 
14938
            char *buff = ndoc;
 
14939
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
 
14940
            if (ptr) {
 
14941
              strncpy(buff, methods[i].ml_doc, ldoc);
 
14942
              buff += ldoc;
 
14943
              strncpy(buff, "swig_ptr: ", 10);
 
14944
              buff += 10;
 
14945
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
 
14946
              methods[i].ml_doc = ndoc;
 
14947
            }
 
14948
          }
 
14949
        }
 
14950
      }
 
14951
    }
 
14952
  } 
 
14953
  
 
14954
#ifdef __cplusplus
 
14955
}
 
14956
#endif
 
14957
 
 
14958
/* -----------------------------------------------------------------------------*
 
14959
 *  Partial Init method
 
14960
 * -----------------------------------------------------------------------------*/
 
14961
 
 
14962
#ifdef __cplusplus
 
14963
extern "C"
 
14964
#endif
 
14965
SWIGEXPORT void SWIG_init(void) {
 
14966
  PyObject *m, *d;
 
14967
  
 
14968
  /* Fix SwigMethods to carry the callback ptrs when needed */
 
14969
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
 
14970
  
 
14971
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
 
14972
  d = PyModule_GetDict(m);
 
14973
  
 
14974
  SWIG_InitializeModule(0);
 
14975
  SWIG_InstallConstants(d,swig_const_table);
 
14976
  
 
14977
  
 
14978
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
 
14979
  SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
 
14980
  SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
 
14981
  SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
 
14982
  SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
 
14983
  SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
 
14984
  PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
 
14985
  PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
 
14986
  SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
 
14987
  SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
 
14988
  SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
 
14989
  SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
 
14990
  SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
 
14991
  SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
 
14992
  SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
 
14993
  SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
 
14994
  SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
 
14995
  SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
 
14996
  SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
 
14997
  SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
 
14998
  SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
 
14999
  SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
 
15000
  SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
 
15001
  SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
 
15002
  SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
 
15003
  SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
 
15004
  SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
 
15005
  SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
 
15006
  
 
15007
  wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
 
15008
  
 
15009
  SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
 
15010
  SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
 
15011
  SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
 
15012
  SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
 
15013
  
 
15014
  wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
 
15015
  
 
15016
}
 
15017