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

« back to all changes in this revision

Viewing changes to .pc/wxpython-missing-format-strings.patch/wxPython/src/msw/html_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_form_ops_t swig_types[2]
 
2469
#define SWIGTYPE_p_int swig_types[3]
 
2470
#define SWIGTYPE_p_unsigned_char swig_types[4]
 
2471
#define SWIGTYPE_p_unsigned_int swig_types[5]
 
2472
#define SWIGTYPE_p_unsigned_long swig_types[6]
 
2473
#define SWIGTYPE_p_wxANIHandler swig_types[7]
 
2474
#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
 
2475
#define SWIGTYPE_p_wxActivateEvent swig_types[9]
 
2476
#define SWIGTYPE_p_wxArrayInt swig_types[10]
 
2477
#define SWIGTYPE_p_wxBMPHandler swig_types[11]
 
2478
#define SWIGTYPE_p_wxBitmap swig_types[12]
 
2479
#define SWIGTYPE_p_wxBoxSizer swig_types[13]
 
2480
#define SWIGTYPE_p_wxCURHandler swig_types[14]
 
2481
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
 
2482
#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
 
2483
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
 
2484
#define SWIGTYPE_p_wxCloseEvent swig_types[18]
 
2485
#define SWIGTYPE_p_wxColour swig_types[19]
 
2486
#define SWIGTYPE_p_wxColourData swig_types[20]
 
2487
#define SWIGTYPE_p_wxColourDialog swig_types[21]
 
2488
#define SWIGTYPE_p_wxCommandEvent swig_types[22]
 
2489
#define SWIGTYPE_p_wxConfigBase swig_types[23]
 
2490
#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
 
2491
#define SWIGTYPE_p_wxControl swig_types[25]
 
2492
#define SWIGTYPE_p_wxControlWithItems swig_types[26]
 
2493
#define SWIGTYPE_p_wxCursor swig_types[27]
 
2494
#define SWIGTYPE_p_wxDC swig_types[28]
 
2495
#define SWIGTYPE_p_wxDateEvent swig_types[29]
 
2496
#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
 
2497
#define SWIGTYPE_p_wxDialog swig_types[31]
 
2498
#define SWIGTYPE_p_wxDirDialog swig_types[32]
 
2499
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
 
2500
#define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
 
2501
#define SWIGTYPE_p_wxDuplexMode swig_types[35]
 
2502
#define SWIGTYPE_p_wxEraseEvent swig_types[36]
 
2503
#define SWIGTYPE_p_wxEvent swig_types[37]
 
2504
#define SWIGTYPE_p_wxEvtHandler swig_types[38]
 
2505
#define SWIGTYPE_p_wxFSFile swig_types[39]
 
2506
#define SWIGTYPE_p_wxFileDialog swig_types[40]
 
2507
#define SWIGTYPE_p_wxFileSystem swig_types[41]
 
2508
#define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
 
2509
#define SWIGTYPE_p_wxFindReplaceData swig_types[43]
 
2510
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
 
2511
#define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
 
2512
#define SWIGTYPE_p_wxFocusEvent swig_types[46]
 
2513
#define SWIGTYPE_p_wxFont swig_types[47]
 
2514
#define SWIGTYPE_p_wxFontData swig_types[48]
 
2515
#define SWIGTYPE_p_wxFontDialog swig_types[49]
 
2516
#define SWIGTYPE_p_wxFrame swig_types[50]
 
2517
#define SWIGTYPE_p_wxGBSizerItem swig_types[51]
 
2518
#define SWIGTYPE_p_wxGIFHandler swig_types[52]
 
2519
#define SWIGTYPE_p_wxGridBagSizer swig_types[53]
 
2520
#define SWIGTYPE_p_wxGridSizer swig_types[54]
 
2521
#define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
 
2522
#define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
 
2523
#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
 
2524
#define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
 
2525
#define SWIGTYPE_p_wxHtmlCell swig_types[59]
 
2526
#define SWIGTYPE_p_wxHtmlCellEvent swig_types[60]
 
2527
#define SWIGTYPE_p_wxHtmlColourCell swig_types[61]
 
2528
#define SWIGTYPE_p_wxHtmlContainerCell swig_types[62]
 
2529
#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63]
 
2530
#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64]
 
2531
#define SWIGTYPE_p_wxHtmlFilter swig_types[65]
 
2532
#define SWIGTYPE_p_wxHtmlFontCell swig_types[66]
 
2533
#define SWIGTYPE_p_wxHtmlHelpController swig_types[67]
 
2534
#define SWIGTYPE_p_wxHtmlHelpData swig_types[68]
 
2535
#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69]
 
2536
#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70]
 
2537
#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71]
 
2538
#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72]
 
2539
#define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73]
 
2540
#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74]
 
2541
#define SWIGTYPE_p_wxHtmlModalHelp swig_types[75]
 
2542
#define SWIGTYPE_p_wxHtmlParser swig_types[76]
 
2543
#define SWIGTYPE_p_wxHtmlPrintout swig_types[77]
 
2544
#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78]
 
2545
#define SWIGTYPE_p_wxHtmlRenderingState swig_types[79]
 
2546
#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80]
 
2547
#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81]
 
2548
#define SWIGTYPE_p_wxHtmlSelection swig_types[82]
 
2549
#define SWIGTYPE_p_wxHtmlTag swig_types[83]
 
2550
#define SWIGTYPE_p_wxHtmlTagHandler swig_types[84]
 
2551
#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85]
 
2552
#define SWIGTYPE_p_wxHtmlWinParser swig_types[86]
 
2553
#define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
 
2554
#define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
 
2555
#define SWIGTYPE_p_wxICOHandler 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_wxIndividualLayoutConstraint swig_types[94]
 
2561
#define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
 
2562
#define SWIGTYPE_p_wxJPEGHandler swig_types[96]
 
2563
#define SWIGTYPE_p_wxKeyEvent swig_types[97]
 
2564
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
 
2565
#define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
 
2566
#define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
 
2567
#define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
 
2568
#define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
 
2569
#define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
 
2570
#define SWIGTYPE_p_wxMenu swig_types[104]
 
2571
#define SWIGTYPE_p_wxMenuBar swig_types[105]
 
2572
#define SWIGTYPE_p_wxMenuEvent swig_types[106]
 
2573
#define SWIGTYPE_p_wxMenuItem swig_types[107]
 
2574
#define SWIGTYPE_p_wxMessageDialog swig_types[108]
 
2575
#define SWIGTYPE_p_wxMiniFrame swig_types[109]
 
2576
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
 
2577
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111]
 
2578
#define SWIGTYPE_p_wxMouseEvent swig_types[112]
 
2579
#define SWIGTYPE_p_wxMoveEvent swig_types[113]
 
2580
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114]
 
2581
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115]
 
2582
#define SWIGTYPE_p_wxNcPaintEvent swig_types[116]
 
2583
#define SWIGTYPE_p_wxNotifyEvent swig_types[117]
 
2584
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[118]
 
2585
#define SWIGTYPE_p_wxObject swig_types[119]
 
2586
#define SWIGTYPE_p_wxPCXHandler swig_types[120]
 
2587
#define SWIGTYPE_p_wxPNGHandler swig_types[121]
 
2588
#define SWIGTYPE_p_wxPNMHandler swig_types[122]
 
2589
#define SWIGTYPE_p_wxPageSetupDialog swig_types[123]
 
2590
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[124]
 
2591
#define SWIGTYPE_p_wxPaintEvent swig_types[125]
 
2592
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126]
 
2593
#define SWIGTYPE_p_wxPanel swig_types[127]
 
2594
#define SWIGTYPE_p_wxPaperSize swig_types[128]
 
2595
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129]
 
2596
#define SWIGTYPE_p_wxPoint swig_types[130]
 
2597
#define SWIGTYPE_p_wxPopupWindow swig_types[131]
 
2598
#define SWIGTYPE_p_wxPreviewCanvas swig_types[132]
 
2599
#define SWIGTYPE_p_wxPreviewControlBar swig_types[133]
 
2600
#define SWIGTYPE_p_wxPreviewFrame swig_types[134]
 
2601
#define SWIGTYPE_p_wxPrintData swig_types[135]
 
2602
#define SWIGTYPE_p_wxPrintDialog swig_types[136]
 
2603
#define SWIGTYPE_p_wxPrintDialogData swig_types[137]
 
2604
#define SWIGTYPE_p_wxPrintPreview swig_types[138]
 
2605
#define SWIGTYPE_p_wxPrinter swig_types[139]
 
2606
#define SWIGTYPE_p_wxProgressDialog swig_types[140]
 
2607
#define SWIGTYPE_p_wxPyApp swig_types[141]
 
2608
#define SWIGTYPE_p_wxPyCommandEvent swig_types[142]
 
2609
#define SWIGTYPE_p_wxPyEvent swig_types[143]
 
2610
#define SWIGTYPE_p_wxPyEvtHandler swig_types[144]
 
2611
#define SWIGTYPE_p_wxPyHtmlFilter swig_types[145]
 
2612
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[146]
 
2613
#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[147]
 
2614
#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[148]
 
2615
#define SWIGTYPE_p_wxPyHtmlWindow swig_types[149]
 
2616
#define SWIGTYPE_p_wxPyImageHandler swig_types[150]
 
2617
#define SWIGTYPE_p_wxPyPanel swig_types[151]
 
2618
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[152]
 
2619
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[153]
 
2620
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[154]
 
2621
#define SWIGTYPE_p_wxPyPrintPreview swig_types[155]
 
2622
#define SWIGTYPE_p_wxPyPrintout swig_types[156]
 
2623
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[157]
 
2624
#define SWIGTYPE_p_wxPySizer swig_types[158]
 
2625
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[159]
 
2626
#define SWIGTYPE_p_wxPyVListBox swig_types[160]
 
2627
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[161]
 
2628
#define SWIGTYPE_p_wxPyValidator swig_types[162]
 
2629
#define SWIGTYPE_p_wxPyWindow swig_types[163]
 
2630
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[164]
 
2631
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[165]
 
2632
#define SWIGTYPE_p_wxSashEvent swig_types[166]
 
2633
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[167]
 
2634
#define SWIGTYPE_p_wxSashWindow swig_types[168]
 
2635
#define SWIGTYPE_p_wxScrollEvent swig_types[169]
 
2636
#define SWIGTYPE_p_wxScrollWinEvent swig_types[170]
 
2637
#define SWIGTYPE_p_wxScrolledWindow swig_types[171]
 
2638
#define SWIGTYPE_p_wxSetCursorEvent swig_types[172]
 
2639
#define SWIGTYPE_p_wxShowEvent swig_types[173]
 
2640
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[174]
 
2641
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[175]
 
2642
#define SWIGTYPE_p_wxSizeEvent swig_types[176]
 
2643
#define SWIGTYPE_p_wxSizer swig_types[177]
 
2644
#define SWIGTYPE_p_wxSizerItem swig_types[178]
 
2645
#define SWIGTYPE_p_wxSplashScreen swig_types[179]
 
2646
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[180]
 
2647
#define SWIGTYPE_p_wxSplitterEvent swig_types[181]
 
2648
#define SWIGTYPE_p_wxSplitterWindow swig_types[182]
 
2649
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[183]
 
2650
#define SWIGTYPE_p_wxStatusBar swig_types[184]
 
2651
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[185]
 
2652
#define SWIGTYPE_p_wxString swig_types[186]
 
2653
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[187]
 
2654
#define SWIGTYPE_p_wxTGAHandler swig_types[188]
 
2655
#define SWIGTYPE_p_wxTIFFHandler swig_types[189]
 
2656
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[190]
 
2657
#define SWIGTYPE_p_wxTextEntryDialog swig_types[191]
 
2658
#define SWIGTYPE_p_wxTipWindow swig_types[192]
 
2659
#define SWIGTYPE_p_wxTopLevelWindow swig_types[193]
 
2660
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[194]
 
2661
#define SWIGTYPE_p_wxValidator swig_types[195]
 
2662
#define SWIGTYPE_p_wxVisualAttributes swig_types[196]
 
2663
#define SWIGTYPE_p_wxWindow swig_types[197]
 
2664
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[198]
 
2665
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[199]
 
2666
#define SWIGTYPE_p_wxXPMHandler swig_types[200]
 
2667
static swig_type_info *swig_types[202];
 
2668
static swig_module_info swig_module = {swig_types, 201, 0, 0, 0, 0};
 
2669
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
 
2670
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
 
2671
 
 
2672
/* -------- TYPES TABLE (END) -------- */
 
2673
 
 
2674
#if (PY_VERSION_HEX <= 0x02000000)
 
2675
# if !defined(SWIG_PYTHON_CLASSIC)
 
2676
#  error "This python version requires to use swig with the '-classic' option"
 
2677
# endif
 
2678
#endif
 
2679
#if (PY_VERSION_HEX <= 0x02020000)
 
2680
# error "This python version requires to use swig with the '-nomodern' option"
 
2681
#endif
 
2682
#if (PY_VERSION_HEX <= 0x02020000)
 
2683
# error "This python version requires to use swig with the '-nomodernargs' option"
 
2684
#endif
 
2685
#ifndef METH_O
 
2686
# error "This python version requires to use swig with the '-nofastunpack' option"
 
2687
#endif
 
2688
 
 
2689
/*-----------------------------------------------
 
2690
              @(target):= _html.so
 
2691
  ------------------------------------------------*/
 
2692
#define SWIG_init    init_html
 
2693
 
 
2694
#define SWIG_name    "_html"
 
2695
 
 
2696
#define SWIGVERSION 0x010329 
 
2697
 
 
2698
 
 
2699
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
 
2700
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 
 
2701
 
 
2702
 
 
2703
#include <stdexcept>
 
2704
 
 
2705
 
 
2706
namespace swig {
 
2707
  class PyObject_ptr {
 
2708
  protected:
 
2709
    PyObject *_obj;
 
2710
 
 
2711
  public:
 
2712
    PyObject_ptr() :_obj(0)
 
2713
    {
 
2714
    }
 
2715
 
 
2716
    PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
 
2717
    {
 
2718
      Py_XINCREF(_obj);      
 
2719
    }
 
2720
    
 
2721
    PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
 
2722
    {
 
2723
      if (initial_ref) Py_XINCREF(_obj);
 
2724
    }
 
2725
    
 
2726
    PyObject_ptr & operator=(const PyObject_ptr& item) 
 
2727
    {
 
2728
      Py_XINCREF(item._obj);
 
2729
      Py_XDECREF(_obj);
 
2730
      _obj = item._obj;
 
2731
      return *this;      
 
2732
    }
 
2733
    
 
2734
    ~PyObject_ptr() 
 
2735
    {
 
2736
      Py_XDECREF(_obj);
 
2737
    }
 
2738
    
 
2739
    operator PyObject *() const
 
2740
    {
 
2741
      return _obj;
 
2742
    }
 
2743
 
 
2744
    PyObject *operator->() const
 
2745
    {
 
2746
      return _obj;
 
2747
    }
 
2748
  };
 
2749
}
 
2750
 
 
2751
 
 
2752
namespace swig {
 
2753
  struct PyObject_var : PyObject_ptr {
 
2754
    PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
 
2755
    
 
2756
    PyObject_var & operator = (PyObject* obj)
 
2757
    {
 
2758
      Py_XDECREF(_obj);
 
2759
      _obj = obj;
 
2760
      return *this;      
 
2761
    }
 
2762
  };
 
2763
}
 
2764
 
 
2765
 
 
2766
#include "wx/wxPython/wxPython.h"
 
2767
#include "wx/wxPython/pyclasses.h"
 
2768
#include "wx/wxPython/pyistream.h"
 
2769
#include "wx/wxPython/printfw.h"
 
2770
 
 
2771
#include <wx/html/htmlwin.h>
 
2772
#include <wx/html/htmprint.h>
 
2773
#include <wx/html/helpctrl.h>
 
2774
#include <wx/html/helpwnd.h>
 
2775
#include <wx/html/helpfrm.h>
 
2776
#include <wx/html/helpdlg.h>
 
2777
 
 
2778
 
 
2779
 static const wxString wxPyEmptyString(wxEmptyString); 
 
2780
 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); 
 
2781
 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); 
 
2782
 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); 
 
2783
 
 
2784
  #define SWIG_From_long   PyInt_FromLong 
 
2785
 
 
2786
 
 
2787
SWIGINTERNINLINE PyObject *
 
2788
SWIG_From_int  (int value)
 
2789
{    
 
2790
  return SWIG_From_long  (value);
 
2791
}
 
2792
 
 
2793
 
 
2794
#include <limits.h>
 
2795
#ifndef LLONG_MIN
 
2796
# define LLONG_MIN      LONG_LONG_MIN
 
2797
#endif
 
2798
#ifndef LLONG_MAX
 
2799
# define LLONG_MAX      LONG_LONG_MAX
 
2800
#endif
 
2801
#ifndef ULLONG_MAX
 
2802
# define ULLONG_MAX     ULONG_LONG_MAX
 
2803
#endif
 
2804
 
 
2805
 
 
2806
SWIGINTERN int
 
2807
SWIG_AsVal_long (PyObject* obj, long* val)
 
2808
{
 
2809
    if (PyNumber_Check(obj)) {
 
2810
        if (val) *val = PyInt_AsLong(obj);
 
2811
        return SWIG_OK;
 
2812
    }
 
2813
    return SWIG_TypeError;
 
2814
}
 
2815
 
 
2816
 
 
2817
SWIGINTERN int
 
2818
SWIG_AsVal_int (PyObject * obj, int *val)
 
2819
{
 
2820
  long v;
 
2821
  int res = SWIG_AsVal_long (obj, &v);
 
2822
  if (SWIG_IsOK(res)) {
 
2823
    if ((v < INT_MIN || v > INT_MAX)) {
 
2824
      return SWIG_OverflowError;
 
2825
    } else {
 
2826
      if (val) *val = static_cast< int >(v);
 
2827
    }
 
2828
  }  
 
2829
  return res;
 
2830
}
 
2831
 
 
2832
SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
 
2833
            int* temp = NULL;
 
2834
            if (sizes) temp = int_LIST_helper(sizes);
 
2835
            self->SetFonts(normal_face, fixed_face, temp);
 
2836
            if (temp)
 
2837
                delete [] temp;
 
2838
        }
 
2839
 
 
2840
class wxPyHtmlTagHandler : public wxHtmlTagHandler {
 
2841
    DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
 
2842
public:
 
2843
    wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
 
2844
 
 
2845
    wxHtmlParser* GetParser() { return m_Parser; }
 
2846
    void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
 
2847
 
 
2848
    DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
 
2849
    DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
 
2850
 
 
2851
    PYPRIVATE;
 
2852
};
 
2853
 
 
2854
IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
 
2855
 
 
2856
IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
 
2857
IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
 
2858
 
 
2859
 
 
2860
class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
 
2861
    DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
 
2862
public:
 
2863
    wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
 
2864
 
 
2865
    wxHtmlWinParser* GetParser() { return m_WParser; }
 
2866
    void ParseInner(const wxHtmlTag& tag)
 
2867
        { wxHtmlWinTagHandler::ParseInner(tag); }
 
2868
 
 
2869
    DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
 
2870
    DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
 
2871
 
 
2872
    PYPRIVATE;
 
2873
};
 
2874
 
 
2875
IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
 
2876
 
 
2877
IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
 
2878
IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
 
2879
 
 
2880
 
 
2881
 
 
2882
class wxPyHtmlTagsModule : public wxHtmlTagsModule {
 
2883
public:
 
2884
    wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
 
2885
        m_tagHandlerClass = thc;
 
2886
        Py_INCREF(m_tagHandlerClass);
 
2887
        RegisterModule(this);
 
2888
        wxHtmlWinParser::AddModule(this);
 
2889
    }
 
2890
 
 
2891
    void OnExit() {
 
2892
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
2893
        Py_DECREF(m_tagHandlerClass);
 
2894
        m_tagHandlerClass = NULL;
 
2895
        for (size_t x=0; x < m_objArray.GetCount(); x++) {
 
2896
            PyObject* obj = (PyObject*)m_objArray.Item(x);
 
2897
            Py_DECREF(obj);
 
2898
        }
 
2899
        wxPyEndBlockThreads(blocked);
 
2900
    };
 
2901
 
 
2902
    void FillHandlersTable(wxHtmlWinParser *parser) {
 
2903
        // Wave our magic wand...  (if it works it's a miracle!  ;-)
 
2904
 
 
2905
        // First, make a new instance of the tag handler
 
2906
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
2907
        PyObject* arg = PyTuple_New(0);
 
2908
        PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
 
2909
        Py_DECREF(arg);
 
2910
 
 
2911
        // now figure out where it's C++ object is...
 
2912
        wxPyHtmlWinTagHandler* thPtr;
 
2913
        if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
 
2914
            wxPyEndBlockThreads(blocked);
 
2915
            return;
 
2916
        }
 
2917
        wxPyEndBlockThreads(blocked);
 
2918
 
 
2919
        // add it,
 
2920
        parser->AddTagHandler(thPtr);
 
2921
 
 
2922
        // and track it.
 
2923
        m_objArray.Add(obj);
 
2924
    }
 
2925
 
 
2926
private:
 
2927
    PyObject*           m_tagHandlerClass;
 
2928
    wxArrayPtrVoid      m_objArray;
 
2929
 
 
2930
};
 
2931
 
 
2932
 
 
2933
    void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
 
2934
        // Dynamically create a new wxModule.  Refcounts tagHandlerClass
 
2935
        // and adds itself to the wxModules list and to the wxHtmlWinParser.
 
2936
        new wxPyHtmlTagsModule(tagHandlerClass);
 
2937
    }
 
2938
 
 
2939
 
 
2940
SWIGINTERNINLINE PyObject*
 
2941
  SWIG_From_bool  (bool value)
 
2942
{
 
2943
  return PyBool_FromLong(value ? 1 : 0);
 
2944
}
 
2945
 
 
2946
 
 
2947
SWIGINTERN int
 
2948
SWIG_AsVal_bool (PyObject *obj, bool *val)
 
2949
{
 
2950
  if (obj == Py_True) {
 
2951
    if (val) *val = true;
 
2952
    return SWIG_OK;
 
2953
  } else if (obj == Py_False) {
 
2954
    if (val) *val = false;
 
2955
    return SWIG_OK;
 
2956
  } else {
 
2957
    long v = 0;
 
2958
    int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
 
2959
    if (SWIG_IsOK(res) && val) *val = v ? true : false;
 
2960
    return res;
 
2961
  }
 
2962
}
 
2963
 
 
2964
 
 
2965
SWIGINTERN int 
 
2966
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
 
2967
{
 
2968
    long v = 0;
 
2969
    int res = SWIG_AsVal_long(obj, &v);
 
2970
    if (SWIG_IsOK(res)) {
 
2971
        if ( v < 0) {
 
2972
            return SWIG_ValueError;
 
2973
        }
 
2974
        else if (val)
 
2975
            *val = (unsigned long)v;
 
2976
    }
 
2977
    return res;
 
2978
}
 
2979
 
 
2980
 
 
2981
SWIGINTERN int
 
2982
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
 
2983
{
 
2984
  unsigned long v;
 
2985
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
 
2986
  if (SWIG_IsOK(res)) {
 
2987
    if ((v > UINT_MAX)) {
 
2988
      return SWIG_OverflowError;
 
2989
    } else {
 
2990
      if (val) *val = static_cast< unsigned int >(v);
 
2991
    }
 
2992
  }  
 
2993
  return res;
 
2994
}
 
2995
 
 
2996
 
 
2997
SWIGINTERNINLINE PyObject* 
 
2998
SWIG_From_unsigned_SS_long  (unsigned long value)
 
2999
{
 
3000
  return (value > LONG_MAX) ?
 
3001
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); 
 
3002
}
 
3003
 
 
3004
 
 
3005
SWIGINTERNINLINE PyObject *
 
3006
SWIG_From_unsigned_SS_int  (unsigned int value)
 
3007
{    
 
3008
  return SWIG_From_unsigned_SS_long  (value);
 
3009
}
 
3010
 
 
3011
 // here's the C++ version
 
3012
class wxPyHtmlFilter : public wxHtmlFilter {
 
3013
    DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
 
3014
public:
 
3015
    wxPyHtmlFilter() : wxHtmlFilter() {}
 
3016
 
 
3017
    // returns True if this filter is able to open&read given file
 
3018
    virtual bool CanRead(const wxFSFile& file) const {
 
3019
        bool rval = false;
 
3020
        bool found;
 
3021
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3022
        if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
 
3023
            PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false);  // cast away const
 
3024
            rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
 
3025
            Py_DECREF(obj);
 
3026
        }
 
3027
        wxPyEndBlockThreads(blocked);
 
3028
        return rval;
 
3029
    }
 
3030
 
 
3031
 
 
3032
    // Reads given file and returns HTML document.
 
3033
    // Returns empty string if opening failed
 
3034
    virtual wxString ReadFile(const wxFSFile& file) const {
 
3035
        wxString rval;
 
3036
        bool found;
 
3037
        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3038
        if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
 
3039
            PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false);  // cast away const
 
3040
            PyObject* ro;
 
3041
            ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
 
3042
            Py_DECREF(obj);
 
3043
            if (ro) {
 
3044
                rval = Py2wxString(ro);
 
3045
                Py_DECREF(ro);
 
3046
            }
 
3047
        }
 
3048
        wxPyEndBlockThreads(blocked);
 
3049
        return rval;
 
3050
    }
 
3051
 
 
3052
    PYPRIVATE;
 
3053
};
 
3054
 
 
3055
IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
 
3056
 
 
3057
 
 
3058
class wxPyHtmlWindow : public wxHtmlWindow {
 
3059
    DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
 
3060
public:
 
3061
    wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
 
3062
                   const wxPoint& pos = wxDefaultPosition,
 
3063
                   const wxSize& size = wxDefaultSize,
 
3064
                   long style = wxHW_DEFAULT_STYLE,
 
3065
                   const wxString& name = wxPyHtmlWindowNameStr)
 
3066
        : wxHtmlWindow(parent, id, pos, size, style, name)  {};
 
3067
    wxPyHtmlWindow() : wxHtmlWindow() {};
 
3068
 
 
3069
    bool ScrollToAnchor(const wxString& anchor) {
 
3070
        return wxHtmlWindow::ScrollToAnchor(anchor);
 
3071
    }
 
3072
 
 
3073
    bool HasAnchor(const wxString& anchor) {
 
3074
        const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
 
3075
        return c!=NULL;
 
3076
    }
 
3077
 
 
3078
    void OnLinkClicked(const wxHtmlLinkInfo& link);
 
3079
 
 
3080
    wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
 
3081
                                      const wxString& url,
 
3082
                                      wxString *redirect) const;
 
3083
 
 
3084
    DEC_PYCALLBACK__STRING(OnSetTitle);
 
3085
    DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
 
3086
    DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
 
3087
 
 
3088
    PYPRIVATE;
 
3089
};
 
3090
 
 
3091
IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
 
3092
IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
 
3093
IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
 
3094
IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
 
3095
 
 
3096
 
 
3097
void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
 
3098
    bool found;
 
3099
    wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3100
    if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
 
3101
        PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
 
3102
        wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
 
3103
        Py_DECREF(obj);
 
3104
    }
 
3105
    wxPyEndBlockThreads(blocked);
 
3106
    if (! found)
 
3107
        wxHtmlWindow::OnLinkClicked(link);
 
3108
}
 
3109
 
 
3110
 
 
3111
wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
 
3112
                                                 const wxString& url,
 
3113
                                                 wxString *redirect) const {
 
3114
    bool found;
 
3115
    wxHtmlOpeningStatus rval;
 
3116
    wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
3117
    if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
 
3118
        PyObject* ro;
 
3119
        PyObject* s = wx2PyString(url);
 
3120
        ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
 
3121
        Py_DECREF(s);
 
3122
        if (PyString_Check(ro)
 
3123
#if PYTHON_API_VERSION >= 1009
 
3124
            || PyUnicode_Check(ro)
 
3125
#endif
 
3126
            ) {
 
3127
            *redirect = Py2wxString(ro);
 
3128
            rval = wxHTML_REDIRECT;
 
3129
        }
 
3130
        else {
 
3131
            PyObject* num = PyNumber_Int(ro);
 
3132
            rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
 
3133
            Py_DECREF(num);
 
3134
        }
 
3135
        Py_DECREF(ro);
 
3136
    }
 
3137
    wxPyEndBlockThreads(blocked);
 
3138
    if (! found)
 
3139
        rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
 
3140
    return rval;
 
3141
}
 
3142
 
 
3143
 
 
3144
 
 
3145
SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
 
3146
            int* temp = NULL;
 
3147
            if (sizes) temp = int_LIST_helper(sizes);
 
3148
            self->SetFonts(normal_face, fixed_face, temp);
 
3149
            if (temp)
 
3150
                delete [] temp;
 
3151
        }
 
3152
SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
 
3153
            int* temp = NULL;
 
3154
            if (sizes) temp = int_LIST_helper(sizes);
 
3155
            self->SetFonts(normal_face, fixed_face, temp);
 
3156
            if (temp)
 
3157
                delete [] temp;
 
3158
        }
 
3159
SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
 
3160
            int* temp = NULL;
 
3161
            if (sizes) temp = int_LIST_helper(sizes);
 
3162
            self->SetFonts(normal_face, fixed_face, temp);
 
3163
            if (temp)
 
3164
                delete [] temp;
 
3165
        }
 
3166
 
 
3167
#include <float.h>
 
3168
 
 
3169
 
 
3170
SWIGINTERN int
 
3171
SWIG_AsVal_double (PyObject *obj, double* val)
 
3172
{
 
3173
    if (PyNumber_Check(obj)) {
 
3174
        if (val) *val = PyFloat_AsDouble(obj);
 
3175
        return SWIG_OK;
 
3176
    }
 
3177
    return SWIG_TypeError;
 
3178
}
 
3179
 
 
3180
 
 
3181
SWIGINTERN int
 
3182
SWIG_AsVal_float (PyObject * obj, float *val)
 
3183
{
 
3184
  double v;
 
3185
  int res = SWIG_AsVal_double (obj, &v);
 
3186
  if (SWIG_IsOK(res)) {
 
3187
    if ((v < -FLT_MAX || v > FLT_MAX)) {
 
3188
      return SWIG_OverflowError;
 
3189
    } else {
 
3190
      if (val) *val = static_cast< float >(v);
 
3191
    }
 
3192
  }  
 
3193
  return res;
 
3194
}
 
3195
 
 
3196
SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
 
3197
            int* temp = NULL;
 
3198
            if (sizes) temp = int_LIST_helper(sizes);
 
3199
            self->SetFonts(normal_face, fixed_face, temp);
 
3200
            if (temp)
 
3201
                delete [] temp;
 
3202
        }
 
3203
 
 
3204
    typedef wxTreeCtrl wxPyTreeCtrl;
 
3205
 
 
3206
#ifdef __cplusplus
 
3207
extern "C" {
 
3208
#endif
 
3209
SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
 
3210
  SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
 
3211
  return 1;
 
3212
}
 
3213
 
 
3214
 
 
3215
SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
 
3216
  PyObject *pyobj = 0;
 
3217
  
 
3218
  {
 
3219
#if wxUSE_UNICODE
 
3220
    pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
 
3221
#else
 
3222
    pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
 
3223
#endif
 
3224
  }
 
3225
  return pyobj;
 
3226
}
 
3227
 
 
3228
 
 
3229
SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
 
3230
  SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
 
3231
  return 1;
 
3232
}
 
3233
 
 
3234
 
 
3235
SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
 
3236
  PyObject *pyobj = 0;
 
3237
  
 
3238
  {
 
3239
#if wxUSE_UNICODE
 
3240
    pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
 
3241
#else
 
3242
    pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
 
3243
#endif
 
3244
  }
 
3245
  return pyobj;
 
3246
}
 
3247
 
 
3248
 
 
3249
SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
 
3250
  SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
 
3251
  return 1;
 
3252
}
 
3253
 
 
3254
 
 
3255
SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
 
3256
  PyObject *pyobj = 0;
 
3257
  
 
3258
  {
 
3259
#if wxUSE_UNICODE
 
3260
    pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
 
3261
#else
 
3262
    pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
 
3263
#endif
 
3264
  }
 
3265
  return pyobj;
 
3266
}
 
3267
 
 
3268
 
 
3269
SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3270
  PyObject *resultobj = 0;
 
3271
  wxString *arg1 = 0 ;
 
3272
  wxString const &arg2_defvalue = wxPyEmptyString ;
 
3273
  wxString *arg2 = (wxString *) &arg2_defvalue ;
 
3274
  wxHtmlLinkInfo *result = 0 ;
 
3275
  bool temp1 = false ;
 
3276
  bool temp2 = false ;
 
3277
  PyObject * obj0 = 0 ;
 
3278
  PyObject * obj1 = 0 ;
 
3279
  char *  kwnames[] = {
 
3280
    (char *) "href",(char *) "target", NULL 
 
3281
  };
 
3282
  
 
3283
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
 
3284
  {
 
3285
    arg1 = wxString_in_helper(obj0);
 
3286
    if (arg1 == NULL) SWIG_fail;
 
3287
    temp1 = true;
 
3288
  }
 
3289
  if (obj1) {
 
3290
    {
 
3291
      arg2 = wxString_in_helper(obj1);
 
3292
      if (arg2 == NULL) SWIG_fail;
 
3293
      temp2 = true;
 
3294
    }
 
3295
  }
 
3296
  {
 
3297
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3298
    result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
 
3299
    wxPyEndAllowThreads(__tstate);
 
3300
    if (PyErr_Occurred()) SWIG_fail;
 
3301
  }
 
3302
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW |  0 );
 
3303
  {
 
3304
    if (temp1)
 
3305
    delete arg1;
 
3306
  }
 
3307
  {
 
3308
    if (temp2)
 
3309
    delete arg2;
 
3310
  }
 
3311
  return resultobj;
 
3312
fail:
 
3313
  {
 
3314
    if (temp1)
 
3315
    delete arg1;
 
3316
  }
 
3317
  {
 
3318
    if (temp2)
 
3319
    delete arg2;
 
3320
  }
 
3321
  return NULL;
 
3322
}
 
3323
 
 
3324
 
 
3325
SWIGINTERN PyObject *_wrap_delete_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3326
  PyObject *resultobj = 0;
 
3327
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3328
  void *argp1 = 0 ;
 
3329
  int res1 = 0 ;
 
3330
  PyObject *swig_obj[1] ;
 
3331
  
 
3332
  if (!args) SWIG_fail;
 
3333
  swig_obj[0] = args;
 
3334
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_DISOWN |  0 );
 
3335
  if (!SWIG_IsOK(res1)) {
 
3336
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3337
  }
 
3338
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3339
  {
 
3340
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3341
    delete arg1;
 
3342
    
 
3343
    wxPyEndAllowThreads(__tstate);
 
3344
    if (PyErr_Occurred()) SWIG_fail;
 
3345
  }
 
3346
  resultobj = SWIG_Py_Void();
 
3347
  return resultobj;
 
3348
fail:
 
3349
  return NULL;
 
3350
}
 
3351
 
 
3352
 
 
3353
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3354
  PyObject *resultobj = 0;
 
3355
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3356
  wxString result;
 
3357
  void *argp1 = 0 ;
 
3358
  int res1 = 0 ;
 
3359
  PyObject *swig_obj[1] ;
 
3360
  
 
3361
  if (!args) SWIG_fail;
 
3362
  swig_obj[0] = args;
 
3363
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
3364
  if (!SWIG_IsOK(res1)) {
 
3365
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3366
  }
 
3367
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3368
  {
 
3369
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3370
    result = (arg1)->GetHref();
 
3371
    wxPyEndAllowThreads(__tstate);
 
3372
    if (PyErr_Occurred()) SWIG_fail;
 
3373
  }
 
3374
  {
 
3375
#if wxUSE_UNICODE
 
3376
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
3377
#else
 
3378
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
3379
#endif
 
3380
  }
 
3381
  return resultobj;
 
3382
fail:
 
3383
  return NULL;
 
3384
}
 
3385
 
 
3386
 
 
3387
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3388
  PyObject *resultobj = 0;
 
3389
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3390
  wxString result;
 
3391
  void *argp1 = 0 ;
 
3392
  int res1 = 0 ;
 
3393
  PyObject *swig_obj[1] ;
 
3394
  
 
3395
  if (!args) SWIG_fail;
 
3396
  swig_obj[0] = args;
 
3397
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
3398
  if (!SWIG_IsOK(res1)) {
 
3399
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3400
  }
 
3401
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3402
  {
 
3403
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3404
    result = (arg1)->GetTarget();
 
3405
    wxPyEndAllowThreads(__tstate);
 
3406
    if (PyErr_Occurred()) SWIG_fail;
 
3407
  }
 
3408
  {
 
3409
#if wxUSE_UNICODE
 
3410
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
3411
#else
 
3412
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
3413
#endif
 
3414
  }
 
3415
  return resultobj;
 
3416
fail:
 
3417
  return NULL;
 
3418
}
 
3419
 
 
3420
 
 
3421
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3422
  PyObject *resultobj = 0;
 
3423
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3424
  wxMouseEvent *result = 0 ;
 
3425
  void *argp1 = 0 ;
 
3426
  int res1 = 0 ;
 
3427
  PyObject *swig_obj[1] ;
 
3428
  
 
3429
  if (!args) SWIG_fail;
 
3430
  swig_obj[0] = args;
 
3431
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
3432
  if (!SWIG_IsOK(res1)) {
 
3433
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3434
  }
 
3435
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3436
  {
 
3437
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3438
    result = (wxMouseEvent *)(arg1)->GetEvent();
 
3439
    wxPyEndAllowThreads(__tstate);
 
3440
    if (PyErr_Occurred()) SWIG_fail;
 
3441
  }
 
3442
  {
 
3443
    resultobj = wxPyMake_wxObject(result, 0); 
 
3444
  }
 
3445
  return resultobj;
 
3446
fail:
 
3447
  return NULL;
 
3448
}
 
3449
 
 
3450
 
 
3451
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3452
  PyObject *resultobj = 0;
 
3453
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3454
  wxHtmlCell *result = 0 ;
 
3455
  void *argp1 = 0 ;
 
3456
  int res1 = 0 ;
 
3457
  PyObject *swig_obj[1] ;
 
3458
  
 
3459
  if (!args) SWIG_fail;
 
3460
  swig_obj[0] = args;
 
3461
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
3462
  if (!SWIG_IsOK(res1)) {
 
3463
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3464
  }
 
3465
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3466
  {
 
3467
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3468
    result = (wxHtmlCell *)(arg1)->GetHtmlCell();
 
3469
    wxPyEndAllowThreads(__tstate);
 
3470
    if (PyErr_Occurred()) SWIG_fail;
 
3471
  }
 
3472
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
3473
  return resultobj;
 
3474
fail:
 
3475
  return NULL;
 
3476
}
 
3477
 
 
3478
 
 
3479
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3480
  PyObject *resultobj = 0;
 
3481
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3482
  wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
 
3483
  void *argp1 = 0 ;
 
3484
  int res1 = 0 ;
 
3485
  void *argp2 = 0 ;
 
3486
  int res2 = 0 ;
 
3487
  PyObject * obj0 = 0 ;
 
3488
  PyObject * obj1 = 0 ;
 
3489
  char *  kwnames[] = {
 
3490
    (char *) "self",(char *) "e", NULL 
 
3491
  };
 
3492
  
 
3493
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
 
3494
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
3495
  if (!SWIG_IsOK(res1)) {
 
3496
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3497
  }
 
3498
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3499
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 |  0 );
 
3500
  if (!SWIG_IsOK(res2)) {
 
3501
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'"); 
 
3502
  }
 
3503
  arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
 
3504
  {
 
3505
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3506
    (arg1)->SetEvent((wxMouseEvent const *)arg2);
 
3507
    wxPyEndAllowThreads(__tstate);
 
3508
    if (PyErr_Occurred()) SWIG_fail;
 
3509
  }
 
3510
  resultobj = SWIG_Py_Void();
 
3511
  return resultobj;
 
3512
fail:
 
3513
  return NULL;
 
3514
}
 
3515
 
 
3516
 
 
3517
SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3518
  PyObject *resultobj = 0;
 
3519
  wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
 
3520
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
3521
  void *argp1 = 0 ;
 
3522
  int res1 = 0 ;
 
3523
  void *argp2 = 0 ;
 
3524
  int res2 = 0 ;
 
3525
  PyObject * obj0 = 0 ;
 
3526
  PyObject * obj1 = 0 ;
 
3527
  char *  kwnames[] = {
 
3528
    (char *) "self",(char *) "e", NULL 
 
3529
  };
 
3530
  
 
3531
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
 
3532
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
3533
  if (!SWIG_IsOK(res1)) {
 
3534
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); 
 
3535
  }
 
3536
  arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
 
3537
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
3538
  if (!SWIG_IsOK(res2)) {
 
3539
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); 
 
3540
  }
 
3541
  arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
3542
  {
 
3543
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3544
    (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
 
3545
    wxPyEndAllowThreads(__tstate);
 
3546
    if (PyErr_Occurred()) SWIG_fail;
 
3547
  }
 
3548
  resultobj = SWIG_Py_Void();
 
3549
  return resultobj;
 
3550
fail:
 
3551
  return NULL;
 
3552
}
 
3553
 
 
3554
 
 
3555
SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3556
  PyObject *obj;
 
3557
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
3558
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
 
3559
  return SWIG_Py_Void();
 
3560
}
 
3561
 
 
3562
SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3563
  return SWIG_Python_InitShadowInstance(args);
 
3564
}
 
3565
 
 
3566
SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3567
  PyObject *resultobj = 0;
 
3568
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3569
  wxString result;
 
3570
  void *argp1 = 0 ;
 
3571
  int res1 = 0 ;
 
3572
  PyObject *swig_obj[1] ;
 
3573
  
 
3574
  if (!args) SWIG_fail;
 
3575
  swig_obj[0] = args;
 
3576
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3577
  if (!SWIG_IsOK(res1)) {
 
3578
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3579
  }
 
3580
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3581
  {
 
3582
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3583
    result = (arg1)->GetName();
 
3584
    wxPyEndAllowThreads(__tstate);
 
3585
    if (PyErr_Occurred()) SWIG_fail;
 
3586
  }
 
3587
  {
 
3588
#if wxUSE_UNICODE
 
3589
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
3590
#else
 
3591
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
3592
#endif
 
3593
  }
 
3594
  return resultobj;
 
3595
fail:
 
3596
  return NULL;
 
3597
}
 
3598
 
 
3599
 
 
3600
SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3601
  PyObject *resultobj = 0;
 
3602
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3603
  wxString *arg2 = 0 ;
 
3604
  bool result;
 
3605
  void *argp1 = 0 ;
 
3606
  int res1 = 0 ;
 
3607
  bool temp2 = false ;
 
3608
  PyObject * obj0 = 0 ;
 
3609
  PyObject * obj1 = 0 ;
 
3610
  char *  kwnames[] = {
 
3611
    (char *) "self",(char *) "par", NULL 
 
3612
  };
 
3613
  
 
3614
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
 
3615
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3616
  if (!SWIG_IsOK(res1)) {
 
3617
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3618
  }
 
3619
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3620
  {
 
3621
    arg2 = wxString_in_helper(obj1);
 
3622
    if (arg2 == NULL) SWIG_fail;
 
3623
    temp2 = true;
 
3624
  }
 
3625
  {
 
3626
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3627
    result = (bool)(arg1)->HasParam((wxString const &)*arg2);
 
3628
    wxPyEndAllowThreads(__tstate);
 
3629
    if (PyErr_Occurred()) SWIG_fail;
 
3630
  }
 
3631
  {
 
3632
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
3633
  }
 
3634
  {
 
3635
    if (temp2)
 
3636
    delete arg2;
 
3637
  }
 
3638
  return resultobj;
 
3639
fail:
 
3640
  {
 
3641
    if (temp2)
 
3642
    delete arg2;
 
3643
  }
 
3644
  return NULL;
 
3645
}
 
3646
 
 
3647
 
 
3648
SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3649
  PyObject *resultobj = 0;
 
3650
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3651
  wxString *arg2 = 0 ;
 
3652
  int arg3 = (int) false ;
 
3653
  wxString result;
 
3654
  void *argp1 = 0 ;
 
3655
  int res1 = 0 ;
 
3656
  bool temp2 = false ;
 
3657
  int val3 ;
 
3658
  int ecode3 = 0 ;
 
3659
  PyObject * obj0 = 0 ;
 
3660
  PyObject * obj1 = 0 ;
 
3661
  PyObject * obj2 = 0 ;
 
3662
  char *  kwnames[] = {
 
3663
    (char *) "self",(char *) "par",(char *) "with_commas", NULL 
 
3664
  };
 
3665
  
 
3666
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
3667
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3668
  if (!SWIG_IsOK(res1)) {
 
3669
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3670
  }
 
3671
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3672
  {
 
3673
    arg2 = wxString_in_helper(obj1);
 
3674
    if (arg2 == NULL) SWIG_fail;
 
3675
    temp2 = true;
 
3676
  }
 
3677
  if (obj2) {
 
3678
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
3679
    if (!SWIG_IsOK(ecode3)) {
 
3680
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
 
3681
    } 
 
3682
    arg3 = static_cast< int >(val3);
 
3683
  }
 
3684
  {
 
3685
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3686
    result = (arg1)->GetParam((wxString const &)*arg2,arg3);
 
3687
    wxPyEndAllowThreads(__tstate);
 
3688
    if (PyErr_Occurred()) SWIG_fail;
 
3689
  }
 
3690
  {
 
3691
#if wxUSE_UNICODE
 
3692
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
3693
#else
 
3694
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
3695
#endif
 
3696
  }
 
3697
  {
 
3698
    if (temp2)
 
3699
    delete arg2;
 
3700
  }
 
3701
  return resultobj;
 
3702
fail:
 
3703
  {
 
3704
    if (temp2)
 
3705
    delete arg2;
 
3706
  }
 
3707
  return NULL;
 
3708
}
 
3709
 
 
3710
 
 
3711
SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3712
  PyObject *resultobj = 0;
 
3713
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3714
  wxString result;
 
3715
  void *argp1 = 0 ;
 
3716
  int res1 = 0 ;
 
3717
  PyObject *swig_obj[1] ;
 
3718
  
 
3719
  if (!args) SWIG_fail;
 
3720
  swig_obj[0] = args;
 
3721
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3722
  if (!SWIG_IsOK(res1)) {
 
3723
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3724
  }
 
3725
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3726
  {
 
3727
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3728
    result = (arg1)->GetAllParams();
 
3729
    wxPyEndAllowThreads(__tstate);
 
3730
    if (PyErr_Occurred()) SWIG_fail;
 
3731
  }
 
3732
  {
 
3733
#if wxUSE_UNICODE
 
3734
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
3735
#else
 
3736
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
3737
#endif
 
3738
  }
 
3739
  return resultobj;
 
3740
fail:
 
3741
  return NULL;
 
3742
}
 
3743
 
 
3744
 
 
3745
SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3746
  PyObject *resultobj = 0;
 
3747
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3748
  bool result;
 
3749
  void *argp1 = 0 ;
 
3750
  int res1 = 0 ;
 
3751
  PyObject *swig_obj[1] ;
 
3752
  
 
3753
  if (!args) SWIG_fail;
 
3754
  swig_obj[0] = args;
 
3755
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3756
  if (!SWIG_IsOK(res1)) {
 
3757
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3758
  }
 
3759
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3760
  {
 
3761
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3762
    result = (bool)(arg1)->HasEnding();
 
3763
    wxPyEndAllowThreads(__tstate);
 
3764
    if (PyErr_Occurred()) SWIG_fail;
 
3765
  }
 
3766
  {
 
3767
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
3768
  }
 
3769
  return resultobj;
 
3770
fail:
 
3771
  return NULL;
 
3772
}
 
3773
 
 
3774
 
 
3775
SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3776
  PyObject *resultobj = 0;
 
3777
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3778
  int result;
 
3779
  void *argp1 = 0 ;
 
3780
  int res1 = 0 ;
 
3781
  PyObject *swig_obj[1] ;
 
3782
  
 
3783
  if (!args) SWIG_fail;
 
3784
  swig_obj[0] = args;
 
3785
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3786
  if (!SWIG_IsOK(res1)) {
 
3787
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3788
  }
 
3789
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3790
  {
 
3791
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3792
    result = (int)(arg1)->GetBeginPos();
 
3793
    wxPyEndAllowThreads(__tstate);
 
3794
    if (PyErr_Occurred()) SWIG_fail;
 
3795
  }
 
3796
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3797
  return resultobj;
 
3798
fail:
 
3799
  return NULL;
 
3800
}
 
3801
 
 
3802
 
 
3803
SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3804
  PyObject *resultobj = 0;
 
3805
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3806
  int result;
 
3807
  void *argp1 = 0 ;
 
3808
  int res1 = 0 ;
 
3809
  PyObject *swig_obj[1] ;
 
3810
  
 
3811
  if (!args) SWIG_fail;
 
3812
  swig_obj[0] = args;
 
3813
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3814
  if (!SWIG_IsOK(res1)) {
 
3815
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3816
  }
 
3817
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3818
  {
 
3819
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3820
    result = (int)(arg1)->GetEndPos1();
 
3821
    wxPyEndAllowThreads(__tstate);
 
3822
    if (PyErr_Occurred()) SWIG_fail;
 
3823
  }
 
3824
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3825
  return resultobj;
 
3826
fail:
 
3827
  return NULL;
 
3828
}
 
3829
 
 
3830
 
 
3831
SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3832
  PyObject *resultobj = 0;
 
3833
  wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
 
3834
  int result;
 
3835
  void *argp1 = 0 ;
 
3836
  int res1 = 0 ;
 
3837
  PyObject *swig_obj[1] ;
 
3838
  
 
3839
  if (!args) SWIG_fail;
 
3840
  swig_obj[0] = args;
 
3841
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 |  0 );
 
3842
  if (!SWIG_IsOK(res1)) {
 
3843
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); 
 
3844
  }
 
3845
  arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
 
3846
  {
 
3847
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3848
    result = (int)(arg1)->GetEndPos2();
 
3849
    wxPyEndAllowThreads(__tstate);
 
3850
    if (PyErr_Occurred()) SWIG_fail;
 
3851
  }
 
3852
  resultobj = SWIG_From_int(static_cast< int >(result));
 
3853
  return resultobj;
 
3854
fail:
 
3855
  return NULL;
 
3856
}
 
3857
 
 
3858
 
 
3859
SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3860
  PyObject *obj;
 
3861
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
3862
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
 
3863
  return SWIG_Py_Void();
 
3864
}
 
3865
 
 
3866
SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3867
  PyObject *resultobj = 0;
 
3868
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
3869
  wxFileSystem *arg2 = (wxFileSystem *) 0 ;
 
3870
  void *argp1 = 0 ;
 
3871
  int res1 = 0 ;
 
3872
  void *argp2 = 0 ;
 
3873
  int res2 = 0 ;
 
3874
  PyObject * obj0 = 0 ;
 
3875
  PyObject * obj1 = 0 ;
 
3876
  char *  kwnames[] = {
 
3877
    (char *) "self",(char *) "fs", NULL 
 
3878
  };
 
3879
  
 
3880
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
 
3881
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
3882
  if (!SWIG_IsOK(res1)) {
 
3883
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
3884
  }
 
3885
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
3886
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 |  0 );
 
3887
  if (!SWIG_IsOK(res2)) {
 
3888
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'"); 
 
3889
  }
 
3890
  arg2 = reinterpret_cast< wxFileSystem * >(argp2);
 
3891
  {
 
3892
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3893
    (arg1)->SetFS(arg2);
 
3894
    wxPyEndAllowThreads(__tstate);
 
3895
    if (PyErr_Occurred()) SWIG_fail;
 
3896
  }
 
3897
  resultobj = SWIG_Py_Void();
 
3898
  return resultobj;
 
3899
fail:
 
3900
  return NULL;
 
3901
}
 
3902
 
 
3903
 
 
3904
SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3905
  PyObject *resultobj = 0;
 
3906
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
3907
  wxFileSystem *result = 0 ;
 
3908
  void *argp1 = 0 ;
 
3909
  int res1 = 0 ;
 
3910
  PyObject *swig_obj[1] ;
 
3911
  
 
3912
  if (!args) SWIG_fail;
 
3913
  swig_obj[0] = args;
 
3914
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
3915
  if (!SWIG_IsOK(res1)) {
 
3916
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
3917
  }
 
3918
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
3919
  {
 
3920
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3921
    result = (wxFileSystem *)(arg1)->GetFS();
 
3922
    wxPyEndAllowThreads(__tstate);
 
3923
    if (PyErr_Occurred()) SWIG_fail;
 
3924
  }
 
3925
  {
 
3926
    resultobj = wxPyMake_wxObject(result, 0); 
 
3927
  }
 
3928
  return resultobj;
 
3929
fail:
 
3930
  return NULL;
 
3931
}
 
3932
 
 
3933
 
 
3934
SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3935
  PyObject *resultobj = 0;
 
3936
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
3937
  wxString *arg2 = 0 ;
 
3938
  wxObject *result = 0 ;
 
3939
  void *argp1 = 0 ;
 
3940
  int res1 = 0 ;
 
3941
  bool temp2 = false ;
 
3942
  PyObject * obj0 = 0 ;
 
3943
  PyObject * obj1 = 0 ;
 
3944
  char *  kwnames[] = {
 
3945
    (char *) "self",(char *) "source", NULL 
 
3946
  };
 
3947
  
 
3948
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
 
3949
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
3950
  if (!SWIG_IsOK(res1)) {
 
3951
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
3952
  }
 
3953
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
3954
  {
 
3955
    arg2 = wxString_in_helper(obj1);
 
3956
    if (arg2 == NULL) SWIG_fail;
 
3957
    temp2 = true;
 
3958
  }
 
3959
  {
 
3960
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3961
    result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
 
3962
    wxPyEndAllowThreads(__tstate);
 
3963
    if (PyErr_Occurred()) SWIG_fail;
 
3964
  }
 
3965
  {
 
3966
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
3967
  }
 
3968
  {
 
3969
    if (temp2)
 
3970
    delete arg2;
 
3971
  }
 
3972
  return resultobj;
 
3973
fail:
 
3974
  {
 
3975
    if (temp2)
 
3976
    delete arg2;
 
3977
  }
 
3978
  return NULL;
 
3979
}
 
3980
 
 
3981
 
 
3982
SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3983
  PyObject *resultobj = 0;
 
3984
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
3985
  wxString *arg2 = 0 ;
 
3986
  void *argp1 = 0 ;
 
3987
  int res1 = 0 ;
 
3988
  bool temp2 = false ;
 
3989
  PyObject * obj0 = 0 ;
 
3990
  PyObject * obj1 = 0 ;
 
3991
  char *  kwnames[] = {
 
3992
    (char *) "self",(char *) "source", NULL 
 
3993
  };
 
3994
  
 
3995
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
 
3996
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
3997
  if (!SWIG_IsOK(res1)) {
 
3998
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
3999
  }
 
4000
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4001
  {
 
4002
    arg2 = wxString_in_helper(obj1);
 
4003
    if (arg2 == NULL) SWIG_fail;
 
4004
    temp2 = true;
 
4005
  }
 
4006
  {
 
4007
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4008
    (arg1)->InitParser((wxString const &)*arg2);
 
4009
    wxPyEndAllowThreads(__tstate);
 
4010
    if (PyErr_Occurred()) SWIG_fail;
 
4011
  }
 
4012
  resultobj = SWIG_Py_Void();
 
4013
  {
 
4014
    if (temp2)
 
4015
    delete arg2;
 
4016
  }
 
4017
  return resultobj;
 
4018
fail:
 
4019
  {
 
4020
    if (temp2)
 
4021
    delete arg2;
 
4022
  }
 
4023
  return NULL;
 
4024
}
 
4025
 
 
4026
 
 
4027
SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4028
  PyObject *resultobj = 0;
 
4029
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4030
  void *argp1 = 0 ;
 
4031
  int res1 = 0 ;
 
4032
  PyObject *swig_obj[1] ;
 
4033
  
 
4034
  if (!args) SWIG_fail;
 
4035
  swig_obj[0] = args;
 
4036
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4037
  if (!SWIG_IsOK(res1)) {
 
4038
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4039
  }
 
4040
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4041
  {
 
4042
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4043
    (arg1)->DoneParser();
 
4044
    wxPyEndAllowThreads(__tstate);
 
4045
    if (PyErr_Occurred()) SWIG_fail;
 
4046
  }
 
4047
  resultobj = SWIG_Py_Void();
 
4048
  return resultobj;
 
4049
fail:
 
4050
  return NULL;
 
4051
}
 
4052
 
 
4053
 
 
4054
SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4055
  PyObject *resultobj = 0;
 
4056
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4057
  int arg2 ;
 
4058
  int arg3 ;
 
4059
  void *argp1 = 0 ;
 
4060
  int res1 = 0 ;
 
4061
  int val2 ;
 
4062
  int ecode2 = 0 ;
 
4063
  int val3 ;
 
4064
  int ecode3 = 0 ;
 
4065
  PyObject * obj0 = 0 ;
 
4066
  PyObject * obj1 = 0 ;
 
4067
  PyObject * obj2 = 0 ;
 
4068
  char *  kwnames[] = {
 
4069
    (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL 
 
4070
  };
 
4071
  
 
4072
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4073
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4074
  if (!SWIG_IsOK(res1)) {
 
4075
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4076
  }
 
4077
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4078
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4079
  if (!SWIG_IsOK(ecode2)) {
 
4080
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
 
4081
  } 
 
4082
  arg2 = static_cast< int >(val2);
 
4083
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
4084
  if (!SWIG_IsOK(ecode3)) {
 
4085
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
 
4086
  } 
 
4087
  arg3 = static_cast< int >(val3);
 
4088
  {
 
4089
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4090
    (arg1)->DoParsing(arg2,arg3);
 
4091
    wxPyEndAllowThreads(__tstate);
 
4092
    if (PyErr_Occurred()) SWIG_fail;
 
4093
  }
 
4094
  resultobj = SWIG_Py_Void();
 
4095
  return resultobj;
 
4096
fail:
 
4097
  return NULL;
 
4098
}
 
4099
 
 
4100
 
 
4101
SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4102
  PyObject *resultobj = 0;
 
4103
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4104
  void *argp1 = 0 ;
 
4105
  int res1 = 0 ;
 
4106
  PyObject *swig_obj[1] ;
 
4107
  
 
4108
  if (!args) SWIG_fail;
 
4109
  swig_obj[0] = args;
 
4110
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4111
  if (!SWIG_IsOK(res1)) {
 
4112
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4113
  }
 
4114
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4115
  {
 
4116
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4117
    (arg1)->StopParsing();
 
4118
    wxPyEndAllowThreads(__tstate);
 
4119
    if (PyErr_Occurred()) SWIG_fail;
 
4120
  }
 
4121
  resultobj = SWIG_Py_Void();
 
4122
  return resultobj;
 
4123
fail:
 
4124
  return NULL;
 
4125
}
 
4126
 
 
4127
 
 
4128
SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4129
  PyObject *resultobj = 0;
 
4130
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4131
  wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
 
4132
  void *argp1 = 0 ;
 
4133
  int res1 = 0 ;
 
4134
  void *argp2 = 0 ;
 
4135
  int res2 = 0 ;
 
4136
  PyObject * obj0 = 0 ;
 
4137
  PyObject * obj1 = 0 ;
 
4138
  char *  kwnames[] = {
 
4139
    (char *) "self",(char *) "handler", NULL 
 
4140
  };
 
4141
  
 
4142
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
 
4143
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4144
  if (!SWIG_IsOK(res1)) {
 
4145
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4146
  }
 
4147
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4148
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 |  0 );
 
4149
  if (!SWIG_IsOK(res2)) {
 
4150
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); 
 
4151
  }
 
4152
  arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
 
4153
  {
 
4154
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4155
    (arg1)->AddTagHandler(arg2);
 
4156
    wxPyEndAllowThreads(__tstate);
 
4157
    if (PyErr_Occurred()) SWIG_fail;
 
4158
  }
 
4159
  resultobj = SWIG_Py_Void();
 
4160
  return resultobj;
 
4161
fail:
 
4162
  return NULL;
 
4163
}
 
4164
 
 
4165
 
 
4166
SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4167
  PyObject *resultobj = 0;
 
4168
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4169
  wxString *result = 0 ;
 
4170
  void *argp1 = 0 ;
 
4171
  int res1 = 0 ;
 
4172
  PyObject *swig_obj[1] ;
 
4173
  
 
4174
  if (!args) SWIG_fail;
 
4175
  swig_obj[0] = args;
 
4176
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4177
  if (!SWIG_IsOK(res1)) {
 
4178
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4179
  }
 
4180
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4181
  {
 
4182
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4183
    result = (wxString *)(arg1)->GetSource();
 
4184
    wxPyEndAllowThreads(__tstate);
 
4185
    if (PyErr_Occurred()) SWIG_fail;
 
4186
  }
 
4187
  {
 
4188
#if wxUSE_UNICODE
 
4189
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
4190
#else
 
4191
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
4192
#endif
 
4193
  }
 
4194
  return resultobj;
 
4195
fail:
 
4196
  return NULL;
 
4197
}
 
4198
 
 
4199
 
 
4200
SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4201
  PyObject *resultobj = 0;
 
4202
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4203
  wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
 
4204
  wxString arg3 ;
 
4205
  void *argp1 = 0 ;
 
4206
  int res1 = 0 ;
 
4207
  void *argp2 = 0 ;
 
4208
  int res2 = 0 ;
 
4209
  PyObject * obj0 = 0 ;
 
4210
  PyObject * obj1 = 0 ;
 
4211
  PyObject * obj2 = 0 ;
 
4212
  char *  kwnames[] = {
 
4213
    (char *) "self",(char *) "handler",(char *) "tags", NULL 
 
4214
  };
 
4215
  
 
4216
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4217
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4218
  if (!SWIG_IsOK(res1)) {
 
4219
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4220
  }
 
4221
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4222
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 |  0 );
 
4223
  if (!SWIG_IsOK(res2)) {
 
4224
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); 
 
4225
  }
 
4226
  arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
 
4227
  {
 
4228
    wxString* sptr = wxString_in_helper(obj2);
 
4229
    if (sptr == NULL) SWIG_fail;
 
4230
    arg3 = *sptr;
 
4231
    delete sptr;
 
4232
  }
 
4233
  {
 
4234
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4235
    (arg1)->PushTagHandler(arg2,arg3);
 
4236
    wxPyEndAllowThreads(__tstate);
 
4237
    if (PyErr_Occurred()) SWIG_fail;
 
4238
  }
 
4239
  resultobj = SWIG_Py_Void();
 
4240
  return resultobj;
 
4241
fail:
 
4242
  return NULL;
 
4243
}
 
4244
 
 
4245
 
 
4246
SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4247
  PyObject *resultobj = 0;
 
4248
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4249
  void *argp1 = 0 ;
 
4250
  int res1 = 0 ;
 
4251
  PyObject *swig_obj[1] ;
 
4252
  
 
4253
  if (!args) SWIG_fail;
 
4254
  swig_obj[0] = args;
 
4255
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4256
  if (!SWIG_IsOK(res1)) {
 
4257
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4258
  }
 
4259
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4260
  {
 
4261
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4262
    (arg1)->PopTagHandler();
 
4263
    wxPyEndAllowThreads(__tstate);
 
4264
    if (PyErr_Occurred()) SWIG_fail;
 
4265
  }
 
4266
  resultobj = SWIG_Py_Void();
 
4267
  return resultobj;
 
4268
fail:
 
4269
  return NULL;
 
4270
}
 
4271
 
 
4272
 
 
4273
SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4274
  PyObject *resultobj = 0;
 
4275
  wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
 
4276
  wxHtmlTag *arg2 = 0 ;
 
4277
  wxString result;
 
4278
  void *argp1 = 0 ;
 
4279
  int res1 = 0 ;
 
4280
  void *argp2 = 0 ;
 
4281
  int res2 = 0 ;
 
4282
  PyObject * obj0 = 0 ;
 
4283
  PyObject * obj1 = 0 ;
 
4284
  char *  kwnames[] = {
 
4285
    (char *) "self",(char *) "tag", NULL 
 
4286
  };
 
4287
  
 
4288
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
 
4289
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
4290
  if (!SWIG_IsOK(res1)) {
 
4291
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); 
 
4292
  }
 
4293
  arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
 
4294
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag,  0  | 0);
 
4295
  if (!SWIG_IsOK(res2)) {
 
4296
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
4297
  }
 
4298
  if (!argp2) {
 
4299
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
4300
  }
 
4301
  arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
 
4302
  {
 
4303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4304
    result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
 
4305
    wxPyEndAllowThreads(__tstate);
 
4306
    if (PyErr_Occurred()) SWIG_fail;
 
4307
  }
 
4308
  {
 
4309
#if wxUSE_UNICODE
 
4310
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
4311
#else
 
4312
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
4313
#endif
 
4314
  }
 
4315
  return resultobj;
 
4316
fail:
 
4317
  return NULL;
 
4318
}
 
4319
 
 
4320
 
 
4321
SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4322
  PyObject *obj;
 
4323
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
4324
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
 
4325
  return SWIG_Py_Void();
 
4326
}
 
4327
 
 
4328
SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4329
  PyObject *resultobj = 0;
 
4330
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
 
4331
  wxHtmlWinParser *result = 0 ;
 
4332
  void *argp1 = 0 ;
 
4333
  int res1 = 0 ;
 
4334
  PyObject * obj0 = 0 ;
 
4335
  char *  kwnames[] = {
 
4336
    (char *) "wnd", NULL 
 
4337
  };
 
4338
  
 
4339
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
 
4340
  if (obj0) {
 
4341
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
4342
    if (!SWIG_IsOK(res1)) {
 
4343
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
4344
    }
 
4345
    arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
4346
  }
 
4347
  {
 
4348
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4349
    result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
 
4350
    wxPyEndAllowThreads(__tstate);
 
4351
    if (PyErr_Occurred()) SWIG_fail;
 
4352
  }
 
4353
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW |  0 );
 
4354
  return resultobj;
 
4355
fail:
 
4356
  return NULL;
 
4357
}
 
4358
 
 
4359
 
 
4360
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4361
  PyObject *resultobj = 0;
 
4362
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4363
  wxDC *arg2 = (wxDC *) 0 ;
 
4364
  void *argp1 = 0 ;
 
4365
  int res1 = 0 ;
 
4366
  void *argp2 = 0 ;
 
4367
  int res2 = 0 ;
 
4368
  PyObject * obj0 = 0 ;
 
4369
  PyObject * obj1 = 0 ;
 
4370
  char *  kwnames[] = {
 
4371
    (char *) "self",(char *) "dc", NULL 
 
4372
  };
 
4373
  
 
4374
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
 
4375
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4376
  if (!SWIG_IsOK(res1)) {
 
4377
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4378
  }
 
4379
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4380
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 |  0 );
 
4381
  if (!SWIG_IsOK(res2)) {
 
4382
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); 
 
4383
  }
 
4384
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
4385
  {
 
4386
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4387
    (arg1)->SetDC(arg2);
 
4388
    wxPyEndAllowThreads(__tstate);
 
4389
    if (PyErr_Occurred()) SWIG_fail;
 
4390
  }
 
4391
  resultobj = SWIG_Py_Void();
 
4392
  return resultobj;
 
4393
fail:
 
4394
  return NULL;
 
4395
}
 
4396
 
 
4397
 
 
4398
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4399
  PyObject *resultobj = 0;
 
4400
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4401
  wxDC *result = 0 ;
 
4402
  void *argp1 = 0 ;
 
4403
  int res1 = 0 ;
 
4404
  PyObject *swig_obj[1] ;
 
4405
  
 
4406
  if (!args) SWIG_fail;
 
4407
  swig_obj[0] = args;
 
4408
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4409
  if (!SWIG_IsOK(res1)) {
 
4410
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4411
  }
 
4412
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4413
  {
 
4414
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4415
    result = (wxDC *)(arg1)->GetDC();
 
4416
    wxPyEndAllowThreads(__tstate);
 
4417
    if (PyErr_Occurred()) SWIG_fail;
 
4418
  }
 
4419
  {
 
4420
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
4421
  }
 
4422
  return resultobj;
 
4423
fail:
 
4424
  return NULL;
 
4425
}
 
4426
 
 
4427
 
 
4428
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4429
  PyObject *resultobj = 0;
 
4430
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4431
  int result;
 
4432
  void *argp1 = 0 ;
 
4433
  int res1 = 0 ;
 
4434
  PyObject *swig_obj[1] ;
 
4435
  
 
4436
  if (!args) SWIG_fail;
 
4437
  swig_obj[0] = args;
 
4438
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4439
  if (!SWIG_IsOK(res1)) {
 
4440
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4441
  }
 
4442
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4443
  {
 
4444
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4445
    result = (int)(arg1)->GetCharHeight();
 
4446
    wxPyEndAllowThreads(__tstate);
 
4447
    if (PyErr_Occurred()) SWIG_fail;
 
4448
  }
 
4449
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4450
  return resultobj;
 
4451
fail:
 
4452
  return NULL;
 
4453
}
 
4454
 
 
4455
 
 
4456
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4457
  PyObject *resultobj = 0;
 
4458
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4459
  int result;
 
4460
  void *argp1 = 0 ;
 
4461
  int res1 = 0 ;
 
4462
  PyObject *swig_obj[1] ;
 
4463
  
 
4464
  if (!args) SWIG_fail;
 
4465
  swig_obj[0] = args;
 
4466
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4467
  if (!SWIG_IsOK(res1)) {
 
4468
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4469
  }
 
4470
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4471
  {
 
4472
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4473
    result = (int)(arg1)->GetCharWidth();
 
4474
    wxPyEndAllowThreads(__tstate);
 
4475
    if (PyErr_Occurred()) SWIG_fail;
 
4476
  }
 
4477
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4478
  return resultobj;
 
4479
fail:
 
4480
  return NULL;
 
4481
}
 
4482
 
 
4483
 
 
4484
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4485
  PyObject *resultobj = 0;
 
4486
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4487
  wxPyHtmlWindow *result = 0 ;
 
4488
  void *argp1 = 0 ;
 
4489
  int res1 = 0 ;
 
4490
  PyObject *swig_obj[1] ;
 
4491
  
 
4492
  if (!args) SWIG_fail;
 
4493
  swig_obj[0] = args;
 
4494
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4495
  if (!SWIG_IsOK(res1)) {
 
4496
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4497
  }
 
4498
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4499
  {
 
4500
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4501
    result = (wxPyHtmlWindow *)(arg1)->GetWindow();
 
4502
    wxPyEndAllowThreads(__tstate);
 
4503
    if (PyErr_Occurred()) SWIG_fail;
 
4504
  }
 
4505
  {
 
4506
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
4507
  }
 
4508
  return resultobj;
 
4509
fail:
 
4510
  return NULL;
 
4511
}
 
4512
 
 
4513
 
 
4514
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4515
  PyObject *resultobj = 0;
 
4516
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4517
  wxHtmlWindowInterface *result = 0 ;
 
4518
  void *argp1 = 0 ;
 
4519
  int res1 = 0 ;
 
4520
  PyObject *swig_obj[1] ;
 
4521
  
 
4522
  if (!args) SWIG_fail;
 
4523
  swig_obj[0] = args;
 
4524
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4525
  if (!SWIG_IsOK(res1)) {
 
4526
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4527
  }
 
4528
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4529
  {
 
4530
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4531
    result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
 
4532
    wxPyEndAllowThreads(__tstate);
 
4533
    if (PyErr_Occurred()) SWIG_fail;
 
4534
  }
 
4535
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
4536
  return resultobj;
 
4537
fail:
 
4538
  return NULL;
 
4539
}
 
4540
 
 
4541
 
 
4542
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4543
  PyObject *resultobj = 0;
 
4544
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4545
  wxString arg2 ;
 
4546
  wxString arg3 ;
 
4547
  PyObject *arg4 = (PyObject *) NULL ;
 
4548
  void *argp1 = 0 ;
 
4549
  int res1 = 0 ;
 
4550
  PyObject * obj0 = 0 ;
 
4551
  PyObject * obj1 = 0 ;
 
4552
  PyObject * obj2 = 0 ;
 
4553
  PyObject * obj3 = 0 ;
 
4554
  char *  kwnames[] = {
 
4555
    (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL 
 
4556
  };
 
4557
  
 
4558
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
4559
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4560
  if (!SWIG_IsOK(res1)) {
 
4561
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4562
  }
 
4563
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4564
  {
 
4565
    wxString* sptr = wxString_in_helper(obj1);
 
4566
    if (sptr == NULL) SWIG_fail;
 
4567
    arg2 = *sptr;
 
4568
    delete sptr;
 
4569
  }
 
4570
  {
 
4571
    wxString* sptr = wxString_in_helper(obj2);
 
4572
    if (sptr == NULL) SWIG_fail;
 
4573
    arg3 = *sptr;
 
4574
    delete sptr;
 
4575
  }
 
4576
  if (obj3) {
 
4577
    arg4 = obj3;
 
4578
  }
 
4579
  {
 
4580
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4581
    wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
 
4582
    wxPyEndAllowThreads(__tstate);
 
4583
    if (PyErr_Occurred()) SWIG_fail;
 
4584
  }
 
4585
  resultobj = SWIG_Py_Void();
 
4586
  return resultobj;
 
4587
fail:
 
4588
  return NULL;
 
4589
}
 
4590
 
 
4591
 
 
4592
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4593
  PyObject *resultobj = 0;
 
4594
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4595
  int arg2 = (int) -1 ;
 
4596
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
4597
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
4598
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
4599
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
4600
  void *argp1 = 0 ;
 
4601
  int res1 = 0 ;
 
4602
  int val2 ;
 
4603
  int ecode2 = 0 ;
 
4604
  bool temp3 = false ;
 
4605
  bool temp4 = false ;
 
4606
  PyObject * obj0 = 0 ;
 
4607
  PyObject * obj1 = 0 ;
 
4608
  PyObject * obj2 = 0 ;
 
4609
  PyObject * obj3 = 0 ;
 
4610
  char *  kwnames[] = {
 
4611
    (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL 
 
4612
  };
 
4613
  
 
4614
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
4615
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4616
  if (!SWIG_IsOK(res1)) {
 
4617
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4618
  }
 
4619
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4620
  if (obj1) {
 
4621
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4622
    if (!SWIG_IsOK(ecode2)) {
 
4623
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
 
4624
    } 
 
4625
    arg2 = static_cast< int >(val2);
 
4626
  }
 
4627
  if (obj2) {
 
4628
    {
 
4629
      arg3 = wxString_in_helper(obj2);
 
4630
      if (arg3 == NULL) SWIG_fail;
 
4631
      temp3 = true;
 
4632
    }
 
4633
  }
 
4634
  if (obj3) {
 
4635
    {
 
4636
      arg4 = wxString_in_helper(obj3);
 
4637
      if (arg4 == NULL) SWIG_fail;
 
4638
      temp4 = true;
 
4639
    }
 
4640
  }
 
4641
  {
 
4642
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4643
    (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
 
4644
    wxPyEndAllowThreads(__tstate);
 
4645
    if (PyErr_Occurred()) SWIG_fail;
 
4646
  }
 
4647
  resultobj = SWIG_Py_Void();
 
4648
  {
 
4649
    if (temp3)
 
4650
    delete arg3;
 
4651
  }
 
4652
  {
 
4653
    if (temp4)
 
4654
    delete arg4;
 
4655
  }
 
4656
  return resultobj;
 
4657
fail:
 
4658
  {
 
4659
    if (temp3)
 
4660
    delete arg3;
 
4661
  }
 
4662
  {
 
4663
    if (temp4)
 
4664
    delete arg4;
 
4665
  }
 
4666
  return NULL;
 
4667
}
 
4668
 
 
4669
 
 
4670
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4671
  PyObject *resultobj = 0;
 
4672
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4673
  wxHtmlContainerCell *result = 0 ;
 
4674
  void *argp1 = 0 ;
 
4675
  int res1 = 0 ;
 
4676
  PyObject *swig_obj[1] ;
 
4677
  
 
4678
  if (!args) SWIG_fail;
 
4679
  swig_obj[0] = args;
 
4680
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4681
  if (!SWIG_IsOK(res1)) {
 
4682
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4683
  }
 
4684
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4685
  {
 
4686
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4687
    result = (wxHtmlContainerCell *)(arg1)->GetContainer();
 
4688
    wxPyEndAllowThreads(__tstate);
 
4689
    if (PyErr_Occurred()) SWIG_fail;
 
4690
  }
 
4691
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
4692
  return resultobj;
 
4693
fail:
 
4694
  return NULL;
 
4695
}
 
4696
 
 
4697
 
 
4698
SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4699
  PyObject *resultobj = 0;
 
4700
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4701
  wxHtmlContainerCell *result = 0 ;
 
4702
  void *argp1 = 0 ;
 
4703
  int res1 = 0 ;
 
4704
  PyObject *swig_obj[1] ;
 
4705
  
 
4706
  if (!args) SWIG_fail;
 
4707
  swig_obj[0] = args;
 
4708
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4709
  if (!SWIG_IsOK(res1)) {
 
4710
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4711
  }
 
4712
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4713
  {
 
4714
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4715
    result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
 
4716
    wxPyEndAllowThreads(__tstate);
 
4717
    if (PyErr_Occurred()) SWIG_fail;
 
4718
  }
 
4719
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
4720
  return resultobj;
 
4721
fail:
 
4722
  return NULL;
 
4723
}
 
4724
 
 
4725
 
 
4726
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4727
  PyObject *resultobj = 0;
 
4728
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4729
  wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
 
4730
  wxHtmlContainerCell *result = 0 ;
 
4731
  void *argp1 = 0 ;
 
4732
  int res1 = 0 ;
 
4733
  void *argp2 = 0 ;
 
4734
  int res2 = 0 ;
 
4735
  PyObject * obj0 = 0 ;
 
4736
  PyObject * obj1 = 0 ;
 
4737
  char *  kwnames[] = {
 
4738
    (char *) "self",(char *) "c", NULL 
 
4739
  };
 
4740
  
 
4741
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
 
4742
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4743
  if (!SWIG_IsOK(res1)) {
 
4744
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4745
  }
 
4746
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4747
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
4748
  if (!SWIG_IsOK(res2)) {
 
4749
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); 
 
4750
  }
 
4751
  arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
 
4752
  {
 
4753
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4754
    result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
 
4755
    wxPyEndAllowThreads(__tstate);
 
4756
    if (PyErr_Occurred()) SWIG_fail;
 
4757
  }
 
4758
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
4759
  return resultobj;
 
4760
fail:
 
4761
  return NULL;
 
4762
}
 
4763
 
 
4764
 
 
4765
SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4766
  PyObject *resultobj = 0;
 
4767
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4768
  wxHtmlContainerCell *result = 0 ;
 
4769
  void *argp1 = 0 ;
 
4770
  int res1 = 0 ;
 
4771
  PyObject *swig_obj[1] ;
 
4772
  
 
4773
  if (!args) SWIG_fail;
 
4774
  swig_obj[0] = args;
 
4775
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4776
  if (!SWIG_IsOK(res1)) {
 
4777
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4778
  }
 
4779
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4780
  {
 
4781
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4782
    result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
 
4783
    wxPyEndAllowThreads(__tstate);
 
4784
    if (PyErr_Occurred()) SWIG_fail;
 
4785
  }
 
4786
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
4787
  return resultobj;
 
4788
fail:
 
4789
  return NULL;
 
4790
}
 
4791
 
 
4792
 
 
4793
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4794
  PyObject *resultobj = 0;
 
4795
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4796
  int result;
 
4797
  void *argp1 = 0 ;
 
4798
  int res1 = 0 ;
 
4799
  PyObject *swig_obj[1] ;
 
4800
  
 
4801
  if (!args) SWIG_fail;
 
4802
  swig_obj[0] = args;
 
4803
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4804
  if (!SWIG_IsOK(res1)) {
 
4805
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4806
  }
 
4807
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4808
  {
 
4809
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4810
    result = (int)(arg1)->GetFontSize();
 
4811
    wxPyEndAllowThreads(__tstate);
 
4812
    if (PyErr_Occurred()) SWIG_fail;
 
4813
  }
 
4814
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4815
  return resultobj;
 
4816
fail:
 
4817
  return NULL;
 
4818
}
 
4819
 
 
4820
 
 
4821
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4822
  PyObject *resultobj = 0;
 
4823
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4824
  int arg2 ;
 
4825
  void *argp1 = 0 ;
 
4826
  int res1 = 0 ;
 
4827
  int val2 ;
 
4828
  int ecode2 = 0 ;
 
4829
  PyObject * obj0 = 0 ;
 
4830
  PyObject * obj1 = 0 ;
 
4831
  char *  kwnames[] = {
 
4832
    (char *) "self",(char *) "s", NULL 
 
4833
  };
 
4834
  
 
4835
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
4836
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4837
  if (!SWIG_IsOK(res1)) {
 
4838
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4839
  }
 
4840
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4841
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4842
  if (!SWIG_IsOK(ecode2)) {
 
4843
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
 
4844
  } 
 
4845
  arg2 = static_cast< int >(val2);
 
4846
  {
 
4847
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4848
    (arg1)->SetFontSize(arg2);
 
4849
    wxPyEndAllowThreads(__tstate);
 
4850
    if (PyErr_Occurred()) SWIG_fail;
 
4851
  }
 
4852
  resultobj = SWIG_Py_Void();
 
4853
  return resultobj;
 
4854
fail:
 
4855
  return NULL;
 
4856
}
 
4857
 
 
4858
 
 
4859
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4860
  PyObject *resultobj = 0;
 
4861
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4862
  int result;
 
4863
  void *argp1 = 0 ;
 
4864
  int res1 = 0 ;
 
4865
  PyObject *swig_obj[1] ;
 
4866
  
 
4867
  if (!args) SWIG_fail;
 
4868
  swig_obj[0] = args;
 
4869
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4870
  if (!SWIG_IsOK(res1)) {
 
4871
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4872
  }
 
4873
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4874
  {
 
4875
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4876
    result = (int)(arg1)->GetFontBold();
 
4877
    wxPyEndAllowThreads(__tstate);
 
4878
    if (PyErr_Occurred()) SWIG_fail;
 
4879
  }
 
4880
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4881
  return resultobj;
 
4882
fail:
 
4883
  return NULL;
 
4884
}
 
4885
 
 
4886
 
 
4887
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4888
  PyObject *resultobj = 0;
 
4889
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4890
  int arg2 ;
 
4891
  void *argp1 = 0 ;
 
4892
  int res1 = 0 ;
 
4893
  int val2 ;
 
4894
  int ecode2 = 0 ;
 
4895
  PyObject * obj0 = 0 ;
 
4896
  PyObject * obj1 = 0 ;
 
4897
  char *  kwnames[] = {
 
4898
    (char *) "self",(char *) "x", NULL 
 
4899
  };
 
4900
  
 
4901
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
 
4902
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4903
  if (!SWIG_IsOK(res1)) {
 
4904
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4905
  }
 
4906
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4907
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4908
  if (!SWIG_IsOK(ecode2)) {
 
4909
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
 
4910
  } 
 
4911
  arg2 = static_cast< int >(val2);
 
4912
  {
 
4913
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4914
    (arg1)->SetFontBold(arg2);
 
4915
    wxPyEndAllowThreads(__tstate);
 
4916
    if (PyErr_Occurred()) SWIG_fail;
 
4917
  }
 
4918
  resultobj = SWIG_Py_Void();
 
4919
  return resultobj;
 
4920
fail:
 
4921
  return NULL;
 
4922
}
 
4923
 
 
4924
 
 
4925
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4926
  PyObject *resultobj = 0;
 
4927
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4928
  int result;
 
4929
  void *argp1 = 0 ;
 
4930
  int res1 = 0 ;
 
4931
  PyObject *swig_obj[1] ;
 
4932
  
 
4933
  if (!args) SWIG_fail;
 
4934
  swig_obj[0] = args;
 
4935
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4936
  if (!SWIG_IsOK(res1)) {
 
4937
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4938
  }
 
4939
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4940
  {
 
4941
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4942
    result = (int)(arg1)->GetFontItalic();
 
4943
    wxPyEndAllowThreads(__tstate);
 
4944
    if (PyErr_Occurred()) SWIG_fail;
 
4945
  }
 
4946
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4947
  return resultobj;
 
4948
fail:
 
4949
  return NULL;
 
4950
}
 
4951
 
 
4952
 
 
4953
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4954
  PyObject *resultobj = 0;
 
4955
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4956
  int arg2 ;
 
4957
  void *argp1 = 0 ;
 
4958
  int res1 = 0 ;
 
4959
  int val2 ;
 
4960
  int ecode2 = 0 ;
 
4961
  PyObject * obj0 = 0 ;
 
4962
  PyObject * obj1 = 0 ;
 
4963
  char *  kwnames[] = {
 
4964
    (char *) "self",(char *) "x", NULL 
 
4965
  };
 
4966
  
 
4967
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
 
4968
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
4969
  if (!SWIG_IsOK(res1)) {
 
4970
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
4971
  }
 
4972
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
4973
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
4974
  if (!SWIG_IsOK(ecode2)) {
 
4975
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
 
4976
  } 
 
4977
  arg2 = static_cast< int >(val2);
 
4978
  {
 
4979
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4980
    (arg1)->SetFontItalic(arg2);
 
4981
    wxPyEndAllowThreads(__tstate);
 
4982
    if (PyErr_Occurred()) SWIG_fail;
 
4983
  }
 
4984
  resultobj = SWIG_Py_Void();
 
4985
  return resultobj;
 
4986
fail:
 
4987
  return NULL;
 
4988
}
 
4989
 
 
4990
 
 
4991
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4992
  PyObject *resultobj = 0;
 
4993
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
4994
  int result;
 
4995
  void *argp1 = 0 ;
 
4996
  int res1 = 0 ;
 
4997
  PyObject *swig_obj[1] ;
 
4998
  
 
4999
  if (!args) SWIG_fail;
 
5000
  swig_obj[0] = args;
 
5001
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5002
  if (!SWIG_IsOK(res1)) {
 
5003
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5004
  }
 
5005
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5006
  {
 
5007
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5008
    result = (int)(arg1)->GetFontUnderlined();
 
5009
    wxPyEndAllowThreads(__tstate);
 
5010
    if (PyErr_Occurred()) SWIG_fail;
 
5011
  }
 
5012
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5013
  return resultobj;
 
5014
fail:
 
5015
  return NULL;
 
5016
}
 
5017
 
 
5018
 
 
5019
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5020
  PyObject *resultobj = 0;
 
5021
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5022
  int arg2 ;
 
5023
  void *argp1 = 0 ;
 
5024
  int res1 = 0 ;
 
5025
  int val2 ;
 
5026
  int ecode2 = 0 ;
 
5027
  PyObject * obj0 = 0 ;
 
5028
  PyObject * obj1 = 0 ;
 
5029
  char *  kwnames[] = {
 
5030
    (char *) "self",(char *) "x", NULL 
 
5031
  };
 
5032
  
 
5033
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
 
5034
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5035
  if (!SWIG_IsOK(res1)) {
 
5036
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5037
  }
 
5038
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5039
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5040
  if (!SWIG_IsOK(ecode2)) {
 
5041
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
 
5042
  } 
 
5043
  arg2 = static_cast< int >(val2);
 
5044
  {
 
5045
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5046
    (arg1)->SetFontUnderlined(arg2);
 
5047
    wxPyEndAllowThreads(__tstate);
 
5048
    if (PyErr_Occurred()) SWIG_fail;
 
5049
  }
 
5050
  resultobj = SWIG_Py_Void();
 
5051
  return resultobj;
 
5052
fail:
 
5053
  return NULL;
 
5054
}
 
5055
 
 
5056
 
 
5057
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5058
  PyObject *resultobj = 0;
 
5059
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5060
  int result;
 
5061
  void *argp1 = 0 ;
 
5062
  int res1 = 0 ;
 
5063
  PyObject *swig_obj[1] ;
 
5064
  
 
5065
  if (!args) SWIG_fail;
 
5066
  swig_obj[0] = args;
 
5067
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5068
  if (!SWIG_IsOK(res1)) {
 
5069
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5070
  }
 
5071
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5072
  {
 
5073
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5074
    result = (int)(arg1)->GetFontFixed();
 
5075
    wxPyEndAllowThreads(__tstate);
 
5076
    if (PyErr_Occurred()) SWIG_fail;
 
5077
  }
 
5078
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5079
  return resultobj;
 
5080
fail:
 
5081
  return NULL;
 
5082
}
 
5083
 
 
5084
 
 
5085
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5086
  PyObject *resultobj = 0;
 
5087
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5088
  int arg2 ;
 
5089
  void *argp1 = 0 ;
 
5090
  int res1 = 0 ;
 
5091
  int val2 ;
 
5092
  int ecode2 = 0 ;
 
5093
  PyObject * obj0 = 0 ;
 
5094
  PyObject * obj1 = 0 ;
 
5095
  char *  kwnames[] = {
 
5096
    (char *) "self",(char *) "x", NULL 
 
5097
  };
 
5098
  
 
5099
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
 
5100
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5101
  if (!SWIG_IsOK(res1)) {
 
5102
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5103
  }
 
5104
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5105
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5106
  if (!SWIG_IsOK(ecode2)) {
 
5107
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
 
5108
  } 
 
5109
  arg2 = static_cast< int >(val2);
 
5110
  {
 
5111
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5112
    (arg1)->SetFontFixed(arg2);
 
5113
    wxPyEndAllowThreads(__tstate);
 
5114
    if (PyErr_Occurred()) SWIG_fail;
 
5115
  }
 
5116
  resultobj = SWIG_Py_Void();
 
5117
  return resultobj;
 
5118
fail:
 
5119
  return NULL;
 
5120
}
 
5121
 
 
5122
 
 
5123
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5124
  PyObject *resultobj = 0;
 
5125
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5126
  int result;
 
5127
  void *argp1 = 0 ;
 
5128
  int res1 = 0 ;
 
5129
  PyObject *swig_obj[1] ;
 
5130
  
 
5131
  if (!args) SWIG_fail;
 
5132
  swig_obj[0] = args;
 
5133
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5134
  if (!SWIG_IsOK(res1)) {
 
5135
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5136
  }
 
5137
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5138
  {
 
5139
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5140
    result = (int)(arg1)->GetAlign();
 
5141
    wxPyEndAllowThreads(__tstate);
 
5142
    if (PyErr_Occurred()) SWIG_fail;
 
5143
  }
 
5144
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5145
  return resultobj;
 
5146
fail:
 
5147
  return NULL;
 
5148
}
 
5149
 
 
5150
 
 
5151
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5152
  PyObject *resultobj = 0;
 
5153
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5154
  int arg2 ;
 
5155
  void *argp1 = 0 ;
 
5156
  int res1 = 0 ;
 
5157
  int val2 ;
 
5158
  int ecode2 = 0 ;
 
5159
  PyObject * obj0 = 0 ;
 
5160
  PyObject * obj1 = 0 ;
 
5161
  char *  kwnames[] = {
 
5162
    (char *) "self",(char *) "a", NULL 
 
5163
  };
 
5164
  
 
5165
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
 
5166
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5167
  if (!SWIG_IsOK(res1)) {
 
5168
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5169
  }
 
5170
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5171
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5172
  if (!SWIG_IsOK(ecode2)) {
 
5173
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
 
5174
  } 
 
5175
  arg2 = static_cast< int >(val2);
 
5176
  {
 
5177
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5178
    (arg1)->SetAlign(arg2);
 
5179
    wxPyEndAllowThreads(__tstate);
 
5180
    if (PyErr_Occurred()) SWIG_fail;
 
5181
  }
 
5182
  resultobj = SWIG_Py_Void();
 
5183
  return resultobj;
 
5184
fail:
 
5185
  return NULL;
 
5186
}
 
5187
 
 
5188
 
 
5189
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5190
  PyObject *resultobj = 0;
 
5191
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5192
  wxColour result;
 
5193
  void *argp1 = 0 ;
 
5194
  int res1 = 0 ;
 
5195
  PyObject *swig_obj[1] ;
 
5196
  
 
5197
  if (!args) SWIG_fail;
 
5198
  swig_obj[0] = args;
 
5199
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5200
  if (!SWIG_IsOK(res1)) {
 
5201
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5202
  }
 
5203
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5204
  {
 
5205
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5206
    result = (arg1)->GetLinkColor();
 
5207
    wxPyEndAllowThreads(__tstate);
 
5208
    if (PyErr_Occurred()) SWIG_fail;
 
5209
  }
 
5210
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
5211
  return resultobj;
 
5212
fail:
 
5213
  return NULL;
 
5214
}
 
5215
 
 
5216
 
 
5217
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5218
  PyObject *resultobj = 0;
 
5219
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5220
  wxColour *arg2 = 0 ;
 
5221
  void *argp1 = 0 ;
 
5222
  int res1 = 0 ;
 
5223
  wxColour temp2 ;
 
5224
  PyObject * obj0 = 0 ;
 
5225
  PyObject * obj1 = 0 ;
 
5226
  char *  kwnames[] = {
 
5227
    (char *) "self",(char *) "clr", NULL 
 
5228
  };
 
5229
  
 
5230
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
 
5231
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5232
  if (!SWIG_IsOK(res1)) {
 
5233
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5234
  }
 
5235
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5236
  {
 
5237
    arg2 = &temp2;
 
5238
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
5239
  }
 
5240
  {
 
5241
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5242
    (arg1)->SetLinkColor((wxColour const &)*arg2);
 
5243
    wxPyEndAllowThreads(__tstate);
 
5244
    if (PyErr_Occurred()) SWIG_fail;
 
5245
  }
 
5246
  resultobj = SWIG_Py_Void();
 
5247
  return resultobj;
 
5248
fail:
 
5249
  return NULL;
 
5250
}
 
5251
 
 
5252
 
 
5253
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5254
  PyObject *resultobj = 0;
 
5255
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5256
  wxColour result;
 
5257
  void *argp1 = 0 ;
 
5258
  int res1 = 0 ;
 
5259
  PyObject *swig_obj[1] ;
 
5260
  
 
5261
  if (!args) SWIG_fail;
 
5262
  swig_obj[0] = args;
 
5263
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5264
  if (!SWIG_IsOK(res1)) {
 
5265
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5266
  }
 
5267
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5268
  {
 
5269
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5270
    result = (arg1)->GetActualColor();
 
5271
    wxPyEndAllowThreads(__tstate);
 
5272
    if (PyErr_Occurred()) SWIG_fail;
 
5273
  }
 
5274
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
5275
  return resultobj;
 
5276
fail:
 
5277
  return NULL;
 
5278
}
 
5279
 
 
5280
 
 
5281
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5282
  PyObject *resultobj = 0;
 
5283
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5284
  wxColour *arg2 = 0 ;
 
5285
  void *argp1 = 0 ;
 
5286
  int res1 = 0 ;
 
5287
  wxColour temp2 ;
 
5288
  PyObject * obj0 = 0 ;
 
5289
  PyObject * obj1 = 0 ;
 
5290
  char *  kwnames[] = {
 
5291
    (char *) "self",(char *) "clr", NULL 
 
5292
  };
 
5293
  
 
5294
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
 
5295
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5296
  if (!SWIG_IsOK(res1)) {
 
5297
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5298
  }
 
5299
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5300
  {
 
5301
    arg2 = &temp2;
 
5302
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
5303
  }
 
5304
  {
 
5305
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5306
    (arg1)->SetActualColor((wxColour const &)*arg2);
 
5307
    wxPyEndAllowThreads(__tstate);
 
5308
    if (PyErr_Occurred()) SWIG_fail;
 
5309
  }
 
5310
  resultobj = SWIG_Py_Void();
 
5311
  return resultobj;
 
5312
fail:
 
5313
  return NULL;
 
5314
}
 
5315
 
 
5316
 
 
5317
SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5318
  PyObject *resultobj = 0;
 
5319
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5320
  wxString *arg2 = 0 ;
 
5321
  void *argp1 = 0 ;
 
5322
  int res1 = 0 ;
 
5323
  bool temp2 = false ;
 
5324
  PyObject * obj0 = 0 ;
 
5325
  PyObject * obj1 = 0 ;
 
5326
  char *  kwnames[] = {
 
5327
    (char *) "self",(char *) "link", NULL 
 
5328
  };
 
5329
  
 
5330
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
 
5331
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5332
  if (!SWIG_IsOK(res1)) {
 
5333
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5334
  }
 
5335
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5336
  {
 
5337
    arg2 = wxString_in_helper(obj1);
 
5338
    if (arg2 == NULL) SWIG_fail;
 
5339
    temp2 = true;
 
5340
  }
 
5341
  {
 
5342
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5343
    (arg1)->SetLink((wxString const &)*arg2);
 
5344
    wxPyEndAllowThreads(__tstate);
 
5345
    if (PyErr_Occurred()) SWIG_fail;
 
5346
  }
 
5347
  resultobj = SWIG_Py_Void();
 
5348
  {
 
5349
    if (temp2)
 
5350
    delete arg2;
 
5351
  }
 
5352
  return resultobj;
 
5353
fail:
 
5354
  {
 
5355
    if (temp2)
 
5356
    delete arg2;
 
5357
  }
 
5358
  return NULL;
 
5359
}
 
5360
 
 
5361
 
 
5362
SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5363
  PyObject *resultobj = 0;
 
5364
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5365
  wxFont *result = 0 ;
 
5366
  void *argp1 = 0 ;
 
5367
  int res1 = 0 ;
 
5368
  PyObject *swig_obj[1] ;
 
5369
  
 
5370
  if (!args) SWIG_fail;
 
5371
  swig_obj[0] = args;
 
5372
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5373
  if (!SWIG_IsOK(res1)) {
 
5374
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5375
  }
 
5376
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5377
  {
 
5378
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5379
    result = (wxFont *)(arg1)->CreateCurrentFont();
 
5380
    wxPyEndAllowThreads(__tstate);
 
5381
    if (PyErr_Occurred()) SWIG_fail;
 
5382
  }
 
5383
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 |  0 );
 
5384
  return resultobj;
 
5385
fail:
 
5386
  return NULL;
 
5387
}
 
5388
 
 
5389
 
 
5390
SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5391
  PyObject *resultobj = 0;
 
5392
  wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
 
5393
  SwigValueWrapper<wxHtmlLinkInfo > result;
 
5394
  void *argp1 = 0 ;
 
5395
  int res1 = 0 ;
 
5396
  PyObject *swig_obj[1] ;
 
5397
  
 
5398
  if (!args) SWIG_fail;
 
5399
  swig_obj[0] = args;
 
5400
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5401
  if (!SWIG_IsOK(res1)) {
 
5402
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); 
 
5403
  }
 
5404
  arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
 
5405
  {
 
5406
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5407
    result = (arg1)->GetLink();
 
5408
    wxPyEndAllowThreads(__tstate);
 
5409
    if (PyErr_Occurred()) SWIG_fail;
 
5410
  }
 
5411
  resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN |  0 );
 
5412
  return resultobj;
 
5413
fail:
 
5414
  return NULL;
 
5415
}
 
5416
 
 
5417
 
 
5418
SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5419
  PyObject *obj;
 
5420
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
5421
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
 
5422
  return SWIG_Py_Void();
 
5423
}
 
5424
 
 
5425
SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5426
  return SWIG_Python_InitShadowInstance(args);
 
5427
}
 
5428
 
 
5429
SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5430
  PyObject *resultobj = 0;
 
5431
  wxPyHtmlTagHandler *result = 0 ;
 
5432
  
 
5433
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
 
5434
  {
 
5435
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5436
    result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
 
5437
    wxPyEndAllowThreads(__tstate);
 
5438
    if (PyErr_Occurred()) SWIG_fail;
 
5439
  }
 
5440
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW |  0 );
 
5441
  return resultobj;
 
5442
fail:
 
5443
  return NULL;
 
5444
}
 
5445
 
 
5446
 
 
5447
SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5448
  PyObject *resultobj = 0;
 
5449
  wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
 
5450
  PyObject *arg2 = (PyObject *) 0 ;
 
5451
  PyObject *arg3 = (PyObject *) 0 ;
 
5452
  void *argp1 = 0 ;
 
5453
  int res1 = 0 ;
 
5454
  PyObject * obj0 = 0 ;
 
5455
  PyObject * obj1 = 0 ;
 
5456
  PyObject * obj2 = 0 ;
 
5457
  char *  kwnames[] = {
 
5458
    (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5459
  };
 
5460
  
 
5461
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5462
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 |  0 );
 
5463
  if (!SWIG_IsOK(res1)) {
 
5464
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); 
 
5465
  }
 
5466
  arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
 
5467
  arg2 = obj1;
 
5468
  arg3 = obj2;
 
5469
  {
 
5470
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5471
    (arg1)->_setCallbackInfo(arg2,arg3);
 
5472
    wxPyEndAllowThreads(__tstate);
 
5473
    if (PyErr_Occurred()) SWIG_fail;
 
5474
  }
 
5475
  resultobj = SWIG_Py_Void();
 
5476
  return resultobj;
 
5477
fail:
 
5478
  return NULL;
 
5479
}
 
5480
 
 
5481
 
 
5482
SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5483
  PyObject *resultobj = 0;
 
5484
  wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
 
5485
  wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
 
5486
  void *argp1 = 0 ;
 
5487
  int res1 = 0 ;
 
5488
  void *argp2 = 0 ;
 
5489
  int res2 = 0 ;
 
5490
  PyObject * obj0 = 0 ;
 
5491
  PyObject * obj1 = 0 ;
 
5492
  char *  kwnames[] = {
 
5493
    (char *) "self",(char *) "parser", NULL 
 
5494
  };
 
5495
  
 
5496
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
 
5497
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 |  0 );
 
5498
  if (!SWIG_IsOK(res1)) {
 
5499
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); 
 
5500
  }
 
5501
  arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
 
5502
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
5503
  if (!SWIG_IsOK(res2)) {
 
5504
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); 
 
5505
  }
 
5506
  arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
 
5507
  {
 
5508
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5509
    (arg1)->SetParser(arg2);
 
5510
    wxPyEndAllowThreads(__tstate);
 
5511
    if (PyErr_Occurred()) SWIG_fail;
 
5512
  }
 
5513
  resultobj = SWIG_Py_Void();
 
5514
  return resultobj;
 
5515
fail:
 
5516
  return NULL;
 
5517
}
 
5518
 
 
5519
 
 
5520
SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5521
  PyObject *resultobj = 0;
 
5522
  wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
 
5523
  wxHtmlParser *result = 0 ;
 
5524
  void *argp1 = 0 ;
 
5525
  int res1 = 0 ;
 
5526
  PyObject *swig_obj[1] ;
 
5527
  
 
5528
  if (!args) SWIG_fail;
 
5529
  swig_obj[0] = args;
 
5530
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 |  0 );
 
5531
  if (!SWIG_IsOK(res1)) {
 
5532
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); 
 
5533
  }
 
5534
  arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
 
5535
  {
 
5536
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5537
    result = (wxHtmlParser *)(arg1)->GetParser();
 
5538
    wxPyEndAllowThreads(__tstate);
 
5539
    if (PyErr_Occurred()) SWIG_fail;
 
5540
  }
 
5541
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
5542
  return resultobj;
 
5543
fail:
 
5544
  return NULL;
 
5545
}
 
5546
 
 
5547
 
 
5548
SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5549
  PyObject *resultobj = 0;
 
5550
  wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
 
5551
  wxHtmlTag *arg2 = 0 ;
 
5552
  void *argp1 = 0 ;
 
5553
  int res1 = 0 ;
 
5554
  void *argp2 = 0 ;
 
5555
  int res2 = 0 ;
 
5556
  PyObject * obj0 = 0 ;
 
5557
  PyObject * obj1 = 0 ;
 
5558
  char *  kwnames[] = {
 
5559
    (char *) "self",(char *) "tag", NULL 
 
5560
  };
 
5561
  
 
5562
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
 
5563
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 |  0 );
 
5564
  if (!SWIG_IsOK(res1)) {
 
5565
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); 
 
5566
  }
 
5567
  arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
 
5568
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag,  0  | 0);
 
5569
  if (!SWIG_IsOK(res2)) {
 
5570
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
5571
  }
 
5572
  if (!argp2) {
 
5573
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
5574
  }
 
5575
  arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
 
5576
  {
 
5577
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5578
    (arg1)->ParseInner((wxHtmlTag const &)*arg2);
 
5579
    wxPyEndAllowThreads(__tstate);
 
5580
    if (PyErr_Occurred()) SWIG_fail;
 
5581
  }
 
5582
  resultobj = SWIG_Py_Void();
 
5583
  return resultobj;
 
5584
fail:
 
5585
  return NULL;
 
5586
}
 
5587
 
 
5588
 
 
5589
SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5590
  PyObject *obj;
 
5591
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
5592
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
 
5593
  return SWIG_Py_Void();
 
5594
}
 
5595
 
 
5596
SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5597
  return SWIG_Python_InitShadowInstance(args);
 
5598
}
 
5599
 
 
5600
SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5601
  PyObject *resultobj = 0;
 
5602
  wxPyHtmlWinTagHandler *result = 0 ;
 
5603
  
 
5604
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
 
5605
  {
 
5606
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5607
    result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
 
5608
    wxPyEndAllowThreads(__tstate);
 
5609
    if (PyErr_Occurred()) SWIG_fail;
 
5610
  }
 
5611
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW |  0 );
 
5612
  return resultobj;
 
5613
fail:
 
5614
  return NULL;
 
5615
}
 
5616
 
 
5617
 
 
5618
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5619
  PyObject *resultobj = 0;
 
5620
  wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
 
5621
  PyObject *arg2 = (PyObject *) 0 ;
 
5622
  PyObject *arg3 = (PyObject *) 0 ;
 
5623
  void *argp1 = 0 ;
 
5624
  int res1 = 0 ;
 
5625
  PyObject * obj0 = 0 ;
 
5626
  PyObject * obj1 = 0 ;
 
5627
  PyObject * obj2 = 0 ;
 
5628
  char *  kwnames[] = {
 
5629
    (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5630
  };
 
5631
  
 
5632
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5633
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 |  0 );
 
5634
  if (!SWIG_IsOK(res1)) {
 
5635
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); 
 
5636
  }
 
5637
  arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
 
5638
  arg2 = obj1;
 
5639
  arg3 = obj2;
 
5640
  {
 
5641
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5642
    (arg1)->_setCallbackInfo(arg2,arg3);
 
5643
    wxPyEndAllowThreads(__tstate);
 
5644
    if (PyErr_Occurred()) SWIG_fail;
 
5645
  }
 
5646
  resultobj = SWIG_Py_Void();
 
5647
  return resultobj;
 
5648
fail:
 
5649
  return NULL;
 
5650
}
 
5651
 
 
5652
 
 
5653
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5654
  PyObject *resultobj = 0;
 
5655
  wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
 
5656
  wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
 
5657
  void *argp1 = 0 ;
 
5658
  int res1 = 0 ;
 
5659
  void *argp2 = 0 ;
 
5660
  int res2 = 0 ;
 
5661
  PyObject * obj0 = 0 ;
 
5662
  PyObject * obj1 = 0 ;
 
5663
  char *  kwnames[] = {
 
5664
    (char *) "self",(char *) "parser", NULL 
 
5665
  };
 
5666
  
 
5667
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
 
5668
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 |  0 );
 
5669
  if (!SWIG_IsOK(res1)) {
 
5670
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); 
 
5671
  }
 
5672
  arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
 
5673
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 |  0 );
 
5674
  if (!SWIG_IsOK(res2)) {
 
5675
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); 
 
5676
  }
 
5677
  arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
 
5678
  {
 
5679
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5680
    (arg1)->SetParser(arg2);
 
5681
    wxPyEndAllowThreads(__tstate);
 
5682
    if (PyErr_Occurred()) SWIG_fail;
 
5683
  }
 
5684
  resultobj = SWIG_Py_Void();
 
5685
  return resultobj;
 
5686
fail:
 
5687
  return NULL;
 
5688
}
 
5689
 
 
5690
 
 
5691
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5692
  PyObject *resultobj = 0;
 
5693
  wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
 
5694
  wxHtmlWinParser *result = 0 ;
 
5695
  void *argp1 = 0 ;
 
5696
  int res1 = 0 ;
 
5697
  PyObject *swig_obj[1] ;
 
5698
  
 
5699
  if (!args) SWIG_fail;
 
5700
  swig_obj[0] = args;
 
5701
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 |  0 );
 
5702
  if (!SWIG_IsOK(res1)) {
 
5703
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); 
 
5704
  }
 
5705
  arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
 
5706
  {
 
5707
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5708
    result = (wxHtmlWinParser *)(arg1)->GetParser();
 
5709
    wxPyEndAllowThreads(__tstate);
 
5710
    if (PyErr_Occurred()) SWIG_fail;
 
5711
  }
 
5712
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
5713
  return resultobj;
 
5714
fail:
 
5715
  return NULL;
 
5716
}
 
5717
 
 
5718
 
 
5719
SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5720
  PyObject *resultobj = 0;
 
5721
  wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
 
5722
  wxHtmlTag *arg2 = 0 ;
 
5723
  void *argp1 = 0 ;
 
5724
  int res1 = 0 ;
 
5725
  void *argp2 = 0 ;
 
5726
  int res2 = 0 ;
 
5727
  PyObject * obj0 = 0 ;
 
5728
  PyObject * obj1 = 0 ;
 
5729
  char *  kwnames[] = {
 
5730
    (char *) "self",(char *) "tag", NULL 
 
5731
  };
 
5732
  
 
5733
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
 
5734
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 |  0 );
 
5735
  if (!SWIG_IsOK(res1)) {
 
5736
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); 
 
5737
  }
 
5738
  arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
 
5739
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag,  0  | 0);
 
5740
  if (!SWIG_IsOK(res2)) {
 
5741
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
5742
  }
 
5743
  if (!argp2) {
 
5744
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
5745
  }
 
5746
  arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
 
5747
  {
 
5748
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5749
    (arg1)->ParseInner((wxHtmlTag const &)*arg2);
 
5750
    wxPyEndAllowThreads(__tstate);
 
5751
    if (PyErr_Occurred()) SWIG_fail;
 
5752
  }
 
5753
  resultobj = SWIG_Py_Void();
 
5754
  return resultobj;
 
5755
fail:
 
5756
  return NULL;
 
5757
}
 
5758
 
 
5759
 
 
5760
SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5761
  PyObject *obj;
 
5762
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
5763
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
 
5764
  return SWIG_Py_Void();
 
5765
}
 
5766
 
 
5767
SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5768
  return SWIG_Python_InitShadowInstance(args);
 
5769
}
 
5770
 
 
5771
SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5772
  PyObject *resultobj = 0;
 
5773
  PyObject *arg1 = (PyObject *) 0 ;
 
5774
  PyObject * obj0 = 0 ;
 
5775
  char *  kwnames[] = {
 
5776
    (char *) "tagHandlerClass", NULL 
 
5777
  };
 
5778
  
 
5779
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
 
5780
  arg1 = obj0;
 
5781
  {
 
5782
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5783
    wxHtmlWinParser_AddTagHandler(arg1);
 
5784
    wxPyEndAllowThreads(__tstate);
 
5785
    if (PyErr_Occurred()) SWIG_fail;
 
5786
  }
 
5787
  resultobj = SWIG_Py_Void();
 
5788
  return resultobj;
 
5789
fail:
 
5790
  return NULL;
 
5791
}
 
5792
 
 
5793
 
 
5794
SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5795
  PyObject *resultobj = 0;
 
5796
  wxHtmlSelection *result = 0 ;
 
5797
  
 
5798
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
 
5799
  {
 
5800
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5801
    result = (wxHtmlSelection *)new wxHtmlSelection();
 
5802
    wxPyEndAllowThreads(__tstate);
 
5803
    if (PyErr_Occurred()) SWIG_fail;
 
5804
  }
 
5805
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW |  0 );
 
5806
  return resultobj;
 
5807
fail:
 
5808
  return NULL;
 
5809
}
 
5810
 
 
5811
 
 
5812
SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5813
  PyObject *resultobj = 0;
 
5814
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
5815
  void *argp1 = 0 ;
 
5816
  int res1 = 0 ;
 
5817
  PyObject *swig_obj[1] ;
 
5818
  
 
5819
  if (!args) SWIG_fail;
 
5820
  swig_obj[0] = args;
 
5821
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN |  0 );
 
5822
  if (!SWIG_IsOK(res1)) {
 
5823
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); 
 
5824
  }
 
5825
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
5826
  {
 
5827
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5828
    delete arg1;
 
5829
    
 
5830
    wxPyEndAllowThreads(__tstate);
 
5831
    if (PyErr_Occurred()) SWIG_fail;
 
5832
  }
 
5833
  resultobj = SWIG_Py_Void();
 
5834
  return resultobj;
 
5835
fail:
 
5836
  return NULL;
 
5837
}
 
5838
 
 
5839
 
 
5840
SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5841
  PyObject *resultobj = 0;
 
5842
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
5843
  wxPoint *arg2 = 0 ;
 
5844
  wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
 
5845
  wxPoint *arg4 = 0 ;
 
5846
  wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
 
5847
  void *argp1 = 0 ;
 
5848
  int res1 = 0 ;
 
5849
  wxPoint temp2 ;
 
5850
  void *argp3 = 0 ;
 
5851
  int res3 = 0 ;
 
5852
  wxPoint temp4 ;
 
5853
  void *argp5 = 0 ;
 
5854
  int res5 = 0 ;
 
5855
  PyObject * obj0 = 0 ;
 
5856
  PyObject * obj1 = 0 ;
 
5857
  PyObject * obj2 = 0 ;
 
5858
  PyObject * obj3 = 0 ;
 
5859
  PyObject * obj4 = 0 ;
 
5860
  char *  kwnames[] = {
 
5861
    (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL 
 
5862
  };
 
5863
  
 
5864
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
5865
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
5866
  if (!SWIG_IsOK(res1)) {
 
5867
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); 
 
5868
  }
 
5869
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
5870
  {
 
5871
    arg2 = &temp2;
 
5872
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
5873
  }
 
5874
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
5875
  if (!SWIG_IsOK(res3)) {
 
5876
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); 
 
5877
  }
 
5878
  arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
 
5879
  {
 
5880
    arg4 = &temp4;
 
5881
    if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
5882
  }
 
5883
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
5884
  if (!SWIG_IsOK(res5)) {
 
5885
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'"); 
 
5886
  }
 
5887
  arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
 
5888
  {
 
5889
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5890
    (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
 
5891
    wxPyEndAllowThreads(__tstate);
 
5892
    if (PyErr_Occurred()) SWIG_fail;
 
5893
  }
 
5894
  resultobj = SWIG_Py_Void();
 
5895
  return resultobj;
 
5896
fail:
 
5897
  return NULL;
 
5898
}
 
5899
 
 
5900
 
 
5901
SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5902
  PyObject *resultobj = 0;
 
5903
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
5904
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
5905
  wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
 
5906
  void *argp1 = 0 ;
 
5907
  int res1 = 0 ;
 
5908
  void *argp2 = 0 ;
 
5909
  int res2 = 0 ;
 
5910
  void *argp3 = 0 ;
 
5911
  int res3 = 0 ;
 
5912
  PyObject * obj0 = 0 ;
 
5913
  PyObject * obj1 = 0 ;
 
5914
  PyObject * obj2 = 0 ;
 
5915
  char *  kwnames[] = {
 
5916
    (char *) "self",(char *) "fromCell",(char *) "toCell", NULL 
 
5917
  };
 
5918
  
 
5919
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
5920
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
5921
  if (!SWIG_IsOK(res1)) {
 
5922
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); 
 
5923
  }
 
5924
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
5925
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
5926
  if (!SWIG_IsOK(res2)) {
 
5927
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); 
 
5928
  }
 
5929
  arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
5930
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
5931
  if (!SWIG_IsOK(res3)) {
 
5932
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); 
 
5933
  }
 
5934
  arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
 
5935
  {
 
5936
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5937
    (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
 
5938
    wxPyEndAllowThreads(__tstate);
 
5939
    if (PyErr_Occurred()) SWIG_fail;
 
5940
  }
 
5941
  resultobj = SWIG_Py_Void();
 
5942
  return resultobj;
 
5943
fail:
 
5944
  return NULL;
 
5945
}
 
5946
 
 
5947
 
 
5948
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5949
  PyObject *resultobj = 0;
 
5950
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
5951
  wxHtmlCell *result = 0 ;
 
5952
  void *argp1 = 0 ;
 
5953
  int res1 = 0 ;
 
5954
  PyObject *swig_obj[1] ;
 
5955
  
 
5956
  if (!args) SWIG_fail;
 
5957
  swig_obj[0] = args;
 
5958
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
5959
  if (!SWIG_IsOK(res1)) {
 
5960
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
5961
  }
 
5962
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
5963
  {
 
5964
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5965
    result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
 
5966
    wxPyEndAllowThreads(__tstate);
 
5967
    if (PyErr_Occurred()) SWIG_fail;
 
5968
  }
 
5969
  {
 
5970
    resultobj = wxPyMake_wxObject(result, 0); 
 
5971
  }
 
5972
  return resultobj;
 
5973
fail:
 
5974
  return NULL;
 
5975
}
 
5976
 
 
5977
 
 
5978
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5979
  PyObject *resultobj = 0;
 
5980
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
5981
  wxHtmlCell *result = 0 ;
 
5982
  void *argp1 = 0 ;
 
5983
  int res1 = 0 ;
 
5984
  PyObject *swig_obj[1] ;
 
5985
  
 
5986
  if (!args) SWIG_fail;
 
5987
  swig_obj[0] = args;
 
5988
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
5989
  if (!SWIG_IsOK(res1)) {
 
5990
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
5991
  }
 
5992
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
5993
  {
 
5994
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5995
    result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
 
5996
    wxPyEndAllowThreads(__tstate);
 
5997
    if (PyErr_Occurred()) SWIG_fail;
 
5998
  }
 
5999
  {
 
6000
    resultobj = wxPyMake_wxObject(result, 0); 
 
6001
  }
 
6002
  return resultobj;
 
6003
fail:
 
6004
  return NULL;
 
6005
}
 
6006
 
 
6007
 
 
6008
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6009
  PyObject *resultobj = 0;
 
6010
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6011
  wxPoint *result = 0 ;
 
6012
  void *argp1 = 0 ;
 
6013
  int res1 = 0 ;
 
6014
  PyObject *swig_obj[1] ;
 
6015
  
 
6016
  if (!args) SWIG_fail;
 
6017
  swig_obj[0] = args;
 
6018
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6019
  if (!SWIG_IsOK(res1)) {
 
6020
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
6021
  }
 
6022
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6023
  {
 
6024
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6025
    {
 
6026
      wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
 
6027
      result = (wxPoint *) &_result_ref;
 
6028
    }
 
6029
    wxPyEndAllowThreads(__tstate);
 
6030
    if (PyErr_Occurred()) SWIG_fail;
 
6031
  }
 
6032
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 |  0 );
 
6033
  return resultobj;
 
6034
fail:
 
6035
  return NULL;
 
6036
}
 
6037
 
 
6038
 
 
6039
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6040
  PyObject *resultobj = 0;
 
6041
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6042
  wxPoint *result = 0 ;
 
6043
  void *argp1 = 0 ;
 
6044
  int res1 = 0 ;
 
6045
  PyObject *swig_obj[1] ;
 
6046
  
 
6047
  if (!args) SWIG_fail;
 
6048
  swig_obj[0] = args;
 
6049
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6050
  if (!SWIG_IsOK(res1)) {
 
6051
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
6052
  }
 
6053
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6054
  {
 
6055
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6056
    {
 
6057
      wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
 
6058
      result = (wxPoint *) &_result_ref;
 
6059
    }
 
6060
    wxPyEndAllowThreads(__tstate);
 
6061
    if (PyErr_Occurred()) SWIG_fail;
 
6062
  }
 
6063
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 |  0 );
 
6064
  return resultobj;
 
6065
fail:
 
6066
  return NULL;
 
6067
}
 
6068
 
 
6069
 
 
6070
SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6071
  PyObject *resultobj = 0;
 
6072
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6073
  wxPoint *result = 0 ;
 
6074
  void *argp1 = 0 ;
 
6075
  int res1 = 0 ;
 
6076
  PyObject *swig_obj[1] ;
 
6077
  
 
6078
  if (!args) SWIG_fail;
 
6079
  swig_obj[0] = args;
 
6080
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6081
  if (!SWIG_IsOK(res1)) {
 
6082
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
6083
  }
 
6084
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6085
  {
 
6086
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6087
    {
 
6088
      wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
 
6089
      result = (wxPoint *) &_result_ref;
 
6090
    }
 
6091
    wxPyEndAllowThreads(__tstate);
 
6092
    if (PyErr_Occurred()) SWIG_fail;
 
6093
  }
 
6094
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 |  0 );
 
6095
  return resultobj;
 
6096
fail:
 
6097
  return NULL;
 
6098
}
 
6099
 
 
6100
 
 
6101
SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6102
  PyObject *resultobj = 0;
 
6103
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6104
  wxPoint *result = 0 ;
 
6105
  void *argp1 = 0 ;
 
6106
  int res1 = 0 ;
 
6107
  PyObject *swig_obj[1] ;
 
6108
  
 
6109
  if (!args) SWIG_fail;
 
6110
  swig_obj[0] = args;
 
6111
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6112
  if (!SWIG_IsOK(res1)) {
 
6113
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
6114
  }
 
6115
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6116
  {
 
6117
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6118
    {
 
6119
      wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
 
6120
      result = (wxPoint *) &_result_ref;
 
6121
    }
 
6122
    wxPyEndAllowThreads(__tstate);
 
6123
    if (PyErr_Occurred()) SWIG_fail;
 
6124
  }
 
6125
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 |  0 );
 
6126
  return resultobj;
 
6127
fail:
 
6128
  return NULL;
 
6129
}
 
6130
 
 
6131
 
 
6132
SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6133
  PyObject *resultobj = 0;
 
6134
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6135
  wxPoint *arg2 = 0 ;
 
6136
  void *argp1 = 0 ;
 
6137
  int res1 = 0 ;
 
6138
  wxPoint temp2 ;
 
6139
  PyObject * obj0 = 0 ;
 
6140
  PyObject * obj1 = 0 ;
 
6141
  char *  kwnames[] = {
 
6142
    (char *) "self",(char *) "pos", NULL 
 
6143
  };
 
6144
  
 
6145
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
 
6146
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6147
  if (!SWIG_IsOK(res1)) {
 
6148
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); 
 
6149
  }
 
6150
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6151
  {
 
6152
    arg2 = &temp2;
 
6153
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
6154
  }
 
6155
  {
 
6156
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6157
    (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
 
6158
    wxPyEndAllowThreads(__tstate);
 
6159
    if (PyErr_Occurred()) SWIG_fail;
 
6160
  }
 
6161
  resultobj = SWIG_Py_Void();
 
6162
  return resultobj;
 
6163
fail:
 
6164
  return NULL;
 
6165
}
 
6166
 
 
6167
 
 
6168
SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6169
  PyObject *resultobj = 0;
 
6170
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6171
  wxPoint *arg2 = 0 ;
 
6172
  void *argp1 = 0 ;
 
6173
  int res1 = 0 ;
 
6174
  wxPoint temp2 ;
 
6175
  PyObject * obj0 = 0 ;
 
6176
  PyObject * obj1 = 0 ;
 
6177
  char *  kwnames[] = {
 
6178
    (char *) "self",(char *) "pos", NULL 
 
6179
  };
 
6180
  
 
6181
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
 
6182
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6183
  if (!SWIG_IsOK(res1)) {
 
6184
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); 
 
6185
  }
 
6186
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6187
  {
 
6188
    arg2 = &temp2;
 
6189
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
6190
  }
 
6191
  {
 
6192
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6193
    (arg1)->SetToPrivPos((wxPoint const &)*arg2);
 
6194
    wxPyEndAllowThreads(__tstate);
 
6195
    if (PyErr_Occurred()) SWIG_fail;
 
6196
  }
 
6197
  resultobj = SWIG_Py_Void();
 
6198
  return resultobj;
 
6199
fail:
 
6200
  return NULL;
 
6201
}
 
6202
 
 
6203
 
 
6204
SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6205
  PyObject *resultobj = 0;
 
6206
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6207
  void *argp1 = 0 ;
 
6208
  int res1 = 0 ;
 
6209
  PyObject *swig_obj[1] ;
 
6210
  
 
6211
  if (!args) SWIG_fail;
 
6212
  swig_obj[0] = args;
 
6213
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6214
  if (!SWIG_IsOK(res1)) {
 
6215
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); 
 
6216
  }
 
6217
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6218
  {
 
6219
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6220
    (arg1)->ClearPrivPos();
 
6221
    wxPyEndAllowThreads(__tstate);
 
6222
    if (PyErr_Occurred()) SWIG_fail;
 
6223
  }
 
6224
  resultobj = SWIG_Py_Void();
 
6225
  return resultobj;
 
6226
fail:
 
6227
  return NULL;
 
6228
}
 
6229
 
 
6230
 
 
6231
SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6232
  PyObject *resultobj = 0;
 
6233
  wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
 
6234
  bool result;
 
6235
  void *argp1 = 0 ;
 
6236
  int res1 = 0 ;
 
6237
  PyObject *swig_obj[1] ;
 
6238
  
 
6239
  if (!args) SWIG_fail;
 
6240
  swig_obj[0] = args;
 
6241
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6242
  if (!SWIG_IsOK(res1)) {
 
6243
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); 
 
6244
  }
 
6245
  arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
 
6246
  {
 
6247
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6248
    result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
 
6249
    wxPyEndAllowThreads(__tstate);
 
6250
    if (PyErr_Occurred()) SWIG_fail;
 
6251
  }
 
6252
  resultobj = SWIG_From_bool(static_cast< bool >(result));
 
6253
  return resultobj;
 
6254
fail:
 
6255
  return NULL;
 
6256
}
 
6257
 
 
6258
 
 
6259
SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6260
  PyObject *obj;
 
6261
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
6262
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
 
6263
  return SWIG_Py_Void();
 
6264
}
 
6265
 
 
6266
SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6267
  return SWIG_Python_InitShadowInstance(args);
 
6268
}
 
6269
 
 
6270
SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6271
  PyObject *resultobj = 0;
 
6272
  wxHtmlRenderingState *result = 0 ;
 
6273
  
 
6274
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
 
6275
  {
 
6276
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6277
    result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
 
6278
    wxPyEndAllowThreads(__tstate);
 
6279
    if (PyErr_Occurred()) SWIG_fail;
 
6280
  }
 
6281
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW |  0 );
 
6282
  return resultobj;
 
6283
fail:
 
6284
  return NULL;
 
6285
}
 
6286
 
 
6287
 
 
6288
SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6289
  PyObject *resultobj = 0;
 
6290
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6291
  void *argp1 = 0 ;
 
6292
  int res1 = 0 ;
 
6293
  PyObject *swig_obj[1] ;
 
6294
  
 
6295
  if (!args) SWIG_fail;
 
6296
  swig_obj[0] = args;
 
6297
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN |  0 );
 
6298
  if (!SWIG_IsOK(res1)) {
 
6299
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); 
 
6300
  }
 
6301
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6302
  {
 
6303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6304
    delete arg1;
 
6305
    
 
6306
    wxPyEndAllowThreads(__tstate);
 
6307
    if (PyErr_Occurred()) SWIG_fail;
 
6308
  }
 
6309
  resultobj = SWIG_Py_Void();
 
6310
  return resultobj;
 
6311
fail:
 
6312
  return NULL;
 
6313
}
 
6314
 
 
6315
 
 
6316
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6317
  PyObject *resultobj = 0;
 
6318
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6319
  wxHtmlSelectionState arg2 ;
 
6320
  void *argp1 = 0 ;
 
6321
  int res1 = 0 ;
 
6322
  int val2 ;
 
6323
  int ecode2 = 0 ;
 
6324
  PyObject * obj0 = 0 ;
 
6325
  PyObject * obj1 = 0 ;
 
6326
  char *  kwnames[] = {
 
6327
    (char *) "self",(char *) "s", NULL 
 
6328
  };
 
6329
  
 
6330
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
 
6331
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6332
  if (!SWIG_IsOK(res1)) {
 
6333
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); 
 
6334
  }
 
6335
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6336
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6337
  if (!SWIG_IsOK(ecode2)) {
 
6338
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
 
6339
  } 
 
6340
  arg2 = static_cast< wxHtmlSelectionState >(val2);
 
6341
  {
 
6342
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6343
    (arg1)->SetSelectionState(arg2);
 
6344
    wxPyEndAllowThreads(__tstate);
 
6345
    if (PyErr_Occurred()) SWIG_fail;
 
6346
  }
 
6347
  resultobj = SWIG_Py_Void();
 
6348
  return resultobj;
 
6349
fail:
 
6350
  return NULL;
 
6351
}
 
6352
 
 
6353
 
 
6354
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6355
  PyObject *resultobj = 0;
 
6356
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6357
  wxHtmlSelectionState result;
 
6358
  void *argp1 = 0 ;
 
6359
  int res1 = 0 ;
 
6360
  PyObject *swig_obj[1] ;
 
6361
  
 
6362
  if (!args) SWIG_fail;
 
6363
  swig_obj[0] = args;
 
6364
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6365
  if (!SWIG_IsOK(res1)) {
 
6366
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); 
 
6367
  }
 
6368
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6369
  {
 
6370
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6371
    result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
 
6372
    wxPyEndAllowThreads(__tstate);
 
6373
    if (PyErr_Occurred()) SWIG_fail;
 
6374
  }
 
6375
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6376
  return resultobj;
 
6377
fail:
 
6378
  return NULL;
 
6379
}
 
6380
 
 
6381
 
 
6382
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6383
  PyObject *resultobj = 0;
 
6384
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6385
  wxColour *arg2 = 0 ;
 
6386
  void *argp1 = 0 ;
 
6387
  int res1 = 0 ;
 
6388
  wxColour temp2 ;
 
6389
  PyObject * obj0 = 0 ;
 
6390
  PyObject * obj1 = 0 ;
 
6391
  char *  kwnames[] = {
 
6392
    (char *) "self",(char *) "c", NULL 
 
6393
  };
 
6394
  
 
6395
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
6396
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6397
  if (!SWIG_IsOK(res1)) {
 
6398
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); 
 
6399
  }
 
6400
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6401
  {
 
6402
    arg2 = &temp2;
 
6403
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
6404
  }
 
6405
  {
 
6406
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6407
    (arg1)->SetFgColour((wxColour const &)*arg2);
 
6408
    wxPyEndAllowThreads(__tstate);
 
6409
    if (PyErr_Occurred()) SWIG_fail;
 
6410
  }
 
6411
  resultobj = SWIG_Py_Void();
 
6412
  return resultobj;
 
6413
fail:
 
6414
  return NULL;
 
6415
}
 
6416
 
 
6417
 
 
6418
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6419
  PyObject *resultobj = 0;
 
6420
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6421
  wxColour *result = 0 ;
 
6422
  void *argp1 = 0 ;
 
6423
  int res1 = 0 ;
 
6424
  PyObject *swig_obj[1] ;
 
6425
  
 
6426
  if (!args) SWIG_fail;
 
6427
  swig_obj[0] = args;
 
6428
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6429
  if (!SWIG_IsOK(res1)) {
 
6430
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); 
 
6431
  }
 
6432
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6433
  {
 
6434
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6435
    {
 
6436
      wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
 
6437
      result = (wxColour *) &_result_ref;
 
6438
    }
 
6439
    wxPyEndAllowThreads(__tstate);
 
6440
    if (PyErr_Occurred()) SWIG_fail;
 
6441
  }
 
6442
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 |  0 );
 
6443
  return resultobj;
 
6444
fail:
 
6445
  return NULL;
 
6446
}
 
6447
 
 
6448
 
 
6449
SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6450
  PyObject *resultobj = 0;
 
6451
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6452
  wxColour *arg2 = 0 ;
 
6453
  void *argp1 = 0 ;
 
6454
  int res1 = 0 ;
 
6455
  wxColour temp2 ;
 
6456
  PyObject * obj0 = 0 ;
 
6457
  PyObject * obj1 = 0 ;
 
6458
  char *  kwnames[] = {
 
6459
    (char *) "self",(char *) "c", NULL 
 
6460
  };
 
6461
  
 
6462
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
6463
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6464
  if (!SWIG_IsOK(res1)) {
 
6465
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); 
 
6466
  }
 
6467
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6468
  {
 
6469
    arg2 = &temp2;
 
6470
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
6471
  }
 
6472
  {
 
6473
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6474
    (arg1)->SetBgColour((wxColour const &)*arg2);
 
6475
    wxPyEndAllowThreads(__tstate);
 
6476
    if (PyErr_Occurred()) SWIG_fail;
 
6477
  }
 
6478
  resultobj = SWIG_Py_Void();
 
6479
  return resultobj;
 
6480
fail:
 
6481
  return NULL;
 
6482
}
 
6483
 
 
6484
 
 
6485
SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6486
  PyObject *resultobj = 0;
 
6487
  wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
 
6488
  wxColour *result = 0 ;
 
6489
  void *argp1 = 0 ;
 
6490
  int res1 = 0 ;
 
6491
  PyObject *swig_obj[1] ;
 
6492
  
 
6493
  if (!args) SWIG_fail;
 
6494
  swig_obj[0] = args;
 
6495
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6496
  if (!SWIG_IsOK(res1)) {
 
6497
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); 
 
6498
  }
 
6499
  arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
 
6500
  {
 
6501
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6502
    {
 
6503
      wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
 
6504
      result = (wxColour *) &_result_ref;
 
6505
    }
 
6506
    wxPyEndAllowThreads(__tstate);
 
6507
    if (PyErr_Occurred()) SWIG_fail;
 
6508
  }
 
6509
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 |  0 );
 
6510
  return resultobj;
 
6511
fail:
 
6512
  return NULL;
 
6513
}
 
6514
 
 
6515
 
 
6516
SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6517
  PyObject *obj;
 
6518
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
6519
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
 
6520
  return SWIG_Py_Void();
 
6521
}
 
6522
 
 
6523
SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6524
  return SWIG_Python_InitShadowInstance(args);
 
6525
}
 
6526
 
 
6527
SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6528
  PyObject *resultobj = 0;
 
6529
  wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
 
6530
  wxColour *arg2 = 0 ;
 
6531
  wxColour result;
 
6532
  void *argp1 = 0 ;
 
6533
  int res1 = 0 ;
 
6534
  wxColour temp2 ;
 
6535
  PyObject * obj0 = 0 ;
 
6536
  PyObject * obj1 = 0 ;
 
6537
  char *  kwnames[] = {
 
6538
    (char *) "self",(char *) "clr", NULL 
 
6539
  };
 
6540
  
 
6541
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
6542
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 |  0 );
 
6543
  if (!SWIG_IsOK(res1)) {
 
6544
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); 
 
6545
  }
 
6546
  arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
 
6547
  {
 
6548
    arg2 = &temp2;
 
6549
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
6550
  }
 
6551
  {
 
6552
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6553
    result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
 
6554
    wxPyEndAllowThreads(__tstate);
 
6555
    if (PyErr_Occurred()) SWIG_fail;
 
6556
  }
 
6557
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
6558
  return resultobj;
 
6559
fail:
 
6560
  return NULL;
 
6561
}
 
6562
 
 
6563
 
 
6564
SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6565
  PyObject *resultobj = 0;
 
6566
  wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
 
6567
  wxColour *arg2 = 0 ;
 
6568
  wxColour result;
 
6569
  void *argp1 = 0 ;
 
6570
  int res1 = 0 ;
 
6571
  wxColour temp2 ;
 
6572
  PyObject * obj0 = 0 ;
 
6573
  PyObject * obj1 = 0 ;
 
6574
  char *  kwnames[] = {
 
6575
    (char *) "self",(char *) "clr", NULL 
 
6576
  };
 
6577
  
 
6578
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
6579
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 |  0 );
 
6580
  if (!SWIG_IsOK(res1)) {
 
6581
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); 
 
6582
  }
 
6583
  arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
 
6584
  {
 
6585
    arg2 = &temp2;
 
6586
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
6587
  }
 
6588
  {
 
6589
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6590
    result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
 
6591
    wxPyEndAllowThreads(__tstate);
 
6592
    if (PyErr_Occurred()) SWIG_fail;
 
6593
  }
 
6594
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
6595
  return resultobj;
 
6596
fail:
 
6597
  return NULL;
 
6598
}
 
6599
 
 
6600
 
 
6601
SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6602
  PyObject *obj;
 
6603
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
6604
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
 
6605
  return SWIG_Py_Void();
 
6606
}
 
6607
 
 
6608
SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6609
  PyObject *obj;
 
6610
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
6611
  SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
 
6612
  return SWIG_Py_Void();
 
6613
}
 
6614
 
 
6615
SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6616
  PyObject *resultobj = 0;
 
6617
  wxHtmlRenderingInfo *result = 0 ;
 
6618
  
 
6619
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
 
6620
  {
 
6621
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6622
    result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
 
6623
    wxPyEndAllowThreads(__tstate);
 
6624
    if (PyErr_Occurred()) SWIG_fail;
 
6625
  }
 
6626
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW |  0 );
 
6627
  return resultobj;
 
6628
fail:
 
6629
  return NULL;
 
6630
}
 
6631
 
 
6632
 
 
6633
SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6634
  PyObject *resultobj = 0;
 
6635
  wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
 
6636
  void *argp1 = 0 ;
 
6637
  int res1 = 0 ;
 
6638
  PyObject *swig_obj[1] ;
 
6639
  
 
6640
  if (!args) SWIG_fail;
 
6641
  swig_obj[0] = args;
 
6642
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN |  0 );
 
6643
  if (!SWIG_IsOK(res1)) {
 
6644
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); 
 
6645
  }
 
6646
  arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
 
6647
  {
 
6648
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6649
    delete arg1;
 
6650
    
 
6651
    wxPyEndAllowThreads(__tstate);
 
6652
    if (PyErr_Occurred()) SWIG_fail;
 
6653
  }
 
6654
  resultobj = SWIG_Py_Void();
 
6655
  return resultobj;
 
6656
fail:
 
6657
  return NULL;
 
6658
}
 
6659
 
 
6660
 
 
6661
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6662
  PyObject *resultobj = 0;
 
6663
  wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
 
6664
  wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
 
6665
  void *argp1 = 0 ;
 
6666
  int res1 = 0 ;
 
6667
  void *argp2 = 0 ;
 
6668
  int res2 = 0 ;
 
6669
  PyObject * obj0 = 0 ;
 
6670
  PyObject * obj1 = 0 ;
 
6671
  char *  kwnames[] = {
 
6672
    (char *) "self",(char *) "s", NULL 
 
6673
  };
 
6674
  
 
6675
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
 
6676
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 |  0 );
 
6677
  if (!SWIG_IsOK(res1)) {
 
6678
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); 
 
6679
  }
 
6680
  arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
 
6681
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6682
  if (!SWIG_IsOK(res2)) {
 
6683
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); 
 
6684
  }
 
6685
  arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
 
6686
  {
 
6687
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6688
    (arg1)->SetSelection(arg2);
 
6689
    wxPyEndAllowThreads(__tstate);
 
6690
    if (PyErr_Occurred()) SWIG_fail;
 
6691
  }
 
6692
  resultobj = SWIG_Py_Void();
 
6693
  return resultobj;
 
6694
fail:
 
6695
  return NULL;
 
6696
}
 
6697
 
 
6698
 
 
6699
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6700
  PyObject *resultobj = 0;
 
6701
  wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
 
6702
  wxHtmlSelection *result = 0 ;
 
6703
  void *argp1 = 0 ;
 
6704
  int res1 = 0 ;
 
6705
  PyObject *swig_obj[1] ;
 
6706
  
 
6707
  if (!args) SWIG_fail;
 
6708
  swig_obj[0] = args;
 
6709
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 |  0 );
 
6710
  if (!SWIG_IsOK(res1)) {
 
6711
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'"); 
 
6712
  }
 
6713
  arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
 
6714
  {
 
6715
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6716
    result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
 
6717
    wxPyEndAllowThreads(__tstate);
 
6718
    if (PyErr_Occurred()) SWIG_fail;
 
6719
  }
 
6720
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
6721
  return resultobj;
 
6722
fail:
 
6723
  return NULL;
 
6724
}
 
6725
 
 
6726
 
 
6727
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6728
  PyObject *resultobj = 0;
 
6729
  wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
 
6730
  wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
 
6731
  void *argp1 = 0 ;
 
6732
  int res1 = 0 ;
 
6733
  void *argp2 = 0 ;
 
6734
  int res2 = 0 ;
 
6735
  PyObject * obj0 = 0 ;
 
6736
  PyObject * obj1 = 0 ;
 
6737
  char *  kwnames[] = {
 
6738
    (char *) "self",(char *) "style", NULL 
 
6739
  };
 
6740
  
 
6741
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
6742
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 |  0 );
 
6743
  if (!SWIG_IsOK(res1)) {
 
6744
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); 
 
6745
  }
 
6746
  arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
 
6747
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 |  0 );
 
6748
  if (!SWIG_IsOK(res2)) {
 
6749
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'"); 
 
6750
  }
 
6751
  arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
 
6752
  {
 
6753
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6754
    (arg1)->SetStyle(arg2);
 
6755
    wxPyEndAllowThreads(__tstate);
 
6756
    if (PyErr_Occurred()) SWIG_fail;
 
6757
  }
 
6758
  resultobj = SWIG_Py_Void();
 
6759
  return resultobj;
 
6760
fail:
 
6761
  return NULL;
 
6762
}
 
6763
 
 
6764
 
 
6765
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6766
  PyObject *resultobj = 0;
 
6767
  wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
 
6768
  wxHtmlRenderingStyle *result = 0 ;
 
6769
  void *argp1 = 0 ;
 
6770
  int res1 = 0 ;
 
6771
  PyObject *swig_obj[1] ;
 
6772
  
 
6773
  if (!args) SWIG_fail;
 
6774
  swig_obj[0] = args;
 
6775
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 |  0 );
 
6776
  if (!SWIG_IsOK(res1)) {
 
6777
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); 
 
6778
  }
 
6779
  arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
 
6780
  {
 
6781
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6782
    {
 
6783
      wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
 
6784
      result = (wxHtmlRenderingStyle *) &_result_ref;
 
6785
    }
 
6786
    wxPyEndAllowThreads(__tstate);
 
6787
    if (PyErr_Occurred()) SWIG_fail;
 
6788
  }
 
6789
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 |  0 );
 
6790
  return resultobj;
 
6791
fail:
 
6792
  return NULL;
 
6793
}
 
6794
 
 
6795
 
 
6796
SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6797
  PyObject *resultobj = 0;
 
6798
  wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
 
6799
  wxHtmlRenderingState *result = 0 ;
 
6800
  void *argp1 = 0 ;
 
6801
  int res1 = 0 ;
 
6802
  PyObject *swig_obj[1] ;
 
6803
  
 
6804
  if (!args) SWIG_fail;
 
6805
  swig_obj[0] = args;
 
6806
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 |  0 );
 
6807
  if (!SWIG_IsOK(res1)) {
 
6808
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); 
 
6809
  }
 
6810
  arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
 
6811
  {
 
6812
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6813
    {
 
6814
      wxHtmlRenderingState &_result_ref = (arg1)->GetState();
 
6815
      result = (wxHtmlRenderingState *) &_result_ref;
 
6816
    }
 
6817
    wxPyEndAllowThreads(__tstate);
 
6818
    if (PyErr_Occurred()) SWIG_fail;
 
6819
  }
 
6820
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 |  0 );
 
6821
  return resultobj;
 
6822
fail:
 
6823
  return NULL;
 
6824
}
 
6825
 
 
6826
 
 
6827
SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6828
  PyObject *obj;
 
6829
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
6830
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
 
6831
  return SWIG_Py_Void();
 
6832
}
 
6833
 
 
6834
SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6835
  return SWIG_Python_InitShadowInstance(args);
 
6836
}
 
6837
 
 
6838
SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6839
  PyObject *resultobj = 0;
 
6840
  wxHtmlCell *result = 0 ;
 
6841
  
 
6842
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
 
6843
  {
 
6844
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6845
    result = (wxHtmlCell *)new wxHtmlCell();
 
6846
    wxPyEndAllowThreads(__tstate);
 
6847
    if (PyErr_Occurred()) SWIG_fail;
 
6848
  }
 
6849
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW |  0 );
 
6850
  return resultobj;
 
6851
fail:
 
6852
  return NULL;
 
6853
}
 
6854
 
 
6855
 
 
6856
SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6857
  PyObject *resultobj = 0;
 
6858
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
6859
  void *argp1 = 0 ;
 
6860
  int res1 = 0 ;
 
6861
  PyObject *swig_obj[1] ;
 
6862
  
 
6863
  if (!args) SWIG_fail;
 
6864
  swig_obj[0] = args;
 
6865
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN |  0 );
 
6866
  if (!SWIG_IsOK(res1)) {
 
6867
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
6868
  }
 
6869
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
6870
  {
 
6871
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6872
    delete arg1;
 
6873
    
 
6874
    wxPyEndAllowThreads(__tstate);
 
6875
    if (PyErr_Occurred()) SWIG_fail;
 
6876
  }
 
6877
  resultobj = SWIG_Py_Void();
 
6878
  return resultobj;
 
6879
fail:
 
6880
  return NULL;
 
6881
}
 
6882
 
 
6883
 
 
6884
SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6885
  PyObject *resultobj = 0;
 
6886
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
6887
  int result;
 
6888
  void *argp1 = 0 ;
 
6889
  int res1 = 0 ;
 
6890
  PyObject *swig_obj[1] ;
 
6891
  
 
6892
  if (!args) SWIG_fail;
 
6893
  swig_obj[0] = args;
 
6894
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
6895
  if (!SWIG_IsOK(res1)) {
 
6896
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
6897
  }
 
6898
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
6899
  {
 
6900
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6901
    result = (int)(arg1)->GetPosX();
 
6902
    wxPyEndAllowThreads(__tstate);
 
6903
    if (PyErr_Occurred()) SWIG_fail;
 
6904
  }
 
6905
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6906
  return resultobj;
 
6907
fail:
 
6908
  return NULL;
 
6909
}
 
6910
 
 
6911
 
 
6912
SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6913
  PyObject *resultobj = 0;
 
6914
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
6915
  int result;
 
6916
  void *argp1 = 0 ;
 
6917
  int res1 = 0 ;
 
6918
  PyObject *swig_obj[1] ;
 
6919
  
 
6920
  if (!args) SWIG_fail;
 
6921
  swig_obj[0] = args;
 
6922
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
6923
  if (!SWIG_IsOK(res1)) {
 
6924
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
6925
  }
 
6926
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
6927
  {
 
6928
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6929
    result = (int)(arg1)->GetPosY();
 
6930
    wxPyEndAllowThreads(__tstate);
 
6931
    if (PyErr_Occurred()) SWIG_fail;
 
6932
  }
 
6933
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6934
  return resultobj;
 
6935
fail:
 
6936
  return NULL;
 
6937
}
 
6938
 
 
6939
 
 
6940
SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6941
  PyObject *resultobj = 0;
 
6942
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
6943
  int result;
 
6944
  void *argp1 = 0 ;
 
6945
  int res1 = 0 ;
 
6946
  PyObject *swig_obj[1] ;
 
6947
  
 
6948
  if (!args) SWIG_fail;
 
6949
  swig_obj[0] = args;
 
6950
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
6951
  if (!SWIG_IsOK(res1)) {
 
6952
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
6953
  }
 
6954
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
6955
  {
 
6956
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6957
    result = (int)(arg1)->GetWidth();
 
6958
    wxPyEndAllowThreads(__tstate);
 
6959
    if (PyErr_Occurred()) SWIG_fail;
 
6960
  }
 
6961
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6962
  return resultobj;
 
6963
fail:
 
6964
  return NULL;
 
6965
}
 
6966
 
 
6967
 
 
6968
SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6969
  PyObject *resultobj = 0;
 
6970
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
6971
  int result;
 
6972
  void *argp1 = 0 ;
 
6973
  int res1 = 0 ;
 
6974
  PyObject *swig_obj[1] ;
 
6975
  
 
6976
  if (!args) SWIG_fail;
 
6977
  swig_obj[0] = args;
 
6978
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
6979
  if (!SWIG_IsOK(res1)) {
 
6980
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
6981
  }
 
6982
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
6983
  {
 
6984
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6985
    result = (int)(arg1)->GetHeight();
 
6986
    wxPyEndAllowThreads(__tstate);
 
6987
    if (PyErr_Occurred()) SWIG_fail;
 
6988
  }
 
6989
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6990
  return resultobj;
 
6991
fail:
 
6992
  return NULL;
 
6993
}
 
6994
 
 
6995
 
 
6996
SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6997
  PyObject *resultobj = 0;
 
6998
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
6999
  int result;
 
7000
  void *argp1 = 0 ;
 
7001
  int res1 = 0 ;
 
7002
  PyObject *swig_obj[1] ;
 
7003
  
 
7004
  if (!args) SWIG_fail;
 
7005
  swig_obj[0] = args;
 
7006
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7007
  if (!SWIG_IsOK(res1)) {
 
7008
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7009
  }
 
7010
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7011
  {
 
7012
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7013
    result = (int)(arg1)->GetDescent();
 
7014
    wxPyEndAllowThreads(__tstate);
 
7015
    if (PyErr_Occurred()) SWIG_fail;
 
7016
  }
 
7017
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7018
  return resultobj;
 
7019
fail:
 
7020
  return NULL;
 
7021
}
 
7022
 
 
7023
 
 
7024
SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7025
  PyObject *resultobj = 0;
 
7026
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7027
  int result;
 
7028
  void *argp1 = 0 ;
 
7029
  int res1 = 0 ;
 
7030
  PyObject *swig_obj[1] ;
 
7031
  
 
7032
  if (!args) SWIG_fail;
 
7033
  swig_obj[0] = args;
 
7034
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7035
  if (!SWIG_IsOK(res1)) {
 
7036
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7037
  }
 
7038
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7039
  {
 
7040
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7041
    result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
 
7042
    wxPyEndAllowThreads(__tstate);
 
7043
    if (PyErr_Occurred()) SWIG_fail;
 
7044
  }
 
7045
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7046
  return resultobj;
 
7047
fail:
 
7048
  return NULL;
 
7049
}
 
7050
 
 
7051
 
 
7052
SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7053
  PyObject *resultobj = 0;
 
7054
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7055
  wxString *result = 0 ;
 
7056
  void *argp1 = 0 ;
 
7057
  int res1 = 0 ;
 
7058
  PyObject *swig_obj[1] ;
 
7059
  
 
7060
  if (!args) SWIG_fail;
 
7061
  swig_obj[0] = args;
 
7062
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7063
  if (!SWIG_IsOK(res1)) {
 
7064
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7065
  }
 
7066
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7067
  {
 
7068
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7069
    {
 
7070
      wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
 
7071
      result = (wxString *) &_result_ref;
 
7072
    }
 
7073
    wxPyEndAllowThreads(__tstate);
 
7074
    if (PyErr_Occurred()) SWIG_fail;
 
7075
  }
 
7076
  {
 
7077
#if wxUSE_UNICODE
 
7078
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
7079
#else
 
7080
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
7081
#endif
 
7082
  }
 
7083
  return resultobj;
 
7084
fail:
 
7085
  return NULL;
 
7086
}
 
7087
 
 
7088
 
 
7089
SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7090
  PyObject *resultobj = 0;
 
7091
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7092
  wxString *arg2 = 0 ;
 
7093
  void *argp1 = 0 ;
 
7094
  int res1 = 0 ;
 
7095
  bool temp2 = false ;
 
7096
  PyObject * obj0 = 0 ;
 
7097
  PyObject * obj1 = 0 ;
 
7098
  char *  kwnames[] = {
 
7099
    (char *) "self",(char *) "id", NULL 
 
7100
  };
 
7101
  
 
7102
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
 
7103
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7104
  if (!SWIG_IsOK(res1)) {
 
7105
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7106
  }
 
7107
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7108
  {
 
7109
    arg2 = wxString_in_helper(obj1);
 
7110
    if (arg2 == NULL) SWIG_fail;
 
7111
    temp2 = true;
 
7112
  }
 
7113
  {
 
7114
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7115
    (arg1)->SetId((wxString const &)*arg2);
 
7116
    wxPyEndAllowThreads(__tstate);
 
7117
    if (PyErr_Occurred()) SWIG_fail;
 
7118
  }
 
7119
  resultobj = SWIG_Py_Void();
 
7120
  {
 
7121
    if (temp2)
 
7122
    delete arg2;
 
7123
  }
 
7124
  return resultobj;
 
7125
fail:
 
7126
  {
 
7127
    if (temp2)
 
7128
    delete arg2;
 
7129
  }
 
7130
  return NULL;
 
7131
}
 
7132
 
 
7133
 
 
7134
SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7135
  PyObject *resultobj = 0;
 
7136
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7137
  int arg2 = (int) 0 ;
 
7138
  int arg3 = (int) 0 ;
 
7139
  wxHtmlLinkInfo *result = 0 ;
 
7140
  void *argp1 = 0 ;
 
7141
  int res1 = 0 ;
 
7142
  int val2 ;
 
7143
  int ecode2 = 0 ;
 
7144
  int val3 ;
 
7145
  int ecode3 = 0 ;
 
7146
  PyObject * obj0 = 0 ;
 
7147
  PyObject * obj1 = 0 ;
 
7148
  PyObject * obj2 = 0 ;
 
7149
  char *  kwnames[] = {
 
7150
    (char *) "self",(char *) "x",(char *) "y", NULL 
 
7151
  };
 
7152
  
 
7153
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7154
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7155
  if (!SWIG_IsOK(res1)) {
 
7156
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7157
  }
 
7158
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7159
  if (obj1) {
 
7160
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7161
    if (!SWIG_IsOK(ecode2)) {
 
7162
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
 
7163
    } 
 
7164
    arg2 = static_cast< int >(val2);
 
7165
  }
 
7166
  if (obj2) {
 
7167
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7168
    if (!SWIG_IsOK(ecode3)) {
 
7169
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
 
7170
    } 
 
7171
    arg3 = static_cast< int >(val3);
 
7172
  }
 
7173
  {
 
7174
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7175
    result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
 
7176
    wxPyEndAllowThreads(__tstate);
 
7177
    if (PyErr_Occurred()) SWIG_fail;
 
7178
  }
 
7179
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
7180
  return resultobj;
 
7181
fail:
 
7182
  return NULL;
 
7183
}
 
7184
 
 
7185
 
 
7186
SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7187
  PyObject *resultobj = 0;
 
7188
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7189
  wxHtmlCell *result = 0 ;
 
7190
  void *argp1 = 0 ;
 
7191
  int res1 = 0 ;
 
7192
  PyObject *swig_obj[1] ;
 
7193
  
 
7194
  if (!args) SWIG_fail;
 
7195
  swig_obj[0] = args;
 
7196
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7197
  if (!SWIG_IsOK(res1)) {
 
7198
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7199
  }
 
7200
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7201
  {
 
7202
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7203
    result = (wxHtmlCell *)(arg1)->GetNext();
 
7204
    wxPyEndAllowThreads(__tstate);
 
7205
    if (PyErr_Occurred()) SWIG_fail;
 
7206
  }
 
7207
  {
 
7208
    resultobj = wxPyMake_wxObject(result, 0); 
 
7209
  }
 
7210
  return resultobj;
 
7211
fail:
 
7212
  return NULL;
 
7213
}
 
7214
 
 
7215
 
 
7216
SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7217
  PyObject *resultobj = 0;
 
7218
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7219
  wxHtmlContainerCell *result = 0 ;
 
7220
  void *argp1 = 0 ;
 
7221
  int res1 = 0 ;
 
7222
  PyObject *swig_obj[1] ;
 
7223
  
 
7224
  if (!args) SWIG_fail;
 
7225
  swig_obj[0] = args;
 
7226
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7227
  if (!SWIG_IsOK(res1)) {
 
7228
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7229
  }
 
7230
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7231
  {
 
7232
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7233
    result = (wxHtmlContainerCell *)(arg1)->GetParent();
 
7234
    wxPyEndAllowThreads(__tstate);
 
7235
    if (PyErr_Occurred()) SWIG_fail;
 
7236
  }
 
7237
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
7238
  return resultobj;
 
7239
fail:
 
7240
  return NULL;
 
7241
}
 
7242
 
 
7243
 
 
7244
SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7245
  PyObject *resultobj = 0;
 
7246
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7247
  wxHtmlCell *result = 0 ;
 
7248
  void *argp1 = 0 ;
 
7249
  int res1 = 0 ;
 
7250
  PyObject *swig_obj[1] ;
 
7251
  
 
7252
  if (!args) SWIG_fail;
 
7253
  swig_obj[0] = args;
 
7254
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7255
  if (!SWIG_IsOK(res1)) {
 
7256
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7257
  }
 
7258
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7259
  {
 
7260
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7261
    result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
 
7262
    wxPyEndAllowThreads(__tstate);
 
7263
    if (PyErr_Occurred()) SWIG_fail;
 
7264
  }
 
7265
  {
 
7266
    resultobj = wxPyMake_wxObject(result, 0); 
 
7267
  }
 
7268
  return resultobj;
 
7269
fail:
 
7270
  return NULL;
 
7271
}
 
7272
 
 
7273
 
 
7274
SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7275
  PyObject *resultobj = 0;
 
7276
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7277
  wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
 
7278
  wxCursor result;
 
7279
  void *argp1 = 0 ;
 
7280
  int res1 = 0 ;
 
7281
  void *argp2 = 0 ;
 
7282
  int res2 = 0 ;
 
7283
  PyObject * obj0 = 0 ;
 
7284
  PyObject * obj1 = 0 ;
 
7285
  char *  kwnames[] = {
 
7286
    (char *) "self",(char *) "window", NULL 
 
7287
  };
 
7288
  
 
7289
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
 
7290
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7291
  if (!SWIG_IsOK(res1)) {
 
7292
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7293
  }
 
7294
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7295
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
7296
  if (!SWIG_IsOK(res2)) {
 
7297
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); 
 
7298
  }
 
7299
  arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
 
7300
  {
 
7301
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7302
    result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
 
7303
    wxPyEndAllowThreads(__tstate);
 
7304
    if (PyErr_Occurred()) SWIG_fail;
 
7305
  }
 
7306
  resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN |  0 );
 
7307
  return resultobj;
 
7308
fail:
 
7309
  return NULL;
 
7310
}
 
7311
 
 
7312
 
 
7313
SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7314
  PyObject *resultobj = 0;
 
7315
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7316
  wxCursor result;
 
7317
  void *argp1 = 0 ;
 
7318
  int res1 = 0 ;
 
7319
  PyObject *swig_obj[1] ;
 
7320
  
 
7321
  if (!args) SWIG_fail;
 
7322
  swig_obj[0] = args;
 
7323
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7324
  if (!SWIG_IsOK(res1)) {
 
7325
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7326
  }
 
7327
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7328
  {
 
7329
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7330
    result = ((wxHtmlCell const *)arg1)->GetCursor();
 
7331
    wxPyEndAllowThreads(__tstate);
 
7332
    if (PyErr_Occurred()) SWIG_fail;
 
7333
  }
 
7334
  resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN |  0 );
 
7335
  return resultobj;
 
7336
fail:
 
7337
  return NULL;
 
7338
}
 
7339
 
 
7340
 
 
7341
SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7342
  PyObject *resultobj = 0;
 
7343
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7344
  bool result;
 
7345
  void *argp1 = 0 ;
 
7346
  int res1 = 0 ;
 
7347
  PyObject *swig_obj[1] ;
 
7348
  
 
7349
  if (!args) SWIG_fail;
 
7350
  swig_obj[0] = args;
 
7351
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7352
  if (!SWIG_IsOK(res1)) {
 
7353
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7354
  }
 
7355
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7356
  {
 
7357
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7358
    result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
 
7359
    wxPyEndAllowThreads(__tstate);
 
7360
    if (PyErr_Occurred()) SWIG_fail;
 
7361
  }
 
7362
  {
 
7363
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7364
  }
 
7365
  return resultobj;
 
7366
fail:
 
7367
  return NULL;
 
7368
}
 
7369
 
 
7370
 
 
7371
SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7372
  PyObject *resultobj = 0;
 
7373
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7374
  wxHtmlLinkInfo *arg2 = 0 ;
 
7375
  void *argp1 = 0 ;
 
7376
  int res1 = 0 ;
 
7377
  void *argp2 = 0 ;
 
7378
  int res2 = 0 ;
 
7379
  PyObject * obj0 = 0 ;
 
7380
  PyObject * obj1 = 0 ;
 
7381
  char *  kwnames[] = {
 
7382
    (char *) "self",(char *) "link", NULL 
 
7383
  };
 
7384
  
 
7385
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
 
7386
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7387
  if (!SWIG_IsOK(res1)) {
 
7388
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7389
  }
 
7390
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7391
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo,  0  | 0);
 
7392
  if (!SWIG_IsOK(res2)) {
 
7393
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); 
 
7394
  }
 
7395
  if (!argp2) {
 
7396
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); 
 
7397
  }
 
7398
  arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
 
7399
  {
 
7400
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7401
    (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
 
7402
    wxPyEndAllowThreads(__tstate);
 
7403
    if (PyErr_Occurred()) SWIG_fail;
 
7404
  }
 
7405
  resultobj = SWIG_Py_Void();
 
7406
  return resultobj;
 
7407
fail:
 
7408
  return NULL;
 
7409
}
 
7410
 
 
7411
 
 
7412
SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7413
  PyObject *resultobj = 0;
 
7414
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7415
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
7416
  int res1 = 0 ;
 
7417
  int res2 = 0 ;
 
7418
  PyObject * obj0 = 0 ;
 
7419
  PyObject * obj1 = 0 ;
 
7420
  char *  kwnames[] = {
 
7421
    (char *) "self",(char *) "cell", NULL 
 
7422
  };
 
7423
  
 
7424
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
 
7425
  res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN |  0 );
 
7426
  if (!SWIG_IsOK(res1)) {
 
7427
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
 
7428
  }
 
7429
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN |  0 );
 
7430
  if (!SWIG_IsOK(res2)) {
 
7431
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
 
7432
  }
 
7433
  {
 
7434
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7435
    (arg1)->SetNext(arg2);
 
7436
    wxPyEndAllowThreads(__tstate);
 
7437
    if (PyErr_Occurred()) SWIG_fail;
 
7438
  }
 
7439
  resultobj = SWIG_Py_Void();
 
7440
  return resultobj;
 
7441
fail:
 
7442
  return NULL;
 
7443
}
 
7444
 
 
7445
 
 
7446
SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7447
  PyObject *resultobj = 0;
 
7448
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7449
  wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
 
7450
  void *argp1 = 0 ;
 
7451
  int res1 = 0 ;
 
7452
  void *argp2 = 0 ;
 
7453
  int res2 = 0 ;
 
7454
  PyObject * obj0 = 0 ;
 
7455
  PyObject * obj1 = 0 ;
 
7456
  char *  kwnames[] = {
 
7457
    (char *) "self",(char *) "p", NULL 
 
7458
  };
 
7459
  
 
7460
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
 
7461
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7462
  if (!SWIG_IsOK(res1)) {
 
7463
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7464
  }
 
7465
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7466
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
7467
  if (!SWIG_IsOK(res2)) {
 
7468
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); 
 
7469
  }
 
7470
  arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
 
7471
  {
 
7472
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7473
    (arg1)->SetParent(arg2);
 
7474
    wxPyEndAllowThreads(__tstate);
 
7475
    if (PyErr_Occurred()) SWIG_fail;
 
7476
  }
 
7477
  resultobj = SWIG_Py_Void();
 
7478
  return resultobj;
 
7479
fail:
 
7480
  return NULL;
 
7481
}
 
7482
 
 
7483
 
 
7484
SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7485
  PyObject *resultobj = 0;
 
7486
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7487
  int arg2 ;
 
7488
  int arg3 ;
 
7489
  void *argp1 = 0 ;
 
7490
  int res1 = 0 ;
 
7491
  int val2 ;
 
7492
  int ecode2 = 0 ;
 
7493
  int val3 ;
 
7494
  int ecode3 = 0 ;
 
7495
  PyObject * obj0 = 0 ;
 
7496
  PyObject * obj1 = 0 ;
 
7497
  PyObject * obj2 = 0 ;
 
7498
  char *  kwnames[] = {
 
7499
    (char *) "self",(char *) "x",(char *) "y", NULL 
 
7500
  };
 
7501
  
 
7502
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7503
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7504
  if (!SWIG_IsOK(res1)) {
 
7505
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7506
  }
 
7507
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7508
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7509
  if (!SWIG_IsOK(ecode2)) {
 
7510
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
 
7511
  } 
 
7512
  arg2 = static_cast< int >(val2);
 
7513
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7514
  if (!SWIG_IsOK(ecode3)) {
 
7515
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
 
7516
  } 
 
7517
  arg3 = static_cast< int >(val3);
 
7518
  {
 
7519
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7520
    (arg1)->SetPos(arg2,arg3);
 
7521
    wxPyEndAllowThreads(__tstate);
 
7522
    if (PyErr_Occurred()) SWIG_fail;
 
7523
  }
 
7524
  resultobj = SWIG_Py_Void();
 
7525
  return resultobj;
 
7526
fail:
 
7527
  return NULL;
 
7528
}
 
7529
 
 
7530
 
 
7531
SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7532
  PyObject *resultobj = 0;
 
7533
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7534
  int arg2 ;
 
7535
  void *argp1 = 0 ;
 
7536
  int res1 = 0 ;
 
7537
  int val2 ;
 
7538
  int ecode2 = 0 ;
 
7539
  PyObject * obj0 = 0 ;
 
7540
  PyObject * obj1 = 0 ;
 
7541
  char *  kwnames[] = {
 
7542
    (char *) "self",(char *) "w", NULL 
 
7543
  };
 
7544
  
 
7545
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
 
7546
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7547
  if (!SWIG_IsOK(res1)) {
 
7548
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7549
  }
 
7550
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7551
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7552
  if (!SWIG_IsOK(ecode2)) {
 
7553
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
 
7554
  } 
 
7555
  arg2 = static_cast< int >(val2);
 
7556
  {
 
7557
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7558
    (arg1)->Layout(arg2);
 
7559
    wxPyEndAllowThreads(__tstate);
 
7560
    if (PyErr_Occurred()) SWIG_fail;
 
7561
  }
 
7562
  resultobj = SWIG_Py_Void();
 
7563
  return resultobj;
 
7564
fail:
 
7565
  return NULL;
 
7566
}
 
7567
 
 
7568
 
 
7569
SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7570
  PyObject *resultobj = 0;
 
7571
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7572
  wxDC *arg2 = 0 ;
 
7573
  int arg3 ;
 
7574
  int arg4 ;
 
7575
  int arg5 ;
 
7576
  int arg6 ;
 
7577
  wxHtmlRenderingInfo *arg7 = 0 ;
 
7578
  void *argp1 = 0 ;
 
7579
  int res1 = 0 ;
 
7580
  void *argp2 = 0 ;
 
7581
  int res2 = 0 ;
 
7582
  int val3 ;
 
7583
  int ecode3 = 0 ;
 
7584
  int val4 ;
 
7585
  int ecode4 = 0 ;
 
7586
  int val5 ;
 
7587
  int ecode5 = 0 ;
 
7588
  int val6 ;
 
7589
  int ecode6 = 0 ;
 
7590
  void *argp7 = 0 ;
 
7591
  int res7 = 0 ;
 
7592
  PyObject * obj0 = 0 ;
 
7593
  PyObject * obj1 = 0 ;
 
7594
  PyObject * obj2 = 0 ;
 
7595
  PyObject * obj3 = 0 ;
 
7596
  PyObject * obj4 = 0 ;
 
7597
  PyObject * obj5 = 0 ;
 
7598
  PyObject * obj6 = 0 ;
 
7599
  char *  kwnames[] = {
 
7600
    (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL 
 
7601
  };
 
7602
  
 
7603
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
7604
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7605
  if (!SWIG_IsOK(res1)) {
 
7606
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7607
  }
 
7608
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7609
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
7610
  if (!SWIG_IsOK(res2)) {
 
7611
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
7612
  }
 
7613
  if (!argp2) {
 
7614
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
7615
  }
 
7616
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
7617
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7618
  if (!SWIG_IsOK(ecode3)) {
 
7619
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
 
7620
  } 
 
7621
  arg3 = static_cast< int >(val3);
 
7622
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
7623
  if (!SWIG_IsOK(ecode4)) {
 
7624
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
 
7625
  } 
 
7626
  arg4 = static_cast< int >(val4);
 
7627
  ecode5 = SWIG_AsVal_int(obj4, &val5);
 
7628
  if (!SWIG_IsOK(ecode5)) {
 
7629
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
 
7630
  } 
 
7631
  arg5 = static_cast< int >(val5);
 
7632
  ecode6 = SWIG_AsVal_int(obj5, &val6);
 
7633
  if (!SWIG_IsOK(ecode6)) {
 
7634
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
 
7635
  } 
 
7636
  arg6 = static_cast< int >(val6);
 
7637
  res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo,  0 );
 
7638
  if (!SWIG_IsOK(res7)) {
 
7639
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); 
 
7640
  }
 
7641
  if (!argp7) {
 
7642
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); 
 
7643
  }
 
7644
  arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
 
7645
  {
 
7646
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7647
    (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
 
7648
    wxPyEndAllowThreads(__tstate);
 
7649
    if (PyErr_Occurred()) SWIG_fail;
 
7650
  }
 
7651
  resultobj = SWIG_Py_Void();
 
7652
  return resultobj;
 
7653
fail:
 
7654
  return NULL;
 
7655
}
 
7656
 
 
7657
 
 
7658
SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7659
  PyObject *resultobj = 0;
 
7660
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7661
  wxDC *arg2 = 0 ;
 
7662
  int arg3 ;
 
7663
  int arg4 ;
 
7664
  wxHtmlRenderingInfo *arg5 = 0 ;
 
7665
  void *argp1 = 0 ;
 
7666
  int res1 = 0 ;
 
7667
  void *argp2 = 0 ;
 
7668
  int res2 = 0 ;
 
7669
  int val3 ;
 
7670
  int ecode3 = 0 ;
 
7671
  int val4 ;
 
7672
  int ecode4 = 0 ;
 
7673
  void *argp5 = 0 ;
 
7674
  int res5 = 0 ;
 
7675
  PyObject * obj0 = 0 ;
 
7676
  PyObject * obj1 = 0 ;
 
7677
  PyObject * obj2 = 0 ;
 
7678
  PyObject * obj3 = 0 ;
 
7679
  PyObject * obj4 = 0 ;
 
7680
  char *  kwnames[] = {
 
7681
    (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL 
 
7682
  };
 
7683
  
 
7684
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
7685
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7686
  if (!SWIG_IsOK(res1)) {
 
7687
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7688
  }
 
7689
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7690
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
7691
  if (!SWIG_IsOK(res2)) {
 
7692
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
7693
  }
 
7694
  if (!argp2) {
 
7695
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
7696
  }
 
7697
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
7698
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7699
  if (!SWIG_IsOK(ecode3)) {
 
7700
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
 
7701
  } 
 
7702
  arg3 = static_cast< int >(val3);
 
7703
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
7704
  if (!SWIG_IsOK(ecode4)) {
 
7705
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
 
7706
  } 
 
7707
  arg4 = static_cast< int >(val4);
 
7708
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo,  0 );
 
7709
  if (!SWIG_IsOK(res5)) {
 
7710
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); 
 
7711
  }
 
7712
  if (!argp5) {
 
7713
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); 
 
7714
  }
 
7715
  arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
 
7716
  {
 
7717
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7718
    (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
 
7719
    wxPyEndAllowThreads(__tstate);
 
7720
    if (PyErr_Occurred()) SWIG_fail;
 
7721
  }
 
7722
  resultobj = SWIG_Py_Void();
 
7723
  return resultobj;
 
7724
fail:
 
7725
  return NULL;
 
7726
}
 
7727
 
 
7728
 
 
7729
SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7730
  PyObject *resultobj = 0;
 
7731
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7732
  int arg2 ;
 
7733
  void *arg3 = (void *) 0 ;
 
7734
  wxHtmlCell *result = 0 ;
 
7735
  void *argp1 = 0 ;
 
7736
  int res1 = 0 ;
 
7737
  int val2 ;
 
7738
  int ecode2 = 0 ;
 
7739
  int res3 ;
 
7740
  PyObject * obj0 = 0 ;
 
7741
  PyObject * obj1 = 0 ;
 
7742
  PyObject * obj2 = 0 ;
 
7743
  char *  kwnames[] = {
 
7744
    (char *) "self",(char *) "condition",(char *) "param", NULL 
 
7745
  };
 
7746
  
 
7747
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
7748
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7749
  if (!SWIG_IsOK(res1)) {
 
7750
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7751
  }
 
7752
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7753
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7754
  if (!SWIG_IsOK(ecode2)) {
 
7755
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
 
7756
  } 
 
7757
  arg2 = static_cast< int >(val2);
 
7758
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
 
7759
  if (!SWIG_IsOK(res3)) {
 
7760
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'"); 
 
7761
  }
 
7762
  {
 
7763
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7764
    result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
 
7765
    wxPyEndAllowThreads(__tstate);
 
7766
    if (PyErr_Occurred()) SWIG_fail;
 
7767
  }
 
7768
  {
 
7769
    resultobj = wxPyMake_wxObject(result, 0); 
 
7770
  }
 
7771
  return resultobj;
 
7772
fail:
 
7773
  return NULL;
 
7774
}
 
7775
 
 
7776
 
 
7777
SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7778
  PyObject *resultobj = 0;
 
7779
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7780
  wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
 
7781
  wxPoint *arg3 = 0 ;
 
7782
  wxMouseEvent *arg4 = 0 ;
 
7783
  bool result;
 
7784
  void *argp1 = 0 ;
 
7785
  int res1 = 0 ;
 
7786
  void *argp2 = 0 ;
 
7787
  int res2 = 0 ;
 
7788
  wxPoint temp3 ;
 
7789
  void *argp4 = 0 ;
 
7790
  int res4 = 0 ;
 
7791
  PyObject * obj0 = 0 ;
 
7792
  PyObject * obj1 = 0 ;
 
7793
  PyObject * obj2 = 0 ;
 
7794
  PyObject * obj3 = 0 ;
 
7795
  char *  kwnames[] = {
 
7796
    (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL 
 
7797
  };
 
7798
  
 
7799
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
7800
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7801
  if (!SWIG_IsOK(res1)) {
 
7802
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7803
  }
 
7804
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7805
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
7806
  if (!SWIG_IsOK(res2)) {
 
7807
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); 
 
7808
  }
 
7809
  arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
 
7810
  {
 
7811
    arg3 = &temp3;
 
7812
    if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
7813
  }
 
7814
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent,  0  | 0);
 
7815
  if (!SWIG_IsOK(res4)) {
 
7816
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); 
 
7817
  }
 
7818
  if (!argp4) {
 
7819
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); 
 
7820
  }
 
7821
  arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
 
7822
  {
 
7823
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7824
    result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
 
7825
    wxPyEndAllowThreads(__tstate);
 
7826
    if (PyErr_Occurred()) SWIG_fail;
 
7827
  }
 
7828
  {
 
7829
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7830
  }
 
7831
  return resultobj;
 
7832
fail:
 
7833
  return NULL;
 
7834
}
 
7835
 
 
7836
 
 
7837
SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7838
  PyObject *resultobj = 0;
 
7839
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7840
  bool arg2 ;
 
7841
  void *argp1 = 0 ;
 
7842
  int res1 = 0 ;
 
7843
  bool val2 ;
 
7844
  int ecode2 = 0 ;
 
7845
  PyObject * obj0 = 0 ;
 
7846
  PyObject * obj1 = 0 ;
 
7847
  char *  kwnames[] = {
 
7848
    (char *) "self",(char *) "can", NULL 
 
7849
  };
 
7850
  
 
7851
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
 
7852
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7853
  if (!SWIG_IsOK(res1)) {
 
7854
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); 
 
7855
  }
 
7856
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7857
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
7858
  if (!SWIG_IsOK(ecode2)) {
 
7859
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
 
7860
  } 
 
7861
  arg2 = static_cast< bool >(val2);
 
7862
  {
 
7863
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7864
    (arg1)->SetCanLiveOnPagebreak(arg2);
 
7865
    wxPyEndAllowThreads(__tstate);
 
7866
    if (PyErr_Occurred()) SWIG_fail;
 
7867
  }
 
7868
  resultobj = SWIG_Py_Void();
 
7869
  return resultobj;
 
7870
fail:
 
7871
  return NULL;
 
7872
}
 
7873
 
 
7874
 
 
7875
SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7876
  PyObject *resultobj = 0;
 
7877
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7878
  bool result;
 
7879
  void *argp1 = 0 ;
 
7880
  int res1 = 0 ;
 
7881
  PyObject *swig_obj[1] ;
 
7882
  
 
7883
  if (!args) SWIG_fail;
 
7884
  swig_obj[0] = args;
 
7885
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7886
  if (!SWIG_IsOK(res1)) {
 
7887
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7888
  }
 
7889
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7890
  {
 
7891
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7892
    result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
 
7893
    wxPyEndAllowThreads(__tstate);
 
7894
    if (PyErr_Occurred()) SWIG_fail;
 
7895
  }
 
7896
  {
 
7897
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7898
  }
 
7899
  return resultobj;
 
7900
fail:
 
7901
  return NULL;
 
7902
}
 
7903
 
 
7904
 
 
7905
SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7906
  PyObject *resultobj = 0;
 
7907
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7908
  bool result;
 
7909
  void *argp1 = 0 ;
 
7910
  int res1 = 0 ;
 
7911
  PyObject *swig_obj[1] ;
 
7912
  
 
7913
  if (!args) SWIG_fail;
 
7914
  swig_obj[0] = args;
 
7915
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7916
  if (!SWIG_IsOK(res1)) {
 
7917
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7918
  }
 
7919
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7920
  {
 
7921
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7922
    result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
 
7923
    wxPyEndAllowThreads(__tstate);
 
7924
    if (PyErr_Occurred()) SWIG_fail;
 
7925
  }
 
7926
  {
 
7927
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7928
  }
 
7929
  return resultobj;
 
7930
fail:
 
7931
  return NULL;
 
7932
}
 
7933
 
 
7934
 
 
7935
SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7936
  PyObject *resultobj = 0;
 
7937
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7938
  int arg2 ;
 
7939
  int arg3 ;
 
7940
  unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
 
7941
  wxHtmlCell *result = 0 ;
 
7942
  void *argp1 = 0 ;
 
7943
  int res1 = 0 ;
 
7944
  int val2 ;
 
7945
  int ecode2 = 0 ;
 
7946
  int val3 ;
 
7947
  int ecode3 = 0 ;
 
7948
  unsigned int val4 ;
 
7949
  int ecode4 = 0 ;
 
7950
  PyObject * obj0 = 0 ;
 
7951
  PyObject * obj1 = 0 ;
 
7952
  PyObject * obj2 = 0 ;
 
7953
  PyObject * obj3 = 0 ;
 
7954
  char *  kwnames[] = {
 
7955
    (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL 
 
7956
  };
 
7957
  
 
7958
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
7959
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
7960
  if (!SWIG_IsOK(res1)) {
 
7961
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
7962
  }
 
7963
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
7964
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7965
  if (!SWIG_IsOK(ecode2)) {
 
7966
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
 
7967
  } 
 
7968
  arg2 = static_cast< int >(val2);
 
7969
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7970
  if (!SWIG_IsOK(ecode3)) {
 
7971
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
 
7972
  } 
 
7973
  arg3 = static_cast< int >(val3);
 
7974
  if (obj3) {
 
7975
    ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
 
7976
    if (!SWIG_IsOK(ecode4)) {
 
7977
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
 
7978
    } 
 
7979
    arg4 = static_cast< unsigned int >(val4);
 
7980
  }
 
7981
  {
 
7982
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7983
    result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
 
7984
    wxPyEndAllowThreads(__tstate);
 
7985
    if (PyErr_Occurred()) SWIG_fail;
 
7986
  }
 
7987
  {
 
7988
    resultobj = wxPyMake_wxObject(result, 0); 
 
7989
  }
 
7990
  return resultobj;
 
7991
fail:
 
7992
  return NULL;
 
7993
}
 
7994
 
 
7995
 
 
7996
SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7997
  PyObject *resultobj = 0;
 
7998
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
7999
  wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
 
8000
  wxPoint result;
 
8001
  void *argp1 = 0 ;
 
8002
  int res1 = 0 ;
 
8003
  void *argp2 = 0 ;
 
8004
  int res2 = 0 ;
 
8005
  PyObject * obj0 = 0 ;
 
8006
  PyObject * obj1 = 0 ;
 
8007
  char *  kwnames[] = {
 
8008
    (char *) "self",(char *) "rootCell", NULL 
 
8009
  };
 
8010
  
 
8011
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
 
8012
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8013
  if (!SWIG_IsOK(res1)) {
 
8014
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8015
  }
 
8016
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8017
  if (obj1) {
 
8018
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8019
    if (!SWIG_IsOK(res2)) {
 
8020
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); 
 
8021
    }
 
8022
    arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
8023
  }
 
8024
  {
 
8025
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8026
    result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
 
8027
    wxPyEndAllowThreads(__tstate);
 
8028
    if (PyErr_Occurred()) SWIG_fail;
 
8029
  }
 
8030
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
8031
  return resultobj;
 
8032
fail:
 
8033
  return NULL;
 
8034
}
 
8035
 
 
8036
 
 
8037
SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8038
  PyObject *resultobj = 0;
 
8039
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
8040
  wxHtmlCell *result = 0 ;
 
8041
  void *argp1 = 0 ;
 
8042
  int res1 = 0 ;
 
8043
  PyObject *swig_obj[1] ;
 
8044
  
 
8045
  if (!args) SWIG_fail;
 
8046
  swig_obj[0] = args;
 
8047
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8048
  if (!SWIG_IsOK(res1)) {
 
8049
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8050
  }
 
8051
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8052
  {
 
8053
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8054
    result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
 
8055
    wxPyEndAllowThreads(__tstate);
 
8056
    if (PyErr_Occurred()) SWIG_fail;
 
8057
  }
 
8058
  {
 
8059
    resultobj = wxPyMake_wxObject(result, 0); 
 
8060
  }
 
8061
  return resultobj;
 
8062
fail:
 
8063
  return NULL;
 
8064
}
 
8065
 
 
8066
 
 
8067
SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8068
  PyObject *resultobj = 0;
 
8069
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
8070
  wxHtmlCell *result = 0 ;
 
8071
  void *argp1 = 0 ;
 
8072
  int res1 = 0 ;
 
8073
  PyObject *swig_obj[1] ;
 
8074
  
 
8075
  if (!args) SWIG_fail;
 
8076
  swig_obj[0] = args;
 
8077
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8078
  if (!SWIG_IsOK(res1)) {
 
8079
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8080
  }
 
8081
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8082
  {
 
8083
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8084
    result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
 
8085
    wxPyEndAllowThreads(__tstate);
 
8086
    if (PyErr_Occurred()) SWIG_fail;
 
8087
  }
 
8088
  {
 
8089
    resultobj = wxPyMake_wxObject(result, 0); 
 
8090
  }
 
8091
  return resultobj;
 
8092
fail:
 
8093
  return NULL;
 
8094
}
 
8095
 
 
8096
 
 
8097
SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8098
  PyObject *resultobj = 0;
 
8099
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
8100
  wxHtmlCell *result = 0 ;
 
8101
  void *argp1 = 0 ;
 
8102
  int res1 = 0 ;
 
8103
  PyObject *swig_obj[1] ;
 
8104
  
 
8105
  if (!args) SWIG_fail;
 
8106
  swig_obj[0] = args;
 
8107
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8108
  if (!SWIG_IsOK(res1)) {
 
8109
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8110
  }
 
8111
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8112
  {
 
8113
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8114
    result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
 
8115
    wxPyEndAllowThreads(__tstate);
 
8116
    if (PyErr_Occurred()) SWIG_fail;
 
8117
  }
 
8118
  {
 
8119
    resultobj = wxPyMake_wxObject(result, 0); 
 
8120
  }
 
8121
  return resultobj;
 
8122
fail:
 
8123
  return NULL;
 
8124
}
 
8125
 
 
8126
 
 
8127
SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8128
  PyObject *resultobj = 0;
 
8129
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
8130
  unsigned int result;
 
8131
  void *argp1 = 0 ;
 
8132
  int res1 = 0 ;
 
8133
  PyObject *swig_obj[1] ;
 
8134
  
 
8135
  if (!args) SWIG_fail;
 
8136
  swig_obj[0] = args;
 
8137
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8138
  if (!SWIG_IsOK(res1)) {
 
8139
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8140
  }
 
8141
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8142
  {
 
8143
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8144
    result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
 
8145
    wxPyEndAllowThreads(__tstate);
 
8146
    if (PyErr_Occurred()) SWIG_fail;
 
8147
  }
 
8148
  resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
 
8149
  return resultobj;
 
8150
fail:
 
8151
  return NULL;
 
8152
}
 
8153
 
 
8154
 
 
8155
SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8156
  PyObject *resultobj = 0;
 
8157
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
8158
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
8159
  bool result;
 
8160
  void *argp1 = 0 ;
 
8161
  int res1 = 0 ;
 
8162
  void *argp2 = 0 ;
 
8163
  int res2 = 0 ;
 
8164
  PyObject * obj0 = 0 ;
 
8165
  PyObject * obj1 = 0 ;
 
8166
  char *  kwnames[] = {
 
8167
    (char *) "self",(char *) "cell", NULL 
 
8168
  };
 
8169
  
 
8170
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
 
8171
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8172
  if (!SWIG_IsOK(res1)) {
 
8173
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8174
  }
 
8175
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8176
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8177
  if (!SWIG_IsOK(res2)) {
 
8178
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); 
 
8179
  }
 
8180
  arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
8181
  {
 
8182
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8183
    result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
 
8184
    wxPyEndAllowThreads(__tstate);
 
8185
    if (PyErr_Occurred()) SWIG_fail;
 
8186
  }
 
8187
  {
 
8188
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8189
  }
 
8190
  return resultobj;
 
8191
fail:
 
8192
  return NULL;
 
8193
}
 
8194
 
 
8195
 
 
8196
SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8197
  PyObject *resultobj = 0;
 
8198
  wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
 
8199
  wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
 
8200
  wxString result;
 
8201
  void *argp1 = 0 ;
 
8202
  int res1 = 0 ;
 
8203
  void *argp2 = 0 ;
 
8204
  int res2 = 0 ;
 
8205
  PyObject * obj0 = 0 ;
 
8206
  PyObject * obj1 = 0 ;
 
8207
  char *  kwnames[] = {
 
8208
    (char *) "self",(char *) "sel", NULL 
 
8209
  };
 
8210
  
 
8211
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
 
8212
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
8213
  if (!SWIG_IsOK(res1)) {
 
8214
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); 
 
8215
  }
 
8216
  arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
 
8217
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
8218
  if (!SWIG_IsOK(res2)) {
 
8219
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); 
 
8220
  }
 
8221
  arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
 
8222
  {
 
8223
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8224
    result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
 
8225
    wxPyEndAllowThreads(__tstate);
 
8226
    if (PyErr_Occurred()) SWIG_fail;
 
8227
  }
 
8228
  {
 
8229
#if wxUSE_UNICODE
 
8230
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
8231
#else
 
8232
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
8233
#endif
 
8234
  }
 
8235
  return resultobj;
 
8236
fail:
 
8237
  return NULL;
 
8238
}
 
8239
 
 
8240
 
 
8241
SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8242
  PyObject *obj;
 
8243
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
8244
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
 
8245
  return SWIG_Py_Void();
 
8246
}
 
8247
 
 
8248
SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8249
  return SWIG_Python_InitShadowInstance(args);
 
8250
}
 
8251
 
 
8252
SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8253
  PyObject *resultobj = 0;
 
8254
  wxString *arg1 = 0 ;
 
8255
  wxDC *arg2 = 0 ;
 
8256
  wxHtmlWordCell *result = 0 ;
 
8257
  bool temp1 = false ;
 
8258
  void *argp2 = 0 ;
 
8259
  int res2 = 0 ;
 
8260
  PyObject * obj0 = 0 ;
 
8261
  PyObject * obj1 = 0 ;
 
8262
  char *  kwnames[] = {
 
8263
    (char *) "word",(char *) "dc", NULL 
 
8264
  };
 
8265
  
 
8266
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
 
8267
  {
 
8268
    arg1 = wxString_in_helper(obj0);
 
8269
    if (arg1 == NULL) SWIG_fail;
 
8270
    temp1 = true;
 
8271
  }
 
8272
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
8273
  if (!SWIG_IsOK(res2)) {
 
8274
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
8275
  }
 
8276
  if (!argp2) {
 
8277
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
8278
  }
 
8279
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
8280
  {
 
8281
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8282
    result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
 
8283
    wxPyEndAllowThreads(__tstate);
 
8284
    if (PyErr_Occurred()) SWIG_fail;
 
8285
  }
 
8286
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW |  0 );
 
8287
  {
 
8288
    if (temp1)
 
8289
    delete arg1;
 
8290
  }
 
8291
  return resultobj;
 
8292
fail:
 
8293
  {
 
8294
    if (temp1)
 
8295
    delete arg1;
 
8296
  }
 
8297
  return NULL;
 
8298
}
 
8299
 
 
8300
 
 
8301
SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8302
  PyObject *resultobj = 0;
 
8303
  wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
 
8304
  wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
 
8305
  wxString result;
 
8306
  void *argp1 = 0 ;
 
8307
  int res1 = 0 ;
 
8308
  void *argp2 = 0 ;
 
8309
  int res2 = 0 ;
 
8310
  PyObject * obj0 = 0 ;
 
8311
  PyObject * obj1 = 0 ;
 
8312
  char *  kwnames[] = {
 
8313
    (char *) "self",(char *) "sel", NULL 
 
8314
  };
 
8315
  
 
8316
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
 
8317
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 |  0 );
 
8318
  if (!SWIG_IsOK(res1)) {
 
8319
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); 
 
8320
  }
 
8321
  arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
 
8322
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 |  0 );
 
8323
  if (!SWIG_IsOK(res2)) {
 
8324
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); 
 
8325
  }
 
8326
  arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
 
8327
  {
 
8328
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8329
    result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
 
8330
    wxPyEndAllowThreads(__tstate);
 
8331
    if (PyErr_Occurred()) SWIG_fail;
 
8332
  }
 
8333
  {
 
8334
#if wxUSE_UNICODE
 
8335
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
8336
#else
 
8337
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
8338
#endif
 
8339
  }
 
8340
  return resultobj;
 
8341
fail:
 
8342
  return NULL;
 
8343
}
 
8344
 
 
8345
 
 
8346
SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8347
  PyObject *resultobj = 0;
 
8348
  wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
 
8349
  bool result;
 
8350
  void *argp1 = 0 ;
 
8351
  int res1 = 0 ;
 
8352
  PyObject *swig_obj[1] ;
 
8353
  
 
8354
  if (!args) SWIG_fail;
 
8355
  swig_obj[0] = args;
 
8356
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 |  0 );
 
8357
  if (!SWIG_IsOK(res1)) {
 
8358
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); 
 
8359
  }
 
8360
  arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
 
8361
  {
 
8362
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8363
    result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
 
8364
    wxPyEndAllowThreads(__tstate);
 
8365
    if (PyErr_Occurred()) SWIG_fail;
 
8366
  }
 
8367
  {
 
8368
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8369
  }
 
8370
  return resultobj;
 
8371
fail:
 
8372
  return NULL;
 
8373
}
 
8374
 
 
8375
 
 
8376
SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8377
  PyObject *resultobj = 0;
 
8378
  wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
 
8379
  wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
 
8380
  void *argp1 = 0 ;
 
8381
  int res1 = 0 ;
 
8382
  void *argp2 = 0 ;
 
8383
  int res2 = 0 ;
 
8384
  PyObject * obj0 = 0 ;
 
8385
  PyObject * obj1 = 0 ;
 
8386
  char *  kwnames[] = {
 
8387
    (char *) "self",(char *) "cell", NULL 
 
8388
  };
 
8389
  
 
8390
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
 
8391
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 |  0 );
 
8392
  if (!SWIG_IsOK(res1)) {
 
8393
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'"); 
 
8394
  }
 
8395
  arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
 
8396
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 |  0 );
 
8397
  if (!SWIG_IsOK(res2)) {
 
8398
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'"); 
 
8399
  }
 
8400
  arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
 
8401
  {
 
8402
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8403
    (arg1)->SetPreviousWord(arg2);
 
8404
    wxPyEndAllowThreads(__tstate);
 
8405
    if (PyErr_Occurred()) SWIG_fail;
 
8406
  }
 
8407
  resultobj = SWIG_Py_Void();
 
8408
  return resultobj;
 
8409
fail:
 
8410
  return NULL;
 
8411
}
 
8412
 
 
8413
 
 
8414
SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8415
  PyObject *obj;
 
8416
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
8417
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
 
8418
  return SWIG_Py_Void();
 
8419
}
 
8420
 
 
8421
SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8422
  return SWIG_Python_InitShadowInstance(args);
 
8423
}
 
8424
 
 
8425
SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8426
  PyObject *resultobj = 0;
 
8427
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8428
  wxHtmlContainerCell *result = 0 ;
 
8429
  void *argp1 = 0 ;
 
8430
  int res1 = 0 ;
 
8431
  PyObject * obj0 = 0 ;
 
8432
  char *  kwnames[] = {
 
8433
    (char *) "parent", NULL 
 
8434
  };
 
8435
  
 
8436
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
 
8437
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8438
  if (!SWIG_IsOK(res1)) {
 
8439
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8440
  }
 
8441
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8442
  {
 
8443
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8444
    result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
 
8445
    wxPyEndAllowThreads(__tstate);
 
8446
    if (PyErr_Occurred()) SWIG_fail;
 
8447
  }
 
8448
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW |  0 );
 
8449
  return resultobj;
 
8450
fail:
 
8451
  return NULL;
 
8452
}
 
8453
 
 
8454
 
 
8455
SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8456
  PyObject *resultobj = 0;
 
8457
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8458
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
8459
  void *argp1 = 0 ;
 
8460
  int res1 = 0 ;
 
8461
  int res2 = 0 ;
 
8462
  PyObject * obj0 = 0 ;
 
8463
  PyObject * obj1 = 0 ;
 
8464
  char *  kwnames[] = {
 
8465
    (char *) "self",(char *) "cell", NULL 
 
8466
  };
 
8467
  
 
8468
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
 
8469
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8470
  if (!SWIG_IsOK(res1)) {
 
8471
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8472
  }
 
8473
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8474
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN |  0 );
 
8475
  if (!SWIG_IsOK(res2)) {
 
8476
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
 
8477
  }
 
8478
  {
 
8479
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8480
    (arg1)->InsertCell(arg2);
 
8481
    wxPyEndAllowThreads(__tstate);
 
8482
    if (PyErr_Occurred()) SWIG_fail;
 
8483
  }
 
8484
  resultobj = SWIG_Py_Void();
 
8485
  return resultobj;
 
8486
fail:
 
8487
  return NULL;
 
8488
}
 
8489
 
 
8490
 
 
8491
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8492
  PyObject *resultobj = 0;
 
8493
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8494
  int arg2 ;
 
8495
  void *argp1 = 0 ;
 
8496
  int res1 = 0 ;
 
8497
  int val2 ;
 
8498
  int ecode2 = 0 ;
 
8499
  PyObject * obj0 = 0 ;
 
8500
  PyObject * obj1 = 0 ;
 
8501
  char *  kwnames[] = {
 
8502
    (char *) "self",(char *) "al", NULL 
 
8503
  };
 
8504
  
 
8505
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
 
8506
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8507
  if (!SWIG_IsOK(res1)) {
 
8508
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8509
  }
 
8510
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8511
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8512
  if (!SWIG_IsOK(ecode2)) {
 
8513
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
 
8514
  } 
 
8515
  arg2 = static_cast< int >(val2);
 
8516
  {
 
8517
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8518
    (arg1)->SetAlignHor(arg2);
 
8519
    wxPyEndAllowThreads(__tstate);
 
8520
    if (PyErr_Occurred()) SWIG_fail;
 
8521
  }
 
8522
  resultobj = SWIG_Py_Void();
 
8523
  return resultobj;
 
8524
fail:
 
8525
  return NULL;
 
8526
}
 
8527
 
 
8528
 
 
8529
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8530
  PyObject *resultobj = 0;
 
8531
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8532
  int result;
 
8533
  void *argp1 = 0 ;
 
8534
  int res1 = 0 ;
 
8535
  PyObject *swig_obj[1] ;
 
8536
  
 
8537
  if (!args) SWIG_fail;
 
8538
  swig_obj[0] = args;
 
8539
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8540
  if (!SWIG_IsOK(res1)) {
 
8541
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8542
  }
 
8543
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8544
  {
 
8545
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8546
    result = (int)(arg1)->GetAlignHor();
 
8547
    wxPyEndAllowThreads(__tstate);
 
8548
    if (PyErr_Occurred()) SWIG_fail;
 
8549
  }
 
8550
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8551
  return resultobj;
 
8552
fail:
 
8553
  return NULL;
 
8554
}
 
8555
 
 
8556
 
 
8557
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8558
  PyObject *resultobj = 0;
 
8559
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8560
  int arg2 ;
 
8561
  void *argp1 = 0 ;
 
8562
  int res1 = 0 ;
 
8563
  int val2 ;
 
8564
  int ecode2 = 0 ;
 
8565
  PyObject * obj0 = 0 ;
 
8566
  PyObject * obj1 = 0 ;
 
8567
  char *  kwnames[] = {
 
8568
    (char *) "self",(char *) "al", NULL 
 
8569
  };
 
8570
  
 
8571
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
 
8572
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8573
  if (!SWIG_IsOK(res1)) {
 
8574
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8575
  }
 
8576
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8577
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8578
  if (!SWIG_IsOK(ecode2)) {
 
8579
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
 
8580
  } 
 
8581
  arg2 = static_cast< int >(val2);
 
8582
  {
 
8583
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8584
    (arg1)->SetAlignVer(arg2);
 
8585
    wxPyEndAllowThreads(__tstate);
 
8586
    if (PyErr_Occurred()) SWIG_fail;
 
8587
  }
 
8588
  resultobj = SWIG_Py_Void();
 
8589
  return resultobj;
 
8590
fail:
 
8591
  return NULL;
 
8592
}
 
8593
 
 
8594
 
 
8595
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8596
  PyObject *resultobj = 0;
 
8597
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8598
  int result;
 
8599
  void *argp1 = 0 ;
 
8600
  int res1 = 0 ;
 
8601
  PyObject *swig_obj[1] ;
 
8602
  
 
8603
  if (!args) SWIG_fail;
 
8604
  swig_obj[0] = args;
 
8605
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8606
  if (!SWIG_IsOK(res1)) {
 
8607
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8608
  }
 
8609
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8610
  {
 
8611
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8612
    result = (int)(arg1)->GetAlignVer();
 
8613
    wxPyEndAllowThreads(__tstate);
 
8614
    if (PyErr_Occurred()) SWIG_fail;
 
8615
  }
 
8616
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8617
  return resultobj;
 
8618
fail:
 
8619
  return NULL;
 
8620
}
 
8621
 
 
8622
 
 
8623
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8624
  PyObject *resultobj = 0;
 
8625
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8626
  int arg2 ;
 
8627
  int arg3 ;
 
8628
  int arg4 = (int) wxHTML_UNITS_PIXELS ;
 
8629
  void *argp1 = 0 ;
 
8630
  int res1 = 0 ;
 
8631
  int val2 ;
 
8632
  int ecode2 = 0 ;
 
8633
  int val3 ;
 
8634
  int ecode3 = 0 ;
 
8635
  int val4 ;
 
8636
  int ecode4 = 0 ;
 
8637
  PyObject * obj0 = 0 ;
 
8638
  PyObject * obj1 = 0 ;
 
8639
  PyObject * obj2 = 0 ;
 
8640
  PyObject * obj3 = 0 ;
 
8641
  char *  kwnames[] = {
 
8642
    (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL 
 
8643
  };
 
8644
  
 
8645
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
8646
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8647
  if (!SWIG_IsOK(res1)) {
 
8648
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8649
  }
 
8650
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8651
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8652
  if (!SWIG_IsOK(ecode2)) {
 
8653
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
 
8654
  } 
 
8655
  arg2 = static_cast< int >(val2);
 
8656
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
8657
  if (!SWIG_IsOK(ecode3)) {
 
8658
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
 
8659
  } 
 
8660
  arg3 = static_cast< int >(val3);
 
8661
  if (obj3) {
 
8662
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
8663
    if (!SWIG_IsOK(ecode4)) {
 
8664
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
 
8665
    } 
 
8666
    arg4 = static_cast< int >(val4);
 
8667
  }
 
8668
  {
 
8669
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8670
    (arg1)->SetIndent(arg2,arg3,arg4);
 
8671
    wxPyEndAllowThreads(__tstate);
 
8672
    if (PyErr_Occurred()) SWIG_fail;
 
8673
  }
 
8674
  resultobj = SWIG_Py_Void();
 
8675
  return resultobj;
 
8676
fail:
 
8677
  return NULL;
 
8678
}
 
8679
 
 
8680
 
 
8681
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8682
  PyObject *resultobj = 0;
 
8683
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8684
  int arg2 ;
 
8685
  int result;
 
8686
  void *argp1 = 0 ;
 
8687
  int res1 = 0 ;
 
8688
  int val2 ;
 
8689
  int ecode2 = 0 ;
 
8690
  PyObject * obj0 = 0 ;
 
8691
  PyObject * obj1 = 0 ;
 
8692
  char *  kwnames[] = {
 
8693
    (char *) "self",(char *) "ind", NULL 
 
8694
  };
 
8695
  
 
8696
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
 
8697
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8698
  if (!SWIG_IsOK(res1)) {
 
8699
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8700
  }
 
8701
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8702
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8703
  if (!SWIG_IsOK(ecode2)) {
 
8704
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
 
8705
  } 
 
8706
  arg2 = static_cast< int >(val2);
 
8707
  {
 
8708
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8709
    result = (int)(arg1)->GetIndent(arg2);
 
8710
    wxPyEndAllowThreads(__tstate);
 
8711
    if (PyErr_Occurred()) SWIG_fail;
 
8712
  }
 
8713
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8714
  return resultobj;
 
8715
fail:
 
8716
  return NULL;
 
8717
}
 
8718
 
 
8719
 
 
8720
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8721
  PyObject *resultobj = 0;
 
8722
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8723
  int arg2 ;
 
8724
  int result;
 
8725
  void *argp1 = 0 ;
 
8726
  int res1 = 0 ;
 
8727
  int val2 ;
 
8728
  int ecode2 = 0 ;
 
8729
  PyObject * obj0 = 0 ;
 
8730
  PyObject * obj1 = 0 ;
 
8731
  char *  kwnames[] = {
 
8732
    (char *) "self",(char *) "ind", NULL 
 
8733
  };
 
8734
  
 
8735
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
 
8736
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8737
  if (!SWIG_IsOK(res1)) {
 
8738
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8739
  }
 
8740
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8741
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8742
  if (!SWIG_IsOK(ecode2)) {
 
8743
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
 
8744
  } 
 
8745
  arg2 = static_cast< int >(val2);
 
8746
  {
 
8747
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8748
    result = (int)(arg1)->GetIndentUnits(arg2);
 
8749
    wxPyEndAllowThreads(__tstate);
 
8750
    if (PyErr_Occurred()) SWIG_fail;
 
8751
  }
 
8752
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8753
  return resultobj;
 
8754
fail:
 
8755
  return NULL;
 
8756
}
 
8757
 
 
8758
 
 
8759
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8760
  PyObject *resultobj = 0;
 
8761
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8762
  wxHtmlTag *arg2 = 0 ;
 
8763
  void *argp1 = 0 ;
 
8764
  int res1 = 0 ;
 
8765
  void *argp2 = 0 ;
 
8766
  int res2 = 0 ;
 
8767
  PyObject * obj0 = 0 ;
 
8768
  PyObject * obj1 = 0 ;
 
8769
  char *  kwnames[] = {
 
8770
    (char *) "self",(char *) "tag", NULL 
 
8771
  };
 
8772
  
 
8773
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
 
8774
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8775
  if (!SWIG_IsOK(res1)) {
 
8776
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8777
  }
 
8778
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8779
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag,  0  | 0);
 
8780
  if (!SWIG_IsOK(res2)) {
 
8781
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
8782
  }
 
8783
  if (!argp2) {
 
8784
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
8785
  }
 
8786
  arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
 
8787
  {
 
8788
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8789
    (arg1)->SetAlign((wxHtmlTag const &)*arg2);
 
8790
    wxPyEndAllowThreads(__tstate);
 
8791
    if (PyErr_Occurred()) SWIG_fail;
 
8792
  }
 
8793
  resultobj = SWIG_Py_Void();
 
8794
  return resultobj;
 
8795
fail:
 
8796
  return NULL;
 
8797
}
 
8798
 
 
8799
 
 
8800
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8801
  PyObject *resultobj = 0;
 
8802
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8803
  int arg2 ;
 
8804
  int arg3 ;
 
8805
  void *argp1 = 0 ;
 
8806
  int res1 = 0 ;
 
8807
  int val2 ;
 
8808
  int ecode2 = 0 ;
 
8809
  int val3 ;
 
8810
  int ecode3 = 0 ;
 
8811
  PyObject * obj0 = 0 ;
 
8812
  PyObject * obj1 = 0 ;
 
8813
  PyObject * obj2 = 0 ;
 
8814
  char *  kwnames[] = {
 
8815
    (char *) "self",(char *) "w",(char *) "units", NULL 
 
8816
  };
 
8817
  
 
8818
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8819
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8820
  if (!SWIG_IsOK(res1)) {
 
8821
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8822
  }
 
8823
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8824
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8825
  if (!SWIG_IsOK(ecode2)) {
 
8826
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
 
8827
  } 
 
8828
  arg2 = static_cast< int >(val2);
 
8829
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
8830
  if (!SWIG_IsOK(ecode3)) {
 
8831
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
 
8832
  } 
 
8833
  arg3 = static_cast< int >(val3);
 
8834
  {
 
8835
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8836
    (arg1)->SetWidthFloat(arg2,arg3);
 
8837
    wxPyEndAllowThreads(__tstate);
 
8838
    if (PyErr_Occurred()) SWIG_fail;
 
8839
  }
 
8840
  resultobj = SWIG_Py_Void();
 
8841
  return resultobj;
 
8842
fail:
 
8843
  return NULL;
 
8844
}
 
8845
 
 
8846
 
 
8847
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8848
  PyObject *resultobj = 0;
 
8849
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8850
  wxHtmlTag *arg2 = 0 ;
 
8851
  void *argp1 = 0 ;
 
8852
  int res1 = 0 ;
 
8853
  void *argp2 = 0 ;
 
8854
  int res2 = 0 ;
 
8855
  PyObject * obj0 = 0 ;
 
8856
  PyObject * obj1 = 0 ;
 
8857
  char *  kwnames[] = {
 
8858
    (char *) "self",(char *) "tag", NULL 
 
8859
  };
 
8860
  
 
8861
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
 
8862
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8863
  if (!SWIG_IsOK(res1)) {
 
8864
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8865
  }
 
8866
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8867
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag,  0  | 0);
 
8868
  if (!SWIG_IsOK(res2)) {
 
8869
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
8870
  }
 
8871
  if (!argp2) {
 
8872
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); 
 
8873
  }
 
8874
  arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
 
8875
  {
 
8876
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8877
    (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
 
8878
    wxPyEndAllowThreads(__tstate);
 
8879
    if (PyErr_Occurred()) SWIG_fail;
 
8880
  }
 
8881
  resultobj = SWIG_Py_Void();
 
8882
  return resultobj;
 
8883
fail:
 
8884
  return NULL;
 
8885
}
 
8886
 
 
8887
 
 
8888
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8889
  PyObject *resultobj = 0;
 
8890
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8891
  int arg2 ;
 
8892
  int arg3 = (int) wxHTML_ALIGN_TOP ;
 
8893
  void *argp1 = 0 ;
 
8894
  int res1 = 0 ;
 
8895
  int val2 ;
 
8896
  int ecode2 = 0 ;
 
8897
  int val3 ;
 
8898
  int ecode3 = 0 ;
 
8899
  PyObject * obj0 = 0 ;
 
8900
  PyObject * obj1 = 0 ;
 
8901
  PyObject * obj2 = 0 ;
 
8902
  char *  kwnames[] = {
 
8903
    (char *) "self",(char *) "h",(char *) "align", NULL 
 
8904
  };
 
8905
  
 
8906
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8907
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8908
  if (!SWIG_IsOK(res1)) {
 
8909
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8910
  }
 
8911
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8912
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8913
  if (!SWIG_IsOK(ecode2)) {
 
8914
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
 
8915
  } 
 
8916
  arg2 = static_cast< int >(val2);
 
8917
  if (obj2) {
 
8918
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
8919
    if (!SWIG_IsOK(ecode3)) {
 
8920
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
 
8921
    } 
 
8922
    arg3 = static_cast< int >(val3);
 
8923
  }
 
8924
  {
 
8925
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8926
    (arg1)->SetMinHeight(arg2,arg3);
 
8927
    wxPyEndAllowThreads(__tstate);
 
8928
    if (PyErr_Occurred()) SWIG_fail;
 
8929
  }
 
8930
  resultobj = SWIG_Py_Void();
 
8931
  return resultobj;
 
8932
fail:
 
8933
  return NULL;
 
8934
}
 
8935
 
 
8936
 
 
8937
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8938
  PyObject *resultobj = 0;
 
8939
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8940
  wxColour *arg2 = 0 ;
 
8941
  void *argp1 = 0 ;
 
8942
  int res1 = 0 ;
 
8943
  wxColour temp2 ;
 
8944
  PyObject * obj0 = 0 ;
 
8945
  PyObject * obj1 = 0 ;
 
8946
  char *  kwnames[] = {
 
8947
    (char *) "self",(char *) "clr", NULL 
 
8948
  };
 
8949
  
 
8950
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
8951
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8952
  if (!SWIG_IsOK(res1)) {
 
8953
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8954
  }
 
8955
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8956
  {
 
8957
    arg2 = &temp2;
 
8958
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
8959
  }
 
8960
  {
 
8961
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8962
    (arg1)->SetBackgroundColour((wxColour const &)*arg2);
 
8963
    wxPyEndAllowThreads(__tstate);
 
8964
    if (PyErr_Occurred()) SWIG_fail;
 
8965
  }
 
8966
  resultobj = SWIG_Py_Void();
 
8967
  return resultobj;
 
8968
fail:
 
8969
  return NULL;
 
8970
}
 
8971
 
 
8972
 
 
8973
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8974
  PyObject *resultobj = 0;
 
8975
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
8976
  wxColour result;
 
8977
  void *argp1 = 0 ;
 
8978
  int res1 = 0 ;
 
8979
  PyObject *swig_obj[1] ;
 
8980
  
 
8981
  if (!args) SWIG_fail;
 
8982
  swig_obj[0] = args;
 
8983
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
8984
  if (!SWIG_IsOK(res1)) {
 
8985
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
8986
  }
 
8987
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
8988
  {
 
8989
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8990
    result = (arg1)->GetBackgroundColour();
 
8991
    wxPyEndAllowThreads(__tstate);
 
8992
    if (PyErr_Occurred()) SWIG_fail;
 
8993
  }
 
8994
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
8995
  return resultobj;
 
8996
fail:
 
8997
  return NULL;
 
8998
}
 
8999
 
 
9000
 
 
9001
SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9002
  PyObject *resultobj = 0;
 
9003
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
9004
  wxColour *arg2 = 0 ;
 
9005
  wxColour *arg3 = 0 ;
 
9006
  void *argp1 = 0 ;
 
9007
  int res1 = 0 ;
 
9008
  wxColour temp2 ;
 
9009
  wxColour temp3 ;
 
9010
  PyObject * obj0 = 0 ;
 
9011
  PyObject * obj1 = 0 ;
 
9012
  PyObject * obj2 = 0 ;
 
9013
  char *  kwnames[] = {
 
9014
    (char *) "self",(char *) "clr1",(char *) "clr2", NULL 
 
9015
  };
 
9016
  
 
9017
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9018
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
9019
  if (!SWIG_IsOK(res1)) {
 
9020
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
9021
  }
 
9022
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
9023
  {
 
9024
    arg2 = &temp2;
 
9025
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
9026
  }
 
9027
  {
 
9028
    arg3 = &temp3;
 
9029
    if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
 
9030
  }
 
9031
  {
 
9032
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9033
    (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
 
9034
    wxPyEndAllowThreads(__tstate);
 
9035
    if (PyErr_Occurred()) SWIG_fail;
 
9036
  }
 
9037
  resultobj = SWIG_Py_Void();
 
9038
  return resultobj;
 
9039
fail:
 
9040
  return NULL;
 
9041
}
 
9042
 
 
9043
 
 
9044
SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9045
  PyObject *resultobj = 0;
 
9046
  wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
 
9047
  wxHtmlCell *result = 0 ;
 
9048
  void *argp1 = 0 ;
 
9049
  int res1 = 0 ;
 
9050
  PyObject *swig_obj[1] ;
 
9051
  
 
9052
  if (!args) SWIG_fail;
 
9053
  swig_obj[0] = args;
 
9054
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
9055
  if (!SWIG_IsOK(res1)) {
 
9056
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); 
 
9057
  }
 
9058
  arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
 
9059
  {
 
9060
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9061
    result = (wxHtmlCell *)(arg1)->GetFirstChild();
 
9062
    wxPyEndAllowThreads(__tstate);
 
9063
    if (PyErr_Occurred()) SWIG_fail;
 
9064
  }
 
9065
  {
 
9066
    resultobj = wxPyMake_wxObject(result, 0); 
 
9067
  }
 
9068
  return resultobj;
 
9069
fail:
 
9070
  return NULL;
 
9071
}
 
9072
 
 
9073
 
 
9074
SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9075
  PyObject *obj;
 
9076
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9077
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
 
9078
  return SWIG_Py_Void();
 
9079
}
 
9080
 
 
9081
SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9082
  return SWIG_Python_InitShadowInstance(args);
 
9083
}
 
9084
 
 
9085
SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9086
  PyObject *resultobj = 0;
 
9087
  wxColour *arg1 = 0 ;
 
9088
  int arg2 = (int) wxHTML_CLR_FOREGROUND ;
 
9089
  wxHtmlColourCell *result = 0 ;
 
9090
  wxColour temp1 ;
 
9091
  int val2 ;
 
9092
  int ecode2 = 0 ;
 
9093
  PyObject * obj0 = 0 ;
 
9094
  PyObject * obj1 = 0 ;
 
9095
  char *  kwnames[] = {
 
9096
    (char *) "clr",(char *) "flags", NULL 
 
9097
  };
 
9098
  
 
9099
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
 
9100
  {
 
9101
    arg1 = &temp1;
 
9102
    if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
 
9103
  }
 
9104
  if (obj1) {
 
9105
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9106
    if (!SWIG_IsOK(ecode2)) {
 
9107
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
 
9108
    } 
 
9109
    arg2 = static_cast< int >(val2);
 
9110
  }
 
9111
  {
 
9112
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9113
    result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
 
9114
    wxPyEndAllowThreads(__tstate);
 
9115
    if (PyErr_Occurred()) SWIG_fail;
 
9116
  }
 
9117
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW |  0 );
 
9118
  return resultobj;
 
9119
fail:
 
9120
  return NULL;
 
9121
}
 
9122
 
 
9123
 
 
9124
SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9125
  PyObject *obj;
 
9126
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9127
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
 
9128
  return SWIG_Py_Void();
 
9129
}
 
9130
 
 
9131
SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9132
  return SWIG_Python_InitShadowInstance(args);
 
9133
}
 
9134
 
 
9135
SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9136
  PyObject *resultobj = 0;
 
9137
  wxFont *arg1 = (wxFont *) 0 ;
 
9138
  wxHtmlFontCell *result = 0 ;
 
9139
  void *argp1 = 0 ;
 
9140
  int res1 = 0 ;
 
9141
  PyObject * obj0 = 0 ;
 
9142
  char *  kwnames[] = {
 
9143
    (char *) "font", NULL 
 
9144
  };
 
9145
  
 
9146
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
 
9147
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 |  0 );
 
9148
  if (!SWIG_IsOK(res1)) {
 
9149
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'"); 
 
9150
  }
 
9151
  arg1 = reinterpret_cast< wxFont * >(argp1);
 
9152
  {
 
9153
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9154
    result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
 
9155
    wxPyEndAllowThreads(__tstate);
 
9156
    if (PyErr_Occurred()) SWIG_fail;
 
9157
  }
 
9158
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW |  0 );
 
9159
  return resultobj;
 
9160
fail:
 
9161
  return NULL;
 
9162
}
 
9163
 
 
9164
 
 
9165
SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9166
  PyObject *obj;
 
9167
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9168
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
 
9169
  return SWIG_Py_Void();
 
9170
}
 
9171
 
 
9172
SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9173
  return SWIG_Python_InitShadowInstance(args);
 
9174
}
 
9175
 
 
9176
SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9177
  PyObject *resultobj = 0;
 
9178
  wxWindow *arg1 = (wxWindow *) 0 ;
 
9179
  int arg2 = (int) 0 ;
 
9180
  wxHtmlWidgetCell *result = 0 ;
 
9181
  void *argp1 = 0 ;
 
9182
  int res1 = 0 ;
 
9183
  int val2 ;
 
9184
  int ecode2 = 0 ;
 
9185
  PyObject * obj0 = 0 ;
 
9186
  PyObject * obj1 = 0 ;
 
9187
  char *  kwnames[] = {
 
9188
    (char *) "wnd",(char *) "w", NULL 
 
9189
  };
 
9190
  
 
9191
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
 
9192
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
9193
  if (!SWIG_IsOK(res1)) {
 
9194
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
9195
  }
 
9196
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
9197
  if (obj1) {
 
9198
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9199
    if (!SWIG_IsOK(ecode2)) {
 
9200
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
 
9201
    } 
 
9202
    arg2 = static_cast< int >(val2);
 
9203
  }
 
9204
  {
 
9205
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9206
    result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
 
9207
    wxPyEndAllowThreads(__tstate);
 
9208
    if (PyErr_Occurred()) SWIG_fail;
 
9209
  }
 
9210
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW |  0 );
 
9211
  return resultobj;
 
9212
fail:
 
9213
  return NULL;
 
9214
}
 
9215
 
 
9216
 
 
9217
SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9218
  PyObject *obj;
 
9219
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9220
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
 
9221
  return SWIG_Py_Void();
 
9222
}
 
9223
 
 
9224
SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9225
  return SWIG_Python_InitShadowInstance(args);
 
9226
}
 
9227
 
 
9228
SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9229
  PyObject *resultobj = 0;
 
9230
  wxPyHtmlFilter *result = 0 ;
 
9231
  
 
9232
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
 
9233
  {
 
9234
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9235
    result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
 
9236
    wxPyEndAllowThreads(__tstate);
 
9237
    if (PyErr_Occurred()) SWIG_fail;
 
9238
  }
 
9239
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW |  0 );
 
9240
  return resultobj;
 
9241
fail:
 
9242
  return NULL;
 
9243
}
 
9244
 
 
9245
 
 
9246
SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9247
  PyObject *resultobj = 0;
 
9248
  wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
 
9249
  PyObject *arg2 = (PyObject *) 0 ;
 
9250
  PyObject *arg3 = (PyObject *) 0 ;
 
9251
  void *argp1 = 0 ;
 
9252
  int res1 = 0 ;
 
9253
  PyObject * obj0 = 0 ;
 
9254
  PyObject * obj1 = 0 ;
 
9255
  PyObject * obj2 = 0 ;
 
9256
  char *  kwnames[] = {
 
9257
    (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9258
  };
 
9259
  
 
9260
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9261
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 |  0 );
 
9262
  if (!SWIG_IsOK(res1)) {
 
9263
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); 
 
9264
  }
 
9265
  arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
 
9266
  arg2 = obj1;
 
9267
  arg3 = obj2;
 
9268
  {
 
9269
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9270
    (arg1)->_setCallbackInfo(arg2,arg3);
 
9271
    wxPyEndAllowThreads(__tstate);
 
9272
    if (PyErr_Occurred()) SWIG_fail;
 
9273
  }
 
9274
  resultobj = SWIG_Py_Void();
 
9275
  return resultobj;
 
9276
fail:
 
9277
  return NULL;
 
9278
}
 
9279
 
 
9280
 
 
9281
SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9282
  PyObject *obj;
 
9283
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9284
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
 
9285
  return SWIG_Py_Void();
 
9286
}
 
9287
 
 
9288
SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9289
  return SWIG_Python_InitShadowInstance(args);
 
9290
}
 
9291
 
 
9292
SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9293
  PyObject *resultobj = 0;
 
9294
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9295
  void *argp1 = 0 ;
 
9296
  int res1 = 0 ;
 
9297
  PyObject *swig_obj[1] ;
 
9298
  
 
9299
  if (!args) SWIG_fail;
 
9300
  swig_obj[0] = args;
 
9301
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN |  0 );
 
9302
  if (!SWIG_IsOK(res1)) {
 
9303
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); 
 
9304
  }
 
9305
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9306
  {
 
9307
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9308
    delete arg1;
 
9309
    
 
9310
    wxPyEndAllowThreads(__tstate);
 
9311
    if (PyErr_Occurred()) SWIG_fail;
 
9312
  }
 
9313
  resultobj = SWIG_Py_Void();
 
9314
  return resultobj;
 
9315
fail:
 
9316
  return NULL;
 
9317
}
 
9318
 
 
9319
 
 
9320
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9321
  PyObject *resultobj = 0;
 
9322
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9323
  wxString *arg2 = 0 ;
 
9324
  void *argp1 = 0 ;
 
9325
  int res1 = 0 ;
 
9326
  bool temp2 = false ;
 
9327
  PyObject * obj0 = 0 ;
 
9328
  PyObject * obj1 = 0 ;
 
9329
  char *  kwnames[] = {
 
9330
    (char *) "self",(char *) "title", NULL 
 
9331
  };
 
9332
  
 
9333
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
 
9334
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9335
  if (!SWIG_IsOK(res1)) {
 
9336
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); 
 
9337
  }
 
9338
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9339
  {
 
9340
    arg2 = wxString_in_helper(obj1);
 
9341
    if (arg2 == NULL) SWIG_fail;
 
9342
    temp2 = true;
 
9343
  }
 
9344
  {
 
9345
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9346
    (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
 
9347
    wxPyEndAllowThreads(__tstate);
 
9348
    if (PyErr_Occurred()) SWIG_fail;
 
9349
  }
 
9350
  resultobj = SWIG_Py_Void();
 
9351
  {
 
9352
    if (temp2)
 
9353
    delete arg2;
 
9354
  }
 
9355
  return resultobj;
 
9356
fail:
 
9357
  {
 
9358
    if (temp2)
 
9359
    delete arg2;
 
9360
  }
 
9361
  return NULL;
 
9362
}
 
9363
 
 
9364
 
 
9365
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9366
  PyObject *resultobj = 0;
 
9367
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9368
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
9369
  wxPoint *arg3 = 0 ;
 
9370
  wxPoint result;
 
9371
  void *argp1 = 0 ;
 
9372
  int res1 = 0 ;
 
9373
  void *argp2 = 0 ;
 
9374
  int res2 = 0 ;
 
9375
  wxPoint temp3 ;
 
9376
  PyObject * obj0 = 0 ;
 
9377
  PyObject * obj1 = 0 ;
 
9378
  PyObject * obj2 = 0 ;
 
9379
  char *  kwnames[] = {
 
9380
    (char *) "self",(char *) "cell",(char *) "pos", NULL 
 
9381
  };
 
9382
  
 
9383
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9384
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9385
  if (!SWIG_IsOK(res1)) {
 
9386
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); 
 
9387
  }
 
9388
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9389
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
9390
  if (!SWIG_IsOK(res2)) {
 
9391
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); 
 
9392
  }
 
9393
  arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
9394
  {
 
9395
    arg3 = &temp3;
 
9396
    if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
9397
  }
 
9398
  {
 
9399
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9400
    result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
 
9401
    wxPyEndAllowThreads(__tstate);
 
9402
    if (PyErr_Occurred()) SWIG_fail;
 
9403
  }
 
9404
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
9405
  return resultobj;
 
9406
fail:
 
9407
  return NULL;
 
9408
}
 
9409
 
 
9410
 
 
9411
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9412
  PyObject *resultobj = 0;
 
9413
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9414
  wxWindow *result = 0 ;
 
9415
  void *argp1 = 0 ;
 
9416
  int res1 = 0 ;
 
9417
  PyObject *swig_obj[1] ;
 
9418
  
 
9419
  if (!args) SWIG_fail;
 
9420
  swig_obj[0] = args;
 
9421
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9422
  if (!SWIG_IsOK(res1)) {
 
9423
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); 
 
9424
  }
 
9425
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9426
  {
 
9427
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9428
    result = (wxWindow *)(arg1)->GetHTMLWindow();
 
9429
    wxPyEndAllowThreads(__tstate);
 
9430
    if (PyErr_Occurred()) SWIG_fail;
 
9431
  }
 
9432
  {
 
9433
    resultobj = wxPyMake_wxObject(result, 0); 
 
9434
  }
 
9435
  return resultobj;
 
9436
fail:
 
9437
  return NULL;
 
9438
}
 
9439
 
 
9440
 
 
9441
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9442
  PyObject *resultobj = 0;
 
9443
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9444
  wxColour result;
 
9445
  void *argp1 = 0 ;
 
9446
  int res1 = 0 ;
 
9447
  PyObject *swig_obj[1] ;
 
9448
  
 
9449
  if (!args) SWIG_fail;
 
9450
  swig_obj[0] = args;
 
9451
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9452
  if (!SWIG_IsOK(res1)) {
 
9453
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); 
 
9454
  }
 
9455
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9456
  {
 
9457
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9458
    result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
 
9459
    wxPyEndAllowThreads(__tstate);
 
9460
    if (PyErr_Occurred()) SWIG_fail;
 
9461
  }
 
9462
  resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN |  0 );
 
9463
  return resultobj;
 
9464
fail:
 
9465
  return NULL;
 
9466
}
 
9467
 
 
9468
 
 
9469
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9470
  PyObject *resultobj = 0;
 
9471
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9472
  wxColour *arg2 = 0 ;
 
9473
  void *argp1 = 0 ;
 
9474
  int res1 = 0 ;
 
9475
  wxColour temp2 ;
 
9476
  PyObject * obj0 = 0 ;
 
9477
  PyObject * obj1 = 0 ;
 
9478
  char *  kwnames[] = {
 
9479
    (char *) "self",(char *) "clr", NULL 
 
9480
  };
 
9481
  
 
9482
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
9483
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9484
  if (!SWIG_IsOK(res1)) {
 
9485
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); 
 
9486
  }
 
9487
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9488
  {
 
9489
    arg2 = &temp2;
 
9490
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
9491
  }
 
9492
  {
 
9493
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9494
    (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
 
9495
    wxPyEndAllowThreads(__tstate);
 
9496
    if (PyErr_Occurred()) SWIG_fail;
 
9497
  }
 
9498
  resultobj = SWIG_Py_Void();
 
9499
  return resultobj;
 
9500
fail:
 
9501
  return NULL;
 
9502
}
 
9503
 
 
9504
 
 
9505
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9506
  PyObject *resultobj = 0;
 
9507
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9508
  wxBitmap *arg2 = 0 ;
 
9509
  void *argp1 = 0 ;
 
9510
  int res1 = 0 ;
 
9511
  void *argp2 = 0 ;
 
9512
  int res2 = 0 ;
 
9513
  PyObject * obj0 = 0 ;
 
9514
  PyObject * obj1 = 0 ;
 
9515
  char *  kwnames[] = {
 
9516
    (char *) "self",(char *) "bmpBg", NULL 
 
9517
  };
 
9518
  
 
9519
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
 
9520
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9521
  if (!SWIG_IsOK(res1)) {
 
9522
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); 
 
9523
  }
 
9524
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9525
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap,  0  | 0);
 
9526
  if (!SWIG_IsOK(res2)) {
 
9527
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); 
 
9528
  }
 
9529
  if (!argp2) {
 
9530
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); 
 
9531
  }
 
9532
  arg2 = reinterpret_cast< wxBitmap * >(argp2);
 
9533
  {
 
9534
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9535
    (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
 
9536
    wxPyEndAllowThreads(__tstate);
 
9537
    if (PyErr_Occurred()) SWIG_fail;
 
9538
  }
 
9539
  resultobj = SWIG_Py_Void();
 
9540
  return resultobj;
 
9541
fail:
 
9542
  return NULL;
 
9543
}
 
9544
 
 
9545
 
 
9546
SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9547
  PyObject *resultobj = 0;
 
9548
  wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
 
9549
  wxString *arg2 = 0 ;
 
9550
  void *argp1 = 0 ;
 
9551
  int res1 = 0 ;
 
9552
  bool temp2 = false ;
 
9553
  PyObject * obj0 = 0 ;
 
9554
  PyObject * obj1 = 0 ;
 
9555
  char *  kwnames[] = {
 
9556
    (char *) "self",(char *) "text", NULL 
 
9557
  };
 
9558
  
 
9559
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
 
9560
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 |  0 );
 
9561
  if (!SWIG_IsOK(res1)) {
 
9562
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); 
 
9563
  }
 
9564
  arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
 
9565
  {
 
9566
    arg2 = wxString_in_helper(obj1);
 
9567
    if (arg2 == NULL) SWIG_fail;
 
9568
    temp2 = true;
 
9569
  }
 
9570
  {
 
9571
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9572
    (arg1)->SetHTMLStatusText((wxString const &)*arg2);
 
9573
    wxPyEndAllowThreads(__tstate);
 
9574
    if (PyErr_Occurred()) SWIG_fail;
 
9575
  }
 
9576
  resultobj = SWIG_Py_Void();
 
9577
  {
 
9578
    if (temp2)
 
9579
    delete arg2;
 
9580
  }
 
9581
  return resultobj;
 
9582
fail:
 
9583
  {
 
9584
    if (temp2)
 
9585
    delete arg2;
 
9586
  }
 
9587
  return NULL;
 
9588
}
 
9589
 
 
9590
 
 
9591
SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9592
  PyObject *obj;
 
9593
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9594
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
 
9595
  return SWIG_Py_Void();
 
9596
}
 
9597
 
 
9598
SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9599
  PyObject *resultobj = 0;
 
9600
  wxWindow *arg1 = (wxWindow *) 0 ;
 
9601
  int arg2 = (int) -1 ;
 
9602
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
9603
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
9604
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
9605
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
9606
  int arg5 = (int) wxHW_DEFAULT_STYLE ;
 
9607
  wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
 
9608
  wxString *arg6 = (wxString *) &arg6_defvalue ;
 
9609
  wxPyHtmlWindow *result = 0 ;
 
9610
  void *argp1 = 0 ;
 
9611
  int res1 = 0 ;
 
9612
  int val2 ;
 
9613
  int ecode2 = 0 ;
 
9614
  wxPoint temp3 ;
 
9615
  wxSize temp4 ;
 
9616
  int val5 ;
 
9617
  int ecode5 = 0 ;
 
9618
  bool temp6 = false ;
 
9619
  PyObject * obj0 = 0 ;
 
9620
  PyObject * obj1 = 0 ;
 
9621
  PyObject * obj2 = 0 ;
 
9622
  PyObject * obj3 = 0 ;
 
9623
  PyObject * obj4 = 0 ;
 
9624
  PyObject * obj5 = 0 ;
 
9625
  char *  kwnames[] = {
 
9626
    (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9627
  };
 
9628
  
 
9629
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
9630
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
9631
  if (!SWIG_IsOK(res1)) {
 
9632
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
9633
  }
 
9634
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
9635
  if (obj1) {
 
9636
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9637
    if (!SWIG_IsOK(ecode2)) {
 
9638
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
 
9639
    } 
 
9640
    arg2 = static_cast< int >(val2);
 
9641
  }
 
9642
  if (obj2) {
 
9643
    {
 
9644
      arg3 = &temp3;
 
9645
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
9646
    }
 
9647
  }
 
9648
  if (obj3) {
 
9649
    {
 
9650
      arg4 = &temp4;
 
9651
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
9652
    }
 
9653
  }
 
9654
  if (obj4) {
 
9655
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
9656
    if (!SWIG_IsOK(ecode5)) {
 
9657
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
 
9658
    } 
 
9659
    arg5 = static_cast< int >(val5);
 
9660
  }
 
9661
  if (obj5) {
 
9662
    {
 
9663
      arg6 = wxString_in_helper(obj5);
 
9664
      if (arg6 == NULL) SWIG_fail;
 
9665
      temp6 = true;
 
9666
    }
 
9667
  }
 
9668
  {
 
9669
    if (!wxPyCheckForApp()) SWIG_fail;
 
9670
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9671
    result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
 
9672
    wxPyEndAllowThreads(__tstate);
 
9673
    if (PyErr_Occurred()) SWIG_fail;
 
9674
  }
 
9675
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW |  0 );
 
9676
  {
 
9677
    if (temp6)
 
9678
    delete arg6;
 
9679
  }
 
9680
  return resultobj;
 
9681
fail:
 
9682
  {
 
9683
    if (temp6)
 
9684
    delete arg6;
 
9685
  }
 
9686
  return NULL;
 
9687
}
 
9688
 
 
9689
 
 
9690
SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9691
  PyObject *resultobj = 0;
 
9692
  wxPyHtmlWindow *result = 0 ;
 
9693
  
 
9694
  if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
 
9695
  {
 
9696
    if (!wxPyCheckForApp()) SWIG_fail;
 
9697
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9698
    result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
 
9699
    wxPyEndAllowThreads(__tstate);
 
9700
    if (PyErr_Occurred()) SWIG_fail;
 
9701
  }
 
9702
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN |  0 );
 
9703
  return resultobj;
 
9704
fail:
 
9705
  return NULL;
 
9706
}
 
9707
 
 
9708
 
 
9709
SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9710
  PyObject *resultobj = 0;
 
9711
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
9712
  wxWindow *arg2 = (wxWindow *) 0 ;
 
9713
  int arg3 = (int) -1 ;
 
9714
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
9715
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
9716
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
9717
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
9718
  int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
 
9719
  wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
 
9720
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
9721
  bool result;
 
9722
  void *argp1 = 0 ;
 
9723
  int res1 = 0 ;
 
9724
  void *argp2 = 0 ;
 
9725
  int res2 = 0 ;
 
9726
  int val3 ;
 
9727
  int ecode3 = 0 ;
 
9728
  wxPoint temp4 ;
 
9729
  wxSize temp5 ;
 
9730
  int val6 ;
 
9731
  int ecode6 = 0 ;
 
9732
  bool temp7 = false ;
 
9733
  PyObject * obj0 = 0 ;
 
9734
  PyObject * obj1 = 0 ;
 
9735
  PyObject * obj2 = 0 ;
 
9736
  PyObject * obj3 = 0 ;
 
9737
  PyObject * obj4 = 0 ;
 
9738
  PyObject * obj5 = 0 ;
 
9739
  PyObject * obj6 = 0 ;
 
9740
  char *  kwnames[] = {
 
9741
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9742
  };
 
9743
  
 
9744
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
9745
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
9746
  if (!SWIG_IsOK(res1)) {
 
9747
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
9748
  }
 
9749
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
9750
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
9751
  if (!SWIG_IsOK(res2)) {
 
9752
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
9753
  }
 
9754
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
9755
  if (obj2) {
 
9756
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
9757
    if (!SWIG_IsOK(ecode3)) {
 
9758
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
 
9759
    } 
 
9760
    arg3 = static_cast< int >(val3);
 
9761
  }
 
9762
  if (obj3) {
 
9763
    {
 
9764
      arg4 = &temp4;
 
9765
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
9766
    }
 
9767
  }
 
9768
  if (obj4) {
 
9769
    {
 
9770
      arg5 = &temp5;
 
9771
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
9772
    }
 
9773
  }
 
9774
  if (obj5) {
 
9775
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
9776
    if (!SWIG_IsOK(ecode6)) {
 
9777
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
 
9778
    } 
 
9779
    arg6 = static_cast< int >(val6);
 
9780
  }
 
9781
  if (obj6) {
 
9782
    {
 
9783
      arg7 = wxString_in_helper(obj6);
 
9784
      if (arg7 == NULL) SWIG_fail;
 
9785
      temp7 = true;
 
9786
    }
 
9787
  }
 
9788
  {
 
9789
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9790
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
 
9791
    wxPyEndAllowThreads(__tstate);
 
9792
    if (PyErr_Occurred()) SWIG_fail;
 
9793
  }
 
9794
  {
 
9795
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9796
  }
 
9797
  {
 
9798
    if (temp7)
 
9799
    delete arg7;
 
9800
  }
 
9801
  return resultobj;
 
9802
fail:
 
9803
  {
 
9804
    if (temp7)
 
9805
    delete arg7;
 
9806
  }
 
9807
  return NULL;
 
9808
}
 
9809
 
 
9810
 
 
9811
SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9812
  PyObject *resultobj = 0;
 
9813
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
9814
  PyObject *arg2 = (PyObject *) 0 ;
 
9815
  PyObject *arg3 = (PyObject *) 0 ;
 
9816
  void *argp1 = 0 ;
 
9817
  int res1 = 0 ;
 
9818
  PyObject * obj0 = 0 ;
 
9819
  PyObject * obj1 = 0 ;
 
9820
  PyObject * obj2 = 0 ;
 
9821
  char *  kwnames[] = {
 
9822
    (char *) "self",(char *) "self",(char *) "_class", NULL 
 
9823
  };
 
9824
  
 
9825
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9826
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
9827
  if (!SWIG_IsOK(res1)) {
 
9828
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
9829
  }
 
9830
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
9831
  arg2 = obj1;
 
9832
  arg3 = obj2;
 
9833
  {
 
9834
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9835
    (arg1)->_setCallbackInfo(arg2,arg3);
 
9836
    wxPyEndAllowThreads(__tstate);
 
9837
    if (PyErr_Occurred()) SWIG_fail;
 
9838
  }
 
9839
  resultobj = SWIG_Py_Void();
 
9840
  return resultobj;
 
9841
fail:
 
9842
  return NULL;
 
9843
}
 
9844
 
 
9845
 
 
9846
SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9847
  PyObject *resultobj = 0;
 
9848
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
9849
  wxString *arg2 = 0 ;
 
9850
  bool result;
 
9851
  void *argp1 = 0 ;
 
9852
  int res1 = 0 ;
 
9853
  bool temp2 = false ;
 
9854
  PyObject * obj0 = 0 ;
 
9855
  PyObject * obj1 = 0 ;
 
9856
  char *  kwnames[] = {
 
9857
    (char *) "self",(char *) "source", NULL 
 
9858
  };
 
9859
  
 
9860
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
 
9861
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
9862
  if (!SWIG_IsOK(res1)) {
 
9863
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
9864
  }
 
9865
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
9866
  {
 
9867
    arg2 = wxString_in_helper(obj1);
 
9868
    if (arg2 == NULL) SWIG_fail;
 
9869
    temp2 = true;
 
9870
  }
 
9871
  {
 
9872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9873
    result = (bool)(arg1)->SetPage((wxString const &)*arg2);
 
9874
    wxPyEndAllowThreads(__tstate);
 
9875
    if (PyErr_Occurred()) SWIG_fail;
 
9876
  }
 
9877
  {
 
9878
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9879
  }
 
9880
  {
 
9881
    if (temp2)
 
9882
    delete arg2;
 
9883
  }
 
9884
  return resultobj;
 
9885
fail:
 
9886
  {
 
9887
    if (temp2)
 
9888
    delete arg2;
 
9889
  }
 
9890
  return NULL;
 
9891
}
 
9892
 
 
9893
 
 
9894
SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9895
  PyObject *resultobj = 0;
 
9896
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
9897
  wxString *arg2 = 0 ;
 
9898
  bool result;
 
9899
  void *argp1 = 0 ;
 
9900
  int res1 = 0 ;
 
9901
  bool temp2 = false ;
 
9902
  PyObject * obj0 = 0 ;
 
9903
  PyObject * obj1 = 0 ;
 
9904
  char *  kwnames[] = {
 
9905
    (char *) "self",(char *) "location", NULL 
 
9906
  };
 
9907
  
 
9908
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
 
9909
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
9910
  if (!SWIG_IsOK(res1)) {
 
9911
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
9912
  }
 
9913
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
9914
  {
 
9915
    arg2 = wxString_in_helper(obj1);
 
9916
    if (arg2 == NULL) SWIG_fail;
 
9917
    temp2 = true;
 
9918
  }
 
9919
  {
 
9920
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9921
    result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
 
9922
    wxPyEndAllowThreads(__tstate);
 
9923
    if (PyErr_Occurred()) SWIG_fail;
 
9924
  }
 
9925
  {
 
9926
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9927
  }
 
9928
  {
 
9929
    if (temp2)
 
9930
    delete arg2;
 
9931
  }
 
9932
  return resultobj;
 
9933
fail:
 
9934
  {
 
9935
    if (temp2)
 
9936
    delete arg2;
 
9937
  }
 
9938
  return NULL;
 
9939
}
 
9940
 
 
9941
 
 
9942
SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9943
  PyObject *resultobj = 0;
 
9944
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
9945
  wxString *arg2 = 0 ;
 
9946
  bool result;
 
9947
  void *argp1 = 0 ;
 
9948
  int res1 = 0 ;
 
9949
  bool temp2 = false ;
 
9950
  PyObject * obj0 = 0 ;
 
9951
  PyObject * obj1 = 0 ;
 
9952
  char *  kwnames[] = {
 
9953
    (char *) "self",(char *) "filename", NULL 
 
9954
  };
 
9955
  
 
9956
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
 
9957
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
9958
  if (!SWIG_IsOK(res1)) {
 
9959
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
9960
  }
 
9961
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
9962
  {
 
9963
    arg2 = wxString_in_helper(obj1);
 
9964
    if (arg2 == NULL) SWIG_fail;
 
9965
    temp2 = true;
 
9966
  }
 
9967
  {
 
9968
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9969
    result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
 
9970
    wxPyEndAllowThreads(__tstate);
 
9971
    if (PyErr_Occurred()) SWIG_fail;
 
9972
  }
 
9973
  {
 
9974
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9975
  }
 
9976
  {
 
9977
    if (temp2)
 
9978
    delete arg2;
 
9979
  }
 
9980
  return resultobj;
 
9981
fail:
 
9982
  {
 
9983
    if (temp2)
 
9984
    delete arg2;
 
9985
  }
 
9986
  return NULL;
 
9987
}
 
9988
 
 
9989
 
 
9990
SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9991
  PyObject *resultobj = 0;
 
9992
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
9993
  wxString *arg2 = 0 ;
 
9994
  bool result;
 
9995
  void *argp1 = 0 ;
 
9996
  int res1 = 0 ;
 
9997
  bool temp2 = false ;
 
9998
  PyObject * obj0 = 0 ;
 
9999
  PyObject * obj1 = 0 ;
 
10000
  char *  kwnames[] = {
 
10001
    (char *) "self",(char *) "source", NULL 
 
10002
  };
 
10003
  
 
10004
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
 
10005
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10006
  if (!SWIG_IsOK(res1)) {
 
10007
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10008
  }
 
10009
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10010
  {
 
10011
    arg2 = wxString_in_helper(obj1);
 
10012
    if (arg2 == NULL) SWIG_fail;
 
10013
    temp2 = true;
 
10014
  }
 
10015
  {
 
10016
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10017
    result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
 
10018
    wxPyEndAllowThreads(__tstate);
 
10019
    if (PyErr_Occurred()) SWIG_fail;
 
10020
  }
 
10021
  {
 
10022
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10023
  }
 
10024
  {
 
10025
    if (temp2)
 
10026
    delete arg2;
 
10027
  }
 
10028
  return resultobj;
 
10029
fail:
 
10030
  {
 
10031
    if (temp2)
 
10032
    delete arg2;
 
10033
  }
 
10034
  return NULL;
 
10035
}
 
10036
 
 
10037
 
 
10038
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10039
  PyObject *resultobj = 0;
 
10040
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10041
  wxString result;
 
10042
  void *argp1 = 0 ;
 
10043
  int res1 = 0 ;
 
10044
  PyObject *swig_obj[1] ;
 
10045
  
 
10046
  if (!args) SWIG_fail;
 
10047
  swig_obj[0] = args;
 
10048
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10049
  if (!SWIG_IsOK(res1)) {
 
10050
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10051
  }
 
10052
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10053
  {
 
10054
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10055
    result = (arg1)->GetOpenedPage();
 
10056
    wxPyEndAllowThreads(__tstate);
 
10057
    if (PyErr_Occurred()) SWIG_fail;
 
10058
  }
 
10059
  {
 
10060
#if wxUSE_UNICODE
 
10061
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10062
#else
 
10063
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10064
#endif
 
10065
  }
 
10066
  return resultobj;
 
10067
fail:
 
10068
  return NULL;
 
10069
}
 
10070
 
 
10071
 
 
10072
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10073
  PyObject *resultobj = 0;
 
10074
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10075
  wxString result;
 
10076
  void *argp1 = 0 ;
 
10077
  int res1 = 0 ;
 
10078
  PyObject *swig_obj[1] ;
 
10079
  
 
10080
  if (!args) SWIG_fail;
 
10081
  swig_obj[0] = args;
 
10082
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10083
  if (!SWIG_IsOK(res1)) {
 
10084
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10085
  }
 
10086
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10087
  {
 
10088
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10089
    result = (arg1)->GetOpenedAnchor();
 
10090
    wxPyEndAllowThreads(__tstate);
 
10091
    if (PyErr_Occurred()) SWIG_fail;
 
10092
  }
 
10093
  {
 
10094
#if wxUSE_UNICODE
 
10095
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10096
#else
 
10097
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10098
#endif
 
10099
  }
 
10100
  return resultobj;
 
10101
fail:
 
10102
  return NULL;
 
10103
}
 
10104
 
 
10105
 
 
10106
SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10107
  PyObject *resultobj = 0;
 
10108
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10109
  wxString result;
 
10110
  void *argp1 = 0 ;
 
10111
  int res1 = 0 ;
 
10112
  PyObject *swig_obj[1] ;
 
10113
  
 
10114
  if (!args) SWIG_fail;
 
10115
  swig_obj[0] = args;
 
10116
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10117
  if (!SWIG_IsOK(res1)) {
 
10118
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10119
  }
 
10120
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10121
  {
 
10122
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10123
    result = (arg1)->GetOpenedPageTitle();
 
10124
    wxPyEndAllowThreads(__tstate);
 
10125
    if (PyErr_Occurred()) SWIG_fail;
 
10126
  }
 
10127
  {
 
10128
#if wxUSE_UNICODE
 
10129
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10130
#else
 
10131
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10132
#endif
 
10133
  }
 
10134
  return resultobj;
 
10135
fail:
 
10136
  return NULL;
 
10137
}
 
10138
 
 
10139
 
 
10140
SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10141
  PyObject *resultobj = 0;
 
10142
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10143
  wxFrame *arg2 = (wxFrame *) 0 ;
 
10144
  wxString *arg3 = 0 ;
 
10145
  void *argp1 = 0 ;
 
10146
  int res1 = 0 ;
 
10147
  void *argp2 = 0 ;
 
10148
  int res2 = 0 ;
 
10149
  bool temp3 = false ;
 
10150
  PyObject * obj0 = 0 ;
 
10151
  PyObject * obj1 = 0 ;
 
10152
  PyObject * obj2 = 0 ;
 
10153
  char *  kwnames[] = {
 
10154
    (char *) "self",(char *) "frame",(char *) "format", NULL 
 
10155
  };
 
10156
  
 
10157
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10158
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10159
  if (!SWIG_IsOK(res1)) {
 
10160
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10161
  }
 
10162
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10163
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 |  0 );
 
10164
  if (!SWIG_IsOK(res2)) {
 
10165
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'"); 
 
10166
  }
 
10167
  arg2 = reinterpret_cast< wxFrame * >(argp2);
 
10168
  {
 
10169
    arg3 = wxString_in_helper(obj2);
 
10170
    if (arg3 == NULL) SWIG_fail;
 
10171
    temp3 = true;
 
10172
  }
 
10173
  {
 
10174
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10175
    (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
 
10176
    wxPyEndAllowThreads(__tstate);
 
10177
    if (PyErr_Occurred()) SWIG_fail;
 
10178
  }
 
10179
  resultobj = SWIG_Py_Void();
 
10180
  {
 
10181
    if (temp3)
 
10182
    delete arg3;
 
10183
  }
 
10184
  return resultobj;
 
10185
fail:
 
10186
  {
 
10187
    if (temp3)
 
10188
    delete arg3;
 
10189
  }
 
10190
  return NULL;
 
10191
}
 
10192
 
 
10193
 
 
10194
SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10195
  PyObject *resultobj = 0;
 
10196
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10197
  wxFrame *result = 0 ;
 
10198
  void *argp1 = 0 ;
 
10199
  int res1 = 0 ;
 
10200
  PyObject *swig_obj[1] ;
 
10201
  
 
10202
  if (!args) SWIG_fail;
 
10203
  swig_obj[0] = args;
 
10204
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10205
  if (!SWIG_IsOK(res1)) {
 
10206
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10207
  }
 
10208
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10209
  {
 
10210
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10211
    result = (wxFrame *)(arg1)->GetRelatedFrame();
 
10212
    wxPyEndAllowThreads(__tstate);
 
10213
    if (PyErr_Occurred()) SWIG_fail;
 
10214
  }
 
10215
  {
 
10216
    resultobj = wxPyMake_wxObject(result, 0); 
 
10217
  }
 
10218
  return resultobj;
 
10219
fail:
 
10220
  return NULL;
 
10221
}
 
10222
 
 
10223
 
 
10224
SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10225
  PyObject *resultobj = 0;
 
10226
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10227
  int arg2 ;
 
10228
  void *argp1 = 0 ;
 
10229
  int res1 = 0 ;
 
10230
  int val2 ;
 
10231
  int ecode2 = 0 ;
 
10232
  PyObject * obj0 = 0 ;
 
10233
  PyObject * obj1 = 0 ;
 
10234
  char *  kwnames[] = {
 
10235
    (char *) "self",(char *) "bar", NULL 
 
10236
  };
 
10237
  
 
10238
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
 
10239
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10240
  if (!SWIG_IsOK(res1)) {
 
10241
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10242
  }
 
10243
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10244
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10245
  if (!SWIG_IsOK(ecode2)) {
 
10246
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
 
10247
  } 
 
10248
  arg2 = static_cast< int >(val2);
 
10249
  {
 
10250
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10251
    (arg1)->SetRelatedStatusBar(arg2);
 
10252
    wxPyEndAllowThreads(__tstate);
 
10253
    if (PyErr_Occurred()) SWIG_fail;
 
10254
  }
 
10255
  resultobj = SWIG_Py_Void();
 
10256
  return resultobj;
 
10257
fail:
 
10258
  return NULL;
 
10259
}
 
10260
 
 
10261
 
 
10262
SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10263
  PyObject *resultobj = 0;
 
10264
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10265
  wxString arg2 ;
 
10266
  wxString arg3 ;
 
10267
  PyObject *arg4 = (PyObject *) NULL ;
 
10268
  void *argp1 = 0 ;
 
10269
  int res1 = 0 ;
 
10270
  PyObject * obj0 = 0 ;
 
10271
  PyObject * obj1 = 0 ;
 
10272
  PyObject * obj2 = 0 ;
 
10273
  PyObject * obj3 = 0 ;
 
10274
  char *  kwnames[] = {
 
10275
    (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL 
 
10276
  };
 
10277
  
 
10278
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
10279
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10280
  if (!SWIG_IsOK(res1)) {
 
10281
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10282
  }
 
10283
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10284
  {
 
10285
    wxString* sptr = wxString_in_helper(obj1);
 
10286
    if (sptr == NULL) SWIG_fail;
 
10287
    arg2 = *sptr;
 
10288
    delete sptr;
 
10289
  }
 
10290
  {
 
10291
    wxString* sptr = wxString_in_helper(obj2);
 
10292
    if (sptr == NULL) SWIG_fail;
 
10293
    arg3 = *sptr;
 
10294
    delete sptr;
 
10295
  }
 
10296
  if (obj3) {
 
10297
    arg4 = obj3;
 
10298
  }
 
10299
  {
 
10300
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10301
    wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
 
10302
    wxPyEndAllowThreads(__tstate);
 
10303
    if (PyErr_Occurred()) SWIG_fail;
 
10304
  }
 
10305
  resultobj = SWIG_Py_Void();
 
10306
  return resultobj;
 
10307
fail:
 
10308
  return NULL;
 
10309
}
 
10310
 
 
10311
 
 
10312
SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10313
  PyObject *resultobj = 0;
 
10314
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10315
  int arg2 = (int) -1 ;
 
10316
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
10317
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
10318
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
10319
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
10320
  void *argp1 = 0 ;
 
10321
  int res1 = 0 ;
 
10322
  int val2 ;
 
10323
  int ecode2 = 0 ;
 
10324
  bool temp3 = false ;
 
10325
  bool temp4 = false ;
 
10326
  PyObject * obj0 = 0 ;
 
10327
  PyObject * obj1 = 0 ;
 
10328
  PyObject * obj2 = 0 ;
 
10329
  PyObject * obj3 = 0 ;
 
10330
  char *  kwnames[] = {
 
10331
    (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL 
 
10332
  };
 
10333
  
 
10334
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
10335
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10336
  if (!SWIG_IsOK(res1)) {
 
10337
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10338
  }
 
10339
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10340
  if (obj1) {
 
10341
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10342
    if (!SWIG_IsOK(ecode2)) {
 
10343
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
 
10344
    } 
 
10345
    arg2 = static_cast< int >(val2);
 
10346
  }
 
10347
  if (obj2) {
 
10348
    {
 
10349
      arg3 = wxString_in_helper(obj2);
 
10350
      if (arg3 == NULL) SWIG_fail;
 
10351
      temp3 = true;
 
10352
    }
 
10353
  }
 
10354
  if (obj3) {
 
10355
    {
 
10356
      arg4 = wxString_in_helper(obj3);
 
10357
      if (arg4 == NULL) SWIG_fail;
 
10358
      temp4 = true;
 
10359
    }
 
10360
  }
 
10361
  {
 
10362
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10363
    (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
 
10364
    wxPyEndAllowThreads(__tstate);
 
10365
    if (PyErr_Occurred()) SWIG_fail;
 
10366
  }
 
10367
  resultobj = SWIG_Py_Void();
 
10368
  {
 
10369
    if (temp3)
 
10370
    delete arg3;
 
10371
  }
 
10372
  {
 
10373
    if (temp4)
 
10374
    delete arg4;
 
10375
  }
 
10376
  return resultobj;
 
10377
fail:
 
10378
  {
 
10379
    if (temp3)
 
10380
    delete arg3;
 
10381
  }
 
10382
  {
 
10383
    if (temp4)
 
10384
    delete arg4;
 
10385
  }
 
10386
  return NULL;
 
10387
}
 
10388
 
 
10389
 
 
10390
SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10391
  PyObject *resultobj = 0;
 
10392
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10393
  int arg2 ;
 
10394
  void *argp1 = 0 ;
 
10395
  int res1 = 0 ;
 
10396
  int val2 ;
 
10397
  int ecode2 = 0 ;
 
10398
  PyObject * obj0 = 0 ;
 
10399
  PyObject * obj1 = 0 ;
 
10400
  char *  kwnames[] = {
 
10401
    (char *) "self",(char *) "b", NULL 
 
10402
  };
 
10403
  
 
10404
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
 
10405
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10406
  if (!SWIG_IsOK(res1)) {
 
10407
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10408
  }
 
10409
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10410
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10411
  if (!SWIG_IsOK(ecode2)) {
 
10412
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
 
10413
  } 
 
10414
  arg2 = static_cast< int >(val2);
 
10415
  {
 
10416
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10417
    (arg1)->SetBorders(arg2);
 
10418
    wxPyEndAllowThreads(__tstate);
 
10419
    if (PyErr_Occurred()) SWIG_fail;
 
10420
  }
 
10421
  resultobj = SWIG_Py_Void();
 
10422
  return resultobj;
 
10423
fail:
 
10424
  return NULL;
 
10425
}
 
10426
 
 
10427
 
 
10428
SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10429
  PyObject *resultobj = 0;
 
10430
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10431
  wxBitmap *arg2 = 0 ;
 
10432
  void *argp1 = 0 ;
 
10433
  int res1 = 0 ;
 
10434
  void *argp2 = 0 ;
 
10435
  int res2 = 0 ;
 
10436
  PyObject * obj0 = 0 ;
 
10437
  PyObject * obj1 = 0 ;
 
10438
  char *  kwnames[] = {
 
10439
    (char *) "self",(char *) "bmpBg", NULL 
 
10440
  };
 
10441
  
 
10442
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
 
10443
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10444
  if (!SWIG_IsOK(res1)) {
 
10445
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10446
  }
 
10447
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10448
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap,  0  | 0);
 
10449
  if (!SWIG_IsOK(res2)) {
 
10450
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); 
 
10451
  }
 
10452
  if (!argp2) {
 
10453
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); 
 
10454
  }
 
10455
  arg2 = reinterpret_cast< wxBitmap * >(argp2);
 
10456
  {
 
10457
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10458
    (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
 
10459
    wxPyEndAllowThreads(__tstate);
 
10460
    if (PyErr_Occurred()) SWIG_fail;
 
10461
  }
 
10462
  resultobj = SWIG_Py_Void();
 
10463
  return resultobj;
 
10464
fail:
 
10465
  return NULL;
 
10466
}
 
10467
 
 
10468
 
 
10469
SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10470
  PyObject *resultobj = 0;
 
10471
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10472
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
10473
  wxString arg3 = (wxString) wxPyEmptyString ;
 
10474
  void *argp1 = 0 ;
 
10475
  int res1 = 0 ;
 
10476
  void *argp2 = 0 ;
 
10477
  int res2 = 0 ;
 
10478
  PyObject * obj0 = 0 ;
 
10479
  PyObject * obj1 = 0 ;
 
10480
  PyObject * obj2 = 0 ;
 
10481
  char *  kwnames[] = {
 
10482
    (char *) "self",(char *) "cfg",(char *) "path", NULL 
 
10483
  };
 
10484
  
 
10485
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10486
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10487
  if (!SWIG_IsOK(res1)) {
 
10488
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10489
  }
 
10490
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10491
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
10492
  if (!SWIG_IsOK(res2)) {
 
10493
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
10494
  }
 
10495
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
10496
  if (obj2) {
 
10497
    {
 
10498
      wxString* sptr = wxString_in_helper(obj2);
 
10499
      if (sptr == NULL) SWIG_fail;
 
10500
      arg3 = *sptr;
 
10501
      delete sptr;
 
10502
    }
 
10503
  }
 
10504
  {
 
10505
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10506
    (arg1)->ReadCustomization(arg2,arg3);
 
10507
    wxPyEndAllowThreads(__tstate);
 
10508
    if (PyErr_Occurred()) SWIG_fail;
 
10509
  }
 
10510
  resultobj = SWIG_Py_Void();
 
10511
  return resultobj;
 
10512
fail:
 
10513
  return NULL;
 
10514
}
 
10515
 
 
10516
 
 
10517
SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10518
  PyObject *resultobj = 0;
 
10519
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10520
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
10521
  wxString arg3 = (wxString) wxPyEmptyString ;
 
10522
  void *argp1 = 0 ;
 
10523
  int res1 = 0 ;
 
10524
  void *argp2 = 0 ;
 
10525
  int res2 = 0 ;
 
10526
  PyObject * obj0 = 0 ;
 
10527
  PyObject * obj1 = 0 ;
 
10528
  PyObject * obj2 = 0 ;
 
10529
  char *  kwnames[] = {
 
10530
    (char *) "self",(char *) "cfg",(char *) "path", NULL 
 
10531
  };
 
10532
  
 
10533
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10534
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10535
  if (!SWIG_IsOK(res1)) {
 
10536
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10537
  }
 
10538
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10539
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
10540
  if (!SWIG_IsOK(res2)) {
 
10541
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
10542
  }
 
10543
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
10544
  if (obj2) {
 
10545
    {
 
10546
      wxString* sptr = wxString_in_helper(obj2);
 
10547
      if (sptr == NULL) SWIG_fail;
 
10548
      arg3 = *sptr;
 
10549
      delete sptr;
 
10550
    }
 
10551
  }
 
10552
  {
 
10553
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10554
    (arg1)->WriteCustomization(arg2,arg3);
 
10555
    wxPyEndAllowThreads(__tstate);
 
10556
    if (PyErr_Occurred()) SWIG_fail;
 
10557
  }
 
10558
  resultobj = SWIG_Py_Void();
 
10559
  return resultobj;
 
10560
fail:
 
10561
  return NULL;
 
10562
}
 
10563
 
 
10564
 
 
10565
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10566
  PyObject *resultobj = 0;
 
10567
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10568
  bool result;
 
10569
  void *argp1 = 0 ;
 
10570
  int res1 = 0 ;
 
10571
  PyObject *swig_obj[1] ;
 
10572
  
 
10573
  if (!args) SWIG_fail;
 
10574
  swig_obj[0] = args;
 
10575
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10576
  if (!SWIG_IsOK(res1)) {
 
10577
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10578
  }
 
10579
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10580
  {
 
10581
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10582
    result = (bool)(arg1)->HistoryBack();
 
10583
    wxPyEndAllowThreads(__tstate);
 
10584
    if (PyErr_Occurred()) SWIG_fail;
 
10585
  }
 
10586
  {
 
10587
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10588
  }
 
10589
  return resultobj;
 
10590
fail:
 
10591
  return NULL;
 
10592
}
 
10593
 
 
10594
 
 
10595
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10596
  PyObject *resultobj = 0;
 
10597
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10598
  bool result;
 
10599
  void *argp1 = 0 ;
 
10600
  int res1 = 0 ;
 
10601
  PyObject *swig_obj[1] ;
 
10602
  
 
10603
  if (!args) SWIG_fail;
 
10604
  swig_obj[0] = args;
 
10605
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10606
  if (!SWIG_IsOK(res1)) {
 
10607
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10608
  }
 
10609
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10610
  {
 
10611
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10612
    result = (bool)(arg1)->HistoryForward();
 
10613
    wxPyEndAllowThreads(__tstate);
 
10614
    if (PyErr_Occurred()) SWIG_fail;
 
10615
  }
 
10616
  {
 
10617
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10618
  }
 
10619
  return resultobj;
 
10620
fail:
 
10621
  return NULL;
 
10622
}
 
10623
 
 
10624
 
 
10625
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10626
  PyObject *resultobj = 0;
 
10627
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10628
  bool result;
 
10629
  void *argp1 = 0 ;
 
10630
  int res1 = 0 ;
 
10631
  PyObject *swig_obj[1] ;
 
10632
  
 
10633
  if (!args) SWIG_fail;
 
10634
  swig_obj[0] = args;
 
10635
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10636
  if (!SWIG_IsOK(res1)) {
 
10637
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10638
  }
 
10639
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10640
  {
 
10641
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10642
    result = (bool)(arg1)->HistoryCanBack();
 
10643
    wxPyEndAllowThreads(__tstate);
 
10644
    if (PyErr_Occurred()) SWIG_fail;
 
10645
  }
 
10646
  {
 
10647
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10648
  }
 
10649
  return resultobj;
 
10650
fail:
 
10651
  return NULL;
 
10652
}
 
10653
 
 
10654
 
 
10655
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10656
  PyObject *resultobj = 0;
 
10657
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10658
  bool result;
 
10659
  void *argp1 = 0 ;
 
10660
  int res1 = 0 ;
 
10661
  PyObject *swig_obj[1] ;
 
10662
  
 
10663
  if (!args) SWIG_fail;
 
10664
  swig_obj[0] = args;
 
10665
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10666
  if (!SWIG_IsOK(res1)) {
 
10667
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10668
  }
 
10669
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10670
  {
 
10671
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10672
    result = (bool)(arg1)->HistoryCanForward();
 
10673
    wxPyEndAllowThreads(__tstate);
 
10674
    if (PyErr_Occurred()) SWIG_fail;
 
10675
  }
 
10676
  {
 
10677
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10678
  }
 
10679
  return resultobj;
 
10680
fail:
 
10681
  return NULL;
 
10682
}
 
10683
 
 
10684
 
 
10685
SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10686
  PyObject *resultobj = 0;
 
10687
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10688
  void *argp1 = 0 ;
 
10689
  int res1 = 0 ;
 
10690
  PyObject *swig_obj[1] ;
 
10691
  
 
10692
  if (!args) SWIG_fail;
 
10693
  swig_obj[0] = args;
 
10694
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10695
  if (!SWIG_IsOK(res1)) {
 
10696
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10697
  }
 
10698
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10699
  {
 
10700
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10701
    (arg1)->HistoryClear();
 
10702
    wxPyEndAllowThreads(__tstate);
 
10703
    if (PyErr_Occurred()) SWIG_fail;
 
10704
  }
 
10705
  resultobj = SWIG_Py_Void();
 
10706
  return resultobj;
 
10707
fail:
 
10708
  return NULL;
 
10709
}
 
10710
 
 
10711
 
 
10712
SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10713
  PyObject *resultobj = 0;
 
10714
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10715
  wxHtmlContainerCell *result = 0 ;
 
10716
  void *argp1 = 0 ;
 
10717
  int res1 = 0 ;
 
10718
  PyObject *swig_obj[1] ;
 
10719
  
 
10720
  if (!args) SWIG_fail;
 
10721
  swig_obj[0] = args;
 
10722
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10723
  if (!SWIG_IsOK(res1)) {
 
10724
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10725
  }
 
10726
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10727
  {
 
10728
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10729
    result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
 
10730
    wxPyEndAllowThreads(__tstate);
 
10731
    if (PyErr_Occurred()) SWIG_fail;
 
10732
  }
 
10733
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 |  0 );
 
10734
  return resultobj;
 
10735
fail:
 
10736
  return NULL;
 
10737
}
 
10738
 
 
10739
 
 
10740
SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10741
  PyObject *resultobj = 0;
 
10742
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10743
  wxHtmlWinParser *result = 0 ;
 
10744
  void *argp1 = 0 ;
 
10745
  int res1 = 0 ;
 
10746
  PyObject *swig_obj[1] ;
 
10747
  
 
10748
  if (!args) SWIG_fail;
 
10749
  swig_obj[0] = args;
 
10750
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10751
  if (!SWIG_IsOK(res1)) {
 
10752
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10753
  }
 
10754
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10755
  {
 
10756
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10757
    result = (wxHtmlWinParser *)(arg1)->GetParser();
 
10758
    wxPyEndAllowThreads(__tstate);
 
10759
    if (PyErr_Occurred()) SWIG_fail;
 
10760
  }
 
10761
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 |  0 );
 
10762
  return resultobj;
 
10763
fail:
 
10764
  return NULL;
 
10765
}
 
10766
 
 
10767
 
 
10768
SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10769
  PyObject *resultobj = 0;
 
10770
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10771
  wxString *arg2 = 0 ;
 
10772
  bool result;
 
10773
  void *argp1 = 0 ;
 
10774
  int res1 = 0 ;
 
10775
  bool temp2 = false ;
 
10776
  PyObject * obj0 = 0 ;
 
10777
  PyObject * obj1 = 0 ;
 
10778
  char *  kwnames[] = {
 
10779
    (char *) "self",(char *) "anchor", NULL 
 
10780
  };
 
10781
  
 
10782
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
 
10783
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10784
  if (!SWIG_IsOK(res1)) {
 
10785
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10786
  }
 
10787
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10788
  {
 
10789
    arg2 = wxString_in_helper(obj1);
 
10790
    if (arg2 == NULL) SWIG_fail;
 
10791
    temp2 = true;
 
10792
  }
 
10793
  {
 
10794
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10795
    result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
 
10796
    wxPyEndAllowThreads(__tstate);
 
10797
    if (PyErr_Occurred()) SWIG_fail;
 
10798
  }
 
10799
  {
 
10800
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10801
  }
 
10802
  {
 
10803
    if (temp2)
 
10804
    delete arg2;
 
10805
  }
 
10806
  return resultobj;
 
10807
fail:
 
10808
  {
 
10809
    if (temp2)
 
10810
    delete arg2;
 
10811
  }
 
10812
  return NULL;
 
10813
}
 
10814
 
 
10815
 
 
10816
SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10817
  PyObject *resultobj = 0;
 
10818
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10819
  wxString *arg2 = 0 ;
 
10820
  bool result;
 
10821
  void *argp1 = 0 ;
 
10822
  int res1 = 0 ;
 
10823
  bool temp2 = false ;
 
10824
  PyObject * obj0 = 0 ;
 
10825
  PyObject * obj1 = 0 ;
 
10826
  char *  kwnames[] = {
 
10827
    (char *) "self",(char *) "anchor", NULL 
 
10828
  };
 
10829
  
 
10830
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
 
10831
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10832
  if (!SWIG_IsOK(res1)) {
 
10833
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10834
  }
 
10835
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10836
  {
 
10837
    arg2 = wxString_in_helper(obj1);
 
10838
    if (arg2 == NULL) SWIG_fail;
 
10839
    temp2 = true;
 
10840
  }
 
10841
  {
 
10842
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10843
    result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
 
10844
    wxPyEndAllowThreads(__tstate);
 
10845
    if (PyErr_Occurred()) SWIG_fail;
 
10846
  }
 
10847
  {
 
10848
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10849
  }
 
10850
  {
 
10851
    if (temp2)
 
10852
    delete arg2;
 
10853
  }
 
10854
  return resultobj;
 
10855
fail:
 
10856
  {
 
10857
    if (temp2)
 
10858
    delete arg2;
 
10859
  }
 
10860
  return NULL;
 
10861
}
 
10862
 
 
10863
 
 
10864
SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10865
  PyObject *resultobj = 0;
 
10866
  wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
 
10867
  void *argp1 = 0 ;
 
10868
  int res1 = 0 ;
 
10869
  PyObject * obj0 = 0 ;
 
10870
  char *  kwnames[] = {
 
10871
    (char *) "filter", NULL 
 
10872
  };
 
10873
  
 
10874
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
 
10875
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 |  0 );
 
10876
  if (!SWIG_IsOK(res1)) {
 
10877
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); 
 
10878
  }
 
10879
  arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
 
10880
  {
 
10881
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10882
    wxPyHtmlWindow::AddFilter(arg1);
 
10883
    wxPyEndAllowThreads(__tstate);
 
10884
    if (PyErr_Occurred()) SWIG_fail;
 
10885
  }
 
10886
  resultobj = SWIG_Py_Void();
 
10887
  return resultobj;
 
10888
fail:
 
10889
  return NULL;
 
10890
}
 
10891
 
 
10892
 
 
10893
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10894
  PyObject *resultobj = 0;
 
10895
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10896
  wxPoint *arg2 = 0 ;
 
10897
  void *argp1 = 0 ;
 
10898
  int res1 = 0 ;
 
10899
  wxPoint temp2 ;
 
10900
  PyObject * obj0 = 0 ;
 
10901
  PyObject * obj1 = 0 ;
 
10902
  char *  kwnames[] = {
 
10903
    (char *) "self",(char *) "pos", NULL 
 
10904
  };
 
10905
  
 
10906
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
 
10907
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10908
  if (!SWIG_IsOK(res1)) {
 
10909
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10910
  }
 
10911
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10912
  {
 
10913
    arg2 = &temp2;
 
10914
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
10915
  }
 
10916
  {
 
10917
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10918
    (arg1)->SelectWord((wxPoint const &)*arg2);
 
10919
    wxPyEndAllowThreads(__tstate);
 
10920
    if (PyErr_Occurred()) SWIG_fail;
 
10921
  }
 
10922
  resultobj = SWIG_Py_Void();
 
10923
  return resultobj;
 
10924
fail:
 
10925
  return NULL;
 
10926
}
 
10927
 
 
10928
 
 
10929
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10930
  PyObject *resultobj = 0;
 
10931
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10932
  wxPoint *arg2 = 0 ;
 
10933
  void *argp1 = 0 ;
 
10934
  int res1 = 0 ;
 
10935
  wxPoint temp2 ;
 
10936
  PyObject * obj0 = 0 ;
 
10937
  PyObject * obj1 = 0 ;
 
10938
  char *  kwnames[] = {
 
10939
    (char *) "self",(char *) "pos", NULL 
 
10940
  };
 
10941
  
 
10942
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
10943
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10944
  if (!SWIG_IsOK(res1)) {
 
10945
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10946
  }
 
10947
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10948
  {
 
10949
    arg2 = &temp2;
 
10950
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
10951
  }
 
10952
  {
 
10953
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10954
    (arg1)->SelectLine((wxPoint const &)*arg2);
 
10955
    wxPyEndAllowThreads(__tstate);
 
10956
    if (PyErr_Occurred()) SWIG_fail;
 
10957
  }
 
10958
  resultobj = SWIG_Py_Void();
 
10959
  return resultobj;
 
10960
fail:
 
10961
  return NULL;
 
10962
}
 
10963
 
 
10964
 
 
10965
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10966
  PyObject *resultobj = 0;
 
10967
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10968
  void *argp1 = 0 ;
 
10969
  int res1 = 0 ;
 
10970
  PyObject *swig_obj[1] ;
 
10971
  
 
10972
  if (!args) SWIG_fail;
 
10973
  swig_obj[0] = args;
 
10974
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
10975
  if (!SWIG_IsOK(res1)) {
 
10976
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
10977
  }
 
10978
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
10979
  {
 
10980
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10981
    (arg1)->SelectAll();
 
10982
    wxPyEndAllowThreads(__tstate);
 
10983
    if (PyErr_Occurred()) SWIG_fail;
 
10984
  }
 
10985
  resultobj = SWIG_Py_Void();
 
10986
  return resultobj;
 
10987
fail:
 
10988
  return NULL;
 
10989
}
 
10990
 
 
10991
 
 
10992
SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10993
  PyObject *resultobj = 0;
 
10994
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
10995
  wxString result;
 
10996
  void *argp1 = 0 ;
 
10997
  int res1 = 0 ;
 
10998
  PyObject *swig_obj[1] ;
 
10999
  
 
11000
  if (!args) SWIG_fail;
 
11001
  swig_obj[0] = args;
 
11002
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11003
  if (!SWIG_IsOK(res1)) {
 
11004
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
11005
  }
 
11006
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11007
  {
 
11008
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11009
    result = (arg1)->SelectionToText();
 
11010
    wxPyEndAllowThreads(__tstate);
 
11011
    if (PyErr_Occurred()) SWIG_fail;
 
11012
  }
 
11013
  {
 
11014
#if wxUSE_UNICODE
 
11015
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
11016
#else
 
11017
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
11018
#endif
 
11019
  }
 
11020
  return resultobj;
 
11021
fail:
 
11022
  return NULL;
 
11023
}
 
11024
 
 
11025
 
 
11026
SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11027
  PyObject *resultobj = 0;
 
11028
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
11029
  wxString result;
 
11030
  void *argp1 = 0 ;
 
11031
  int res1 = 0 ;
 
11032
  PyObject *swig_obj[1] ;
 
11033
  
 
11034
  if (!args) SWIG_fail;
 
11035
  swig_obj[0] = args;
 
11036
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11037
  if (!SWIG_IsOK(res1)) {
 
11038
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
11039
  }
 
11040
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11041
  {
 
11042
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11043
    result = (arg1)->ToText();
 
11044
    wxPyEndAllowThreads(__tstate);
 
11045
    if (PyErr_Occurred()) SWIG_fail;
 
11046
  }
 
11047
  {
 
11048
#if wxUSE_UNICODE
 
11049
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
11050
#else
 
11051
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
11052
#endif
 
11053
  }
 
11054
  return resultobj;
 
11055
fail:
 
11056
  return NULL;
 
11057
}
 
11058
 
 
11059
 
 
11060
SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11061
  PyObject *resultobj = 0;
 
11062
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
11063
  wxHtmlLinkInfo *arg2 = 0 ;
 
11064
  void *argp1 = 0 ;
 
11065
  int res1 = 0 ;
 
11066
  void *argp2 = 0 ;
 
11067
  int res2 = 0 ;
 
11068
  PyObject * obj0 = 0 ;
 
11069
  PyObject * obj1 = 0 ;
 
11070
  char *  kwnames[] = {
 
11071
    (char *) "self",(char *) "link", NULL 
 
11072
  };
 
11073
  
 
11074
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
 
11075
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11076
  if (!SWIG_IsOK(res1)) {
 
11077
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
11078
  }
 
11079
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11080
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo,  0  | 0);
 
11081
  if (!SWIG_IsOK(res2)) {
 
11082
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); 
 
11083
  }
 
11084
  if (!argp2) {
 
11085
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); 
 
11086
  }
 
11087
  arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
 
11088
  {
 
11089
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11090
    (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
 
11091
    wxPyEndAllowThreads(__tstate);
 
11092
    if (PyErr_Occurred()) SWIG_fail;
 
11093
  }
 
11094
  resultobj = SWIG_Py_Void();
 
11095
  return resultobj;
 
11096
fail:
 
11097
  return NULL;
 
11098
}
 
11099
 
 
11100
 
 
11101
SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11102
  PyObject *resultobj = 0;
 
11103
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
11104
  wxString *arg2 = 0 ;
 
11105
  void *argp1 = 0 ;
 
11106
  int res1 = 0 ;
 
11107
  bool temp2 = false ;
 
11108
  PyObject * obj0 = 0 ;
 
11109
  PyObject * obj1 = 0 ;
 
11110
  char *  kwnames[] = {
 
11111
    (char *) "self",(char *) "title", NULL 
 
11112
  };
 
11113
  
 
11114
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
 
11115
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11116
  if (!SWIG_IsOK(res1)) {
 
11117
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
11118
  }
 
11119
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11120
  {
 
11121
    arg2 = wxString_in_helper(obj1);
 
11122
    if (arg2 == NULL) SWIG_fail;
 
11123
    temp2 = true;
 
11124
  }
 
11125
  {
 
11126
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11127
    (arg1)->OnSetTitle((wxString const &)*arg2);
 
11128
    wxPyEndAllowThreads(__tstate);
 
11129
    if (PyErr_Occurred()) SWIG_fail;
 
11130
  }
 
11131
  resultobj = SWIG_Py_Void();
 
11132
  {
 
11133
    if (temp2)
 
11134
    delete arg2;
 
11135
  }
 
11136
  return resultobj;
 
11137
fail:
 
11138
  {
 
11139
    if (temp2)
 
11140
    delete arg2;
 
11141
  }
 
11142
  return NULL;
 
11143
}
 
11144
 
 
11145
 
 
11146
SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11147
  PyObject *resultobj = 0;
 
11148
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
11149
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
11150
  int arg3 ;
 
11151
  int arg4 ;
 
11152
  void *argp1 = 0 ;
 
11153
  int res1 = 0 ;
 
11154
  void *argp2 = 0 ;
 
11155
  int res2 = 0 ;
 
11156
  int val3 ;
 
11157
  int ecode3 = 0 ;
 
11158
  int val4 ;
 
11159
  int ecode4 = 0 ;
 
11160
  PyObject * obj0 = 0 ;
 
11161
  PyObject * obj1 = 0 ;
 
11162
  PyObject * obj2 = 0 ;
 
11163
  PyObject * obj3 = 0 ;
 
11164
  char *  kwnames[] = {
 
11165
    (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL 
 
11166
  };
 
11167
  
 
11168
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
11169
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11170
  if (!SWIG_IsOK(res1)) {
 
11171
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
11172
  }
 
11173
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11174
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
11175
  if (!SWIG_IsOK(res2)) {
 
11176
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); 
 
11177
  }
 
11178
  arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
11179
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11180
  if (!SWIG_IsOK(ecode3)) {
 
11181
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
 
11182
  } 
 
11183
  arg3 = static_cast< int >(val3);
 
11184
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
11185
  if (!SWIG_IsOK(ecode4)) {
 
11186
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
 
11187
  } 
 
11188
  arg4 = static_cast< int >(val4);
 
11189
  {
 
11190
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11191
    (arg1)->OnCellMouseHover(arg2,arg3,arg4);
 
11192
    wxPyEndAllowThreads(__tstate);
 
11193
    if (PyErr_Occurred()) SWIG_fail;
 
11194
  }
 
11195
  resultobj = SWIG_Py_Void();
 
11196
  return resultobj;
 
11197
fail:
 
11198
  return NULL;
 
11199
}
 
11200
 
 
11201
 
 
11202
SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11203
  PyObject *resultobj = 0;
 
11204
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
11205
  wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
 
11206
  int arg3 ;
 
11207
  int arg4 ;
 
11208
  wxMouseEvent *arg5 = 0 ;
 
11209
  bool result;
 
11210
  void *argp1 = 0 ;
 
11211
  int res1 = 0 ;
 
11212
  void *argp2 = 0 ;
 
11213
  int res2 = 0 ;
 
11214
  int val3 ;
 
11215
  int ecode3 = 0 ;
 
11216
  int val4 ;
 
11217
  int ecode4 = 0 ;
 
11218
  void *argp5 = 0 ;
 
11219
  int res5 = 0 ;
 
11220
  PyObject * obj0 = 0 ;
 
11221
  PyObject * obj1 = 0 ;
 
11222
  PyObject * obj2 = 0 ;
 
11223
  PyObject * obj3 = 0 ;
 
11224
  PyObject * obj4 = 0 ;
 
11225
  char *  kwnames[] = {
 
11226
    (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL 
 
11227
  };
 
11228
  
 
11229
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
11230
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11231
  if (!SWIG_IsOK(res1)) {
 
11232
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); 
 
11233
  }
 
11234
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11235
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
11236
  if (!SWIG_IsOK(res2)) {
 
11237
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); 
 
11238
  }
 
11239
  arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
 
11240
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11241
  if (!SWIG_IsOK(ecode3)) {
 
11242
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
 
11243
  } 
 
11244
  arg3 = static_cast< int >(val3);
 
11245
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
11246
  if (!SWIG_IsOK(ecode4)) {
 
11247
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
 
11248
  } 
 
11249
  arg4 = static_cast< int >(val4);
 
11250
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent,  0  | 0);
 
11251
  if (!SWIG_IsOK(res5)) {
 
11252
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); 
 
11253
  }
 
11254
  if (!argp5) {
 
11255
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); 
 
11256
  }
 
11257
  arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
 
11258
  {
 
11259
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11260
    result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
 
11261
    wxPyEndAllowThreads(__tstate);
 
11262
    if (PyErr_Occurred()) SWIG_fail;
 
11263
  }
 
11264
  {
 
11265
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11266
  }
 
11267
  return resultobj;
 
11268
fail:
 
11269
  return NULL;
 
11270
}
 
11271
 
 
11272
 
 
11273
SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11274
  PyObject *resultobj = 0;
 
11275
  wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
 
11276
  wxHtmlURLType arg2 ;
 
11277
  wxString *arg3 = 0 ;
 
11278
  wxString *arg4 = (wxString *) 0 ;
 
11279
  wxHtmlOpeningStatus result;
 
11280
  void *argp1 = 0 ;
 
11281
  int res1 = 0 ;
 
11282
  int val2 ;
 
11283
  int ecode2 = 0 ;
 
11284
  bool temp3 = false ;
 
11285
  bool temp4 = false ;
 
11286
  PyObject * obj0 = 0 ;
 
11287
  PyObject * obj1 = 0 ;
 
11288
  PyObject * obj2 = 0 ;
 
11289
  PyObject * obj3 = 0 ;
 
11290
  char *  kwnames[] = {
 
11291
    (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL 
 
11292
  };
 
11293
  
 
11294
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
11295
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 |  0 );
 
11296
  if (!SWIG_IsOK(res1)) {
 
11297
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'"); 
 
11298
  }
 
11299
  arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
 
11300
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11301
  if (!SWIG_IsOK(ecode2)) {
 
11302
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
 
11303
  } 
 
11304
  arg2 = static_cast< wxHtmlURLType >(val2);
 
11305
  {
 
11306
    arg3 = wxString_in_helper(obj2);
 
11307
    if (arg3 == NULL) SWIG_fail;
 
11308
    temp3 = true;
 
11309
  }
 
11310
  {
 
11311
    arg4 = wxString_in_helper(obj3);
 
11312
    if (arg4 == NULL) SWIG_fail;
 
11313
    temp4 = true;
 
11314
  }
 
11315
  {
 
11316
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11317
    result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
 
11318
    wxPyEndAllowThreads(__tstate);
 
11319
    if (PyErr_Occurred()) SWIG_fail;
 
11320
  }
 
11321
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11322
  {
 
11323
    if (temp3)
 
11324
    delete arg3;
 
11325
  }
 
11326
  {
 
11327
    if (temp4)
 
11328
    delete arg4;
 
11329
  }
 
11330
  return resultobj;
 
11331
fail:
 
11332
  {
 
11333
    if (temp3)
 
11334
    delete arg3;
 
11335
  }
 
11336
  {
 
11337
    if (temp4)
 
11338
    delete arg4;
 
11339
  }
 
11340
  return NULL;
 
11341
}
 
11342
 
 
11343
 
 
11344
SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11345
  PyObject *resultobj = 0;
 
11346
  wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
 
11347
  SwigValueWrapper<wxVisualAttributes > result;
 
11348
  int val1 ;
 
11349
  int ecode1 = 0 ;
 
11350
  PyObject * obj0 = 0 ;
 
11351
  char *  kwnames[] = {
 
11352
    (char *) "variant", NULL 
 
11353
  };
 
11354
  
 
11355
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
 
11356
  if (obj0) {
 
11357
    ecode1 = SWIG_AsVal_int(obj0, &val1);
 
11358
    if (!SWIG_IsOK(ecode1)) {
 
11359
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
 
11360
    } 
 
11361
    arg1 = static_cast< wxWindowVariant >(val1);
 
11362
  }
 
11363
  {
 
11364
    if (!wxPyCheckForApp()) SWIG_fail;
 
11365
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11366
    result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
 
11367
    wxPyEndAllowThreads(__tstate);
 
11368
    if (PyErr_Occurred()) SWIG_fail;
 
11369
  }
 
11370
  resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN |  0 );
 
11371
  return resultobj;
 
11372
fail:
 
11373
  return NULL;
 
11374
}
 
11375
 
 
11376
 
 
11377
SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11378
  PyObject *resultobj = 0;
 
11379
  wxPyHtmlWindow::HTMLCursor arg1 ;
 
11380
  wxCursor result;
 
11381
  int val1 ;
 
11382
  int ecode1 = 0 ;
 
11383
  PyObject * obj0 = 0 ;
 
11384
  char *  kwnames[] = {
 
11385
    (char *) "type", NULL 
 
11386
  };
 
11387
  
 
11388
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
 
11389
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
11390
  if (!SWIG_IsOK(ecode1)) {
 
11391
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
 
11392
  } 
 
11393
  arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
 
11394
  {
 
11395
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11396
    result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
 
11397
    wxPyEndAllowThreads(__tstate);
 
11398
    if (PyErr_Occurred()) SWIG_fail;
 
11399
  }
 
11400
  resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN |  0 );
 
11401
  return resultobj;
 
11402
fail:
 
11403
  return NULL;
 
11404
}
 
11405
 
 
11406
 
 
11407
SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11408
  PyObject *obj;
 
11409
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
11410
  SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
 
11411
  return SWIG_Py_Void();
 
11412
}
 
11413
 
 
11414
SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11415
  return SWIG_Python_InitShadowInstance(args);
 
11416
}
 
11417
 
 
11418
SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11419
  PyObject *resultobj = 0;
 
11420
  wxHtmlDCRenderer *result = 0 ;
 
11421
  
 
11422
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
 
11423
  {
 
11424
    if (!wxPyCheckForApp()) SWIG_fail;
 
11425
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11426
    result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
 
11427
    wxPyEndAllowThreads(__tstate);
 
11428
    if (PyErr_Occurred()) SWIG_fail;
 
11429
  }
 
11430
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW |  0 );
 
11431
  return resultobj;
 
11432
fail:
 
11433
  return NULL;
 
11434
}
 
11435
 
 
11436
 
 
11437
SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11438
  PyObject *resultobj = 0;
 
11439
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11440
  void *argp1 = 0 ;
 
11441
  int res1 = 0 ;
 
11442
  PyObject *swig_obj[1] ;
 
11443
  
 
11444
  if (!args) SWIG_fail;
 
11445
  swig_obj[0] = args;
 
11446
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN |  0 );
 
11447
  if (!SWIG_IsOK(res1)) {
 
11448
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11449
  }
 
11450
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11451
  {
 
11452
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11453
    delete arg1;
 
11454
    
 
11455
    wxPyEndAllowThreads(__tstate);
 
11456
    if (PyErr_Occurred()) SWIG_fail;
 
11457
  }
 
11458
  resultobj = SWIG_Py_Void();
 
11459
  return resultobj;
 
11460
fail:
 
11461
  return NULL;
 
11462
}
 
11463
 
 
11464
 
 
11465
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11466
  PyObject *resultobj = 0;
 
11467
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11468
  wxDC *arg2 = (wxDC *) 0 ;
 
11469
  int arg3 ;
 
11470
  void *argp1 = 0 ;
 
11471
  int res1 = 0 ;
 
11472
  void *argp2 = 0 ;
 
11473
  int res2 = 0 ;
 
11474
  int val3 ;
 
11475
  int ecode3 = 0 ;
 
11476
  PyObject * obj0 = 0 ;
 
11477
  PyObject * obj1 = 0 ;
 
11478
  PyObject * obj2 = 0 ;
 
11479
  char *  kwnames[] = {
 
11480
    (char *) "self",(char *) "dc",(char *) "maxwidth", NULL 
 
11481
  };
 
11482
  
 
11483
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11484
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11485
  if (!SWIG_IsOK(res1)) {
 
11486
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11487
  }
 
11488
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11489
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 |  0 );
 
11490
  if (!SWIG_IsOK(res2)) {
 
11491
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); 
 
11492
  }
 
11493
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
11494
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11495
  if (!SWIG_IsOK(ecode3)) {
 
11496
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
 
11497
  } 
 
11498
  arg3 = static_cast< int >(val3);
 
11499
  {
 
11500
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11501
    (arg1)->SetDC(arg2,arg3);
 
11502
    wxPyEndAllowThreads(__tstate);
 
11503
    if (PyErr_Occurred()) SWIG_fail;
 
11504
  }
 
11505
  resultobj = SWIG_Py_Void();
 
11506
  return resultobj;
 
11507
fail:
 
11508
  return NULL;
 
11509
}
 
11510
 
 
11511
 
 
11512
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11513
  PyObject *resultobj = 0;
 
11514
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11515
  int arg2 ;
 
11516
  int arg3 ;
 
11517
  void *argp1 = 0 ;
 
11518
  int res1 = 0 ;
 
11519
  int val2 ;
 
11520
  int ecode2 = 0 ;
 
11521
  int val3 ;
 
11522
  int ecode3 = 0 ;
 
11523
  PyObject * obj0 = 0 ;
 
11524
  PyObject * obj1 = 0 ;
 
11525
  PyObject * obj2 = 0 ;
 
11526
  char *  kwnames[] = {
 
11527
    (char *) "self",(char *) "width",(char *) "height", NULL 
 
11528
  };
 
11529
  
 
11530
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11531
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11532
  if (!SWIG_IsOK(res1)) {
 
11533
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11534
  }
 
11535
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11536
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11537
  if (!SWIG_IsOK(ecode2)) {
 
11538
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
 
11539
  } 
 
11540
  arg2 = static_cast< int >(val2);
 
11541
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11542
  if (!SWIG_IsOK(ecode3)) {
 
11543
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
 
11544
  } 
 
11545
  arg3 = static_cast< int >(val3);
 
11546
  {
 
11547
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11548
    (arg1)->SetSize(arg2,arg3);
 
11549
    wxPyEndAllowThreads(__tstate);
 
11550
    if (PyErr_Occurred()) SWIG_fail;
 
11551
  }
 
11552
  resultobj = SWIG_Py_Void();
 
11553
  return resultobj;
 
11554
fail:
 
11555
  return NULL;
 
11556
}
 
11557
 
 
11558
 
 
11559
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11560
  PyObject *resultobj = 0;
 
11561
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11562
  wxString *arg2 = 0 ;
 
11563
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
11564
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
11565
  bool arg4 = (bool) true ;
 
11566
  void *argp1 = 0 ;
 
11567
  int res1 = 0 ;
 
11568
  bool temp2 = false ;
 
11569
  bool temp3 = false ;
 
11570
  bool val4 ;
 
11571
  int ecode4 = 0 ;
 
11572
  PyObject * obj0 = 0 ;
 
11573
  PyObject * obj1 = 0 ;
 
11574
  PyObject * obj2 = 0 ;
 
11575
  PyObject * obj3 = 0 ;
 
11576
  char *  kwnames[] = {
 
11577
    (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL 
 
11578
  };
 
11579
  
 
11580
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
11581
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11582
  if (!SWIG_IsOK(res1)) {
 
11583
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11584
  }
 
11585
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11586
  {
 
11587
    arg2 = wxString_in_helper(obj1);
 
11588
    if (arg2 == NULL) SWIG_fail;
 
11589
    temp2 = true;
 
11590
  }
 
11591
  if (obj2) {
 
11592
    {
 
11593
      arg3 = wxString_in_helper(obj2);
 
11594
      if (arg3 == NULL) SWIG_fail;
 
11595
      temp3 = true;
 
11596
    }
 
11597
  }
 
11598
  if (obj3) {
 
11599
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
 
11600
    if (!SWIG_IsOK(ecode4)) {
 
11601
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
 
11602
    } 
 
11603
    arg4 = static_cast< bool >(val4);
 
11604
  }
 
11605
  {
 
11606
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11607
    (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
 
11608
    wxPyEndAllowThreads(__tstate);
 
11609
    if (PyErr_Occurred()) SWIG_fail;
 
11610
  }
 
11611
  resultobj = SWIG_Py_Void();
 
11612
  {
 
11613
    if (temp2)
 
11614
    delete arg2;
 
11615
  }
 
11616
  {
 
11617
    if (temp3)
 
11618
    delete arg3;
 
11619
  }
 
11620
  return resultobj;
 
11621
fail:
 
11622
  {
 
11623
    if (temp2)
 
11624
    delete arg2;
 
11625
  }
 
11626
  {
 
11627
    if (temp3)
 
11628
    delete arg3;
 
11629
  }
 
11630
  return NULL;
 
11631
}
 
11632
 
 
11633
 
 
11634
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11635
  PyObject *resultobj = 0;
 
11636
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11637
  wxString arg2 ;
 
11638
  wxString arg3 ;
 
11639
  PyObject *arg4 = (PyObject *) NULL ;
 
11640
  void *argp1 = 0 ;
 
11641
  int res1 = 0 ;
 
11642
  PyObject * obj0 = 0 ;
 
11643
  PyObject * obj1 = 0 ;
 
11644
  PyObject * obj2 = 0 ;
 
11645
  PyObject * obj3 = 0 ;
 
11646
  char *  kwnames[] = {
 
11647
    (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL 
 
11648
  };
 
11649
  
 
11650
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
11651
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11652
  if (!SWIG_IsOK(res1)) {
 
11653
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11654
  }
 
11655
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11656
  {
 
11657
    wxString* sptr = wxString_in_helper(obj1);
 
11658
    if (sptr == NULL) SWIG_fail;
 
11659
    arg2 = *sptr;
 
11660
    delete sptr;
 
11661
  }
 
11662
  {
 
11663
    wxString* sptr = wxString_in_helper(obj2);
 
11664
    if (sptr == NULL) SWIG_fail;
 
11665
    arg3 = *sptr;
 
11666
    delete sptr;
 
11667
  }
 
11668
  if (obj3) {
 
11669
    arg4 = obj3;
 
11670
  }
 
11671
  {
 
11672
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11673
    wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
 
11674
    wxPyEndAllowThreads(__tstate);
 
11675
    if (PyErr_Occurred()) SWIG_fail;
 
11676
  }
 
11677
  resultobj = SWIG_Py_Void();
 
11678
  return resultobj;
 
11679
fail:
 
11680
  return NULL;
 
11681
}
 
11682
 
 
11683
 
 
11684
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11685
  PyObject *resultobj = 0;
 
11686
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11687
  int arg2 = (int) -1 ;
 
11688
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
11689
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
11690
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
11691
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
11692
  void *argp1 = 0 ;
 
11693
  int res1 = 0 ;
 
11694
  int val2 ;
 
11695
  int ecode2 = 0 ;
 
11696
  bool temp3 = false ;
 
11697
  bool temp4 = false ;
 
11698
  PyObject * obj0 = 0 ;
 
11699
  PyObject * obj1 = 0 ;
 
11700
  PyObject * obj2 = 0 ;
 
11701
  PyObject * obj3 = 0 ;
 
11702
  char *  kwnames[] = {
 
11703
    (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL 
 
11704
  };
 
11705
  
 
11706
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
11707
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11708
  if (!SWIG_IsOK(res1)) {
 
11709
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11710
  }
 
11711
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11712
  if (obj1) {
 
11713
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11714
    if (!SWIG_IsOK(ecode2)) {
 
11715
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
 
11716
    } 
 
11717
    arg2 = static_cast< int >(val2);
 
11718
  }
 
11719
  if (obj2) {
 
11720
    {
 
11721
      arg3 = wxString_in_helper(obj2);
 
11722
      if (arg3 == NULL) SWIG_fail;
 
11723
      temp3 = true;
 
11724
    }
 
11725
  }
 
11726
  if (obj3) {
 
11727
    {
 
11728
      arg4 = wxString_in_helper(obj3);
 
11729
      if (arg4 == NULL) SWIG_fail;
 
11730
      temp4 = true;
 
11731
    }
 
11732
  }
 
11733
  {
 
11734
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11735
    (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
 
11736
    wxPyEndAllowThreads(__tstate);
 
11737
    if (PyErr_Occurred()) SWIG_fail;
 
11738
  }
 
11739
  resultobj = SWIG_Py_Void();
 
11740
  {
 
11741
    if (temp3)
 
11742
    delete arg3;
 
11743
  }
 
11744
  {
 
11745
    if (temp4)
 
11746
    delete arg4;
 
11747
  }
 
11748
  return resultobj;
 
11749
fail:
 
11750
  {
 
11751
    if (temp3)
 
11752
    delete arg3;
 
11753
  }
 
11754
  {
 
11755
    if (temp4)
 
11756
    delete arg4;
 
11757
  }
 
11758
  return NULL;
 
11759
}
 
11760
 
 
11761
 
 
11762
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11763
  PyObject *resultobj = 0;
 
11764
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11765
  int arg2 ;
 
11766
  int arg3 ;
 
11767
  wxArrayInt *arg4 = 0 ;
 
11768
  int arg5 = (int) 0 ;
 
11769
  int arg6 = (int) FALSE ;
 
11770
  int arg7 = (int) INT_MAX ;
 
11771
  int result;
 
11772
  void *argp1 = 0 ;
 
11773
  int res1 = 0 ;
 
11774
  int val2 ;
 
11775
  int ecode2 = 0 ;
 
11776
  int val3 ;
 
11777
  int ecode3 = 0 ;
 
11778
  bool temp4 = false ;
 
11779
  int val5 ;
 
11780
  int ecode5 = 0 ;
 
11781
  int val6 ;
 
11782
  int ecode6 = 0 ;
 
11783
  int val7 ;
 
11784
  int ecode7 = 0 ;
 
11785
  PyObject * obj0 = 0 ;
 
11786
  PyObject * obj1 = 0 ;
 
11787
  PyObject * obj2 = 0 ;
 
11788
  PyObject * obj3 = 0 ;
 
11789
  PyObject * obj4 = 0 ;
 
11790
  PyObject * obj5 = 0 ;
 
11791
  PyObject * obj6 = 0 ;
 
11792
  char *  kwnames[] = {
 
11793
    (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL 
 
11794
  };
 
11795
  
 
11796
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
11797
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11798
  if (!SWIG_IsOK(res1)) {
 
11799
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11800
  }
 
11801
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11802
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11803
  if (!SWIG_IsOK(ecode2)) {
 
11804
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
 
11805
  } 
 
11806
  arg2 = static_cast< int >(val2);
 
11807
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
11808
  if (!SWIG_IsOK(ecode3)) {
 
11809
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
 
11810
  } 
 
11811
  arg3 = static_cast< int >(val3);
 
11812
  {
 
11813
    if (! PySequence_Check(obj3)) {
 
11814
      PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
 
11815
      SWIG_fail;
 
11816
    }
 
11817
    arg4 = new wxArrayInt;
 
11818
    temp4 = true;
 
11819
    int i, len=PySequence_Length(obj3);
 
11820
    for (i=0; i<len; i++) {
 
11821
      PyObject* item = PySequence_GetItem(obj3, i);
 
11822
      PyObject* number  = PyNumber_Int(item);
 
11823
      if (!number) {
 
11824
        PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
 
11825
        SWIG_fail;
 
11826
      }       
 
11827
      arg4->Add(PyInt_AS_LONG(number));
 
11828
      Py_DECREF(item);
 
11829
      Py_DECREF(number);
 
11830
    }
 
11831
  }
 
11832
  if (obj4) {
 
11833
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
11834
    if (!SWIG_IsOK(ecode5)) {
 
11835
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
 
11836
    } 
 
11837
    arg5 = static_cast< int >(val5);
 
11838
  }
 
11839
  if (obj5) {
 
11840
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
11841
    if (!SWIG_IsOK(ecode6)) {
 
11842
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
 
11843
    } 
 
11844
    arg6 = static_cast< int >(val6);
 
11845
  }
 
11846
  if (obj6) {
 
11847
    ecode7 = SWIG_AsVal_int(obj6, &val7);
 
11848
    if (!SWIG_IsOK(ecode7)) {
 
11849
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
 
11850
    } 
 
11851
    arg7 = static_cast< int >(val7);
 
11852
  }
 
11853
  {
 
11854
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11855
    result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
 
11856
    wxPyEndAllowThreads(__tstate);
 
11857
    if (PyErr_Occurred()) SWIG_fail;
 
11858
  }
 
11859
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11860
  {
 
11861
    if (temp4) delete arg4;
 
11862
  }
 
11863
  return resultobj;
 
11864
fail:
 
11865
  {
 
11866
    if (temp4) delete arg4;
 
11867
  }
 
11868
  return NULL;
 
11869
}
 
11870
 
 
11871
 
 
11872
SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11873
  PyObject *resultobj = 0;
 
11874
  wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
 
11875
  int result;
 
11876
  void *argp1 = 0 ;
 
11877
  int res1 = 0 ;
 
11878
  PyObject *swig_obj[1] ;
 
11879
  
 
11880
  if (!args) SWIG_fail;
 
11881
  swig_obj[0] = args;
 
11882
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 |  0 );
 
11883
  if (!SWIG_IsOK(res1)) {
 
11884
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); 
 
11885
  }
 
11886
  arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
 
11887
  {
 
11888
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11889
    result = (int)(arg1)->GetTotalHeight();
 
11890
    wxPyEndAllowThreads(__tstate);
 
11891
    if (PyErr_Occurred()) SWIG_fail;
 
11892
  }
 
11893
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11894
  return resultobj;
 
11895
fail:
 
11896
  return NULL;
 
11897
}
 
11898
 
 
11899
 
 
11900
SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11901
  PyObject *obj;
 
11902
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
11903
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
 
11904
  return SWIG_Py_Void();
 
11905
}
 
11906
 
 
11907
SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11908
  return SWIG_Python_InitShadowInstance(args);
 
11909
}
 
11910
 
 
11911
SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11912
  PyObject *resultobj = 0;
 
11913
  wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
 
11914
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
11915
  wxHtmlPrintout *result = 0 ;
 
11916
  bool temp1 = false ;
 
11917
  PyObject * obj0 = 0 ;
 
11918
  char *  kwnames[] = {
 
11919
    (char *) "title", NULL 
 
11920
  };
 
11921
  
 
11922
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
 
11923
  if (obj0) {
 
11924
    {
 
11925
      arg1 = wxString_in_helper(obj0);
 
11926
      if (arg1 == NULL) SWIG_fail;
 
11927
      temp1 = true;
 
11928
    }
 
11929
  }
 
11930
  {
 
11931
    if (!wxPyCheckForApp()) SWIG_fail;
 
11932
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11933
    result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
 
11934
    wxPyEndAllowThreads(__tstate);
 
11935
    if (PyErr_Occurred()) SWIG_fail;
 
11936
  }
 
11937
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW |  0 );
 
11938
  {
 
11939
    if (temp1)
 
11940
    delete arg1;
 
11941
  }
 
11942
  return resultobj;
 
11943
fail:
 
11944
  {
 
11945
    if (temp1)
 
11946
    delete arg1;
 
11947
  }
 
11948
  return NULL;
 
11949
}
 
11950
 
 
11951
 
 
11952
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11953
  PyObject *resultobj = 0;
 
11954
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
11955
  wxString *arg2 = 0 ;
 
11956
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
11957
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
11958
  bool arg4 = (bool) true ;
 
11959
  void *argp1 = 0 ;
 
11960
  int res1 = 0 ;
 
11961
  bool temp2 = false ;
 
11962
  bool temp3 = false ;
 
11963
  bool val4 ;
 
11964
  int ecode4 = 0 ;
 
11965
  PyObject * obj0 = 0 ;
 
11966
  PyObject * obj1 = 0 ;
 
11967
  PyObject * obj2 = 0 ;
 
11968
  PyObject * obj3 = 0 ;
 
11969
  char *  kwnames[] = {
 
11970
    (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL 
 
11971
  };
 
11972
  
 
11973
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
11974
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
11975
  if (!SWIG_IsOK(res1)) {
 
11976
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
11977
  }
 
11978
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
11979
  {
 
11980
    arg2 = wxString_in_helper(obj1);
 
11981
    if (arg2 == NULL) SWIG_fail;
 
11982
    temp2 = true;
 
11983
  }
 
11984
  if (obj2) {
 
11985
    {
 
11986
      arg3 = wxString_in_helper(obj2);
 
11987
      if (arg3 == NULL) SWIG_fail;
 
11988
      temp3 = true;
 
11989
    }
 
11990
  }
 
11991
  if (obj3) {
 
11992
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
 
11993
    if (!SWIG_IsOK(ecode4)) {
 
11994
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
 
11995
    } 
 
11996
    arg4 = static_cast< bool >(val4);
 
11997
  }
 
11998
  {
 
11999
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12000
    (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
 
12001
    wxPyEndAllowThreads(__tstate);
 
12002
    if (PyErr_Occurred()) SWIG_fail;
 
12003
  }
 
12004
  resultobj = SWIG_Py_Void();
 
12005
  {
 
12006
    if (temp2)
 
12007
    delete arg2;
 
12008
  }
 
12009
  {
 
12010
    if (temp3)
 
12011
    delete arg3;
 
12012
  }
 
12013
  return resultobj;
 
12014
fail:
 
12015
  {
 
12016
    if (temp2)
 
12017
    delete arg2;
 
12018
  }
 
12019
  {
 
12020
    if (temp3)
 
12021
    delete arg3;
 
12022
  }
 
12023
  return NULL;
 
12024
}
 
12025
 
 
12026
 
 
12027
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12028
  PyObject *resultobj = 0;
 
12029
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
12030
  wxString *arg2 = 0 ;
 
12031
  void *argp1 = 0 ;
 
12032
  int res1 = 0 ;
 
12033
  bool temp2 = false ;
 
12034
  PyObject * obj0 = 0 ;
 
12035
  PyObject * obj1 = 0 ;
 
12036
  char *  kwnames[] = {
 
12037
    (char *) "self",(char *) "htmlfile", NULL 
 
12038
  };
 
12039
  
 
12040
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
 
12041
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
12042
  if (!SWIG_IsOK(res1)) {
 
12043
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
12044
  }
 
12045
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
12046
  {
 
12047
    arg2 = wxString_in_helper(obj1);
 
12048
    if (arg2 == NULL) SWIG_fail;
 
12049
    temp2 = true;
 
12050
  }
 
12051
  {
 
12052
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12053
    (arg1)->SetHtmlFile((wxString const &)*arg2);
 
12054
    wxPyEndAllowThreads(__tstate);
 
12055
    if (PyErr_Occurred()) SWIG_fail;
 
12056
  }
 
12057
  resultobj = SWIG_Py_Void();
 
12058
  {
 
12059
    if (temp2)
 
12060
    delete arg2;
 
12061
  }
 
12062
  return resultobj;
 
12063
fail:
 
12064
  {
 
12065
    if (temp2)
 
12066
    delete arg2;
 
12067
  }
 
12068
  return NULL;
 
12069
}
 
12070
 
 
12071
 
 
12072
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12073
  PyObject *resultobj = 0;
 
12074
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
12075
  wxString *arg2 = 0 ;
 
12076
  int arg3 = (int) wxPAGE_ALL ;
 
12077
  void *argp1 = 0 ;
 
12078
  int res1 = 0 ;
 
12079
  bool temp2 = false ;
 
12080
  int val3 ;
 
12081
  int ecode3 = 0 ;
 
12082
  PyObject * obj0 = 0 ;
 
12083
  PyObject * obj1 = 0 ;
 
12084
  PyObject * obj2 = 0 ;
 
12085
  char *  kwnames[] = {
 
12086
    (char *) "self",(char *) "header",(char *) "pg", NULL 
 
12087
  };
 
12088
  
 
12089
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12090
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
12091
  if (!SWIG_IsOK(res1)) {
 
12092
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
12093
  }
 
12094
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
12095
  {
 
12096
    arg2 = wxString_in_helper(obj1);
 
12097
    if (arg2 == NULL) SWIG_fail;
 
12098
    temp2 = true;
 
12099
  }
 
12100
  if (obj2) {
 
12101
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
12102
    if (!SWIG_IsOK(ecode3)) {
 
12103
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
 
12104
    } 
 
12105
    arg3 = static_cast< int >(val3);
 
12106
  }
 
12107
  {
 
12108
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12109
    (arg1)->SetHeader((wxString const &)*arg2,arg3);
 
12110
    wxPyEndAllowThreads(__tstate);
 
12111
    if (PyErr_Occurred()) SWIG_fail;
 
12112
  }
 
12113
  resultobj = SWIG_Py_Void();
 
12114
  {
 
12115
    if (temp2)
 
12116
    delete arg2;
 
12117
  }
 
12118
  return resultobj;
 
12119
fail:
 
12120
  {
 
12121
    if (temp2)
 
12122
    delete arg2;
 
12123
  }
 
12124
  return NULL;
 
12125
}
 
12126
 
 
12127
 
 
12128
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12129
  PyObject *resultobj = 0;
 
12130
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
12131
  wxString *arg2 = 0 ;
 
12132
  int arg3 = (int) wxPAGE_ALL ;
 
12133
  void *argp1 = 0 ;
 
12134
  int res1 = 0 ;
 
12135
  bool temp2 = false ;
 
12136
  int val3 ;
 
12137
  int ecode3 = 0 ;
 
12138
  PyObject * obj0 = 0 ;
 
12139
  PyObject * obj1 = 0 ;
 
12140
  PyObject * obj2 = 0 ;
 
12141
  char *  kwnames[] = {
 
12142
    (char *) "self",(char *) "footer",(char *) "pg", NULL 
 
12143
  };
 
12144
  
 
12145
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12146
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
12147
  if (!SWIG_IsOK(res1)) {
 
12148
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
12149
  }
 
12150
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
12151
  {
 
12152
    arg2 = wxString_in_helper(obj1);
 
12153
    if (arg2 == NULL) SWIG_fail;
 
12154
    temp2 = true;
 
12155
  }
 
12156
  if (obj2) {
 
12157
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
12158
    if (!SWIG_IsOK(ecode3)) {
 
12159
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
 
12160
    } 
 
12161
    arg3 = static_cast< int >(val3);
 
12162
  }
 
12163
  {
 
12164
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12165
    (arg1)->SetFooter((wxString const &)*arg2,arg3);
 
12166
    wxPyEndAllowThreads(__tstate);
 
12167
    if (PyErr_Occurred()) SWIG_fail;
 
12168
  }
 
12169
  resultobj = SWIG_Py_Void();
 
12170
  {
 
12171
    if (temp2)
 
12172
    delete arg2;
 
12173
  }
 
12174
  return resultobj;
 
12175
fail:
 
12176
  {
 
12177
    if (temp2)
 
12178
    delete arg2;
 
12179
  }
 
12180
  return NULL;
 
12181
}
 
12182
 
 
12183
 
 
12184
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12185
  PyObject *resultobj = 0;
 
12186
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
12187
  wxString arg2 ;
 
12188
  wxString arg3 ;
 
12189
  PyObject *arg4 = (PyObject *) NULL ;
 
12190
  void *argp1 = 0 ;
 
12191
  int res1 = 0 ;
 
12192
  PyObject * obj0 = 0 ;
 
12193
  PyObject * obj1 = 0 ;
 
12194
  PyObject * obj2 = 0 ;
 
12195
  PyObject * obj3 = 0 ;
 
12196
  char *  kwnames[] = {
 
12197
    (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL 
 
12198
  };
 
12199
  
 
12200
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
12201
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
12202
  if (!SWIG_IsOK(res1)) {
 
12203
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
12204
  }
 
12205
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
12206
  {
 
12207
    wxString* sptr = wxString_in_helper(obj1);
 
12208
    if (sptr == NULL) SWIG_fail;
 
12209
    arg2 = *sptr;
 
12210
    delete sptr;
 
12211
  }
 
12212
  {
 
12213
    wxString* sptr = wxString_in_helper(obj2);
 
12214
    if (sptr == NULL) SWIG_fail;
 
12215
    arg3 = *sptr;
 
12216
    delete sptr;
 
12217
  }
 
12218
  if (obj3) {
 
12219
    arg4 = obj3;
 
12220
  }
 
12221
  {
 
12222
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12223
    wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
 
12224
    wxPyEndAllowThreads(__tstate);
 
12225
    if (PyErr_Occurred()) SWIG_fail;
 
12226
  }
 
12227
  resultobj = SWIG_Py_Void();
 
12228
  return resultobj;
 
12229
fail:
 
12230
  return NULL;
 
12231
}
 
12232
 
 
12233
 
 
12234
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12235
  PyObject *resultobj = 0;
 
12236
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
12237
  int arg2 = (int) -1 ;
 
12238
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
12239
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
12240
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
12241
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
12242
  void *argp1 = 0 ;
 
12243
  int res1 = 0 ;
 
12244
  int val2 ;
 
12245
  int ecode2 = 0 ;
 
12246
  bool temp3 = false ;
 
12247
  bool temp4 = false ;
 
12248
  PyObject * obj0 = 0 ;
 
12249
  PyObject * obj1 = 0 ;
 
12250
  PyObject * obj2 = 0 ;
 
12251
  PyObject * obj3 = 0 ;
 
12252
  char *  kwnames[] = {
 
12253
    (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL 
 
12254
  };
 
12255
  
 
12256
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
12257
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
12258
  if (!SWIG_IsOK(res1)) {
 
12259
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
12260
  }
 
12261
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
12262
  if (obj1) {
 
12263
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12264
    if (!SWIG_IsOK(ecode2)) {
 
12265
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
 
12266
    } 
 
12267
    arg2 = static_cast< int >(val2);
 
12268
  }
 
12269
  if (obj2) {
 
12270
    {
 
12271
      arg3 = wxString_in_helper(obj2);
 
12272
      if (arg3 == NULL) SWIG_fail;
 
12273
      temp3 = true;
 
12274
    }
 
12275
  }
 
12276
  if (obj3) {
 
12277
    {
 
12278
      arg4 = wxString_in_helper(obj3);
 
12279
      if (arg4 == NULL) SWIG_fail;
 
12280
      temp4 = true;
 
12281
    }
 
12282
  }
 
12283
  {
 
12284
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12285
    (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
 
12286
    wxPyEndAllowThreads(__tstate);
 
12287
    if (PyErr_Occurred()) SWIG_fail;
 
12288
  }
 
12289
  resultobj = SWIG_Py_Void();
 
12290
  {
 
12291
    if (temp3)
 
12292
    delete arg3;
 
12293
  }
 
12294
  {
 
12295
    if (temp4)
 
12296
    delete arg4;
 
12297
  }
 
12298
  return resultobj;
 
12299
fail:
 
12300
  {
 
12301
    if (temp3)
 
12302
    delete arg3;
 
12303
  }
 
12304
  {
 
12305
    if (temp4)
 
12306
    delete arg4;
 
12307
  }
 
12308
  return NULL;
 
12309
}
 
12310
 
 
12311
 
 
12312
SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12313
  PyObject *resultobj = 0;
 
12314
  wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
 
12315
  float arg2 = (float) 25.2 ;
 
12316
  float arg3 = (float) 25.2 ;
 
12317
  float arg4 = (float) 25.2 ;
 
12318
  float arg5 = (float) 25.2 ;
 
12319
  float arg6 = (float) 5 ;
 
12320
  void *argp1 = 0 ;
 
12321
  int res1 = 0 ;
 
12322
  float val2 ;
 
12323
  int ecode2 = 0 ;
 
12324
  float val3 ;
 
12325
  int ecode3 = 0 ;
 
12326
  float val4 ;
 
12327
  int ecode4 = 0 ;
 
12328
  float val5 ;
 
12329
  int ecode5 = 0 ;
 
12330
  float val6 ;
 
12331
  int ecode6 = 0 ;
 
12332
  PyObject * obj0 = 0 ;
 
12333
  PyObject * obj1 = 0 ;
 
12334
  PyObject * obj2 = 0 ;
 
12335
  PyObject * obj3 = 0 ;
 
12336
  PyObject * obj4 = 0 ;
 
12337
  PyObject * obj5 = 0 ;
 
12338
  char *  kwnames[] = {
 
12339
    (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL 
 
12340
  };
 
12341
  
 
12342
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
12343
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 |  0 );
 
12344
  if (!SWIG_IsOK(res1)) {
 
12345
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); 
 
12346
  }
 
12347
  arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
 
12348
  if (obj1) {
 
12349
    ecode2 = SWIG_AsVal_float(obj1, &val2);
 
12350
    if (!SWIG_IsOK(ecode2)) {
 
12351
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
 
12352
    } 
 
12353
    arg2 = static_cast< float >(val2);
 
12354
  }
 
12355
  if (obj2) {
 
12356
    ecode3 = SWIG_AsVal_float(obj2, &val3);
 
12357
    if (!SWIG_IsOK(ecode3)) {
 
12358
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
 
12359
    } 
 
12360
    arg3 = static_cast< float >(val3);
 
12361
  }
 
12362
  if (obj3) {
 
12363
    ecode4 = SWIG_AsVal_float(obj3, &val4);
 
12364
    if (!SWIG_IsOK(ecode4)) {
 
12365
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
 
12366
    } 
 
12367
    arg4 = static_cast< float >(val4);
 
12368
  }
 
12369
  if (obj4) {
 
12370
    ecode5 = SWIG_AsVal_float(obj4, &val5);
 
12371
    if (!SWIG_IsOK(ecode5)) {
 
12372
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
 
12373
    } 
 
12374
    arg5 = static_cast< float >(val5);
 
12375
  }
 
12376
  if (obj5) {
 
12377
    ecode6 = SWIG_AsVal_float(obj5, &val6);
 
12378
    if (!SWIG_IsOK(ecode6)) {
 
12379
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
 
12380
    } 
 
12381
    arg6 = static_cast< float >(val6);
 
12382
  }
 
12383
  {
 
12384
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12385
    (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
 
12386
    wxPyEndAllowThreads(__tstate);
 
12387
    if (PyErr_Occurred()) SWIG_fail;
 
12388
  }
 
12389
  resultobj = SWIG_Py_Void();
 
12390
  return resultobj;
 
12391
fail:
 
12392
  return NULL;
 
12393
}
 
12394
 
 
12395
 
 
12396
SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12397
  PyObject *resultobj = 0;
 
12398
  wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
 
12399
  void *argp1 = 0 ;
 
12400
  int res1 = 0 ;
 
12401
  PyObject * obj0 = 0 ;
 
12402
  char *  kwnames[] = {
 
12403
    (char *) "filter", NULL 
 
12404
  };
 
12405
  
 
12406
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
 
12407
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 |  0 );
 
12408
  if (!SWIG_IsOK(res1)) {
 
12409
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'"); 
 
12410
  }
 
12411
  arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
 
12412
  {
 
12413
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12414
    wxHtmlPrintout::AddFilter(arg1);
 
12415
    wxPyEndAllowThreads(__tstate);
 
12416
    if (PyErr_Occurred()) SWIG_fail;
 
12417
  }
 
12418
  resultobj = SWIG_Py_Void();
 
12419
  return resultobj;
 
12420
fail:
 
12421
  return NULL;
 
12422
}
 
12423
 
 
12424
 
 
12425
SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12426
  PyObject *resultobj = 0;
 
12427
  
 
12428
  if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
 
12429
  {
 
12430
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12431
    wxHtmlPrintout::CleanUpStatics();
 
12432
    wxPyEndAllowThreads(__tstate);
 
12433
    if (PyErr_Occurred()) SWIG_fail;
 
12434
  }
 
12435
  resultobj = SWIG_Py_Void();
 
12436
  return resultobj;
 
12437
fail:
 
12438
  return NULL;
 
12439
}
 
12440
 
 
12441
 
 
12442
SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12443
  PyObject *obj;
 
12444
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
12445
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
 
12446
  return SWIG_Py_Void();
 
12447
}
 
12448
 
 
12449
SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12450
  return SWIG_Python_InitShadowInstance(args);
 
12451
}
 
12452
 
 
12453
SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12454
  PyObject *resultobj = 0;
 
12455
  wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
 
12456
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
12457
  wxWindow *arg2 = (wxWindow *) NULL ;
 
12458
  wxHtmlEasyPrinting *result = 0 ;
 
12459
  bool temp1 = false ;
 
12460
  void *argp2 = 0 ;
 
12461
  int res2 = 0 ;
 
12462
  PyObject * obj0 = 0 ;
 
12463
  PyObject * obj1 = 0 ;
 
12464
  char *  kwnames[] = {
 
12465
    (char *) "name",(char *) "parentWindow", NULL 
 
12466
  };
 
12467
  
 
12468
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
 
12469
  if (obj0) {
 
12470
    {
 
12471
      arg1 = wxString_in_helper(obj0);
 
12472
      if (arg1 == NULL) SWIG_fail;
 
12473
      temp1 = true;
 
12474
    }
 
12475
  }
 
12476
  if (obj1) {
 
12477
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
12478
    if (!SWIG_IsOK(res2)) {
 
12479
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
12480
    }
 
12481
    arg2 = reinterpret_cast< wxWindow * >(argp2);
 
12482
  }
 
12483
  {
 
12484
    if (!wxPyCheckForApp()) SWIG_fail;
 
12485
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12486
    result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
 
12487
    wxPyEndAllowThreads(__tstate);
 
12488
    if (PyErr_Occurred()) SWIG_fail;
 
12489
  }
 
12490
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW |  0 );
 
12491
  {
 
12492
    if (temp1)
 
12493
    delete arg1;
 
12494
  }
 
12495
  return resultobj;
 
12496
fail:
 
12497
  {
 
12498
    if (temp1)
 
12499
    delete arg1;
 
12500
  }
 
12501
  return NULL;
 
12502
}
 
12503
 
 
12504
 
 
12505
SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12506
  PyObject *resultobj = 0;
 
12507
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12508
  void *argp1 = 0 ;
 
12509
  int res1 = 0 ;
 
12510
  PyObject *swig_obj[1] ;
 
12511
  
 
12512
  if (!args) SWIG_fail;
 
12513
  swig_obj[0] = args;
 
12514
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN |  0 );
 
12515
  if (!SWIG_IsOK(res1)) {
 
12516
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12517
  }
 
12518
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12519
  {
 
12520
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12521
    delete arg1;
 
12522
    
 
12523
    wxPyEndAllowThreads(__tstate);
 
12524
    if (PyErr_Occurred()) SWIG_fail;
 
12525
  }
 
12526
  resultobj = SWIG_Py_Void();
 
12527
  return resultobj;
 
12528
fail:
 
12529
  return NULL;
 
12530
}
 
12531
 
 
12532
 
 
12533
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12534
  PyObject *resultobj = 0;
 
12535
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12536
  wxString *arg2 = 0 ;
 
12537
  void *argp1 = 0 ;
 
12538
  int res1 = 0 ;
 
12539
  bool temp2 = false ;
 
12540
  PyObject * obj0 = 0 ;
 
12541
  PyObject * obj1 = 0 ;
 
12542
  char *  kwnames[] = {
 
12543
    (char *) "self",(char *) "htmlfile", NULL 
 
12544
  };
 
12545
  
 
12546
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
 
12547
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12548
  if (!SWIG_IsOK(res1)) {
 
12549
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12550
  }
 
12551
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12552
  {
 
12553
    arg2 = wxString_in_helper(obj1);
 
12554
    if (arg2 == NULL) SWIG_fail;
 
12555
    temp2 = true;
 
12556
  }
 
12557
  {
 
12558
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12559
    (arg1)->PreviewFile((wxString const &)*arg2);
 
12560
    wxPyEndAllowThreads(__tstate);
 
12561
    if (PyErr_Occurred()) SWIG_fail;
 
12562
  }
 
12563
  resultobj = SWIG_Py_Void();
 
12564
  {
 
12565
    if (temp2)
 
12566
    delete arg2;
 
12567
  }
 
12568
  return resultobj;
 
12569
fail:
 
12570
  {
 
12571
    if (temp2)
 
12572
    delete arg2;
 
12573
  }
 
12574
  return NULL;
 
12575
}
 
12576
 
 
12577
 
 
12578
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12579
  PyObject *resultobj = 0;
 
12580
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12581
  wxString *arg2 = 0 ;
 
12582
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
12583
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
12584
  void *argp1 = 0 ;
 
12585
  int res1 = 0 ;
 
12586
  bool temp2 = false ;
 
12587
  bool temp3 = false ;
 
12588
  PyObject * obj0 = 0 ;
 
12589
  PyObject * obj1 = 0 ;
 
12590
  PyObject * obj2 = 0 ;
 
12591
  char *  kwnames[] = {
 
12592
    (char *) "self",(char *) "htmltext",(char *) "basepath", NULL 
 
12593
  };
 
12594
  
 
12595
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12596
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12597
  if (!SWIG_IsOK(res1)) {
 
12598
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12599
  }
 
12600
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12601
  {
 
12602
    arg2 = wxString_in_helper(obj1);
 
12603
    if (arg2 == NULL) SWIG_fail;
 
12604
    temp2 = true;
 
12605
  }
 
12606
  if (obj2) {
 
12607
    {
 
12608
      arg3 = wxString_in_helper(obj2);
 
12609
      if (arg3 == NULL) SWIG_fail;
 
12610
      temp3 = true;
 
12611
    }
 
12612
  }
 
12613
  {
 
12614
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12615
    (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
 
12616
    wxPyEndAllowThreads(__tstate);
 
12617
    if (PyErr_Occurred()) SWIG_fail;
 
12618
  }
 
12619
  resultobj = SWIG_Py_Void();
 
12620
  {
 
12621
    if (temp2)
 
12622
    delete arg2;
 
12623
  }
 
12624
  {
 
12625
    if (temp3)
 
12626
    delete arg3;
 
12627
  }
 
12628
  return resultobj;
 
12629
fail:
 
12630
  {
 
12631
    if (temp2)
 
12632
    delete arg2;
 
12633
  }
 
12634
  {
 
12635
    if (temp3)
 
12636
    delete arg3;
 
12637
  }
 
12638
  return NULL;
 
12639
}
 
12640
 
 
12641
 
 
12642
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12643
  PyObject *resultobj = 0;
 
12644
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12645
  wxString *arg2 = 0 ;
 
12646
  void *argp1 = 0 ;
 
12647
  int res1 = 0 ;
 
12648
  bool temp2 = false ;
 
12649
  PyObject * obj0 = 0 ;
 
12650
  PyObject * obj1 = 0 ;
 
12651
  char *  kwnames[] = {
 
12652
    (char *) "self",(char *) "htmlfile", NULL 
 
12653
  };
 
12654
  
 
12655
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
 
12656
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12657
  if (!SWIG_IsOK(res1)) {
 
12658
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12659
  }
 
12660
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12661
  {
 
12662
    arg2 = wxString_in_helper(obj1);
 
12663
    if (arg2 == NULL) SWIG_fail;
 
12664
    temp2 = true;
 
12665
  }
 
12666
  {
 
12667
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12668
    (arg1)->PrintFile((wxString const &)*arg2);
 
12669
    wxPyEndAllowThreads(__tstate);
 
12670
    if (PyErr_Occurred()) SWIG_fail;
 
12671
  }
 
12672
  resultobj = SWIG_Py_Void();
 
12673
  {
 
12674
    if (temp2)
 
12675
    delete arg2;
 
12676
  }
 
12677
  return resultobj;
 
12678
fail:
 
12679
  {
 
12680
    if (temp2)
 
12681
    delete arg2;
 
12682
  }
 
12683
  return NULL;
 
12684
}
 
12685
 
 
12686
 
 
12687
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12688
  PyObject *resultobj = 0;
 
12689
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12690
  wxString *arg2 = 0 ;
 
12691
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
12692
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
12693
  void *argp1 = 0 ;
 
12694
  int res1 = 0 ;
 
12695
  bool temp2 = false ;
 
12696
  bool temp3 = false ;
 
12697
  PyObject * obj0 = 0 ;
 
12698
  PyObject * obj1 = 0 ;
 
12699
  PyObject * obj2 = 0 ;
 
12700
  char *  kwnames[] = {
 
12701
    (char *) "self",(char *) "htmltext",(char *) "basepath", NULL 
 
12702
  };
 
12703
  
 
12704
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12705
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12706
  if (!SWIG_IsOK(res1)) {
 
12707
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12708
  }
 
12709
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12710
  {
 
12711
    arg2 = wxString_in_helper(obj1);
 
12712
    if (arg2 == NULL) SWIG_fail;
 
12713
    temp2 = true;
 
12714
  }
 
12715
  if (obj2) {
 
12716
    {
 
12717
      arg3 = wxString_in_helper(obj2);
 
12718
      if (arg3 == NULL) SWIG_fail;
 
12719
      temp3 = true;
 
12720
    }
 
12721
  }
 
12722
  {
 
12723
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12724
    (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
 
12725
    wxPyEndAllowThreads(__tstate);
 
12726
    if (PyErr_Occurred()) SWIG_fail;
 
12727
  }
 
12728
  resultobj = SWIG_Py_Void();
 
12729
  {
 
12730
    if (temp2)
 
12731
    delete arg2;
 
12732
  }
 
12733
  {
 
12734
    if (temp3)
 
12735
    delete arg3;
 
12736
  }
 
12737
  return resultobj;
 
12738
fail:
 
12739
  {
 
12740
    if (temp2)
 
12741
    delete arg2;
 
12742
  }
 
12743
  {
 
12744
    if (temp3)
 
12745
    delete arg3;
 
12746
  }
 
12747
  return NULL;
 
12748
}
 
12749
 
 
12750
 
 
12751
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12752
  PyObject *resultobj = 0;
 
12753
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12754
  void *argp1 = 0 ;
 
12755
  int res1 = 0 ;
 
12756
  PyObject *swig_obj[1] ;
 
12757
  
 
12758
  if (!args) SWIG_fail;
 
12759
  swig_obj[0] = args;
 
12760
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12761
  if (!SWIG_IsOK(res1)) {
 
12762
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12763
  }
 
12764
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12765
  {
 
12766
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12767
    (arg1)->PageSetup();
 
12768
    wxPyEndAllowThreads(__tstate);
 
12769
    if (PyErr_Occurred()) SWIG_fail;
 
12770
  }
 
12771
  resultobj = SWIG_Py_Void();
 
12772
  return resultobj;
 
12773
fail:
 
12774
  return NULL;
 
12775
}
 
12776
 
 
12777
 
 
12778
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12779
  PyObject *resultobj = 0;
 
12780
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12781
  wxString *arg2 = 0 ;
 
12782
  int arg3 = (int) wxPAGE_ALL ;
 
12783
  void *argp1 = 0 ;
 
12784
  int res1 = 0 ;
 
12785
  bool temp2 = false ;
 
12786
  int val3 ;
 
12787
  int ecode3 = 0 ;
 
12788
  PyObject * obj0 = 0 ;
 
12789
  PyObject * obj1 = 0 ;
 
12790
  PyObject * obj2 = 0 ;
 
12791
  char *  kwnames[] = {
 
12792
    (char *) "self",(char *) "header",(char *) "pg", NULL 
 
12793
  };
 
12794
  
 
12795
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12796
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12797
  if (!SWIG_IsOK(res1)) {
 
12798
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12799
  }
 
12800
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12801
  {
 
12802
    arg2 = wxString_in_helper(obj1);
 
12803
    if (arg2 == NULL) SWIG_fail;
 
12804
    temp2 = true;
 
12805
  }
 
12806
  if (obj2) {
 
12807
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
12808
    if (!SWIG_IsOK(ecode3)) {
 
12809
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
 
12810
    } 
 
12811
    arg3 = static_cast< int >(val3);
 
12812
  }
 
12813
  {
 
12814
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12815
    (arg1)->SetHeader((wxString const &)*arg2,arg3);
 
12816
    wxPyEndAllowThreads(__tstate);
 
12817
    if (PyErr_Occurred()) SWIG_fail;
 
12818
  }
 
12819
  resultobj = SWIG_Py_Void();
 
12820
  {
 
12821
    if (temp2)
 
12822
    delete arg2;
 
12823
  }
 
12824
  return resultobj;
 
12825
fail:
 
12826
  {
 
12827
    if (temp2)
 
12828
    delete arg2;
 
12829
  }
 
12830
  return NULL;
 
12831
}
 
12832
 
 
12833
 
 
12834
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12835
  PyObject *resultobj = 0;
 
12836
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12837
  wxString *arg2 = 0 ;
 
12838
  int arg3 = (int) wxPAGE_ALL ;
 
12839
  void *argp1 = 0 ;
 
12840
  int res1 = 0 ;
 
12841
  bool temp2 = false ;
 
12842
  int val3 ;
 
12843
  int ecode3 = 0 ;
 
12844
  PyObject * obj0 = 0 ;
 
12845
  PyObject * obj1 = 0 ;
 
12846
  PyObject * obj2 = 0 ;
 
12847
  char *  kwnames[] = {
 
12848
    (char *) "self",(char *) "footer",(char *) "pg", NULL 
 
12849
  };
 
12850
  
 
12851
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12852
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12853
  if (!SWIG_IsOK(res1)) {
 
12854
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12855
  }
 
12856
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12857
  {
 
12858
    arg2 = wxString_in_helper(obj1);
 
12859
    if (arg2 == NULL) SWIG_fail;
 
12860
    temp2 = true;
 
12861
  }
 
12862
  if (obj2) {
 
12863
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
12864
    if (!SWIG_IsOK(ecode3)) {
 
12865
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
 
12866
    } 
 
12867
    arg3 = static_cast< int >(val3);
 
12868
  }
 
12869
  {
 
12870
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12871
    (arg1)->SetFooter((wxString const &)*arg2,arg3);
 
12872
    wxPyEndAllowThreads(__tstate);
 
12873
    if (PyErr_Occurred()) SWIG_fail;
 
12874
  }
 
12875
  resultobj = SWIG_Py_Void();
 
12876
  {
 
12877
    if (temp2)
 
12878
    delete arg2;
 
12879
  }
 
12880
  return resultobj;
 
12881
fail:
 
12882
  {
 
12883
    if (temp2)
 
12884
    delete arg2;
 
12885
  }
 
12886
  return NULL;
 
12887
}
 
12888
 
 
12889
 
 
12890
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12891
  PyObject *resultobj = 0;
 
12892
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12893
  wxString arg2 ;
 
12894
  wxString arg3 ;
 
12895
  PyObject *arg4 = (PyObject *) NULL ;
 
12896
  void *argp1 = 0 ;
 
12897
  int res1 = 0 ;
 
12898
  PyObject * obj0 = 0 ;
 
12899
  PyObject * obj1 = 0 ;
 
12900
  PyObject * obj2 = 0 ;
 
12901
  PyObject * obj3 = 0 ;
 
12902
  char *  kwnames[] = {
 
12903
    (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL 
 
12904
  };
 
12905
  
 
12906
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
12907
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12908
  if (!SWIG_IsOK(res1)) {
 
12909
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12910
  }
 
12911
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12912
  {
 
12913
    wxString* sptr = wxString_in_helper(obj1);
 
12914
    if (sptr == NULL) SWIG_fail;
 
12915
    arg2 = *sptr;
 
12916
    delete sptr;
 
12917
  }
 
12918
  {
 
12919
    wxString* sptr = wxString_in_helper(obj2);
 
12920
    if (sptr == NULL) SWIG_fail;
 
12921
    arg3 = *sptr;
 
12922
    delete sptr;
 
12923
  }
 
12924
  if (obj3) {
 
12925
    arg4 = obj3;
 
12926
  }
 
12927
  {
 
12928
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12929
    wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
 
12930
    wxPyEndAllowThreads(__tstate);
 
12931
    if (PyErr_Occurred()) SWIG_fail;
 
12932
  }
 
12933
  resultobj = SWIG_Py_Void();
 
12934
  return resultobj;
 
12935
fail:
 
12936
  return NULL;
 
12937
}
 
12938
 
 
12939
 
 
12940
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12941
  PyObject *resultobj = 0;
 
12942
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
12943
  int arg2 = (int) -1 ;
 
12944
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
12945
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
12946
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
12947
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
12948
  void *argp1 = 0 ;
 
12949
  int res1 = 0 ;
 
12950
  int val2 ;
 
12951
  int ecode2 = 0 ;
 
12952
  bool temp3 = false ;
 
12953
  bool temp4 = false ;
 
12954
  PyObject * obj0 = 0 ;
 
12955
  PyObject * obj1 = 0 ;
 
12956
  PyObject * obj2 = 0 ;
 
12957
  PyObject * obj3 = 0 ;
 
12958
  char *  kwnames[] = {
 
12959
    (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL 
 
12960
  };
 
12961
  
 
12962
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
12963
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
12964
  if (!SWIG_IsOK(res1)) {
 
12965
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
12966
  }
 
12967
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
12968
  if (obj1) {
 
12969
    ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12970
    if (!SWIG_IsOK(ecode2)) {
 
12971
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
 
12972
    } 
 
12973
    arg2 = static_cast< int >(val2);
 
12974
  }
 
12975
  if (obj2) {
 
12976
    {
 
12977
      arg3 = wxString_in_helper(obj2);
 
12978
      if (arg3 == NULL) SWIG_fail;
 
12979
      temp3 = true;
 
12980
    }
 
12981
  }
 
12982
  if (obj3) {
 
12983
    {
 
12984
      arg4 = wxString_in_helper(obj3);
 
12985
      if (arg4 == NULL) SWIG_fail;
 
12986
      temp4 = true;
 
12987
    }
 
12988
  }
 
12989
  {
 
12990
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12991
    (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
 
12992
    wxPyEndAllowThreads(__tstate);
 
12993
    if (PyErr_Occurred()) SWIG_fail;
 
12994
  }
 
12995
  resultobj = SWIG_Py_Void();
 
12996
  {
 
12997
    if (temp3)
 
12998
    delete arg3;
 
12999
  }
 
13000
  {
 
13001
    if (temp4)
 
13002
    delete arg4;
 
13003
  }
 
13004
  return resultobj;
 
13005
fail:
 
13006
  {
 
13007
    if (temp3)
 
13008
    delete arg3;
 
13009
  }
 
13010
  {
 
13011
    if (temp4)
 
13012
    delete arg4;
 
13013
  }
 
13014
  return NULL;
 
13015
}
 
13016
 
 
13017
 
 
13018
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13019
  PyObject *resultobj = 0;
 
13020
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
13021
  wxPrintData *result = 0 ;
 
13022
  void *argp1 = 0 ;
 
13023
  int res1 = 0 ;
 
13024
  PyObject *swig_obj[1] ;
 
13025
  
 
13026
  if (!args) SWIG_fail;
 
13027
  swig_obj[0] = args;
 
13028
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
13029
  if (!SWIG_IsOK(res1)) {
 
13030
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
13031
  }
 
13032
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
13033
  {
 
13034
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13035
    result = (wxPrintData *)(arg1)->GetPrintData();
 
13036
    wxPyEndAllowThreads(__tstate);
 
13037
    if (PyErr_Occurred()) SWIG_fail;
 
13038
  }
 
13039
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 |  0 );
 
13040
  return resultobj;
 
13041
fail:
 
13042
  return NULL;
 
13043
}
 
13044
 
 
13045
 
 
13046
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13047
  PyObject *resultobj = 0;
 
13048
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
13049
  wxPageSetupDialogData *result = 0 ;
 
13050
  void *argp1 = 0 ;
 
13051
  int res1 = 0 ;
 
13052
  PyObject *swig_obj[1] ;
 
13053
  
 
13054
  if (!args) SWIG_fail;
 
13055
  swig_obj[0] = args;
 
13056
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
13057
  if (!SWIG_IsOK(res1)) {
 
13058
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
13059
  }
 
13060
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
13061
  {
 
13062
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13063
    result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
 
13064
    wxPyEndAllowThreads(__tstate);
 
13065
    if (PyErr_Occurred()) SWIG_fail;
 
13066
  }
 
13067
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 |  0 );
 
13068
  return resultobj;
 
13069
fail:
 
13070
  return NULL;
 
13071
}
 
13072
 
 
13073
 
 
13074
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13075
  PyObject *resultobj = 0;
 
13076
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
13077
  wxWindow *result = 0 ;
 
13078
  void *argp1 = 0 ;
 
13079
  int res1 = 0 ;
 
13080
  PyObject *swig_obj[1] ;
 
13081
  
 
13082
  if (!args) SWIG_fail;
 
13083
  swig_obj[0] = args;
 
13084
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
13085
  if (!SWIG_IsOK(res1)) {
 
13086
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetParentWindow" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting const *""'"); 
 
13087
  }
 
13088
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
13089
  {
 
13090
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13091
    result = (wxWindow *)((wxHtmlEasyPrinting const *)arg1)->GetParentWindow();
 
13092
    wxPyEndAllowThreads(__tstate);
 
13093
    if (PyErr_Occurred()) SWIG_fail;
 
13094
  }
 
13095
  {
 
13096
    resultobj = wxPyMake_wxObject(result, 0); 
 
13097
  }
 
13098
  return resultobj;
 
13099
fail:
 
13100
  return NULL;
 
13101
}
 
13102
 
 
13103
 
 
13104
SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13105
  PyObject *resultobj = 0;
 
13106
  wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
 
13107
  wxWindow *arg2 = (wxWindow *) 0 ;
 
13108
  void *argp1 = 0 ;
 
13109
  int res1 = 0 ;
 
13110
  void *argp2 = 0 ;
 
13111
  int res2 = 0 ;
 
13112
  PyObject * obj0 = 0 ;
 
13113
  PyObject * obj1 = 0 ;
 
13114
  char *  kwnames[] = {
 
13115
    (char *) "self",(char *) "window", NULL 
 
13116
  };
 
13117
  
 
13118
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
 
13119
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 |  0 );
 
13120
  if (!SWIG_IsOK(res1)) {
 
13121
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetParentWindow" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); 
 
13122
  }
 
13123
  arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
 
13124
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
13125
  if (!SWIG_IsOK(res2)) {
 
13126
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlEasyPrinting_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
13127
  }
 
13128
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
13129
  {
 
13130
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13131
    (arg1)->SetParentWindow(arg2);
 
13132
    wxPyEndAllowThreads(__tstate);
 
13133
    if (PyErr_Occurred()) SWIG_fail;
 
13134
  }
 
13135
  resultobj = SWIG_Py_Void();
 
13136
  return resultobj;
 
13137
fail:
 
13138
  return NULL;
 
13139
}
 
13140
 
 
13141
 
 
13142
SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13143
  PyObject *obj;
 
13144
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13145
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
 
13146
  return SWIG_Py_Void();
 
13147
}
 
13148
 
 
13149
SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13150
  return SWIG_Python_InitShadowInstance(args);
 
13151
}
 
13152
 
 
13153
SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13154
  PyObject *resultobj = 0;
 
13155
  wxString *arg1 = 0 ;
 
13156
  wxString *arg2 = 0 ;
 
13157
  wxString *arg3 = 0 ;
 
13158
  wxString *arg4 = 0 ;
 
13159
  wxHtmlBookRecord *result = 0 ;
 
13160
  bool temp1 = false ;
 
13161
  bool temp2 = false ;
 
13162
  bool temp3 = false ;
 
13163
  bool temp4 = false ;
 
13164
  PyObject * obj0 = 0 ;
 
13165
  PyObject * obj1 = 0 ;
 
13166
  PyObject * obj2 = 0 ;
 
13167
  PyObject * obj3 = 0 ;
 
13168
  char *  kwnames[] = {
 
13169
    (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL 
 
13170
  };
 
13171
  
 
13172
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
13173
  {
 
13174
    arg1 = wxString_in_helper(obj0);
 
13175
    if (arg1 == NULL) SWIG_fail;
 
13176
    temp1 = true;
 
13177
  }
 
13178
  {
 
13179
    arg2 = wxString_in_helper(obj1);
 
13180
    if (arg2 == NULL) SWIG_fail;
 
13181
    temp2 = true;
 
13182
  }
 
13183
  {
 
13184
    arg3 = wxString_in_helper(obj2);
 
13185
    if (arg3 == NULL) SWIG_fail;
 
13186
    temp3 = true;
 
13187
  }
 
13188
  {
 
13189
    arg4 = wxString_in_helper(obj3);
 
13190
    if (arg4 == NULL) SWIG_fail;
 
13191
    temp4 = true;
 
13192
  }
 
13193
  {
 
13194
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13195
    result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
 
13196
    wxPyEndAllowThreads(__tstate);
 
13197
    if (PyErr_Occurred()) SWIG_fail;
 
13198
  }
 
13199
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW |  0 );
 
13200
  {
 
13201
    if (temp1)
 
13202
    delete arg1;
 
13203
  }
 
13204
  {
 
13205
    if (temp2)
 
13206
    delete arg2;
 
13207
  }
 
13208
  {
 
13209
    if (temp3)
 
13210
    delete arg3;
 
13211
  }
 
13212
  {
 
13213
    if (temp4)
 
13214
    delete arg4;
 
13215
  }
 
13216
  return resultobj;
 
13217
fail:
 
13218
  {
 
13219
    if (temp1)
 
13220
    delete arg1;
 
13221
  }
 
13222
  {
 
13223
    if (temp2)
 
13224
    delete arg2;
 
13225
  }
 
13226
  {
 
13227
    if (temp3)
 
13228
    delete arg3;
 
13229
  }
 
13230
  {
 
13231
    if (temp4)
 
13232
    delete arg4;
 
13233
  }
 
13234
  return NULL;
 
13235
}
 
13236
 
 
13237
 
 
13238
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13239
  PyObject *resultobj = 0;
 
13240
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13241
  wxString result;
 
13242
  void *argp1 = 0 ;
 
13243
  int res1 = 0 ;
 
13244
  PyObject *swig_obj[1] ;
 
13245
  
 
13246
  if (!args) SWIG_fail;
 
13247
  swig_obj[0] = args;
 
13248
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13249
  if (!SWIG_IsOK(res1)) {
 
13250
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13251
  }
 
13252
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13253
  {
 
13254
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13255
    result = (arg1)->GetBookFile();
 
13256
    wxPyEndAllowThreads(__tstate);
 
13257
    if (PyErr_Occurred()) SWIG_fail;
 
13258
  }
 
13259
  {
 
13260
#if wxUSE_UNICODE
 
13261
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
13262
#else
 
13263
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
13264
#endif
 
13265
  }
 
13266
  return resultobj;
 
13267
fail:
 
13268
  return NULL;
 
13269
}
 
13270
 
 
13271
 
 
13272
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13273
  PyObject *resultobj = 0;
 
13274
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13275
  wxString result;
 
13276
  void *argp1 = 0 ;
 
13277
  int res1 = 0 ;
 
13278
  PyObject *swig_obj[1] ;
 
13279
  
 
13280
  if (!args) SWIG_fail;
 
13281
  swig_obj[0] = args;
 
13282
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13283
  if (!SWIG_IsOK(res1)) {
 
13284
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13285
  }
 
13286
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13287
  {
 
13288
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13289
    result = (arg1)->GetTitle();
 
13290
    wxPyEndAllowThreads(__tstate);
 
13291
    if (PyErr_Occurred()) SWIG_fail;
 
13292
  }
 
13293
  {
 
13294
#if wxUSE_UNICODE
 
13295
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
13296
#else
 
13297
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
13298
#endif
 
13299
  }
 
13300
  return resultobj;
 
13301
fail:
 
13302
  return NULL;
 
13303
}
 
13304
 
 
13305
 
 
13306
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13307
  PyObject *resultobj = 0;
 
13308
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13309
  wxString result;
 
13310
  void *argp1 = 0 ;
 
13311
  int res1 = 0 ;
 
13312
  PyObject *swig_obj[1] ;
 
13313
  
 
13314
  if (!args) SWIG_fail;
 
13315
  swig_obj[0] = args;
 
13316
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13317
  if (!SWIG_IsOK(res1)) {
 
13318
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13319
  }
 
13320
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13321
  {
 
13322
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13323
    result = (arg1)->GetStart();
 
13324
    wxPyEndAllowThreads(__tstate);
 
13325
    if (PyErr_Occurred()) SWIG_fail;
 
13326
  }
 
13327
  {
 
13328
#if wxUSE_UNICODE
 
13329
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
13330
#else
 
13331
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
13332
#endif
 
13333
  }
 
13334
  return resultobj;
 
13335
fail:
 
13336
  return NULL;
 
13337
}
 
13338
 
 
13339
 
 
13340
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13341
  PyObject *resultobj = 0;
 
13342
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13343
  wxString result;
 
13344
  void *argp1 = 0 ;
 
13345
  int res1 = 0 ;
 
13346
  PyObject *swig_obj[1] ;
 
13347
  
 
13348
  if (!args) SWIG_fail;
 
13349
  swig_obj[0] = args;
 
13350
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13351
  if (!SWIG_IsOK(res1)) {
 
13352
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13353
  }
 
13354
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13355
  {
 
13356
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13357
    result = (arg1)->GetBasePath();
 
13358
    wxPyEndAllowThreads(__tstate);
 
13359
    if (PyErr_Occurred()) SWIG_fail;
 
13360
  }
 
13361
  {
 
13362
#if wxUSE_UNICODE
 
13363
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
13364
#else
 
13365
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
13366
#endif
 
13367
  }
 
13368
  return resultobj;
 
13369
fail:
 
13370
  return NULL;
 
13371
}
 
13372
 
 
13373
 
 
13374
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13375
  PyObject *resultobj = 0;
 
13376
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13377
  int arg2 ;
 
13378
  int arg3 ;
 
13379
  void *argp1 = 0 ;
 
13380
  int res1 = 0 ;
 
13381
  int val2 ;
 
13382
  int ecode2 = 0 ;
 
13383
  int val3 ;
 
13384
  int ecode3 = 0 ;
 
13385
  PyObject * obj0 = 0 ;
 
13386
  PyObject * obj1 = 0 ;
 
13387
  PyObject * obj2 = 0 ;
 
13388
  char *  kwnames[] = {
 
13389
    (char *) "self",(char *) "start",(char *) "end", NULL 
 
13390
  };
 
13391
  
 
13392
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
13393
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13394
  if (!SWIG_IsOK(res1)) {
 
13395
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13396
  }
 
13397
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13398
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
13399
  if (!SWIG_IsOK(ecode2)) {
 
13400
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
 
13401
  } 
 
13402
  arg2 = static_cast< int >(val2);
 
13403
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
13404
  if (!SWIG_IsOK(ecode3)) {
 
13405
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
 
13406
  } 
 
13407
  arg3 = static_cast< int >(val3);
 
13408
  {
 
13409
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13410
    (arg1)->SetContentsRange(arg2,arg3);
 
13411
    wxPyEndAllowThreads(__tstate);
 
13412
    if (PyErr_Occurred()) SWIG_fail;
 
13413
  }
 
13414
  resultobj = SWIG_Py_Void();
 
13415
  return resultobj;
 
13416
fail:
 
13417
  return NULL;
 
13418
}
 
13419
 
 
13420
 
 
13421
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13422
  PyObject *resultobj = 0;
 
13423
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13424
  int result;
 
13425
  void *argp1 = 0 ;
 
13426
  int res1 = 0 ;
 
13427
  PyObject *swig_obj[1] ;
 
13428
  
 
13429
  if (!args) SWIG_fail;
 
13430
  swig_obj[0] = args;
 
13431
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13432
  if (!SWIG_IsOK(res1)) {
 
13433
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13434
  }
 
13435
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13436
  {
 
13437
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13438
    result = (int)(arg1)->GetContentsStart();
 
13439
    wxPyEndAllowThreads(__tstate);
 
13440
    if (PyErr_Occurred()) SWIG_fail;
 
13441
  }
 
13442
  resultobj = SWIG_From_int(static_cast< int >(result));
 
13443
  return resultobj;
 
13444
fail:
 
13445
  return NULL;
 
13446
}
 
13447
 
 
13448
 
 
13449
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13450
  PyObject *resultobj = 0;
 
13451
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13452
  int result;
 
13453
  void *argp1 = 0 ;
 
13454
  int res1 = 0 ;
 
13455
  PyObject *swig_obj[1] ;
 
13456
  
 
13457
  if (!args) SWIG_fail;
 
13458
  swig_obj[0] = args;
 
13459
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13460
  if (!SWIG_IsOK(res1)) {
 
13461
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13462
  }
 
13463
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13464
  {
 
13465
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13466
    result = (int)(arg1)->GetContentsEnd();
 
13467
    wxPyEndAllowThreads(__tstate);
 
13468
    if (PyErr_Occurred()) SWIG_fail;
 
13469
  }
 
13470
  resultobj = SWIG_From_int(static_cast< int >(result));
 
13471
  return resultobj;
 
13472
fail:
 
13473
  return NULL;
 
13474
}
 
13475
 
 
13476
 
 
13477
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13478
  PyObject *resultobj = 0;
 
13479
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13480
  wxString *arg2 = 0 ;
 
13481
  void *argp1 = 0 ;
 
13482
  int res1 = 0 ;
 
13483
  bool temp2 = false ;
 
13484
  PyObject * obj0 = 0 ;
 
13485
  PyObject * obj1 = 0 ;
 
13486
  char *  kwnames[] = {
 
13487
    (char *) "self",(char *) "title", NULL 
 
13488
  };
 
13489
  
 
13490
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
 
13491
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13492
  if (!SWIG_IsOK(res1)) {
 
13493
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13494
  }
 
13495
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13496
  {
 
13497
    arg2 = wxString_in_helper(obj1);
 
13498
    if (arg2 == NULL) SWIG_fail;
 
13499
    temp2 = true;
 
13500
  }
 
13501
  {
 
13502
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13503
    (arg1)->SetTitle((wxString const &)*arg2);
 
13504
    wxPyEndAllowThreads(__tstate);
 
13505
    if (PyErr_Occurred()) SWIG_fail;
 
13506
  }
 
13507
  resultobj = SWIG_Py_Void();
 
13508
  {
 
13509
    if (temp2)
 
13510
    delete arg2;
 
13511
  }
 
13512
  return resultobj;
 
13513
fail:
 
13514
  {
 
13515
    if (temp2)
 
13516
    delete arg2;
 
13517
  }
 
13518
  return NULL;
 
13519
}
 
13520
 
 
13521
 
 
13522
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13523
  PyObject *resultobj = 0;
 
13524
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13525
  wxString *arg2 = 0 ;
 
13526
  void *argp1 = 0 ;
 
13527
  int res1 = 0 ;
 
13528
  bool temp2 = false ;
 
13529
  PyObject * obj0 = 0 ;
 
13530
  PyObject * obj1 = 0 ;
 
13531
  char *  kwnames[] = {
 
13532
    (char *) "self",(char *) "path", NULL 
 
13533
  };
 
13534
  
 
13535
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
 
13536
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13537
  if (!SWIG_IsOK(res1)) {
 
13538
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13539
  }
 
13540
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13541
  {
 
13542
    arg2 = wxString_in_helper(obj1);
 
13543
    if (arg2 == NULL) SWIG_fail;
 
13544
    temp2 = true;
 
13545
  }
 
13546
  {
 
13547
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13548
    (arg1)->SetBasePath((wxString const &)*arg2);
 
13549
    wxPyEndAllowThreads(__tstate);
 
13550
    if (PyErr_Occurred()) SWIG_fail;
 
13551
  }
 
13552
  resultobj = SWIG_Py_Void();
 
13553
  {
 
13554
    if (temp2)
 
13555
    delete arg2;
 
13556
  }
 
13557
  return resultobj;
 
13558
fail:
 
13559
  {
 
13560
    if (temp2)
 
13561
    delete arg2;
 
13562
  }
 
13563
  return NULL;
 
13564
}
 
13565
 
 
13566
 
 
13567
SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13568
  PyObject *resultobj = 0;
 
13569
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13570
  wxString *arg2 = 0 ;
 
13571
  void *argp1 = 0 ;
 
13572
  int res1 = 0 ;
 
13573
  bool temp2 = false ;
 
13574
  PyObject * obj0 = 0 ;
 
13575
  PyObject * obj1 = 0 ;
 
13576
  char *  kwnames[] = {
 
13577
    (char *) "self",(char *) "start", NULL 
 
13578
  };
 
13579
  
 
13580
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
 
13581
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13582
  if (!SWIG_IsOK(res1)) {
 
13583
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); 
 
13584
  }
 
13585
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13586
  {
 
13587
    arg2 = wxString_in_helper(obj1);
 
13588
    if (arg2 == NULL) SWIG_fail;
 
13589
    temp2 = true;
 
13590
  }
 
13591
  {
 
13592
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13593
    (arg1)->SetStart((wxString const &)*arg2);
 
13594
    wxPyEndAllowThreads(__tstate);
 
13595
    if (PyErr_Occurred()) SWIG_fail;
 
13596
  }
 
13597
  resultobj = SWIG_Py_Void();
 
13598
  {
 
13599
    if (temp2)
 
13600
    delete arg2;
 
13601
  }
 
13602
  return resultobj;
 
13603
fail:
 
13604
  {
 
13605
    if (temp2)
 
13606
    delete arg2;
 
13607
  }
 
13608
  return NULL;
 
13609
}
 
13610
 
 
13611
 
 
13612
SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13613
  PyObject *resultobj = 0;
 
13614
  wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
 
13615
  wxString *arg2 = 0 ;
 
13616
  wxString result;
 
13617
  void *argp1 = 0 ;
 
13618
  int res1 = 0 ;
 
13619
  bool temp2 = false ;
 
13620
  PyObject * obj0 = 0 ;
 
13621
  PyObject * obj1 = 0 ;
 
13622
  char *  kwnames[] = {
 
13623
    (char *) "self",(char *) "page", NULL 
 
13624
  };
 
13625
  
 
13626
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
 
13627
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 |  0 );
 
13628
  if (!SWIG_IsOK(res1)) {
 
13629
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'"); 
 
13630
  }
 
13631
  arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
 
13632
  {
 
13633
    arg2 = wxString_in_helper(obj1);
 
13634
    if (arg2 == NULL) SWIG_fail;
 
13635
    temp2 = true;
 
13636
  }
 
13637
  {
 
13638
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13639
    result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
 
13640
    wxPyEndAllowThreads(__tstate);
 
13641
    if (PyErr_Occurred()) SWIG_fail;
 
13642
  }
 
13643
  {
 
13644
#if wxUSE_UNICODE
 
13645
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
13646
#else
 
13647
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
13648
#endif
 
13649
  }
 
13650
  {
 
13651
    if (temp2)
 
13652
    delete arg2;
 
13653
  }
 
13654
  return resultobj;
 
13655
fail:
 
13656
  {
 
13657
    if (temp2)
 
13658
    delete arg2;
 
13659
  }
 
13660
  return NULL;
 
13661
}
 
13662
 
 
13663
 
 
13664
SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13665
  PyObject *obj;
 
13666
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13667
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
 
13668
  return SWIG_Py_Void();
 
13669
}
 
13670
 
 
13671
SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13672
  return SWIG_Python_InitShadowInstance(args);
 
13673
}
 
13674
 
 
13675
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13676
  PyObject *resultobj = 0;
 
13677
  wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
 
13678
  bool result;
 
13679
  void *argp1 = 0 ;
 
13680
  int res1 = 0 ;
 
13681
  PyObject *swig_obj[1] ;
 
13682
  
 
13683
  if (!args) SWIG_fail;
 
13684
  swig_obj[0] = args;
 
13685
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 |  0 );
 
13686
  if (!SWIG_IsOK(res1)) {
 
13687
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); 
 
13688
  }
 
13689
  arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
 
13690
  {
 
13691
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13692
    result = (bool)(arg1)->Search();
 
13693
    wxPyEndAllowThreads(__tstate);
 
13694
    if (PyErr_Occurred()) SWIG_fail;
 
13695
  }
 
13696
  {
 
13697
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13698
  }
 
13699
  return resultobj;
 
13700
fail:
 
13701
  return NULL;
 
13702
}
 
13703
 
 
13704
 
 
13705
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13706
  PyObject *resultobj = 0;
 
13707
  wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
 
13708
  bool result;
 
13709
  void *argp1 = 0 ;
 
13710
  int res1 = 0 ;
 
13711
  PyObject *swig_obj[1] ;
 
13712
  
 
13713
  if (!args) SWIG_fail;
 
13714
  swig_obj[0] = args;
 
13715
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 |  0 );
 
13716
  if (!SWIG_IsOK(res1)) {
 
13717
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); 
 
13718
  }
 
13719
  arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
 
13720
  {
 
13721
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13722
    result = (bool)(arg1)->IsActive();
 
13723
    wxPyEndAllowThreads(__tstate);
 
13724
    if (PyErr_Occurred()) SWIG_fail;
 
13725
  }
 
13726
  {
 
13727
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13728
  }
 
13729
  return resultobj;
 
13730
fail:
 
13731
  return NULL;
 
13732
}
 
13733
 
 
13734
 
 
13735
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13736
  PyObject *resultobj = 0;
 
13737
  wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
 
13738
  int result;
 
13739
  void *argp1 = 0 ;
 
13740
  int res1 = 0 ;
 
13741
  PyObject *swig_obj[1] ;
 
13742
  
 
13743
  if (!args) SWIG_fail;
 
13744
  swig_obj[0] = args;
 
13745
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 |  0 );
 
13746
  if (!SWIG_IsOK(res1)) {
 
13747
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); 
 
13748
  }
 
13749
  arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
 
13750
  {
 
13751
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13752
    result = (int)(arg1)->GetCurIndex();
 
13753
    wxPyEndAllowThreads(__tstate);
 
13754
    if (PyErr_Occurred()) SWIG_fail;
 
13755
  }
 
13756
  resultobj = SWIG_From_int(static_cast< int >(result));
 
13757
  return resultobj;
 
13758
fail:
 
13759
  return NULL;
 
13760
}
 
13761
 
 
13762
 
 
13763
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13764
  PyObject *resultobj = 0;
 
13765
  wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
 
13766
  int result;
 
13767
  void *argp1 = 0 ;
 
13768
  int res1 = 0 ;
 
13769
  PyObject *swig_obj[1] ;
 
13770
  
 
13771
  if (!args) SWIG_fail;
 
13772
  swig_obj[0] = args;
 
13773
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 |  0 );
 
13774
  if (!SWIG_IsOK(res1)) {
 
13775
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); 
 
13776
  }
 
13777
  arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
 
13778
  {
 
13779
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13780
    result = (int)(arg1)->GetMaxIndex();
 
13781
    wxPyEndAllowThreads(__tstate);
 
13782
    if (PyErr_Occurred()) SWIG_fail;
 
13783
  }
 
13784
  resultobj = SWIG_From_int(static_cast< int >(result));
 
13785
  return resultobj;
 
13786
fail:
 
13787
  return NULL;
 
13788
}
 
13789
 
 
13790
 
 
13791
SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13792
  PyObject *resultobj = 0;
 
13793
  wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
 
13794
  wxString *result = 0 ;
 
13795
  void *argp1 = 0 ;
 
13796
  int res1 = 0 ;
 
13797
  PyObject *swig_obj[1] ;
 
13798
  
 
13799
  if (!args) SWIG_fail;
 
13800
  swig_obj[0] = args;
 
13801
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 |  0 );
 
13802
  if (!SWIG_IsOK(res1)) {
 
13803
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); 
 
13804
  }
 
13805
  arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
 
13806
  {
 
13807
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13808
    {
 
13809
      wxString const &_result_ref = (arg1)->GetName();
 
13810
      result = (wxString *) &_result_ref;
 
13811
    }
 
13812
    wxPyEndAllowThreads(__tstate);
 
13813
    if (PyErr_Occurred()) SWIG_fail;
 
13814
  }
 
13815
  {
 
13816
#if wxUSE_UNICODE
 
13817
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
13818
#else
 
13819
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
13820
#endif
 
13821
  }
 
13822
  return resultobj;
 
13823
fail:
 
13824
  return NULL;
 
13825
}
 
13826
 
 
13827
 
 
13828
SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13829
  PyObject *obj;
 
13830
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13831
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
 
13832
  return SWIG_Py_Void();
 
13833
}
 
13834
 
 
13835
SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13836
  PyObject *resultobj = 0;
 
13837
  wxHtmlHelpData *result = 0 ;
 
13838
  
 
13839
  if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
 
13840
  {
 
13841
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13842
    result = (wxHtmlHelpData *)new wxHtmlHelpData();
 
13843
    wxPyEndAllowThreads(__tstate);
 
13844
    if (PyErr_Occurred()) SWIG_fail;
 
13845
  }
 
13846
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW |  0 );
 
13847
  return resultobj;
 
13848
fail:
 
13849
  return NULL;
 
13850
}
 
13851
 
 
13852
 
 
13853
SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13854
  PyObject *resultobj = 0;
 
13855
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
 
13856
  void *argp1 = 0 ;
 
13857
  int res1 = 0 ;
 
13858
  PyObject *swig_obj[1] ;
 
13859
  
 
13860
  if (!args) SWIG_fail;
 
13861
  swig_obj[0] = args;
 
13862
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN |  0 );
 
13863
  if (!SWIG_IsOK(res1)) {
 
13864
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
13865
  }
 
13866
  arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
13867
  {
 
13868
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13869
    delete arg1;
 
13870
    
 
13871
    wxPyEndAllowThreads(__tstate);
 
13872
    if (PyErr_Occurred()) SWIG_fail;
 
13873
  }
 
13874
  resultobj = SWIG_Py_Void();
 
13875
  return resultobj;
 
13876
fail:
 
13877
  return NULL;
 
13878
}
 
13879
 
 
13880
 
 
13881
SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13882
  PyObject *resultobj = 0;
 
13883
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
 
13884
  wxString *arg2 = 0 ;
 
13885
  void *argp1 = 0 ;
 
13886
  int res1 = 0 ;
 
13887
  bool temp2 = false ;
 
13888
  PyObject * obj0 = 0 ;
 
13889
  PyObject * obj1 = 0 ;
 
13890
  char *  kwnames[] = {
 
13891
    (char *) "self",(char *) "path", NULL 
 
13892
  };
 
13893
  
 
13894
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
 
13895
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
13896
  if (!SWIG_IsOK(res1)) {
 
13897
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
13898
  }
 
13899
  arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
13900
  {
 
13901
    arg2 = wxString_in_helper(obj1);
 
13902
    if (arg2 == NULL) SWIG_fail;
 
13903
    temp2 = true;
 
13904
  }
 
13905
  {
 
13906
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13907
    (arg1)->SetTempDir((wxString const &)*arg2);
 
13908
    wxPyEndAllowThreads(__tstate);
 
13909
    if (PyErr_Occurred()) SWIG_fail;
 
13910
  }
 
13911
  resultobj = SWIG_Py_Void();
 
13912
  {
 
13913
    if (temp2)
 
13914
    delete arg2;
 
13915
  }
 
13916
  return resultobj;
 
13917
fail:
 
13918
  {
 
13919
    if (temp2)
 
13920
    delete arg2;
 
13921
  }
 
13922
  return NULL;
 
13923
}
 
13924
 
 
13925
 
 
13926
SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13927
  PyObject *resultobj = 0;
 
13928
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
 
13929
  wxString *arg2 = 0 ;
 
13930
  bool result;
 
13931
  void *argp1 = 0 ;
 
13932
  int res1 = 0 ;
 
13933
  bool temp2 = false ;
 
13934
  PyObject * obj0 = 0 ;
 
13935
  PyObject * obj1 = 0 ;
 
13936
  char *  kwnames[] = {
 
13937
    (char *) "self",(char *) "book", NULL 
 
13938
  };
 
13939
  
 
13940
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
 
13941
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
13942
  if (!SWIG_IsOK(res1)) {
 
13943
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
13944
  }
 
13945
  arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
13946
  {
 
13947
    arg2 = wxString_in_helper(obj1);
 
13948
    if (arg2 == NULL) SWIG_fail;
 
13949
    temp2 = true;
 
13950
  }
 
13951
  {
 
13952
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13953
    result = (bool)(arg1)->AddBook((wxString const &)*arg2);
 
13954
    wxPyEndAllowThreads(__tstate);
 
13955
    if (PyErr_Occurred()) SWIG_fail;
 
13956
  }
 
13957
  {
 
13958
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13959
  }
 
13960
  {
 
13961
    if (temp2)
 
13962
    delete arg2;
 
13963
  }
 
13964
  return resultobj;
 
13965
fail:
 
13966
  {
 
13967
    if (temp2)
 
13968
    delete arg2;
 
13969
  }
 
13970
  return NULL;
 
13971
}
 
13972
 
 
13973
 
 
13974
SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13975
  PyObject *resultobj = 0;
 
13976
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
 
13977
  wxString *arg2 = 0 ;
 
13978
  wxString result;
 
13979
  void *argp1 = 0 ;
 
13980
  int res1 = 0 ;
 
13981
  bool temp2 = false ;
 
13982
  PyObject * obj0 = 0 ;
 
13983
  PyObject * obj1 = 0 ;
 
13984
  char *  kwnames[] = {
 
13985
    (char *) "self",(char *) "page", NULL 
 
13986
  };
 
13987
  
 
13988
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
 
13989
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
13990
  if (!SWIG_IsOK(res1)) {
 
13991
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
13992
  }
 
13993
  arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
13994
  {
 
13995
    arg2 = wxString_in_helper(obj1);
 
13996
    if (arg2 == NULL) SWIG_fail;
 
13997
    temp2 = true;
 
13998
  }
 
13999
  {
 
14000
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14001
    result = (arg1)->FindPageByName((wxString const &)*arg2);
 
14002
    wxPyEndAllowThreads(__tstate);
 
14003
    if (PyErr_Occurred()) SWIG_fail;
 
14004
  }
 
14005
  {
 
14006
#if wxUSE_UNICODE
 
14007
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
14008
#else
 
14009
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
14010
#endif
 
14011
  }
 
14012
  {
 
14013
    if (temp2)
 
14014
    delete arg2;
 
14015
  }
 
14016
  return resultobj;
 
14017
fail:
 
14018
  {
 
14019
    if (temp2)
 
14020
    delete arg2;
 
14021
  }
 
14022
  return NULL;
 
14023
}
 
14024
 
 
14025
 
 
14026
SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14027
  PyObject *resultobj = 0;
 
14028
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
 
14029
  int arg2 ;
 
14030
  wxString result;
 
14031
  void *argp1 = 0 ;
 
14032
  int res1 = 0 ;
 
14033
  int val2 ;
 
14034
  int ecode2 = 0 ;
 
14035
  PyObject * obj0 = 0 ;
 
14036
  PyObject * obj1 = 0 ;
 
14037
  char *  kwnames[] = {
 
14038
    (char *) "self",(char *) "id", NULL 
 
14039
  };
 
14040
  
 
14041
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
 
14042
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
14043
  if (!SWIG_IsOK(res1)) {
 
14044
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
14045
  }
 
14046
  arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
14047
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
14048
  if (!SWIG_IsOK(ecode2)) {
 
14049
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
 
14050
  } 
 
14051
  arg2 = static_cast< int >(val2);
 
14052
  {
 
14053
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14054
    result = (arg1)->FindPageById(arg2);
 
14055
    wxPyEndAllowThreads(__tstate);
 
14056
    if (PyErr_Occurred()) SWIG_fail;
 
14057
  }
 
14058
  {
 
14059
#if wxUSE_UNICODE
 
14060
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
14061
#else
 
14062
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
14063
#endif
 
14064
  }
 
14065
  return resultobj;
 
14066
fail:
 
14067
  return NULL;
 
14068
}
 
14069
 
 
14070
 
 
14071
SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14072
  PyObject *resultobj = 0;
 
14073
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
 
14074
  wxHtmlBookRecArray *result = 0 ;
 
14075
  void *argp1 = 0 ;
 
14076
  int res1 = 0 ;
 
14077
  PyObject *swig_obj[1] ;
 
14078
  
 
14079
  if (!args) SWIG_fail;
 
14080
  swig_obj[0] = args;
 
14081
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
14082
  if (!SWIG_IsOK(res1)) {
 
14083
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
14084
  }
 
14085
  arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
14086
  {
 
14087
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14088
    {
 
14089
      wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
 
14090
      result = (wxHtmlBookRecArray *) &_result_ref;
 
14091
    }
 
14092
    wxPyEndAllowThreads(__tstate);
 
14093
    if (PyErr_Occurred()) SWIG_fail;
 
14094
  }
 
14095
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 |  0 );
 
14096
  return resultobj;
 
14097
fail:
 
14098
  return NULL;
 
14099
}
 
14100
 
 
14101
 
 
14102
SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14103
  PyObject *obj;
 
14104
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
14105
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
 
14106
  return SWIG_Py_Void();
 
14107
}
 
14108
 
 
14109
SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14110
  return SWIG_Python_InitShadowInstance(args);
 
14111
}
 
14112
 
 
14113
SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14114
  PyObject *resultobj = 0;
 
14115
  wxWindow *arg1 = (wxWindow *) 0 ;
 
14116
  int arg2 ;
 
14117
  wxPoint const &arg3_defvalue = wxDefaultPosition ;
 
14118
  wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
 
14119
  wxSize const &arg4_defvalue = wxDefaultSize ;
 
14120
  wxSize *arg4 = (wxSize *) &arg4_defvalue ;
 
14121
  int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
 
14122
  int arg6 = (int) wxHF_DEFAULT_STYLE ;
 
14123
  wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
 
14124
  wxHtmlHelpWindow *result = 0 ;
 
14125
  void *argp1 = 0 ;
 
14126
  int res1 = 0 ;
 
14127
  int val2 ;
 
14128
  int ecode2 = 0 ;
 
14129
  wxPoint temp3 ;
 
14130
  wxSize temp4 ;
 
14131
  int val5 ;
 
14132
  int ecode5 = 0 ;
 
14133
  int val6 ;
 
14134
  int ecode6 = 0 ;
 
14135
  void *argp7 = 0 ;
 
14136
  int res7 = 0 ;
 
14137
  PyObject * obj0 = 0 ;
 
14138
  PyObject * obj1 = 0 ;
 
14139
  PyObject * obj2 = 0 ;
 
14140
  PyObject * obj3 = 0 ;
 
14141
  PyObject * obj4 = 0 ;
 
14142
  PyObject * obj5 = 0 ;
 
14143
  PyObject * obj6 = 0 ;
 
14144
  char *  kwnames[] = {
 
14145
    (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL 
 
14146
  };
 
14147
  
 
14148
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
14149
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
14150
  if (!SWIG_IsOK(res1)) {
 
14151
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
14152
  }
 
14153
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
14154
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
14155
  if (!SWIG_IsOK(ecode2)) {
 
14156
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
 
14157
  } 
 
14158
  arg2 = static_cast< int >(val2);
 
14159
  if (obj2) {
 
14160
    {
 
14161
      arg3 = &temp3;
 
14162
      if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
14163
    }
 
14164
  }
 
14165
  if (obj3) {
 
14166
    {
 
14167
      arg4 = &temp4;
 
14168
      if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
 
14169
    }
 
14170
  }
 
14171
  if (obj4) {
 
14172
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
14173
    if (!SWIG_IsOK(ecode5)) {
 
14174
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
 
14175
    } 
 
14176
    arg5 = static_cast< int >(val5);
 
14177
  }
 
14178
  if (obj5) {
 
14179
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
14180
    if (!SWIG_IsOK(ecode6)) {
 
14181
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
 
14182
    } 
 
14183
    arg6 = static_cast< int >(val6);
 
14184
  }
 
14185
  if (obj6) {
 
14186
    res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
14187
    if (!SWIG_IsOK(res7)) {
 
14188
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'"); 
 
14189
    }
 
14190
    arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
 
14191
  }
 
14192
  {
 
14193
    if (!wxPyCheckForApp()) SWIG_fail;
 
14194
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14195
    result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
 
14196
    wxPyEndAllowThreads(__tstate);
 
14197
    if (PyErr_Occurred()) SWIG_fail;
 
14198
  }
 
14199
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW |  0 );
 
14200
  return resultobj;
 
14201
fail:
 
14202
  return NULL;
 
14203
}
 
14204
 
 
14205
 
 
14206
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14207
  PyObject *resultobj = 0;
 
14208
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
 
14209
  wxHtmlHelpWindow *result = 0 ;
 
14210
  void *argp1 = 0 ;
 
14211
  int res1 = 0 ;
 
14212
  PyObject * obj0 = 0 ;
 
14213
  char *  kwnames[] = {
 
14214
    (char *) "data", NULL 
 
14215
  };
 
14216
  
 
14217
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
 
14218
  if (obj0) {
 
14219
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
14220
    if (!SWIG_IsOK(res1)) {
 
14221
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
14222
    }
 
14223
    arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
14224
  }
 
14225
  {
 
14226
    if (!wxPyCheckForApp()) SWIG_fail;
 
14227
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14228
    result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
 
14229
    wxPyEndAllowThreads(__tstate);
 
14230
    if (PyErr_Occurred()) SWIG_fail;
 
14231
  }
 
14232
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN |  0 );
 
14233
  return resultobj;
 
14234
fail:
 
14235
  return NULL;
 
14236
}
 
14237
 
 
14238
 
 
14239
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14240
  PyObject *resultobj = 0;
 
14241
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14242
  wxWindow *arg2 = (wxWindow *) 0 ;
 
14243
  int arg3 ;
 
14244
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
14245
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
14246
  wxSize const &arg5_defvalue = wxDefaultSize ;
 
14247
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
 
14248
  int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
 
14249
  int arg7 = (int) wxHF_DEFAULT_STYLE ;
 
14250
  bool result;
 
14251
  void *argp1 = 0 ;
 
14252
  int res1 = 0 ;
 
14253
  void *argp2 = 0 ;
 
14254
  int res2 = 0 ;
 
14255
  int val3 ;
 
14256
  int ecode3 = 0 ;
 
14257
  wxPoint temp4 ;
 
14258
  wxSize temp5 ;
 
14259
  int val6 ;
 
14260
  int ecode6 = 0 ;
 
14261
  int val7 ;
 
14262
  int ecode7 = 0 ;
 
14263
  PyObject * obj0 = 0 ;
 
14264
  PyObject * obj1 = 0 ;
 
14265
  PyObject * obj2 = 0 ;
 
14266
  PyObject * obj3 = 0 ;
 
14267
  PyObject * obj4 = 0 ;
 
14268
  PyObject * obj5 = 0 ;
 
14269
  PyObject * obj6 = 0 ;
 
14270
  char *  kwnames[] = {
 
14271
    (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL 
 
14272
  };
 
14273
  
 
14274
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
14275
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14276
  if (!SWIG_IsOK(res1)) {
 
14277
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14278
  }
 
14279
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14280
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
14281
  if (!SWIG_IsOK(res2)) {
 
14282
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
14283
  }
 
14284
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
14285
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
14286
  if (!SWIG_IsOK(ecode3)) {
 
14287
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
 
14288
  } 
 
14289
  arg3 = static_cast< int >(val3);
 
14290
  if (obj3) {
 
14291
    {
 
14292
      arg4 = &temp4;
 
14293
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
14294
    }
 
14295
  }
 
14296
  if (obj4) {
 
14297
    {
 
14298
      arg5 = &temp5;
 
14299
      if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
 
14300
    }
 
14301
  }
 
14302
  if (obj5) {
 
14303
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
14304
    if (!SWIG_IsOK(ecode6)) {
 
14305
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
 
14306
    } 
 
14307
    arg6 = static_cast< int >(val6);
 
14308
  }
 
14309
  if (obj6) {
 
14310
    ecode7 = SWIG_AsVal_int(obj6, &val7);
 
14311
    if (!SWIG_IsOK(ecode7)) {
 
14312
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
 
14313
    } 
 
14314
    arg7 = static_cast< int >(val7);
 
14315
  }
 
14316
  {
 
14317
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14318
    result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
 
14319
    wxPyEndAllowThreads(__tstate);
 
14320
    if (PyErr_Occurred()) SWIG_fail;
 
14321
  }
 
14322
  {
 
14323
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14324
  }
 
14325
  return resultobj;
 
14326
fail:
 
14327
  return NULL;
 
14328
}
 
14329
 
 
14330
 
 
14331
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14332
  PyObject *resultobj = 0;
 
14333
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14334
  wxHtmlHelpData *result = 0 ;
 
14335
  void *argp1 = 0 ;
 
14336
  int res1 = 0 ;
 
14337
  PyObject *swig_obj[1] ;
 
14338
  
 
14339
  if (!args) SWIG_fail;
 
14340
  swig_obj[0] = args;
 
14341
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14342
  if (!SWIG_IsOK(res1)) {
 
14343
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14344
  }
 
14345
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14346
  {
 
14347
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14348
    result = (wxHtmlHelpData *)(arg1)->GetData();
 
14349
    wxPyEndAllowThreads(__tstate);
 
14350
    if (PyErr_Occurred()) SWIG_fail;
 
14351
  }
 
14352
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
14353
  return resultobj;
 
14354
fail:
 
14355
  return NULL;
 
14356
}
 
14357
 
 
14358
 
 
14359
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14360
  PyObject *resultobj = 0;
 
14361
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14362
  wxHtmlHelpController *result = 0 ;
 
14363
  void *argp1 = 0 ;
 
14364
  int res1 = 0 ;
 
14365
  PyObject *swig_obj[1] ;
 
14366
  
 
14367
  if (!args) SWIG_fail;
 
14368
  swig_obj[0] = args;
 
14369
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14370
  if (!SWIG_IsOK(res1)) {
 
14371
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); 
 
14372
  }
 
14373
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14374
  {
 
14375
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14376
    result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
 
14377
    wxPyEndAllowThreads(__tstate);
 
14378
    if (PyErr_Occurred()) SWIG_fail;
 
14379
  }
 
14380
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
14381
  return resultobj;
 
14382
fail:
 
14383
  return NULL;
 
14384
}
 
14385
 
 
14386
 
 
14387
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14388
  PyObject *resultobj = 0;
 
14389
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14390
  wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
 
14391
  void *argp1 = 0 ;
 
14392
  int res1 = 0 ;
 
14393
  int res2 = 0 ;
 
14394
  PyObject * obj0 = 0 ;
 
14395
  PyObject * obj1 = 0 ;
 
14396
  char *  kwnames[] = {
 
14397
    (char *) "self",(char *) "controller", NULL 
 
14398
  };
 
14399
  
 
14400
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
 
14401
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14402
  if (!SWIG_IsOK(res1)) {
 
14403
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14404
  }
 
14405
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14406
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN |  0 );
 
14407
  if (!SWIG_IsOK(res2)) {
 
14408
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
 
14409
  }
 
14410
  {
 
14411
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14412
    (arg1)->SetController(arg2);
 
14413
    wxPyEndAllowThreads(__tstate);
 
14414
    if (PyErr_Occurred()) SWIG_fail;
 
14415
  }
 
14416
  resultobj = SWIG_Py_Void();
 
14417
  return resultobj;
 
14418
fail:
 
14419
  return NULL;
 
14420
}
 
14421
 
 
14422
 
 
14423
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14424
  PyObject *resultobj = 0;
 
14425
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14426
  wxString *arg2 = 0 ;
 
14427
  bool result;
 
14428
  void *argp1 = 0 ;
 
14429
  int res1 = 0 ;
 
14430
  bool temp2 = false ;
 
14431
  PyObject * obj0 = 0 ;
 
14432
  PyObject * obj1 = 0 ;
 
14433
  char *  kwnames[] = {
 
14434
    (char *) "self",(char *) "x", NULL 
 
14435
  };
 
14436
  
 
14437
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
 
14438
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14439
  if (!SWIG_IsOK(res1)) {
 
14440
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14441
  }
 
14442
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14443
  {
 
14444
    arg2 = wxString_in_helper(obj1);
 
14445
    if (arg2 == NULL) SWIG_fail;
 
14446
    temp2 = true;
 
14447
  }
 
14448
  {
 
14449
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14450
    result = (bool)(arg1)->Display((wxString const &)*arg2);
 
14451
    wxPyEndAllowThreads(__tstate);
 
14452
    if (PyErr_Occurred()) SWIG_fail;
 
14453
  }
 
14454
  {
 
14455
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14456
  }
 
14457
  {
 
14458
    if (temp2)
 
14459
    delete arg2;
 
14460
  }
 
14461
  return resultobj;
 
14462
fail:
 
14463
  {
 
14464
    if (temp2)
 
14465
    delete arg2;
 
14466
  }
 
14467
  return NULL;
 
14468
}
 
14469
 
 
14470
 
 
14471
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14472
  PyObject *resultobj = 0;
 
14473
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14474
  int arg2 ;
 
14475
  bool result;
 
14476
  void *argp1 = 0 ;
 
14477
  int res1 = 0 ;
 
14478
  int val2 ;
 
14479
  int ecode2 = 0 ;
 
14480
  PyObject * obj0 = 0 ;
 
14481
  PyObject * obj1 = 0 ;
 
14482
  char *  kwnames[] = {
 
14483
    (char *) "self",(char *) "id", NULL 
 
14484
  };
 
14485
  
 
14486
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
 
14487
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14488
  if (!SWIG_IsOK(res1)) {
 
14489
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14490
  }
 
14491
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14492
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
14493
  if (!SWIG_IsOK(ecode2)) {
 
14494
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
 
14495
  } 
 
14496
  arg2 = static_cast< int >(val2);
 
14497
  {
 
14498
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14499
    result = (bool)(arg1)->Display(arg2);
 
14500
    wxPyEndAllowThreads(__tstate);
 
14501
    if (PyErr_Occurred()) SWIG_fail;
 
14502
  }
 
14503
  {
 
14504
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14505
  }
 
14506
  return resultobj;
 
14507
fail:
 
14508
  return NULL;
 
14509
}
 
14510
 
 
14511
 
 
14512
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14513
  PyObject *resultobj = 0;
 
14514
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14515
  bool result;
 
14516
  void *argp1 = 0 ;
 
14517
  int res1 = 0 ;
 
14518
  PyObject *swig_obj[1] ;
 
14519
  
 
14520
  if (!args) SWIG_fail;
 
14521
  swig_obj[0] = args;
 
14522
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14523
  if (!SWIG_IsOK(res1)) {
 
14524
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14525
  }
 
14526
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14527
  {
 
14528
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14529
    result = (bool)(arg1)->DisplayContents();
 
14530
    wxPyEndAllowThreads(__tstate);
 
14531
    if (PyErr_Occurred()) SWIG_fail;
 
14532
  }
 
14533
  {
 
14534
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14535
  }
 
14536
  return resultobj;
 
14537
fail:
 
14538
  return NULL;
 
14539
}
 
14540
 
 
14541
 
 
14542
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14543
  PyObject *resultobj = 0;
 
14544
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14545
  bool result;
 
14546
  void *argp1 = 0 ;
 
14547
  int res1 = 0 ;
 
14548
  PyObject *swig_obj[1] ;
 
14549
  
 
14550
  if (!args) SWIG_fail;
 
14551
  swig_obj[0] = args;
 
14552
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14553
  if (!SWIG_IsOK(res1)) {
 
14554
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14555
  }
 
14556
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14557
  {
 
14558
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14559
    result = (bool)(arg1)->DisplayIndex();
 
14560
    wxPyEndAllowThreads(__tstate);
 
14561
    if (PyErr_Occurred()) SWIG_fail;
 
14562
  }
 
14563
  {
 
14564
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14565
  }
 
14566
  return resultobj;
 
14567
fail:
 
14568
  return NULL;
 
14569
}
 
14570
 
 
14571
 
 
14572
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14573
  PyObject *resultobj = 0;
 
14574
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14575
  wxString *arg2 = 0 ;
 
14576
  wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
 
14577
  bool result;
 
14578
  void *argp1 = 0 ;
 
14579
  int res1 = 0 ;
 
14580
  bool temp2 = false ;
 
14581
  void *argp3 ;
 
14582
  int res3 = 0 ;
 
14583
  PyObject * obj0 = 0 ;
 
14584
  PyObject * obj1 = 0 ;
 
14585
  PyObject * obj2 = 0 ;
 
14586
  char *  kwnames[] = {
 
14587
    (char *) "self",(char *) "keyword",(char *) "mode", NULL 
 
14588
  };
 
14589
  
 
14590
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14591
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14592
  if (!SWIG_IsOK(res1)) {
 
14593
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14594
  }
 
14595
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14596
  {
 
14597
    arg2 = wxString_in_helper(obj1);
 
14598
    if (arg2 == NULL) SWIG_fail;
 
14599
    temp2 = true;
 
14600
  }
 
14601
  if (obj2) {
 
14602
    {
 
14603
      res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode,  0  | 0);
 
14604
      if (!SWIG_IsOK(res3)) {
 
14605
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); 
 
14606
      }  
 
14607
      if (!argp3) {
 
14608
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
 
14609
      } else {
 
14610
        wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
 
14611
        arg3 = *temp;
 
14612
        if (SWIG_IsNewObj(res3)) delete temp;
 
14613
      }
 
14614
    }
 
14615
  }
 
14616
  {
 
14617
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14618
    result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
 
14619
    wxPyEndAllowThreads(__tstate);
 
14620
    if (PyErr_Occurred()) SWIG_fail;
 
14621
  }
 
14622
  {
 
14623
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14624
  }
 
14625
  {
 
14626
    if (temp2)
 
14627
    delete arg2;
 
14628
  }
 
14629
  return resultobj;
 
14630
fail:
 
14631
  {
 
14632
    if (temp2)
 
14633
    delete arg2;
 
14634
  }
 
14635
  return NULL;
 
14636
}
 
14637
 
 
14638
 
 
14639
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14640
  PyObject *resultobj = 0;
 
14641
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14642
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
14643
  wxString const &arg3_defvalue = wxEmptyString ;
 
14644
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
14645
  void *argp1 = 0 ;
 
14646
  int res1 = 0 ;
 
14647
  void *argp2 = 0 ;
 
14648
  int res2 = 0 ;
 
14649
  bool temp3 = false ;
 
14650
  PyObject * obj0 = 0 ;
 
14651
  PyObject * obj1 = 0 ;
 
14652
  PyObject * obj2 = 0 ;
 
14653
  char *  kwnames[] = {
 
14654
    (char *) "self",(char *) "config",(char *) "rootpath", NULL 
 
14655
  };
 
14656
  
 
14657
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14658
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14659
  if (!SWIG_IsOK(res1)) {
 
14660
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14661
  }
 
14662
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14663
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
14664
  if (!SWIG_IsOK(res2)) {
 
14665
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
14666
  }
 
14667
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
14668
  if (obj2) {
 
14669
    {
 
14670
      arg3 = wxString_in_helper(obj2);
 
14671
      if (arg3 == NULL) SWIG_fail;
 
14672
      temp3 = true;
 
14673
    }
 
14674
  }
 
14675
  {
 
14676
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14677
    (arg1)->UseConfig(arg2,(wxString const &)*arg3);
 
14678
    wxPyEndAllowThreads(__tstate);
 
14679
    if (PyErr_Occurred()) SWIG_fail;
 
14680
  }
 
14681
  resultobj = SWIG_Py_Void();
 
14682
  {
 
14683
    if (temp3)
 
14684
    delete arg3;
 
14685
  }
 
14686
  return resultobj;
 
14687
fail:
 
14688
  {
 
14689
    if (temp3)
 
14690
    delete arg3;
 
14691
  }
 
14692
  return NULL;
 
14693
}
 
14694
 
 
14695
 
 
14696
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14697
  PyObject *resultobj = 0;
 
14698
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14699
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
14700
  wxString const &arg3_defvalue = wxEmptyString ;
 
14701
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
14702
  void *argp1 = 0 ;
 
14703
  int res1 = 0 ;
 
14704
  void *argp2 = 0 ;
 
14705
  int res2 = 0 ;
 
14706
  bool temp3 = false ;
 
14707
  PyObject * obj0 = 0 ;
 
14708
  PyObject * obj1 = 0 ;
 
14709
  PyObject * obj2 = 0 ;
 
14710
  char *  kwnames[] = {
 
14711
    (char *) "self",(char *) "cfg",(char *) "path", NULL 
 
14712
  };
 
14713
  
 
14714
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14715
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14716
  if (!SWIG_IsOK(res1)) {
 
14717
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14718
  }
 
14719
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14720
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
14721
  if (!SWIG_IsOK(res2)) {
 
14722
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
14723
  }
 
14724
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
14725
  if (obj2) {
 
14726
    {
 
14727
      arg3 = wxString_in_helper(obj2);
 
14728
      if (arg3 == NULL) SWIG_fail;
 
14729
      temp3 = true;
 
14730
    }
 
14731
  }
 
14732
  {
 
14733
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14734
    (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
 
14735
    wxPyEndAllowThreads(__tstate);
 
14736
    if (PyErr_Occurred()) SWIG_fail;
 
14737
  }
 
14738
  resultobj = SWIG_Py_Void();
 
14739
  {
 
14740
    if (temp3)
 
14741
    delete arg3;
 
14742
  }
 
14743
  return resultobj;
 
14744
fail:
 
14745
  {
 
14746
    if (temp3)
 
14747
    delete arg3;
 
14748
  }
 
14749
  return NULL;
 
14750
}
 
14751
 
 
14752
 
 
14753
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14754
  PyObject *resultobj = 0;
 
14755
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14756
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
14757
  wxString const &arg3_defvalue = wxEmptyString ;
 
14758
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
14759
  void *argp1 = 0 ;
 
14760
  int res1 = 0 ;
 
14761
  void *argp2 = 0 ;
 
14762
  int res2 = 0 ;
 
14763
  bool temp3 = false ;
 
14764
  PyObject * obj0 = 0 ;
 
14765
  PyObject * obj1 = 0 ;
 
14766
  PyObject * obj2 = 0 ;
 
14767
  char *  kwnames[] = {
 
14768
    (char *) "self",(char *) "cfg",(char *) "path", NULL 
 
14769
  };
 
14770
  
 
14771
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14772
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14773
  if (!SWIG_IsOK(res1)) {
 
14774
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14775
  }
 
14776
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14777
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
14778
  if (!SWIG_IsOK(res2)) {
 
14779
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
14780
  }
 
14781
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
14782
  if (obj2) {
 
14783
    {
 
14784
      arg3 = wxString_in_helper(obj2);
 
14785
      if (arg3 == NULL) SWIG_fail;
 
14786
      temp3 = true;
 
14787
    }
 
14788
  }
 
14789
  {
 
14790
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14791
    (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
 
14792
    wxPyEndAllowThreads(__tstate);
 
14793
    if (PyErr_Occurred()) SWIG_fail;
 
14794
  }
 
14795
  resultobj = SWIG_Py_Void();
 
14796
  {
 
14797
    if (temp3)
 
14798
    delete arg3;
 
14799
  }
 
14800
  return resultobj;
 
14801
fail:
 
14802
  {
 
14803
    if (temp3)
 
14804
    delete arg3;
 
14805
  }
 
14806
  return NULL;
 
14807
}
 
14808
 
 
14809
 
 
14810
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14811
  PyObject *resultobj = 0;
 
14812
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14813
  void *argp1 = 0 ;
 
14814
  int res1 = 0 ;
 
14815
  PyObject *swig_obj[1] ;
 
14816
  
 
14817
  if (!args) SWIG_fail;
 
14818
  swig_obj[0] = args;
 
14819
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14820
  if (!SWIG_IsOK(res1)) {
 
14821
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14822
  }
 
14823
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14824
  {
 
14825
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14826
    (arg1)->NotifyPageChanged();
 
14827
    wxPyEndAllowThreads(__tstate);
 
14828
    if (PyErr_Occurred()) SWIG_fail;
 
14829
  }
 
14830
  resultobj = SWIG_Py_Void();
 
14831
  return resultobj;
 
14832
fail:
 
14833
  return NULL;
 
14834
}
 
14835
 
 
14836
 
 
14837
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14838
  PyObject *resultobj = 0;
 
14839
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14840
  void *argp1 = 0 ;
 
14841
  int res1 = 0 ;
 
14842
  PyObject *swig_obj[1] ;
 
14843
  
 
14844
  if (!args) SWIG_fail;
 
14845
  swig_obj[0] = args;
 
14846
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14847
  if (!SWIG_IsOK(res1)) {
 
14848
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14849
  }
 
14850
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14851
  {
 
14852
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14853
    (arg1)->RefreshLists();
 
14854
    wxPyEndAllowThreads(__tstate);
 
14855
    if (PyErr_Occurred()) SWIG_fail;
 
14856
  }
 
14857
  resultobj = SWIG_Py_Void();
 
14858
  return resultobj;
 
14859
fail:
 
14860
  return NULL;
 
14861
}
 
14862
 
 
14863
 
 
14864
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14865
  PyObject *resultobj = 0;
 
14866
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14867
  wxPyHtmlWindow *result = 0 ;
 
14868
  void *argp1 = 0 ;
 
14869
  int res1 = 0 ;
 
14870
  PyObject *swig_obj[1] ;
 
14871
  
 
14872
  if (!args) SWIG_fail;
 
14873
  swig_obj[0] = args;
 
14874
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14875
  if (!SWIG_IsOK(res1)) {
 
14876
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); 
 
14877
  }
 
14878
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14879
  {
 
14880
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14881
    result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
 
14882
    wxPyEndAllowThreads(__tstate);
 
14883
    if (PyErr_Occurred()) SWIG_fail;
 
14884
  }
 
14885
  {
 
14886
    resultobj = wxPyMake_wxObject(result, 0); 
 
14887
  }
 
14888
  return resultobj;
 
14889
fail:
 
14890
  return NULL;
 
14891
}
 
14892
 
 
14893
 
 
14894
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14895
  PyObject *resultobj = 0;
 
14896
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14897
  wxSplitterWindow *result = 0 ;
 
14898
  void *argp1 = 0 ;
 
14899
  int res1 = 0 ;
 
14900
  PyObject *swig_obj[1] ;
 
14901
  
 
14902
  if (!args) SWIG_fail;
 
14903
  swig_obj[0] = args;
 
14904
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14905
  if (!SWIG_IsOK(res1)) {
 
14906
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14907
  }
 
14908
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14909
  {
 
14910
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14911
    result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
 
14912
    wxPyEndAllowThreads(__tstate);
 
14913
    if (PyErr_Occurred()) SWIG_fail;
 
14914
  }
 
14915
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 |  0 );
 
14916
  return resultobj;
 
14917
fail:
 
14918
  return NULL;
 
14919
}
 
14920
 
 
14921
 
 
14922
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14923
  PyObject *resultobj = 0;
 
14924
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14925
  wxToolBar *result = 0 ;
 
14926
  void *argp1 = 0 ;
 
14927
  int res1 = 0 ;
 
14928
  PyObject *swig_obj[1] ;
 
14929
  
 
14930
  if (!args) SWIG_fail;
 
14931
  swig_obj[0] = args;
 
14932
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14933
  if (!SWIG_IsOK(res1)) {
 
14934
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); 
 
14935
  }
 
14936
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14937
  {
 
14938
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14939
    result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
 
14940
    wxPyEndAllowThreads(__tstate);
 
14941
    if (PyErr_Occurred()) SWIG_fail;
 
14942
  }
 
14943
  {
 
14944
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
14945
  }
 
14946
  return resultobj;
 
14947
fail:
 
14948
  return NULL;
 
14949
}
 
14950
 
 
14951
 
 
14952
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14953
  PyObject *resultobj = 0;
 
14954
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14955
  wxHtmlHelpFrameCfg *result = 0 ;
 
14956
  void *argp1 = 0 ;
 
14957
  int res1 = 0 ;
 
14958
  PyObject *swig_obj[1] ;
 
14959
  
 
14960
  if (!args) SWIG_fail;
 
14961
  swig_obj[0] = args;
 
14962
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14963
  if (!SWIG_IsOK(res1)) {
 
14964
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); 
 
14965
  }
 
14966
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14967
  {
 
14968
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14969
    {
 
14970
      wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
 
14971
      result = (wxHtmlHelpFrameCfg *) &_result_ref;
 
14972
    }
 
14973
    wxPyEndAllowThreads(__tstate);
 
14974
    if (PyErr_Occurred()) SWIG_fail;
 
14975
  }
 
14976
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 |  0 );
 
14977
  return resultobj;
 
14978
fail:
 
14979
  return NULL;
 
14980
}
 
14981
 
 
14982
 
 
14983
SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14984
  PyObject *resultobj = 0;
 
14985
  wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
 
14986
  wxPyTreeCtrl *result = 0 ;
 
14987
  void *argp1 = 0 ;
 
14988
  int res1 = 0 ;
 
14989
  PyObject *swig_obj[1] ;
 
14990
  
 
14991
  if (!args) SWIG_fail;
 
14992
  swig_obj[0] = args;
 
14993
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
14994
  if (!SWIG_IsOK(res1)) {
 
14995
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); 
 
14996
  }
 
14997
  arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
 
14998
  {
 
14999
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15000
    result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
 
15001
    wxPyEndAllowThreads(__tstate);
 
15002
    if (PyErr_Occurred()) SWIG_fail;
 
15003
  }
 
15004
  {
 
15005
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
15006
  }
 
15007
  return resultobj;
 
15008
fail:
 
15009
  return NULL;
 
15010
}
 
15011
 
 
15012
 
 
15013
SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15014
  PyObject *obj;
 
15015
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
15016
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
 
15017
  return SWIG_Py_Void();
 
15018
}
 
15019
 
 
15020
SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15021
  return SWIG_Python_InitShadowInstance(args);
 
15022
}
 
15023
 
 
15024
SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15025
  PyObject *resultobj = 0;
 
15026
  wxEventType arg1 ;
 
15027
  int arg2 ;
 
15028
  wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
 
15029
  wxPoint *arg4 = 0 ;
 
15030
  wxMouseEvent *arg5 = 0 ;
 
15031
  wxHtmlCellEvent *result = 0 ;
 
15032
  int val1 ;
 
15033
  int ecode1 = 0 ;
 
15034
  int val2 ;
 
15035
  int ecode2 = 0 ;
 
15036
  void *argp3 = 0 ;
 
15037
  int res3 = 0 ;
 
15038
  wxPoint temp4 ;
 
15039
  void *argp5 = 0 ;
 
15040
  int res5 = 0 ;
 
15041
  PyObject * obj0 = 0 ;
 
15042
  PyObject * obj1 = 0 ;
 
15043
  PyObject * obj2 = 0 ;
 
15044
  PyObject * obj3 = 0 ;
 
15045
  PyObject * obj4 = 0 ;
 
15046
  char *  kwnames[] = {
 
15047
    (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL 
 
15048
  };
 
15049
  
 
15050
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
15051
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
15052
  if (!SWIG_IsOK(ecode1)) {
 
15053
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
 
15054
  } 
 
15055
  arg1 = static_cast< wxEventType >(val1);
 
15056
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15057
  if (!SWIG_IsOK(ecode2)) {
 
15058
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
 
15059
  } 
 
15060
  arg2 = static_cast< int >(val2);
 
15061
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 |  0 );
 
15062
  if (!SWIG_IsOK(res3)) {
 
15063
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'"); 
 
15064
  }
 
15065
  arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
 
15066
  {
 
15067
    arg4 = &temp4;
 
15068
    if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
15069
  }
 
15070
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent,  0  | 0);
 
15071
  if (!SWIG_IsOK(res5)) {
 
15072
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); 
 
15073
  }
 
15074
  if (!argp5) {
 
15075
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); 
 
15076
  }
 
15077
  arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
 
15078
  {
 
15079
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15080
    result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5);
 
15081
    wxPyEndAllowThreads(__tstate);
 
15082
    if (PyErr_Occurred()) SWIG_fail;
 
15083
  }
 
15084
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW |  0 );
 
15085
  return resultobj;
 
15086
fail:
 
15087
  return NULL;
 
15088
}
 
15089
 
 
15090
 
 
15091
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15092
  PyObject *resultobj = 0;
 
15093
  wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
 
15094
  wxHtmlCell *result = 0 ;
 
15095
  void *argp1 = 0 ;
 
15096
  int res1 = 0 ;
 
15097
  PyObject *swig_obj[1] ;
 
15098
  
 
15099
  if (!args) SWIG_fail;
 
15100
  swig_obj[0] = args;
 
15101
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 |  0 );
 
15102
  if (!SWIG_IsOK(res1)) {
 
15103
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); 
 
15104
  }
 
15105
  arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
 
15106
  {
 
15107
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15108
    result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell();
 
15109
    wxPyEndAllowThreads(__tstate);
 
15110
    if (PyErr_Occurred()) SWIG_fail;
 
15111
  }
 
15112
  {
 
15113
    resultobj = wxPyMake_wxObject(result, 0); 
 
15114
  }
 
15115
  return resultobj;
 
15116
fail:
 
15117
  return NULL;
 
15118
}
 
15119
 
 
15120
 
 
15121
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15122
  PyObject *resultobj = 0;
 
15123
  wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
 
15124
  wxPoint result;
 
15125
  void *argp1 = 0 ;
 
15126
  int res1 = 0 ;
 
15127
  PyObject *swig_obj[1] ;
 
15128
  
 
15129
  if (!args) SWIG_fail;
 
15130
  swig_obj[0] = args;
 
15131
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 |  0 );
 
15132
  if (!SWIG_IsOK(res1)) {
 
15133
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); 
 
15134
  }
 
15135
  arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
 
15136
  {
 
15137
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15138
    result = ((wxHtmlCellEvent const *)arg1)->GetPoint();
 
15139
    wxPyEndAllowThreads(__tstate);
 
15140
    if (PyErr_Occurred()) SWIG_fail;
 
15141
  }
 
15142
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
15143
  return resultobj;
 
15144
fail:
 
15145
  return NULL;
 
15146
}
 
15147
 
 
15148
 
 
15149
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15150
  PyObject *resultobj = 0;
 
15151
  wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
 
15152
  wxMouseEvent result;
 
15153
  void *argp1 = 0 ;
 
15154
  int res1 = 0 ;
 
15155
  PyObject *swig_obj[1] ;
 
15156
  
 
15157
  if (!args) SWIG_fail;
 
15158
  swig_obj[0] = args;
 
15159
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 |  0 );
 
15160
  if (!SWIG_IsOK(res1)) {
 
15161
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); 
 
15162
  }
 
15163
  arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
 
15164
  {
 
15165
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15166
    result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent();
 
15167
    wxPyEndAllowThreads(__tstate);
 
15168
    if (PyErr_Occurred()) SWIG_fail;
 
15169
  }
 
15170
  resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN |  0 );
 
15171
  return resultobj;
 
15172
fail:
 
15173
  return NULL;
 
15174
}
 
15175
 
 
15176
 
 
15177
SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15178
  PyObject *resultobj = 0;
 
15179
  wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
 
15180
  bool arg2 ;
 
15181
  void *argp1 = 0 ;
 
15182
  int res1 = 0 ;
 
15183
  bool val2 ;
 
15184
  int ecode2 = 0 ;
 
15185
  PyObject * obj0 = 0 ;
 
15186
  PyObject * obj1 = 0 ;
 
15187
  char *  kwnames[] = {
 
15188
    (char *) "self",(char *) "linkclicked", NULL 
 
15189
  };
 
15190
  
 
15191
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
 
15192
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 |  0 );
 
15193
  if (!SWIG_IsOK(res1)) {
 
15194
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'"); 
 
15195
  }
 
15196
  arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
 
15197
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
15198
  if (!SWIG_IsOK(ecode2)) {
 
15199
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
 
15200
  } 
 
15201
  arg2 = static_cast< bool >(val2);
 
15202
  {
 
15203
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15204
    (arg1)->SetLinkClicked(arg2);
 
15205
    wxPyEndAllowThreads(__tstate);
 
15206
    if (PyErr_Occurred()) SWIG_fail;
 
15207
  }
 
15208
  resultobj = SWIG_Py_Void();
 
15209
  return resultobj;
 
15210
fail:
 
15211
  return NULL;
 
15212
}
 
15213
 
 
15214
 
 
15215
SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15216
  PyObject *resultobj = 0;
 
15217
  wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
 
15218
  bool result;
 
15219
  void *argp1 = 0 ;
 
15220
  int res1 = 0 ;
 
15221
  PyObject *swig_obj[1] ;
 
15222
  
 
15223
  if (!args) SWIG_fail;
 
15224
  swig_obj[0] = args;
 
15225
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 |  0 );
 
15226
  if (!SWIG_IsOK(res1)) {
 
15227
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); 
 
15228
  }
 
15229
  arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
 
15230
  {
 
15231
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15232
    result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked();
 
15233
    wxPyEndAllowThreads(__tstate);
 
15234
    if (PyErr_Occurred()) SWIG_fail;
 
15235
  }
 
15236
  {
 
15237
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15238
  }
 
15239
  return resultobj;
 
15240
fail:
 
15241
  return NULL;
 
15242
}
 
15243
 
 
15244
 
 
15245
SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15246
  PyObject *obj;
 
15247
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
15248
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj));
 
15249
  return SWIG_Py_Void();
 
15250
}
 
15251
 
 
15252
SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15253
  return SWIG_Python_InitShadowInstance(args);
 
15254
}
 
15255
 
 
15256
SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15257
  PyObject *resultobj = 0;
 
15258
  int arg1 ;
 
15259
  wxHtmlLinkInfo *arg2 = 0 ;
 
15260
  wxHtmlLinkEvent *result = 0 ;
 
15261
  int val1 ;
 
15262
  int ecode1 = 0 ;
 
15263
  void *argp2 = 0 ;
 
15264
  int res2 = 0 ;
 
15265
  PyObject * obj0 = 0 ;
 
15266
  PyObject * obj1 = 0 ;
 
15267
  char *  kwnames[] = {
 
15268
    (char *) "id",(char *) "linkinfo", NULL 
 
15269
  };
 
15270
  
 
15271
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail;
 
15272
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
15273
  if (!SWIG_IsOK(ecode1)) {
 
15274
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
 
15275
  } 
 
15276
  arg1 = static_cast< int >(val1);
 
15277
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo,  0  | 0);
 
15278
  if (!SWIG_IsOK(res2)) {
 
15279
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); 
 
15280
  }
 
15281
  if (!argp2) {
 
15282
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); 
 
15283
  }
 
15284
  arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
 
15285
  {
 
15286
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15287
    result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2);
 
15288
    wxPyEndAllowThreads(__tstate);
 
15289
    if (PyErr_Occurred()) SWIG_fail;
 
15290
  }
 
15291
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW |  0 );
 
15292
  return resultobj;
 
15293
fail:
 
15294
  return NULL;
 
15295
}
 
15296
 
 
15297
 
 
15298
SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15299
  PyObject *resultobj = 0;
 
15300
  wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ;
 
15301
  wxHtmlLinkInfo *result = 0 ;
 
15302
  void *argp1 = 0 ;
 
15303
  int res1 = 0 ;
 
15304
  PyObject *swig_obj[1] ;
 
15305
  
 
15306
  if (!args) SWIG_fail;
 
15307
  swig_obj[0] = args;
 
15308
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 |  0 );
 
15309
  if (!SWIG_IsOK(res1)) {
 
15310
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'"); 
 
15311
  }
 
15312
  arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1);
 
15313
  {
 
15314
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15315
    {
 
15316
      wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo();
 
15317
      result = (wxHtmlLinkInfo *) &_result_ref;
 
15318
    }
 
15319
    wxPyEndAllowThreads(__tstate);
 
15320
    if (PyErr_Occurred()) SWIG_fail;
 
15321
  }
 
15322
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 |  0 );
 
15323
  return resultobj;
 
15324
fail:
 
15325
  return NULL;
 
15326
}
 
15327
 
 
15328
 
 
15329
SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15330
  PyObject *obj;
 
15331
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
15332
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj));
 
15333
  return SWIG_Py_Void();
 
15334
}
 
15335
 
 
15336
SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15337
  return SWIG_Python_InitShadowInstance(args);
 
15338
}
 
15339
 
 
15340
SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15341
  PyObject *resultobj = 0;
 
15342
  wxWindow *arg1 = (wxWindow *) 0 ;
 
15343
  int arg2 ;
 
15344
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
15345
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
15346
  int arg4 = (int) wxHF_DEFAULTSTYLE ;
 
15347
  wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
 
15348
  wxConfigBase *arg6 = (wxConfigBase *) NULL ;
 
15349
  wxString const &arg7_defvalue = wxPyEmptyString ;
 
15350
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
15351
  wxHtmlHelpFrame *result = 0 ;
 
15352
  void *argp1 = 0 ;
 
15353
  int res1 = 0 ;
 
15354
  int val2 ;
 
15355
  int ecode2 = 0 ;
 
15356
  bool temp3 = false ;
 
15357
  int val4 ;
 
15358
  int ecode4 = 0 ;
 
15359
  void *argp5 = 0 ;
 
15360
  int res5 = 0 ;
 
15361
  void *argp6 = 0 ;
 
15362
  int res6 = 0 ;
 
15363
  bool temp7 = false ;
 
15364
  PyObject * obj0 = 0 ;
 
15365
  PyObject * obj1 = 0 ;
 
15366
  PyObject * obj2 = 0 ;
 
15367
  PyObject * obj3 = 0 ;
 
15368
  PyObject * obj4 = 0 ;
 
15369
  PyObject * obj5 = 0 ;
 
15370
  PyObject * obj6 = 0 ;
 
15371
  char *  kwnames[] = {
 
15372
    (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL 
 
15373
  };
 
15374
  
 
15375
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
15376
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
15377
  if (!SWIG_IsOK(res1)) {
 
15378
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
15379
  }
 
15380
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
15381
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15382
  if (!SWIG_IsOK(ecode2)) {
 
15383
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
 
15384
  } 
 
15385
  arg2 = static_cast< int >(val2);
 
15386
  if (obj2) {
 
15387
    {
 
15388
      arg3 = wxString_in_helper(obj2);
 
15389
      if (arg3 == NULL) SWIG_fail;
 
15390
      temp3 = true;
 
15391
    }
 
15392
  }
 
15393
  if (obj3) {
 
15394
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
15395
    if (!SWIG_IsOK(ecode4)) {
 
15396
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
 
15397
    } 
 
15398
    arg4 = static_cast< int >(val4);
 
15399
  }
 
15400
  if (obj4) {
 
15401
    res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
15402
    if (!SWIG_IsOK(res5)) {
 
15403
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); 
 
15404
    }
 
15405
    arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
 
15406
  }
 
15407
  if (obj5) {
 
15408
    res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
15409
    if (!SWIG_IsOK(res6)) {
 
15410
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'"); 
 
15411
    }
 
15412
    arg6 = reinterpret_cast< wxConfigBase * >(argp6);
 
15413
  }
 
15414
  if (obj6) {
 
15415
    {
 
15416
      arg7 = wxString_in_helper(obj6);
 
15417
      if (arg7 == NULL) SWIG_fail;
 
15418
      temp7 = true;
 
15419
    }
 
15420
  }
 
15421
  {
 
15422
    if (!wxPyCheckForApp()) SWIG_fail;
 
15423
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15424
    result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7);
 
15425
    wxPyEndAllowThreads(__tstate);
 
15426
    if (PyErr_Occurred()) SWIG_fail;
 
15427
  }
 
15428
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW |  0 );
 
15429
  {
 
15430
    if (temp3)
 
15431
    delete arg3;
 
15432
  }
 
15433
  {
 
15434
    if (temp7)
 
15435
    delete arg7;
 
15436
  }
 
15437
  return resultobj;
 
15438
fail:
 
15439
  {
 
15440
    if (temp3)
 
15441
    delete arg3;
 
15442
  }
 
15443
  {
 
15444
    if (temp7)
 
15445
    delete arg7;
 
15446
  }
 
15447
  return NULL;
 
15448
}
 
15449
 
 
15450
 
 
15451
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15452
  PyObject *resultobj = 0;
 
15453
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
 
15454
  wxHtmlHelpFrame *result = 0 ;
 
15455
  void *argp1 = 0 ;
 
15456
  int res1 = 0 ;
 
15457
  PyObject * obj0 = 0 ;
 
15458
  char *  kwnames[] = {
 
15459
    (char *) "data", NULL 
 
15460
  };
 
15461
  
 
15462
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
 
15463
  if (obj0) {
 
15464
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
15465
    if (!SWIG_IsOK(res1)) {
 
15466
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
15467
    }
 
15468
    arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
15469
  }
 
15470
  {
 
15471
    if (!wxPyCheckForApp()) SWIG_fail;
 
15472
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15473
    result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
 
15474
    wxPyEndAllowThreads(__tstate);
 
15475
    if (PyErr_Occurred()) SWIG_fail;
 
15476
  }
 
15477
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN |  0 );
 
15478
  return resultobj;
 
15479
fail:
 
15480
  return NULL;
 
15481
}
 
15482
 
 
15483
 
 
15484
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15485
  PyObject *resultobj = 0;
 
15486
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15487
  wxWindow *arg2 = (wxWindow *) 0 ;
 
15488
  int arg3 ;
 
15489
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
15490
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
15491
  int arg5 = (int) wxHF_DEFAULT_STYLE ;
 
15492
  wxConfigBase *arg6 = (wxConfigBase *) NULL ;
 
15493
  wxString const &arg7_defvalue = wxPyEmptyString ;
 
15494
  wxString *arg7 = (wxString *) &arg7_defvalue ;
 
15495
  bool result;
 
15496
  void *argp1 = 0 ;
 
15497
  int res1 = 0 ;
 
15498
  void *argp2 = 0 ;
 
15499
  int res2 = 0 ;
 
15500
  int val3 ;
 
15501
  int ecode3 = 0 ;
 
15502
  bool temp4 = false ;
 
15503
  int val5 ;
 
15504
  int ecode5 = 0 ;
 
15505
  void *argp6 = 0 ;
 
15506
  int res6 = 0 ;
 
15507
  bool temp7 = false ;
 
15508
  PyObject * obj0 = 0 ;
 
15509
  PyObject * obj1 = 0 ;
 
15510
  PyObject * obj2 = 0 ;
 
15511
  PyObject * obj3 = 0 ;
 
15512
  PyObject * obj4 = 0 ;
 
15513
  PyObject * obj5 = 0 ;
 
15514
  PyObject * obj6 = 0 ;
 
15515
  char *  kwnames[] = {
 
15516
    (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL 
 
15517
  };
 
15518
  
 
15519
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
15520
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15521
  if (!SWIG_IsOK(res1)) {
 
15522
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); 
 
15523
  }
 
15524
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15525
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
15526
  if (!SWIG_IsOK(res2)) {
 
15527
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
15528
  }
 
15529
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
15530
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15531
  if (!SWIG_IsOK(ecode3)) {
 
15532
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
 
15533
  } 
 
15534
  arg3 = static_cast< int >(val3);
 
15535
  if (obj3) {
 
15536
    {
 
15537
      arg4 = wxString_in_helper(obj3);
 
15538
      if (arg4 == NULL) SWIG_fail;
 
15539
      temp4 = true;
 
15540
    }
 
15541
  }
 
15542
  if (obj4) {
 
15543
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
15544
    if (!SWIG_IsOK(ecode5)) {
 
15545
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
 
15546
    } 
 
15547
    arg5 = static_cast< int >(val5);
 
15548
  }
 
15549
  if (obj5) {
 
15550
    res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
15551
    if (!SWIG_IsOK(res6)) {
 
15552
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'"); 
 
15553
    }
 
15554
    arg6 = reinterpret_cast< wxConfigBase * >(argp6);
 
15555
  }
 
15556
  if (obj6) {
 
15557
    {
 
15558
      arg7 = wxString_in_helper(obj6);
 
15559
      if (arg7 == NULL) SWIG_fail;
 
15560
      temp7 = true;
 
15561
    }
 
15562
  }
 
15563
  {
 
15564
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15565
    result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7);
 
15566
    wxPyEndAllowThreads(__tstate);
 
15567
    if (PyErr_Occurred()) SWIG_fail;
 
15568
  }
 
15569
  {
 
15570
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15571
  }
 
15572
  {
 
15573
    if (temp4)
 
15574
    delete arg4;
 
15575
  }
 
15576
  {
 
15577
    if (temp7)
 
15578
    delete arg7;
 
15579
  }
 
15580
  return resultobj;
 
15581
fail:
 
15582
  {
 
15583
    if (temp4)
 
15584
    delete arg4;
 
15585
  }
 
15586
  {
 
15587
    if (temp7)
 
15588
    delete arg7;
 
15589
  }
 
15590
  return NULL;
 
15591
}
 
15592
 
 
15593
 
 
15594
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15595
  PyObject *resultobj = 0;
 
15596
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15597
  wxHtmlHelpData *result = 0 ;
 
15598
  void *argp1 = 0 ;
 
15599
  int res1 = 0 ;
 
15600
  PyObject *swig_obj[1] ;
 
15601
  
 
15602
  if (!args) SWIG_fail;
 
15603
  swig_obj[0] = args;
 
15604
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15605
  if (!SWIG_IsOK(res1)) {
 
15606
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); 
 
15607
  }
 
15608
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15609
  {
 
15610
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15611
    result = (wxHtmlHelpData *)(arg1)->GetData();
 
15612
    wxPyEndAllowThreads(__tstate);
 
15613
    if (PyErr_Occurred()) SWIG_fail;
 
15614
  }
 
15615
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
15616
  return resultobj;
 
15617
fail:
 
15618
  return NULL;
 
15619
}
 
15620
 
 
15621
 
 
15622
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15623
  PyObject *resultobj = 0;
 
15624
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15625
  wxString *arg2 = 0 ;
 
15626
  void *argp1 = 0 ;
 
15627
  int res1 = 0 ;
 
15628
  bool temp2 = false ;
 
15629
  PyObject * obj0 = 0 ;
 
15630
  PyObject * obj1 = 0 ;
 
15631
  char *  kwnames[] = {
 
15632
    (char *) "self",(char *) "format", NULL 
 
15633
  };
 
15634
  
 
15635
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
 
15636
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15637
  if (!SWIG_IsOK(res1)) {
 
15638
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); 
 
15639
  }
 
15640
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15641
  {
 
15642
    arg2 = wxString_in_helper(obj1);
 
15643
    if (arg2 == NULL) SWIG_fail;
 
15644
    temp2 = true;
 
15645
  }
 
15646
  {
 
15647
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15648
    (arg1)->SetTitleFormat((wxString const &)*arg2);
 
15649
    wxPyEndAllowThreads(__tstate);
 
15650
    if (PyErr_Occurred()) SWIG_fail;
 
15651
  }
 
15652
  resultobj = SWIG_Py_Void();
 
15653
  {
 
15654
    if (temp2)
 
15655
    delete arg2;
 
15656
  }
 
15657
  return resultobj;
 
15658
fail:
 
15659
  {
 
15660
    if (temp2)
 
15661
    delete arg2;
 
15662
  }
 
15663
  return NULL;
 
15664
}
 
15665
 
 
15666
 
 
15667
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15668
  PyObject *resultobj = 0;
 
15669
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15670
  void *argp1 = 0 ;
 
15671
  int res1 = 0 ;
 
15672
  PyObject *swig_obj[1] ;
 
15673
  
 
15674
  if (!args) SWIG_fail;
 
15675
  swig_obj[0] = args;
 
15676
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15677
  if (!SWIG_IsOK(res1)) {
 
15678
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); 
 
15679
  }
 
15680
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15681
  {
 
15682
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15683
    (arg1)->AddGrabIfNeeded();
 
15684
    wxPyEndAllowThreads(__tstate);
 
15685
    if (PyErr_Occurred()) SWIG_fail;
 
15686
  }
 
15687
  resultobj = SWIG_Py_Void();
 
15688
  return resultobj;
 
15689
fail:
 
15690
  return NULL;
 
15691
}
 
15692
 
 
15693
 
 
15694
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15695
  PyObject *resultobj = 0;
 
15696
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15697
  wxHtmlHelpController *result = 0 ;
 
15698
  void *argp1 = 0 ;
 
15699
  int res1 = 0 ;
 
15700
  PyObject *swig_obj[1] ;
 
15701
  
 
15702
  if (!args) SWIG_fail;
 
15703
  swig_obj[0] = args;
 
15704
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15705
  if (!SWIG_IsOK(res1)) {
 
15706
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); 
 
15707
  }
 
15708
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15709
  {
 
15710
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15711
    result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
 
15712
    wxPyEndAllowThreads(__tstate);
 
15713
    if (PyErr_Occurred()) SWIG_fail;
 
15714
  }
 
15715
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
15716
  return resultobj;
 
15717
fail:
 
15718
  return NULL;
 
15719
}
 
15720
 
 
15721
 
 
15722
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15723
  PyObject *resultobj = 0;
 
15724
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15725
  wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
 
15726
  void *argp1 = 0 ;
 
15727
  int res1 = 0 ;
 
15728
  int res2 = 0 ;
 
15729
  PyObject * obj0 = 0 ;
 
15730
  PyObject * obj1 = 0 ;
 
15731
  char *  kwnames[] = {
 
15732
    (char *) "self",(char *) "controller", NULL 
 
15733
  };
 
15734
  
 
15735
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
 
15736
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15737
  if (!SWIG_IsOK(res1)) {
 
15738
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); 
 
15739
  }
 
15740
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15741
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN |  0 );
 
15742
  if (!SWIG_IsOK(res2)) {
 
15743
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
 
15744
  }
 
15745
  {
 
15746
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15747
    (arg1)->SetController(arg2);
 
15748
    wxPyEndAllowThreads(__tstate);
 
15749
    if (PyErr_Occurred()) SWIG_fail;
 
15750
  }
 
15751
  resultobj = SWIG_Py_Void();
 
15752
  return resultobj;
 
15753
fail:
 
15754
  return NULL;
 
15755
}
 
15756
 
 
15757
 
 
15758
SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15759
  PyObject *resultobj = 0;
 
15760
  wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
 
15761
  wxHtmlHelpWindow *result = 0 ;
 
15762
  void *argp1 = 0 ;
 
15763
  int res1 = 0 ;
 
15764
  PyObject *swig_obj[1] ;
 
15765
  
 
15766
  if (!args) SWIG_fail;
 
15767
  swig_obj[0] = args;
 
15768
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 |  0 );
 
15769
  if (!SWIG_IsOK(res1)) {
 
15770
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); 
 
15771
  }
 
15772
  arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
 
15773
  {
 
15774
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15775
    result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
 
15776
    wxPyEndAllowThreads(__tstate);
 
15777
    if (PyErr_Occurred()) SWIG_fail;
 
15778
  }
 
15779
  {
 
15780
    resultobj = wxPyMake_wxObject(result, 0); 
 
15781
  }
 
15782
  return resultobj;
 
15783
fail:
 
15784
  return NULL;
 
15785
}
 
15786
 
 
15787
 
 
15788
SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15789
  PyObject *obj;
 
15790
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
15791
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
 
15792
  return SWIG_Py_Void();
 
15793
}
 
15794
 
 
15795
SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15796
  return SWIG_Python_InitShadowInstance(args);
 
15797
}
 
15798
 
 
15799
SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15800
  PyObject *resultobj = 0;
 
15801
  wxWindow *arg1 = (wxWindow *) 0 ;
 
15802
  int arg2 ;
 
15803
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
15804
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
15805
  int arg4 = (int) wxHF_DEFAULT_STYLE ;
 
15806
  wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
 
15807
  wxHtmlHelpDialog *result = 0 ;
 
15808
  void *argp1 = 0 ;
 
15809
  int res1 = 0 ;
 
15810
  int val2 ;
 
15811
  int ecode2 = 0 ;
 
15812
  bool temp3 = false ;
 
15813
  int val4 ;
 
15814
  int ecode4 = 0 ;
 
15815
  void *argp5 = 0 ;
 
15816
  int res5 = 0 ;
 
15817
  PyObject * obj0 = 0 ;
 
15818
  PyObject * obj1 = 0 ;
 
15819
  PyObject * obj2 = 0 ;
 
15820
  PyObject * obj3 = 0 ;
 
15821
  PyObject * obj4 = 0 ;
 
15822
  char *  kwnames[] = {
 
15823
    (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL 
 
15824
  };
 
15825
  
 
15826
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
15827
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
15828
  if (!SWIG_IsOK(res1)) {
 
15829
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
15830
  }
 
15831
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
15832
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15833
  if (!SWIG_IsOK(ecode2)) {
 
15834
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
 
15835
  } 
 
15836
  arg2 = static_cast< int >(val2);
 
15837
  if (obj2) {
 
15838
    {
 
15839
      arg3 = wxString_in_helper(obj2);
 
15840
      if (arg3 == NULL) SWIG_fail;
 
15841
      temp3 = true;
 
15842
    }
 
15843
  }
 
15844
  if (obj3) {
 
15845
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
15846
    if (!SWIG_IsOK(ecode4)) {
 
15847
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
 
15848
    } 
 
15849
    arg4 = static_cast< int >(val4);
 
15850
  }
 
15851
  if (obj4) {
 
15852
    res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
15853
    if (!SWIG_IsOK(res5)) {
 
15854
      SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); 
 
15855
    }
 
15856
    arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
 
15857
  }
 
15858
  {
 
15859
    if (!wxPyCheckForApp()) SWIG_fail;
 
15860
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15861
    result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
 
15862
    wxPyEndAllowThreads(__tstate);
 
15863
    if (PyErr_Occurred()) SWIG_fail;
 
15864
  }
 
15865
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW |  0 );
 
15866
  {
 
15867
    if (temp3)
 
15868
    delete arg3;
 
15869
  }
 
15870
  return resultobj;
 
15871
fail:
 
15872
  {
 
15873
    if (temp3)
 
15874
    delete arg3;
 
15875
  }
 
15876
  return NULL;
 
15877
}
 
15878
 
 
15879
 
 
15880
SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15881
  PyObject *resultobj = 0;
 
15882
  wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
 
15883
  wxHtmlHelpDialog *result = 0 ;
 
15884
  void *argp1 = 0 ;
 
15885
  int res1 = 0 ;
 
15886
  PyObject * obj0 = 0 ;
 
15887
  char *  kwnames[] = {
 
15888
    (char *) "data", NULL 
 
15889
  };
 
15890
  
 
15891
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
 
15892
  if (obj0) {
 
15893
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
15894
    if (!SWIG_IsOK(res1)) {
 
15895
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); 
 
15896
    }
 
15897
    arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
 
15898
  }
 
15899
  {
 
15900
    if (!wxPyCheckForApp()) SWIG_fail;
 
15901
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15902
    result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
 
15903
    wxPyEndAllowThreads(__tstate);
 
15904
    if (PyErr_Occurred()) SWIG_fail;
 
15905
  }
 
15906
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN |  0 );
 
15907
  return resultobj;
 
15908
fail:
 
15909
  return NULL;
 
15910
}
 
15911
 
 
15912
 
 
15913
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15914
  PyObject *resultobj = 0;
 
15915
  wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
 
15916
  wxWindow *arg2 = (wxWindow *) 0 ;
 
15917
  int arg3 ;
 
15918
  wxString const &arg4_defvalue = wxPyEmptyString ;
 
15919
  wxString *arg4 = (wxString *) &arg4_defvalue ;
 
15920
  int arg5 = (int) wxHF_DEFAULT_STYLE ;
 
15921
  bool result;
 
15922
  void *argp1 = 0 ;
 
15923
  int res1 = 0 ;
 
15924
  void *argp2 = 0 ;
 
15925
  int res2 = 0 ;
 
15926
  int val3 ;
 
15927
  int ecode3 = 0 ;
 
15928
  bool temp4 = false ;
 
15929
  int val5 ;
 
15930
  int ecode5 = 0 ;
 
15931
  PyObject * obj0 = 0 ;
 
15932
  PyObject * obj1 = 0 ;
 
15933
  PyObject * obj2 = 0 ;
 
15934
  PyObject * obj3 = 0 ;
 
15935
  PyObject * obj4 = 0 ;
 
15936
  char *  kwnames[] = {
 
15937
    (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL 
 
15938
  };
 
15939
  
 
15940
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
15941
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 |  0 );
 
15942
  if (!SWIG_IsOK(res1)) {
 
15943
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); 
 
15944
  }
 
15945
  arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
 
15946
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
15947
  if (!SWIG_IsOK(res2)) {
 
15948
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
15949
  }
 
15950
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
15951
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15952
  if (!SWIG_IsOK(ecode3)) {
 
15953
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
 
15954
  } 
 
15955
  arg3 = static_cast< int >(val3);
 
15956
  if (obj3) {
 
15957
    {
 
15958
      arg4 = wxString_in_helper(obj3);
 
15959
      if (arg4 == NULL) SWIG_fail;
 
15960
      temp4 = true;
 
15961
    }
 
15962
  }
 
15963
  if (obj4) {
 
15964
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
15965
    if (!SWIG_IsOK(ecode5)) {
 
15966
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
 
15967
    } 
 
15968
    arg5 = static_cast< int >(val5);
 
15969
  }
 
15970
  {
 
15971
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15972
    result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
 
15973
    wxPyEndAllowThreads(__tstate);
 
15974
    if (PyErr_Occurred()) SWIG_fail;
 
15975
  }
 
15976
  {
 
15977
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15978
  }
 
15979
  {
 
15980
    if (temp4)
 
15981
    delete arg4;
 
15982
  }
 
15983
  return resultobj;
 
15984
fail:
 
15985
  {
 
15986
    if (temp4)
 
15987
    delete arg4;
 
15988
  }
 
15989
  return NULL;
 
15990
}
 
15991
 
 
15992
 
 
15993
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15994
  PyObject *resultobj = 0;
 
15995
  wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
 
15996
  wxHtmlHelpData *result = 0 ;
 
15997
  void *argp1 = 0 ;
 
15998
  int res1 = 0 ;
 
15999
  PyObject *swig_obj[1] ;
 
16000
  
 
16001
  if (!args) SWIG_fail;
 
16002
  swig_obj[0] = args;
 
16003
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 |  0 );
 
16004
  if (!SWIG_IsOK(res1)) {
 
16005
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); 
 
16006
  }
 
16007
  arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
 
16008
  {
 
16009
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16010
    result = (wxHtmlHelpData *)(arg1)->GetData();
 
16011
    wxPyEndAllowThreads(__tstate);
 
16012
    if (PyErr_Occurred()) SWIG_fail;
 
16013
  }
 
16014
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 |  0 );
 
16015
  return resultobj;
 
16016
fail:
 
16017
  return NULL;
 
16018
}
 
16019
 
 
16020
 
 
16021
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16022
  PyObject *resultobj = 0;
 
16023
  wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
 
16024
  wxHtmlHelpController *result = 0 ;
 
16025
  void *argp1 = 0 ;
 
16026
  int res1 = 0 ;
 
16027
  PyObject *swig_obj[1] ;
 
16028
  
 
16029
  if (!args) SWIG_fail;
 
16030
  swig_obj[0] = args;
 
16031
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 |  0 );
 
16032
  if (!SWIG_IsOK(res1)) {
 
16033
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); 
 
16034
  }
 
16035
  arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
 
16036
  {
 
16037
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16038
    result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
 
16039
    wxPyEndAllowThreads(__tstate);
 
16040
    if (PyErr_Occurred()) SWIG_fail;
 
16041
  }
 
16042
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
16043
  return resultobj;
 
16044
fail:
 
16045
  return NULL;
 
16046
}
 
16047
 
 
16048
 
 
16049
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16050
  PyObject *resultobj = 0;
 
16051
  wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
 
16052
  wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
 
16053
  void *argp1 = 0 ;
 
16054
  int res1 = 0 ;
 
16055
  int res2 = 0 ;
 
16056
  PyObject * obj0 = 0 ;
 
16057
  PyObject * obj1 = 0 ;
 
16058
  char *  kwnames[] = {
 
16059
    (char *) "self",(char *) "controller", NULL 
 
16060
  };
 
16061
  
 
16062
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
 
16063
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 |  0 );
 
16064
  if (!SWIG_IsOK(res1)) {
 
16065
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); 
 
16066
  }
 
16067
  arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
 
16068
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN |  0 );
 
16069
  if (!SWIG_IsOK(res2)) {
 
16070
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
 
16071
  }
 
16072
  {
 
16073
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16074
    (arg1)->SetController(arg2);
 
16075
    wxPyEndAllowThreads(__tstate);
 
16076
    if (PyErr_Occurred()) SWIG_fail;
 
16077
  }
 
16078
  resultobj = SWIG_Py_Void();
 
16079
  return resultobj;
 
16080
fail:
 
16081
  return NULL;
 
16082
}
 
16083
 
 
16084
 
 
16085
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16086
  PyObject *resultobj = 0;
 
16087
  wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
 
16088
  wxHtmlHelpWindow *result = 0 ;
 
16089
  void *argp1 = 0 ;
 
16090
  int res1 = 0 ;
 
16091
  PyObject *swig_obj[1] ;
 
16092
  
 
16093
  if (!args) SWIG_fail;
 
16094
  swig_obj[0] = args;
 
16095
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 |  0 );
 
16096
  if (!SWIG_IsOK(res1)) {
 
16097
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); 
 
16098
  }
 
16099
  arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
 
16100
  {
 
16101
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16102
    result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
 
16103
    wxPyEndAllowThreads(__tstate);
 
16104
    if (PyErr_Occurred()) SWIG_fail;
 
16105
  }
 
16106
  {
 
16107
    resultobj = wxPyMake_wxObject(result, 0); 
 
16108
  }
 
16109
  return resultobj;
 
16110
fail:
 
16111
  return NULL;
 
16112
}
 
16113
 
 
16114
 
 
16115
SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16116
  PyObject *resultobj = 0;
 
16117
  wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
 
16118
  wxString *arg2 = 0 ;
 
16119
  void *argp1 = 0 ;
 
16120
  int res1 = 0 ;
 
16121
  bool temp2 = false ;
 
16122
  PyObject * obj0 = 0 ;
 
16123
  PyObject * obj1 = 0 ;
 
16124
  char *  kwnames[] = {
 
16125
    (char *) "self",(char *) "format", NULL 
 
16126
  };
 
16127
  
 
16128
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
 
16129
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 |  0 );
 
16130
  if (!SWIG_IsOK(res1)) {
 
16131
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); 
 
16132
  }
 
16133
  arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
 
16134
  {
 
16135
    arg2 = wxString_in_helper(obj1);
 
16136
    if (arg2 == NULL) SWIG_fail;
 
16137
    temp2 = true;
 
16138
  }
 
16139
  {
 
16140
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16141
    (arg1)->SetTitleFormat((wxString const &)*arg2);
 
16142
    wxPyEndAllowThreads(__tstate);
 
16143
    if (PyErr_Occurred()) SWIG_fail;
 
16144
  }
 
16145
  resultobj = SWIG_Py_Void();
 
16146
  {
 
16147
    if (temp2)
 
16148
    delete arg2;
 
16149
  }
 
16150
  return resultobj;
 
16151
fail:
 
16152
  {
 
16153
    if (temp2)
 
16154
    delete arg2;
 
16155
  }
 
16156
  return NULL;
 
16157
}
 
16158
 
 
16159
 
 
16160
SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16161
  PyObject *obj;
 
16162
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
16163
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
 
16164
  return SWIG_Py_Void();
 
16165
}
 
16166
 
 
16167
SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16168
  return SWIG_Python_InitShadowInstance(args);
 
16169
}
 
16170
 
 
16171
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
 
16172
  PyObject *resultobj = 0;
 
16173
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16174
  wxString *arg2 = 0 ;
 
16175
  int arg3 ;
 
16176
  bool result;
 
16177
  void *argp1 = 0 ;
 
16178
  int res1 = 0 ;
 
16179
  bool temp2 = false ;
 
16180
  int val3 ;
 
16181
  int ecode3 = 0 ;
 
16182
  
 
16183
  if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
 
16184
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16185
  if (!SWIG_IsOK(res1)) {
 
16186
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16187
  }
 
16188
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16189
  {
 
16190
    arg2 = wxString_in_helper(swig_obj[1]);
 
16191
    if (arg2 == NULL) SWIG_fail;
 
16192
    temp2 = true;
 
16193
  }
 
16194
  ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
 
16195
  if (!SWIG_IsOK(ecode3)) {
 
16196
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
 
16197
  } 
 
16198
  arg3 = static_cast< int >(val3);
 
16199
  {
 
16200
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16201
    result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
 
16202
    wxPyEndAllowThreads(__tstate);
 
16203
    if (PyErr_Occurred()) SWIG_fail;
 
16204
  }
 
16205
  {
 
16206
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16207
  }
 
16208
  {
 
16209
    if (temp2)
 
16210
    delete arg2;
 
16211
  }
 
16212
  return resultobj;
 
16213
fail:
 
16214
  {
 
16215
    if (temp2)
 
16216
    delete arg2;
 
16217
  }
 
16218
  return NULL;
 
16219
}
 
16220
 
 
16221
 
 
16222
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
 
16223
  PyObject *resultobj = 0;
 
16224
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16225
  wxString *arg2 = 0 ;
 
16226
  bool result;
 
16227
  void *argp1 = 0 ;
 
16228
  int res1 = 0 ;
 
16229
  bool temp2 = false ;
 
16230
  
 
16231
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
 
16232
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16233
  if (!SWIG_IsOK(res1)) {
 
16234
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16235
  }
 
16236
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16237
  {
 
16238
    arg2 = wxString_in_helper(swig_obj[1]);
 
16239
    if (arg2 == NULL) SWIG_fail;
 
16240
    temp2 = true;
 
16241
  }
 
16242
  {
 
16243
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16244
    result = (bool)(arg1)->Initialize((wxString const &)*arg2);
 
16245
    wxPyEndAllowThreads(__tstate);
 
16246
    if (PyErr_Occurred()) SWIG_fail;
 
16247
  }
 
16248
  {
 
16249
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16250
  }
 
16251
  {
 
16252
    if (temp2)
 
16253
    delete arg2;
 
16254
  }
 
16255
  return resultobj;
 
16256
fail:
 
16257
  {
 
16258
    if (temp2)
 
16259
    delete arg2;
 
16260
  }
 
16261
  return NULL;
 
16262
}
 
16263
 
 
16264
 
 
16265
SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
 
16266
  int argc;
 
16267
  PyObject *argv[4];
 
16268
  
 
16269
  if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
 
16270
  --argc;
 
16271
  if (argc == 2) {
 
16272
    return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
 
16273
  }
 
16274
  if (argc == 3) {
 
16275
    return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
 
16276
  }
 
16277
  
 
16278
fail:
 
16279
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
 
16280
  return NULL;
 
16281
}
 
16282
 
 
16283
 
 
16284
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16285
  PyObject *resultobj = 0;
 
16286
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16287
  wxString *arg2 = 0 ;
 
16288
  long arg3 = (long) 0 ;
 
16289
  void *argp1 = 0 ;
 
16290
  int res1 = 0 ;
 
16291
  bool temp2 = false ;
 
16292
  long val3 ;
 
16293
  int ecode3 = 0 ;
 
16294
  PyObject * obj0 = 0 ;
 
16295
  PyObject * obj1 = 0 ;
 
16296
  PyObject * obj2 = 0 ;
 
16297
  char *  kwnames[] = {
 
16298
    (char *) "self",(char *) "viewer",(char *) "flags", NULL 
 
16299
  };
 
16300
  
 
16301
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16302
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16303
  if (!SWIG_IsOK(res1)) {
 
16304
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16305
  }
 
16306
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16307
  {
 
16308
    arg2 = wxString_in_helper(obj1);
 
16309
    if (arg2 == NULL) SWIG_fail;
 
16310
    temp2 = true;
 
16311
  }
 
16312
  if (obj2) {
 
16313
    ecode3 = SWIG_AsVal_long(obj2, &val3);
 
16314
    if (!SWIG_IsOK(ecode3)) {
 
16315
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
 
16316
    } 
 
16317
    arg3 = static_cast< long >(val3);
 
16318
  }
 
16319
  {
 
16320
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16321
    (arg1)->SetViewer((wxString const &)*arg2,arg3);
 
16322
    wxPyEndAllowThreads(__tstate);
 
16323
    if (PyErr_Occurred()) SWIG_fail;
 
16324
  }
 
16325
  resultobj = SWIG_Py_Void();
 
16326
  {
 
16327
    if (temp2)
 
16328
    delete arg2;
 
16329
  }
 
16330
  return resultobj;
 
16331
fail:
 
16332
  {
 
16333
    if (temp2)
 
16334
    delete arg2;
 
16335
  }
 
16336
  return NULL;
 
16337
}
 
16338
 
 
16339
 
 
16340
SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16341
  PyObject *resultobj = 0;
 
16342
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16343
  wxString const &arg2_defvalue = wxEmptyString ;
 
16344
  wxString *arg2 = (wxString *) &arg2_defvalue ;
 
16345
  bool result;
 
16346
  void *argp1 = 0 ;
 
16347
  int res1 = 0 ;
 
16348
  bool temp2 = false ;
 
16349
  PyObject * obj0 = 0 ;
 
16350
  PyObject * obj1 = 0 ;
 
16351
  char *  kwnames[] = {
 
16352
    (char *) "self",(char *) "file", NULL 
 
16353
  };
 
16354
  
 
16355
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
 
16356
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16357
  if (!SWIG_IsOK(res1)) {
 
16358
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16359
  }
 
16360
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16361
  if (obj1) {
 
16362
    {
 
16363
      arg2 = wxString_in_helper(obj1);
 
16364
      if (arg2 == NULL) SWIG_fail;
 
16365
      temp2 = true;
 
16366
    }
 
16367
  }
 
16368
  {
 
16369
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16370
    result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
 
16371
    wxPyEndAllowThreads(__tstate);
 
16372
    if (PyErr_Occurred()) SWIG_fail;
 
16373
  }
 
16374
  {
 
16375
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16376
  }
 
16377
  {
 
16378
    if (temp2)
 
16379
    delete arg2;
 
16380
  }
 
16381
  return resultobj;
 
16382
fail:
 
16383
  {
 
16384
    if (temp2)
 
16385
    delete arg2;
 
16386
  }
 
16387
  return NULL;
 
16388
}
 
16389
 
 
16390
 
 
16391
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16392
  PyObject *resultobj = 0;
 
16393
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16394
  bool result;
 
16395
  void *argp1 = 0 ;
 
16396
  int res1 = 0 ;
 
16397
  PyObject *swig_obj[1] ;
 
16398
  
 
16399
  if (!args) SWIG_fail;
 
16400
  swig_obj[0] = args;
 
16401
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16402
  if (!SWIG_IsOK(res1)) {
 
16403
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16404
  }
 
16405
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16406
  {
 
16407
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16408
    result = (bool)(arg1)->DisplayContents();
 
16409
    wxPyEndAllowThreads(__tstate);
 
16410
    if (PyErr_Occurred()) SWIG_fail;
 
16411
  }
 
16412
  {
 
16413
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16414
  }
 
16415
  return resultobj;
 
16416
fail:
 
16417
  return NULL;
 
16418
}
 
16419
 
 
16420
 
 
16421
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
 
16422
  PyObject *resultobj = 0;
 
16423
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16424
  int arg2 ;
 
16425
  bool result;
 
16426
  void *argp1 = 0 ;
 
16427
  int res1 = 0 ;
 
16428
  int val2 ;
 
16429
  int ecode2 = 0 ;
 
16430
  
 
16431
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
 
16432
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16433
  if (!SWIG_IsOK(res1)) {
 
16434
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16435
  }
 
16436
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16437
  ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
 
16438
  if (!SWIG_IsOK(ecode2)) {
 
16439
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
 
16440
  } 
 
16441
  arg2 = static_cast< int >(val2);
 
16442
  {
 
16443
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16444
    result = (bool)(arg1)->DisplaySection(arg2);
 
16445
    wxPyEndAllowThreads(__tstate);
 
16446
    if (PyErr_Occurred()) SWIG_fail;
 
16447
  }
 
16448
  {
 
16449
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16450
  }
 
16451
  return resultobj;
 
16452
fail:
 
16453
  return NULL;
 
16454
}
 
16455
 
 
16456
 
 
16457
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16458
  PyObject *resultobj = 0;
 
16459
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16460
  int arg2 ;
 
16461
  bool result;
 
16462
  void *argp1 = 0 ;
 
16463
  int res1 = 0 ;
 
16464
  int val2 ;
 
16465
  int ecode2 = 0 ;
 
16466
  PyObject * obj0 = 0 ;
 
16467
  PyObject * obj1 = 0 ;
 
16468
  char *  kwnames[] = {
 
16469
    (char *) "self",(char *) "contextId", NULL 
 
16470
  };
 
16471
  
 
16472
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
 
16473
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16474
  if (!SWIG_IsOK(res1)) {
 
16475
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16476
  }
 
16477
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16478
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
16479
  if (!SWIG_IsOK(ecode2)) {
 
16480
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
 
16481
  } 
 
16482
  arg2 = static_cast< int >(val2);
 
16483
  {
 
16484
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16485
    result = (bool)(arg1)->DisplayContextPopup(arg2);
 
16486
    wxPyEndAllowThreads(__tstate);
 
16487
    if (PyErr_Occurred()) SWIG_fail;
 
16488
  }
 
16489
  {
 
16490
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16491
  }
 
16492
  return resultobj;
 
16493
fail:
 
16494
  return NULL;
 
16495
}
 
16496
 
 
16497
 
 
16498
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16499
  PyObject *resultobj = 0;
 
16500
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16501
  wxString *arg2 = 0 ;
 
16502
  wxPoint *arg3 = 0 ;
 
16503
  bool result;
 
16504
  void *argp1 = 0 ;
 
16505
  int res1 = 0 ;
 
16506
  bool temp2 = false ;
 
16507
  wxPoint temp3 ;
 
16508
  PyObject * obj0 = 0 ;
 
16509
  PyObject * obj1 = 0 ;
 
16510
  PyObject * obj2 = 0 ;
 
16511
  char *  kwnames[] = {
 
16512
    (char *) "self",(char *) "text",(char *) "pos", NULL 
 
16513
  };
 
16514
  
 
16515
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16516
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16517
  if (!SWIG_IsOK(res1)) {
 
16518
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16519
  }
 
16520
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16521
  {
 
16522
    arg2 = wxString_in_helper(obj1);
 
16523
    if (arg2 == NULL) SWIG_fail;
 
16524
    temp2 = true;
 
16525
  }
 
16526
  {
 
16527
    arg3 = &temp3;
 
16528
    if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
16529
  }
 
16530
  {
 
16531
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16532
    result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
 
16533
    wxPyEndAllowThreads(__tstate);
 
16534
    if (PyErr_Occurred()) SWIG_fail;
 
16535
  }
 
16536
  {
 
16537
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16538
  }
 
16539
  {
 
16540
    if (temp2)
 
16541
    delete arg2;
 
16542
  }
 
16543
  return resultobj;
 
16544
fail:
 
16545
  {
 
16546
    if (temp2)
 
16547
    delete arg2;
 
16548
  }
 
16549
  return NULL;
 
16550
}
 
16551
 
 
16552
 
 
16553
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
 
16554
  PyObject *resultobj = 0;
 
16555
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16556
  wxString *arg2 = 0 ;
 
16557
  bool result;
 
16558
  void *argp1 = 0 ;
 
16559
  int res1 = 0 ;
 
16560
  bool temp2 = false ;
 
16561
  
 
16562
  if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
 
16563
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16564
  if (!SWIG_IsOK(res1)) {
 
16565
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16566
  }
 
16567
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16568
  {
 
16569
    arg2 = wxString_in_helper(swig_obj[1]);
 
16570
    if (arg2 == NULL) SWIG_fail;
 
16571
    temp2 = true;
 
16572
  }
 
16573
  {
 
16574
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16575
    result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
 
16576
    wxPyEndAllowThreads(__tstate);
 
16577
    if (PyErr_Occurred()) SWIG_fail;
 
16578
  }
 
16579
  {
 
16580
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16581
  }
 
16582
  {
 
16583
    if (temp2)
 
16584
    delete arg2;
 
16585
  }
 
16586
  return resultobj;
 
16587
fail:
 
16588
  {
 
16589
    if (temp2)
 
16590
    delete arg2;
 
16591
  }
 
16592
  return NULL;
 
16593
}
 
16594
 
 
16595
 
 
16596
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
 
16597
  int argc;
 
16598
  PyObject *argv[3];
 
16599
  
 
16600
  if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
 
16601
  --argc;
 
16602
  if (argc == 2) {
 
16603
    int _v = 0;
 
16604
    {
 
16605
      {
 
16606
        _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
 
16607
      }
 
16608
    }
 
16609
    if (!_v) goto check_1;
 
16610
    return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
 
16611
  }
 
16612
check_1:
 
16613
  
 
16614
  if (argc == 2) {
 
16615
    return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
 
16616
  }
 
16617
  
 
16618
fail:
 
16619
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
 
16620
  return NULL;
 
16621
}
 
16622
 
 
16623
 
 
16624
SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16625
  PyObject *resultobj = 0;
 
16626
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16627
  long arg2 ;
 
16628
  bool result;
 
16629
  void *argp1 = 0 ;
 
16630
  int res1 = 0 ;
 
16631
  long val2 ;
 
16632
  int ecode2 = 0 ;
 
16633
  PyObject * obj0 = 0 ;
 
16634
  PyObject * obj1 = 0 ;
 
16635
  char *  kwnames[] = {
 
16636
    (char *) "self",(char *) "blockNo", NULL 
 
16637
  };
 
16638
  
 
16639
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
 
16640
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16641
  if (!SWIG_IsOK(res1)) {
 
16642
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16643
  }
 
16644
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16645
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
16646
  if (!SWIG_IsOK(ecode2)) {
 
16647
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
 
16648
  } 
 
16649
  arg2 = static_cast< long >(val2);
 
16650
  {
 
16651
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16652
    result = (bool)(arg1)->DisplayBlock(arg2);
 
16653
    wxPyEndAllowThreads(__tstate);
 
16654
    if (PyErr_Occurred()) SWIG_fail;
 
16655
  }
 
16656
  {
 
16657
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16658
  }
 
16659
  return resultobj;
 
16660
fail:
 
16661
  return NULL;
 
16662
}
 
16663
 
 
16664
 
 
16665
SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16666
  PyObject *resultobj = 0;
 
16667
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16668
  wxString *arg2 = 0 ;
 
16669
  wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
 
16670
  bool result;
 
16671
  void *argp1 = 0 ;
 
16672
  int res1 = 0 ;
 
16673
  bool temp2 = false ;
 
16674
  void *argp3 ;
 
16675
  int res3 = 0 ;
 
16676
  PyObject * obj0 = 0 ;
 
16677
  PyObject * obj1 = 0 ;
 
16678
  PyObject * obj2 = 0 ;
 
16679
  char *  kwnames[] = {
 
16680
    (char *) "self",(char *) "k",(char *) "mode", NULL 
 
16681
  };
 
16682
  
 
16683
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16684
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16685
  if (!SWIG_IsOK(res1)) {
 
16686
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16687
  }
 
16688
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16689
  {
 
16690
    arg2 = wxString_in_helper(obj1);
 
16691
    if (arg2 == NULL) SWIG_fail;
 
16692
    temp2 = true;
 
16693
  }
 
16694
  if (obj2) {
 
16695
    {
 
16696
      res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode,  0  | 0);
 
16697
      if (!SWIG_IsOK(res3)) {
 
16698
        SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); 
 
16699
      }  
 
16700
      if (!argp3) {
 
16701
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
 
16702
      } else {
 
16703
        wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
 
16704
        arg3 = *temp;
 
16705
        if (SWIG_IsNewObj(res3)) delete temp;
 
16706
      }
 
16707
    }
 
16708
  }
 
16709
  {
 
16710
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16711
    result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
 
16712
    wxPyEndAllowThreads(__tstate);
 
16713
    if (PyErr_Occurred()) SWIG_fail;
 
16714
  }
 
16715
  {
 
16716
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16717
  }
 
16718
  {
 
16719
    if (temp2)
 
16720
    delete arg2;
 
16721
  }
 
16722
  return resultobj;
 
16723
fail:
 
16724
  {
 
16725
    if (temp2)
 
16726
    delete arg2;
 
16727
  }
 
16728
  return NULL;
 
16729
}
 
16730
 
 
16731
 
 
16732
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16733
  PyObject *resultobj = 0;
 
16734
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16735
  wxString *arg2 = 0 ;
 
16736
  wxSize *arg3 = 0 ;
 
16737
  wxPoint const &arg4_defvalue = wxDefaultPosition ;
 
16738
  wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
 
16739
  bool arg5 = (bool) false ;
 
16740
  void *argp1 = 0 ;
 
16741
  int res1 = 0 ;
 
16742
  bool temp2 = false ;
 
16743
  wxSize temp3 ;
 
16744
  wxPoint temp4 ;
 
16745
  bool val5 ;
 
16746
  int ecode5 = 0 ;
 
16747
  PyObject * obj0 = 0 ;
 
16748
  PyObject * obj1 = 0 ;
 
16749
  PyObject * obj2 = 0 ;
 
16750
  PyObject * obj3 = 0 ;
 
16751
  PyObject * obj4 = 0 ;
 
16752
  char *  kwnames[] = {
 
16753
    (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL 
 
16754
  };
 
16755
  
 
16756
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
16757
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16758
  if (!SWIG_IsOK(res1)) {
 
16759
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16760
  }
 
16761
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16762
  {
 
16763
    arg2 = wxString_in_helper(obj1);
 
16764
    if (arg2 == NULL) SWIG_fail;
 
16765
    temp2 = true;
 
16766
  }
 
16767
  {
 
16768
    arg3 = &temp3;
 
16769
    if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
 
16770
  }
 
16771
  if (obj3) {
 
16772
    {
 
16773
      arg4 = &temp4;
 
16774
      if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
 
16775
    }
 
16776
  }
 
16777
  if (obj4) {
 
16778
    ecode5 = SWIG_AsVal_bool(obj4, &val5);
 
16779
    if (!SWIG_IsOK(ecode5)) {
 
16780
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
 
16781
    } 
 
16782
    arg5 = static_cast< bool >(val5);
 
16783
  }
 
16784
  {
 
16785
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16786
    (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
 
16787
    wxPyEndAllowThreads(__tstate);
 
16788
    if (PyErr_Occurred()) SWIG_fail;
 
16789
  }
 
16790
  resultobj = SWIG_Py_Void();
 
16791
  {
 
16792
    if (temp2)
 
16793
    delete arg2;
 
16794
  }
 
16795
  return resultobj;
 
16796
fail:
 
16797
  {
 
16798
    if (temp2)
 
16799
    delete arg2;
 
16800
  }
 
16801
  return NULL;
 
16802
}
 
16803
 
 
16804
 
 
16805
SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16806
  PyObject *resultobj = 0;
 
16807
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16808
  bool result;
 
16809
  void *argp1 = 0 ;
 
16810
  int res1 = 0 ;
 
16811
  PyObject *swig_obj[1] ;
 
16812
  
 
16813
  if (!args) SWIG_fail;
 
16814
  swig_obj[0] = args;
 
16815
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16816
  if (!SWIG_IsOK(res1)) {
 
16817
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16818
  }
 
16819
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16820
  {
 
16821
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16822
    result = (bool)(arg1)->Quit();
 
16823
    wxPyEndAllowThreads(__tstate);
 
16824
    if (PyErr_Occurred()) SWIG_fail;
 
16825
  }
 
16826
  {
 
16827
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16828
  }
 
16829
  return resultobj;
 
16830
fail:
 
16831
  return NULL;
 
16832
}
 
16833
 
 
16834
 
 
16835
SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16836
  PyObject *resultobj = 0;
 
16837
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16838
  void *argp1 = 0 ;
 
16839
  int res1 = 0 ;
 
16840
  PyObject *swig_obj[1] ;
 
16841
  
 
16842
  if (!args) SWIG_fail;
 
16843
  swig_obj[0] = args;
 
16844
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16845
  if (!SWIG_IsOK(res1)) {
 
16846
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16847
  }
 
16848
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16849
  {
 
16850
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16851
    (arg1)->OnQuit();
 
16852
    wxPyEndAllowThreads(__tstate);
 
16853
    if (PyErr_Occurred()) SWIG_fail;
 
16854
  }
 
16855
  resultobj = SWIG_Py_Void();
 
16856
  return resultobj;
 
16857
fail:
 
16858
  return NULL;
 
16859
}
 
16860
 
 
16861
 
 
16862
SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16863
  PyObject *resultobj = 0;
 
16864
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16865
  wxWindow *arg2 = (wxWindow *) 0 ;
 
16866
  void *argp1 = 0 ;
 
16867
  int res1 = 0 ;
 
16868
  void *argp2 = 0 ;
 
16869
  int res2 = 0 ;
 
16870
  PyObject * obj0 = 0 ;
 
16871
  PyObject * obj1 = 0 ;
 
16872
  char *  kwnames[] = {
 
16873
    (char *) "self",(char *) "win", NULL 
 
16874
  };
 
16875
  
 
16876
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
 
16877
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16878
  if (!SWIG_IsOK(res1)) {
 
16879
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); 
 
16880
  }
 
16881
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16882
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
16883
  if (!SWIG_IsOK(res2)) {
 
16884
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
16885
  }
 
16886
  arg2 = reinterpret_cast< wxWindow * >(argp2);
 
16887
  {
 
16888
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16889
    (arg1)->SetParentWindow(arg2);
 
16890
    wxPyEndAllowThreads(__tstate);
 
16891
    if (PyErr_Occurred()) SWIG_fail;
 
16892
  }
 
16893
  resultobj = SWIG_Py_Void();
 
16894
  return resultobj;
 
16895
fail:
 
16896
  return NULL;
 
16897
}
 
16898
 
 
16899
 
 
16900
SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16901
  PyObject *resultobj = 0;
 
16902
  wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
 
16903
  wxWindow *result = 0 ;
 
16904
  void *argp1 = 0 ;
 
16905
  int res1 = 0 ;
 
16906
  PyObject *swig_obj[1] ;
 
16907
  
 
16908
  if (!args) SWIG_fail;
 
16909
  swig_obj[0] = args;
 
16910
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 |  0 );
 
16911
  if (!SWIG_IsOK(res1)) {
 
16912
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'"); 
 
16913
  }
 
16914
  arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
 
16915
  {
 
16916
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16917
    result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
 
16918
    wxPyEndAllowThreads(__tstate);
 
16919
    if (PyErr_Occurred()) SWIG_fail;
 
16920
  }
 
16921
  {
 
16922
    resultobj = wxPyMake_wxObject(result, 0); 
 
16923
  }
 
16924
  return resultobj;
 
16925
fail:
 
16926
  return NULL;
 
16927
}
 
16928
 
 
16929
 
 
16930
SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16931
  PyObject *obj;
 
16932
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
16933
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
 
16934
  return SWIG_Py_Void();
 
16935
}
 
16936
 
 
16937
SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16938
  PyObject *resultobj = 0;
 
16939
  int arg1 = (int) wxHF_DEFAULT_STYLE ;
 
16940
  wxWindow *arg2 = (wxWindow *) NULL ;
 
16941
  wxHtmlHelpController *result = 0 ;
 
16942
  int val1 ;
 
16943
  int ecode1 = 0 ;
 
16944
  void *argp2 = 0 ;
 
16945
  int res2 = 0 ;
 
16946
  PyObject * obj0 = 0 ;
 
16947
  PyObject * obj1 = 0 ;
 
16948
  char *  kwnames[] = {
 
16949
    (char *) "style",(char *) "parentWindow", NULL 
 
16950
  };
 
16951
  
 
16952
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
 
16953
  if (obj0) {
 
16954
    ecode1 = SWIG_AsVal_int(obj0, &val1);
 
16955
    if (!SWIG_IsOK(ecode1)) {
 
16956
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
 
16957
    } 
 
16958
    arg1 = static_cast< int >(val1);
 
16959
  }
 
16960
  if (obj1) {
 
16961
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 |  0 );
 
16962
    if (!SWIG_IsOK(res2)) {
 
16963
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'"); 
 
16964
    }
 
16965
    arg2 = reinterpret_cast< wxWindow * >(argp2);
 
16966
  }
 
16967
  {
 
16968
    if (!wxPyCheckForApp()) SWIG_fail;
 
16969
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16970
    result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
 
16971
    wxPyEndAllowThreads(__tstate);
 
16972
    if (PyErr_Occurred()) SWIG_fail;
 
16973
  }
 
16974
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW |  0 );
 
16975
  return resultobj;
 
16976
fail:
 
16977
  return NULL;
 
16978
}
 
16979
 
 
16980
 
 
16981
SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16982
  PyObject *resultobj = 0;
 
16983
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
16984
  void *argp1 = 0 ;
 
16985
  int res1 = 0 ;
 
16986
  PyObject *swig_obj[1] ;
 
16987
  
 
16988
  if (!args) SWIG_fail;
 
16989
  swig_obj[0] = args;
 
16990
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN |  0 );
 
16991
  if (!SWIG_IsOK(res1)) {
 
16992
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
16993
  }
 
16994
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
16995
  {
 
16996
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16997
    delete arg1;
 
16998
    
 
16999
    wxPyEndAllowThreads(__tstate);
 
17000
    if (PyErr_Occurred()) SWIG_fail;
 
17001
  }
 
17002
  resultobj = SWIG_Py_Void();
 
17003
  return resultobj;
 
17004
fail:
 
17005
  return NULL;
 
17006
}
 
17007
 
 
17008
 
 
17009
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17010
  PyObject *resultobj = 0;
 
17011
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17012
  wxHtmlHelpWindow *result = 0 ;
 
17013
  void *argp1 = 0 ;
 
17014
  int res1 = 0 ;
 
17015
  PyObject *swig_obj[1] ;
 
17016
  
 
17017
  if (!args) SWIG_fail;
 
17018
  swig_obj[0] = args;
 
17019
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17020
  if (!SWIG_IsOK(res1)) {
 
17021
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17022
  }
 
17023
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17024
  {
 
17025
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17026
    result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
 
17027
    wxPyEndAllowThreads(__tstate);
 
17028
    if (PyErr_Occurred()) SWIG_fail;
 
17029
  }
 
17030
  {
 
17031
    resultobj = wxPyMake_wxObject(result, 0); 
 
17032
  }
 
17033
  return resultobj;
 
17034
fail:
 
17035
  return NULL;
 
17036
}
 
17037
 
 
17038
 
 
17039
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17040
  PyObject *resultobj = 0;
 
17041
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17042
  wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
 
17043
  void *argp1 = 0 ;
 
17044
  int res1 = 0 ;
 
17045
  void *argp2 = 0 ;
 
17046
  int res2 = 0 ;
 
17047
  PyObject * obj0 = 0 ;
 
17048
  PyObject * obj1 = 0 ;
 
17049
  char *  kwnames[] = {
 
17050
    (char *) "self",(char *) "helpWindow", NULL 
 
17051
  };
 
17052
  
 
17053
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
 
17054
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17055
  if (!SWIG_IsOK(res1)) {
 
17056
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17057
  }
 
17058
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17059
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 |  0 );
 
17060
  if (!SWIG_IsOK(res2)) {
 
17061
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'"); 
 
17062
  }
 
17063
  arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
 
17064
  {
 
17065
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17066
    (arg1)->SetHelpWindow(arg2);
 
17067
    wxPyEndAllowThreads(__tstate);
 
17068
    if (PyErr_Occurred()) SWIG_fail;
 
17069
  }
 
17070
  resultobj = SWIG_Py_Void();
 
17071
  return resultobj;
 
17072
fail:
 
17073
  return NULL;
 
17074
}
 
17075
 
 
17076
 
 
17077
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17078
  PyObject *resultobj = 0;
 
17079
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17080
  wxHtmlHelpFrame *result = 0 ;
 
17081
  void *argp1 = 0 ;
 
17082
  int res1 = 0 ;
 
17083
  PyObject *swig_obj[1] ;
 
17084
  
 
17085
  if (!args) SWIG_fail;
 
17086
  swig_obj[0] = args;
 
17087
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17088
  if (!SWIG_IsOK(res1)) {
 
17089
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17090
  }
 
17091
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17092
  {
 
17093
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17094
    result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
 
17095
    wxPyEndAllowThreads(__tstate);
 
17096
    if (PyErr_Occurred()) SWIG_fail;
 
17097
  }
 
17098
  {
 
17099
    resultobj = wxPyMake_wxObject(result, 0); 
 
17100
  }
 
17101
  return resultobj;
 
17102
fail:
 
17103
  return NULL;
 
17104
}
 
17105
 
 
17106
 
 
17107
SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17108
  PyObject *resultobj = 0;
 
17109
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17110
  wxHtmlHelpDialog *result = 0 ;
 
17111
  void *argp1 = 0 ;
 
17112
  int res1 = 0 ;
 
17113
  PyObject *swig_obj[1] ;
 
17114
  
 
17115
  if (!args) SWIG_fail;
 
17116
  swig_obj[0] = args;
 
17117
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17118
  if (!SWIG_IsOK(res1)) {
 
17119
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17120
  }
 
17121
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17122
  {
 
17123
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17124
    result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
 
17125
    wxPyEndAllowThreads(__tstate);
 
17126
    if (PyErr_Occurred()) SWIG_fail;
 
17127
  }
 
17128
  {
 
17129
    resultobj = wxPyMake_wxObject(result, 0); 
 
17130
  }
 
17131
  return resultobj;
 
17132
fail:
 
17133
  return NULL;
 
17134
}
 
17135
 
 
17136
 
 
17137
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17138
  PyObject *resultobj = 0;
 
17139
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17140
  wxString *arg2 = 0 ;
 
17141
  void *argp1 = 0 ;
 
17142
  int res1 = 0 ;
 
17143
  bool temp2 = false ;
 
17144
  PyObject * obj0 = 0 ;
 
17145
  PyObject * obj1 = 0 ;
 
17146
  char *  kwnames[] = {
 
17147
    (char *) "self",(char *) "format", NULL 
 
17148
  };
 
17149
  
 
17150
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
 
17151
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17152
  if (!SWIG_IsOK(res1)) {
 
17153
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17154
  }
 
17155
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17156
  {
 
17157
    arg2 = wxString_in_helper(obj1);
 
17158
    if (arg2 == NULL) SWIG_fail;
 
17159
    temp2 = true;
 
17160
  }
 
17161
  {
 
17162
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17163
    (arg1)->SetTitleFormat((wxString const &)*arg2);
 
17164
    wxPyEndAllowThreads(__tstate);
 
17165
    if (PyErr_Occurred()) SWIG_fail;
 
17166
  }
 
17167
  resultobj = SWIG_Py_Void();
 
17168
  {
 
17169
    if (temp2)
 
17170
    delete arg2;
 
17171
  }
 
17172
  return resultobj;
 
17173
fail:
 
17174
  {
 
17175
    if (temp2)
 
17176
    delete arg2;
 
17177
  }
 
17178
  return NULL;
 
17179
}
 
17180
 
 
17181
 
 
17182
SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17183
  PyObject *resultobj = 0;
 
17184
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17185
  wxString *arg2 = 0 ;
 
17186
  void *argp1 = 0 ;
 
17187
  int res1 = 0 ;
 
17188
  bool temp2 = false ;
 
17189
  PyObject * obj0 = 0 ;
 
17190
  PyObject * obj1 = 0 ;
 
17191
  char *  kwnames[] = {
 
17192
    (char *) "self",(char *) "path", NULL 
 
17193
  };
 
17194
  
 
17195
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
 
17196
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17197
  if (!SWIG_IsOK(res1)) {
 
17198
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17199
  }
 
17200
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17201
  {
 
17202
    arg2 = wxString_in_helper(obj1);
 
17203
    if (arg2 == NULL) SWIG_fail;
 
17204
    temp2 = true;
 
17205
  }
 
17206
  {
 
17207
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17208
    (arg1)->SetTempDir((wxString const &)*arg2);
 
17209
    wxPyEndAllowThreads(__tstate);
 
17210
    if (PyErr_Occurred()) SWIG_fail;
 
17211
  }
 
17212
  resultobj = SWIG_Py_Void();
 
17213
  {
 
17214
    if (temp2)
 
17215
    delete arg2;
 
17216
  }
 
17217
  return resultobj;
 
17218
fail:
 
17219
  {
 
17220
    if (temp2)
 
17221
    delete arg2;
 
17222
  }
 
17223
  return NULL;
 
17224
}
 
17225
 
 
17226
 
 
17227
SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17228
  PyObject *resultobj = 0;
 
17229
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17230
  wxString *arg2 = 0 ;
 
17231
  int arg3 = (int) false ;
 
17232
  bool result;
 
17233
  void *argp1 = 0 ;
 
17234
  int res1 = 0 ;
 
17235
  bool temp2 = false ;
 
17236
  int val3 ;
 
17237
  int ecode3 = 0 ;
 
17238
  PyObject * obj0 = 0 ;
 
17239
  PyObject * obj1 = 0 ;
 
17240
  PyObject * obj2 = 0 ;
 
17241
  char *  kwnames[] = {
 
17242
    (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL 
 
17243
  };
 
17244
  
 
17245
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17246
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17247
  if (!SWIG_IsOK(res1)) {
 
17248
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17249
  }
 
17250
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17251
  {
 
17252
    arg2 = wxString_in_helper(obj1);
 
17253
    if (arg2 == NULL) SWIG_fail;
 
17254
    temp2 = true;
 
17255
  }
 
17256
  if (obj2) {
 
17257
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
17258
    if (!SWIG_IsOK(ecode3)) {
 
17259
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
 
17260
    } 
 
17261
    arg3 = static_cast< int >(val3);
 
17262
  }
 
17263
  {
 
17264
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17265
    result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
 
17266
    wxPyEndAllowThreads(__tstate);
 
17267
    if (PyErr_Occurred()) SWIG_fail;
 
17268
  }
 
17269
  {
 
17270
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17271
  }
 
17272
  {
 
17273
    if (temp2)
 
17274
    delete arg2;
 
17275
  }
 
17276
  return resultobj;
 
17277
fail:
 
17278
  {
 
17279
    if (temp2)
 
17280
    delete arg2;
 
17281
  }
 
17282
  return NULL;
 
17283
}
 
17284
 
 
17285
 
 
17286
SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17287
  PyObject *resultobj = 0;
 
17288
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17289
  wxString *arg2 = 0 ;
 
17290
  void *argp1 = 0 ;
 
17291
  int res1 = 0 ;
 
17292
  bool temp2 = false ;
 
17293
  PyObject * obj0 = 0 ;
 
17294
  PyObject * obj1 = 0 ;
 
17295
  char *  kwnames[] = {
 
17296
    (char *) "self",(char *) "x", NULL 
 
17297
  };
 
17298
  
 
17299
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
 
17300
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17301
  if (!SWIG_IsOK(res1)) {
 
17302
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17303
  }
 
17304
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17305
  {
 
17306
    arg2 = wxString_in_helper(obj1);
 
17307
    if (arg2 == NULL) SWIG_fail;
 
17308
    temp2 = true;
 
17309
  }
 
17310
  {
 
17311
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17312
    (arg1)->Display((wxString const &)*arg2);
 
17313
    wxPyEndAllowThreads(__tstate);
 
17314
    if (PyErr_Occurred()) SWIG_fail;
 
17315
  }
 
17316
  resultobj = SWIG_Py_Void();
 
17317
  {
 
17318
    if (temp2)
 
17319
    delete arg2;
 
17320
  }
 
17321
  return resultobj;
 
17322
fail:
 
17323
  {
 
17324
    if (temp2)
 
17325
    delete arg2;
 
17326
  }
 
17327
  return NULL;
 
17328
}
 
17329
 
 
17330
 
 
17331
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17332
  PyObject *resultobj = 0;
 
17333
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17334
  int arg2 ;
 
17335
  void *argp1 = 0 ;
 
17336
  int res1 = 0 ;
 
17337
  int val2 ;
 
17338
  int ecode2 = 0 ;
 
17339
  PyObject * obj0 = 0 ;
 
17340
  PyObject * obj1 = 0 ;
 
17341
  char *  kwnames[] = {
 
17342
    (char *) "self",(char *) "id", NULL 
 
17343
  };
 
17344
  
 
17345
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
 
17346
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17347
  if (!SWIG_IsOK(res1)) {
 
17348
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17349
  }
 
17350
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17351
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17352
  if (!SWIG_IsOK(ecode2)) {
 
17353
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
 
17354
  } 
 
17355
  arg2 = static_cast< int >(val2);
 
17356
  {
 
17357
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17358
    (arg1)->Display(arg2);
 
17359
    wxPyEndAllowThreads(__tstate);
 
17360
    if (PyErr_Occurred()) SWIG_fail;
 
17361
  }
 
17362
  resultobj = SWIG_Py_Void();
 
17363
  return resultobj;
 
17364
fail:
 
17365
  return NULL;
 
17366
}
 
17367
 
 
17368
 
 
17369
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17370
  PyObject *resultobj = 0;
 
17371
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17372
  void *argp1 = 0 ;
 
17373
  int res1 = 0 ;
 
17374
  PyObject *swig_obj[1] ;
 
17375
  
 
17376
  if (!args) SWIG_fail;
 
17377
  swig_obj[0] = args;
 
17378
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17379
  if (!SWIG_IsOK(res1)) {
 
17380
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17381
  }
 
17382
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17383
  {
 
17384
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17385
    (arg1)->DisplayContents();
 
17386
    wxPyEndAllowThreads(__tstate);
 
17387
    if (PyErr_Occurred()) SWIG_fail;
 
17388
  }
 
17389
  resultobj = SWIG_Py_Void();
 
17390
  return resultobj;
 
17391
fail:
 
17392
  return NULL;
 
17393
}
 
17394
 
 
17395
 
 
17396
SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17397
  PyObject *resultobj = 0;
 
17398
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17399
  void *argp1 = 0 ;
 
17400
  int res1 = 0 ;
 
17401
  PyObject *swig_obj[1] ;
 
17402
  
 
17403
  if (!args) SWIG_fail;
 
17404
  swig_obj[0] = args;
 
17405
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17406
  if (!SWIG_IsOK(res1)) {
 
17407
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17408
  }
 
17409
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17410
  {
 
17411
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17412
    (arg1)->DisplayIndex();
 
17413
    wxPyEndAllowThreads(__tstate);
 
17414
    if (PyErr_Occurred()) SWIG_fail;
 
17415
  }
 
17416
  resultobj = SWIG_Py_Void();
 
17417
  return resultobj;
 
17418
fail:
 
17419
  return NULL;
 
17420
}
 
17421
 
 
17422
 
 
17423
SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17424
  PyObject *resultobj = 0;
 
17425
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17426
  wxString *arg2 = 0 ;
 
17427
  bool result;
 
17428
  void *argp1 = 0 ;
 
17429
  int res1 = 0 ;
 
17430
  bool temp2 = false ;
 
17431
  PyObject * obj0 = 0 ;
 
17432
  PyObject * obj1 = 0 ;
 
17433
  char *  kwnames[] = {
 
17434
    (char *) "self",(char *) "keyword", NULL 
 
17435
  };
 
17436
  
 
17437
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
 
17438
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17439
  if (!SWIG_IsOK(res1)) {
 
17440
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17441
  }
 
17442
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17443
  {
 
17444
    arg2 = wxString_in_helper(obj1);
 
17445
    if (arg2 == NULL) SWIG_fail;
 
17446
    temp2 = true;
 
17447
  }
 
17448
  {
 
17449
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17450
    result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
 
17451
    wxPyEndAllowThreads(__tstate);
 
17452
    if (PyErr_Occurred()) SWIG_fail;
 
17453
  }
 
17454
  {
 
17455
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17456
  }
 
17457
  {
 
17458
    if (temp2)
 
17459
    delete arg2;
 
17460
  }
 
17461
  return resultobj;
 
17462
fail:
 
17463
  {
 
17464
    if (temp2)
 
17465
    delete arg2;
 
17466
  }
 
17467
  return NULL;
 
17468
}
 
17469
 
 
17470
 
 
17471
SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17472
  PyObject *resultobj = 0;
 
17473
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17474
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
17475
  wxString const &arg3_defvalue = wxPyEmptyString ;
 
17476
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
17477
  void *argp1 = 0 ;
 
17478
  int res1 = 0 ;
 
17479
  void *argp2 = 0 ;
 
17480
  int res2 = 0 ;
 
17481
  bool temp3 = false ;
 
17482
  PyObject * obj0 = 0 ;
 
17483
  PyObject * obj1 = 0 ;
 
17484
  PyObject * obj2 = 0 ;
 
17485
  char *  kwnames[] = {
 
17486
    (char *) "self",(char *) "config",(char *) "rootpath", NULL 
 
17487
  };
 
17488
  
 
17489
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17490
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17491
  if (!SWIG_IsOK(res1)) {
 
17492
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17493
  }
 
17494
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17495
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
17496
  if (!SWIG_IsOK(res2)) {
 
17497
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
17498
  }
 
17499
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
17500
  if (obj2) {
 
17501
    {
 
17502
      arg3 = wxString_in_helper(obj2);
 
17503
      if (arg3 == NULL) SWIG_fail;
 
17504
      temp3 = true;
 
17505
    }
 
17506
  }
 
17507
  {
 
17508
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17509
    (arg1)->UseConfig(arg2,(wxString const &)*arg3);
 
17510
    wxPyEndAllowThreads(__tstate);
 
17511
    if (PyErr_Occurred()) SWIG_fail;
 
17512
  }
 
17513
  resultobj = SWIG_Py_Void();
 
17514
  {
 
17515
    if (temp3)
 
17516
    delete arg3;
 
17517
  }
 
17518
  return resultobj;
 
17519
fail:
 
17520
  {
 
17521
    if (temp3)
 
17522
    delete arg3;
 
17523
  }
 
17524
  return NULL;
 
17525
}
 
17526
 
 
17527
 
 
17528
SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17529
  PyObject *resultobj = 0;
 
17530
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17531
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
17532
  wxString arg3 = (wxString) wxPyEmptyString ;
 
17533
  void *argp1 = 0 ;
 
17534
  int res1 = 0 ;
 
17535
  void *argp2 = 0 ;
 
17536
  int res2 = 0 ;
 
17537
  PyObject * obj0 = 0 ;
 
17538
  PyObject * obj1 = 0 ;
 
17539
  PyObject * obj2 = 0 ;
 
17540
  char *  kwnames[] = {
 
17541
    (char *) "self",(char *) "cfg",(char *) "path", NULL 
 
17542
  };
 
17543
  
 
17544
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17545
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17546
  if (!SWIG_IsOK(res1)) {
 
17547
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17548
  }
 
17549
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17550
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
17551
  if (!SWIG_IsOK(res2)) {
 
17552
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
17553
  }
 
17554
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
17555
  if (obj2) {
 
17556
    {
 
17557
      wxString* sptr = wxString_in_helper(obj2);
 
17558
      if (sptr == NULL) SWIG_fail;
 
17559
      arg3 = *sptr;
 
17560
      delete sptr;
 
17561
    }
 
17562
  }
 
17563
  {
 
17564
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17565
    (arg1)->ReadCustomization(arg2,arg3);
 
17566
    wxPyEndAllowThreads(__tstate);
 
17567
    if (PyErr_Occurred()) SWIG_fail;
 
17568
  }
 
17569
  resultobj = SWIG_Py_Void();
 
17570
  return resultobj;
 
17571
fail:
 
17572
  return NULL;
 
17573
}
 
17574
 
 
17575
 
 
17576
SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17577
  PyObject *resultobj = 0;
 
17578
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17579
  wxConfigBase *arg2 = (wxConfigBase *) 0 ;
 
17580
  wxString arg3 = (wxString) wxPyEmptyString ;
 
17581
  void *argp1 = 0 ;
 
17582
  int res1 = 0 ;
 
17583
  void *argp2 = 0 ;
 
17584
  int res2 = 0 ;
 
17585
  PyObject * obj0 = 0 ;
 
17586
  PyObject * obj1 = 0 ;
 
17587
  PyObject * obj2 = 0 ;
 
17588
  char *  kwnames[] = {
 
17589
    (char *) "self",(char *) "cfg",(char *) "path", NULL 
 
17590
  };
 
17591
  
 
17592
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17593
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17594
  if (!SWIG_IsOK(res1)) {
 
17595
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17596
  }
 
17597
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17598
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 |  0 );
 
17599
  if (!SWIG_IsOK(res2)) {
 
17600
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); 
 
17601
  }
 
17602
  arg2 = reinterpret_cast< wxConfigBase * >(argp2);
 
17603
  if (obj2) {
 
17604
    {
 
17605
      wxString* sptr = wxString_in_helper(obj2);
 
17606
      if (sptr == NULL) SWIG_fail;
 
17607
      arg3 = *sptr;
 
17608
      delete sptr;
 
17609
    }
 
17610
  }
 
17611
  {
 
17612
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17613
    (arg1)->WriteCustomization(arg2,arg3);
 
17614
    wxPyEndAllowThreads(__tstate);
 
17615
    if (PyErr_Occurred()) SWIG_fail;
 
17616
  }
 
17617
  resultobj = SWIG_Py_Void();
 
17618
  return resultobj;
 
17619
fail:
 
17620
  return NULL;
 
17621
}
 
17622
 
 
17623
 
 
17624
SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17625
  PyObject *resultobj = 0;
 
17626
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17627
  void *argp1 = 0 ;
 
17628
  int res1 = 0 ;
 
17629
  PyObject *swig_obj[1] ;
 
17630
  
 
17631
  if (!args) SWIG_fail;
 
17632
  swig_obj[0] = args;
 
17633
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17634
  if (!SWIG_IsOK(res1)) {
 
17635
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17636
  }
 
17637
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17638
  {
 
17639
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17640
    (arg1)->MakeModalIfNeeded();
 
17641
    wxPyEndAllowThreads(__tstate);
 
17642
    if (PyErr_Occurred()) SWIG_fail;
 
17643
  }
 
17644
  resultobj = SWIG_Py_Void();
 
17645
  return resultobj;
 
17646
fail:
 
17647
  return NULL;
 
17648
}
 
17649
 
 
17650
 
 
17651
SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17652
  PyObject *resultobj = 0;
 
17653
  wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
 
17654
  wxWindow *result = 0 ;
 
17655
  void *argp1 = 0 ;
 
17656
  int res1 = 0 ;
 
17657
  PyObject *swig_obj[1] ;
 
17658
  
 
17659
  if (!args) SWIG_fail;
 
17660
  swig_obj[0] = args;
 
17661
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 |  0 );
 
17662
  if (!SWIG_IsOK(res1)) {
 
17663
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); 
 
17664
  }
 
17665
  arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
 
17666
  {
 
17667
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17668
    result = (wxWindow *)(arg1)->FindTopLevelWindow();
 
17669
    wxPyEndAllowThreads(__tstate);
 
17670
    if (PyErr_Occurred()) SWIG_fail;
 
17671
  }
 
17672
  {
 
17673
    resultobj = wxPyMake_wxObject(result, 0); 
 
17674
  }
 
17675
  return resultobj;
 
17676
fail:
 
17677
  return NULL;
 
17678
}
 
17679
 
 
17680
 
 
17681
SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17682
  PyObject *obj;
 
17683
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
17684
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
 
17685
  return SWIG_Py_Void();
 
17686
}
 
17687
 
 
17688
SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17689
  return SWIG_Python_InitShadowInstance(args);
 
17690
}
 
17691
 
 
17692
SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17693
  PyObject *resultobj = 0;
 
17694
  wxWindow *arg1 = (wxWindow *) 0 ;
 
17695
  wxString *arg2 = 0 ;
 
17696
  wxString const &arg3_defvalue = wxEmptyString ;
 
17697
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
17698
  int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
 
17699
  wxHtmlModalHelp *result = 0 ;
 
17700
  void *argp1 = 0 ;
 
17701
  int res1 = 0 ;
 
17702
  bool temp2 = false ;
 
17703
  bool temp3 = false ;
 
17704
  int val4 ;
 
17705
  int ecode4 = 0 ;
 
17706
  PyObject * obj0 = 0 ;
 
17707
  PyObject * obj1 = 0 ;
 
17708
  PyObject * obj2 = 0 ;
 
17709
  PyObject * obj3 = 0 ;
 
17710
  char *  kwnames[] = {
 
17711
    (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL 
 
17712
  };
 
17713
  
 
17714
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
17715
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
 
17716
  if (!SWIG_IsOK(res1)) {
 
17717
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'"); 
 
17718
  }
 
17719
  arg1 = reinterpret_cast< wxWindow * >(argp1);
 
17720
  {
 
17721
    arg2 = wxString_in_helper(obj1);
 
17722
    if (arg2 == NULL) SWIG_fail;
 
17723
    temp2 = true;
 
17724
  }
 
17725
  if (obj2) {
 
17726
    {
 
17727
      arg3 = wxString_in_helper(obj2);
 
17728
      if (arg3 == NULL) SWIG_fail;
 
17729
      temp3 = true;
 
17730
    }
 
17731
  }
 
17732
  if (obj3) {
 
17733
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
17734
    if (!SWIG_IsOK(ecode4)) {
 
17735
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
 
17736
    } 
 
17737
    arg4 = static_cast< int >(val4);
 
17738
  }
 
17739
  {
 
17740
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17741
    result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
 
17742
    wxPyEndAllowThreads(__tstate);
 
17743
    if (PyErr_Occurred()) SWIG_fail;
 
17744
  }
 
17745
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW |  0 );
 
17746
  {
 
17747
    if (temp2)
 
17748
    delete arg2;
 
17749
  }
 
17750
  {
 
17751
    if (temp3)
 
17752
    delete arg3;
 
17753
  }
 
17754
  return resultobj;
 
17755
fail:
 
17756
  {
 
17757
    if (temp2)
 
17758
    delete arg2;
 
17759
  }
 
17760
  {
 
17761
    if (temp3)
 
17762
    delete arg3;
 
17763
  }
 
17764
  return NULL;
 
17765
}
 
17766
 
 
17767
 
 
17768
SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17769
  PyObject *obj;
 
17770
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
17771
  SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
 
17772
  return SWIG_Py_Void();
 
17773
}
 
17774
 
 
17775
SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17776
  return SWIG_Python_InitShadowInstance(args);
 
17777
}
 
17778
 
 
17779
static PyMethodDef SwigMethods[] = {
 
17780
         { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
17781
         { (char *)"delete_HtmlLinkInfo", (PyCFunction)_wrap_delete_HtmlLinkInfo, METH_O, NULL},
 
17782
         { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
 
17783
         { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
 
17784
         { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
 
17785
         { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
 
17786
         { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
17787
         { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17788
         { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
 
17789
         { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
 
17790
         { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
 
17791
         { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
 
17792
         { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
 
17793
         { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
 
17794
         { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
 
17795
         { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
 
17796
         { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
 
17797
         { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
 
17798
         { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
 
17799
         { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
 
17800
         { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
 
17801
         { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
 
17802
         { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
 
17803
         { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
 
17804
         { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
 
17805
         { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
 
17806
         { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
17807
         { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
 
17808
         { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
17809
         { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
 
17810
         { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
 
17811
         { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
 
17812
         { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
 
17813
         { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
 
17814
         { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
 
17815
         { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
 
17816
         { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
 
17817
         { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
 
17818
         { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
 
17819
         { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
17820
         { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
17821
         { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
 
17822
         { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
 
17823
         { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
 
17824
         { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
 
17825
         { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
 
17826
         { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
17827
         { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
 
17828
         { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
 
17829
         { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
 
17830
         { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
 
17831
         { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
 
17832
         { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
 
17833
         { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
 
17834
         { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
 
17835
         { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
 
17836
         { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
 
17837
         { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
 
17838
         { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
 
17839
         { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
 
17840
         { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
 
17841
         { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
 
17842
         { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
 
17843
         { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
 
17844
         { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
 
17845
         { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
 
17846
         { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
 
17847
         { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
17848
         { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
 
17849
         { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
 
17850
         { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
 
17851
         { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
 
17852
         { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
 
17853
         { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
 
17854
         { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
17855
         { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
 
17856
         { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
 
17857
         { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
 
17858
         { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
 
17859
         { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
 
17860
         { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
17861
         { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
 
17862
         { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
 
17863
         { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
 
17864
         { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
 
17865
         { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
 
17866
         { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
 
17867
         { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
 
17868
         { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
 
17869
         { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
 
17870
         { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
 
17871
         { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
17872
         { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
17873
         { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
 
17874
         { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
 
17875
         { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
 
17876
         { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
 
17877
         { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
 
17878
         { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
 
17879
         { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
 
17880
         { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
 
17881
         { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
17882
         { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
 
17883
         { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
17884
         { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
 
17885
         { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
 
17886
         { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
 
17887
         { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
17888
         { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
17889
         { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
 
17890
         { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
 
17891
         { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
 
17892
         { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
 
17893
         { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
17894
         { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
 
17895
         { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
17896
         { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
 
17897
         { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
 
17898
         { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
 
17899
         { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
 
17900
         { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
 
17901
         { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
 
17902
         { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
 
17903
         { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
 
17904
         { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
 
17905
         { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
 
17906
         { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
 
17907
         { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
 
17908
         { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
 
17909
         { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
 
17910
         { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
 
17911
         { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
 
17912
         { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
 
17913
         { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
 
17914
         { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
 
17915
         { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
 
17916
         { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
 
17917
         { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
 
17918
         { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
 
17919
         { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
 
17920
         { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
17921
         { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
 
17922
         { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
 
17923
         { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
17924
         { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
 
17925
         { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
 
17926
         { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
 
17927
         { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
 
17928
         { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
 
17929
         { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
17930
         { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
 
17931
         { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
 
17932
         { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
 
17933
         { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
 
17934
         { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
 
17935
         { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
 
17936
         { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
 
17937
         { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
 
17938
         { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
 
17939
         { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17940
         { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
 
17941
         { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
 
17942
         { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
 
17943
         { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
 
17944
         { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
 
17945
         { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17946
         { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17947
         { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
 
17948
         { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
 
17949
         { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
 
17950
         { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
 
17951
         { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
17952
         { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
17953
         { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
 
17954
         { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
 
17955
         { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
 
17956
         { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
 
17957
         { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
 
17958
         { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
17959
         { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
 
17960
         { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
 
17961
         { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
 
17962
         { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
 
17963
         { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
 
17964
         { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17965
         { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
 
17966
         { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
 
17967
         { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17968
         { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
 
17969
         { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
 
17970
         { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
 
17971
         { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
 
17972
         { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
 
17973
         { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
 
17974
         { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
17975
         { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
 
17976
         { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
 
17977
         { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
 
17978
         { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
 
17979
         { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
17980
         { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
 
17981
         { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
 
17982
         { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
17983
         { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
17984
         { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
 
17985
         { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
 
17986
         { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
17987
         { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
 
17988
         { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
17989
         { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
 
17990
         { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
 
17991
         { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
 
17992
         { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
17993
         { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
 
17994
         { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
 
17995
         { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
 
17996
         { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
 
17997
         { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
 
17998
         { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
 
17999
         { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
 
18000
         { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18001
         { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18002
         { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
 
18003
         { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
18004
         { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
 
18005
         { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
 
18006
         { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
 
18007
         { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
 
18008
         { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
 
18009
         { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
 
18010
         { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
 
18011
         { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
 
18012
         { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
 
18013
         { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
 
18014
         { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
 
18015
         { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
 
18016
         { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
 
18017
         { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
18018
         { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
 
18019
         { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
 
18020
         { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
 
18021
         { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
 
18022
         { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
 
18023
         { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
 
18024
         { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
 
18025
         { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
 
18026
         { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
 
18027
         { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
 
18028
         { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
 
18029
         { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
 
18030
         { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
 
18031
         { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
 
18032
         { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
 
18033
         { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
18034
         { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
 
18035
         { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18036
         { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18037
         { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
 
18038
         { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
 
18039
         { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
 
18040
         { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
 
18041
         { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
 
18042
         { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
 
18043
         { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
18044
         { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
 
18045
         { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
 
18046
         { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18047
         { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18048
         { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
 
18049
         { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
 
18050
         { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
 
18051
         { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
 
18052
         { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
 
18053
         { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
 
18054
         { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
 
18055
         { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
18056
         { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
 
18057
         { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
18058
         { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
 
18059
         { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
 
18060
         { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
 
18061
         { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
 
18062
         { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18063
         { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
 
18064
         { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
 
18065
         { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
 
18066
         { (char *)"HtmlEasyPrinting_GetParentWindow", (PyCFunction)_wrap_HtmlEasyPrinting_GetParentWindow, METH_O, NULL},
 
18067
         { (char *)"HtmlEasyPrinting_SetParentWindow", (PyCFunction) _wrap_HtmlEasyPrinting_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
18068
         { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
 
18069
         { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
 
18070
         { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
 
18071
         { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
 
18072
         { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
 
18073
         { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
 
18074
         { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
 
18075
         { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
18076
         { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
 
18077
         { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
 
18078
         { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
 
18079
         { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
 
18080
         { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
 
18081
         { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
 
18082
         { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
 
18083
         { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
 
18084
         { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
 
18085
         { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
 
18086
         { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
 
18087
         { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
 
18088
         { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
 
18089
         { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
 
18090
         { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
 
18091
         { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
 
18092
         { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
 
18093
         { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
 
18094
         { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
 
18095
         { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
 
18096
         { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
 
18097
         { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
 
18098
         { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
 
18099
         { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
18100
         { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
18101
         { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
18102
         { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
 
18103
         { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
 
18104
         { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
 
18105
         { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
 
18106
         { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
 
18107
         { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
 
18108
         { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
 
18109
         { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
 
18110
         { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
 
18111
         { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
 
18112
         { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
 
18113
         { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
 
18114
         { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
 
18115
         { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
 
18116
         { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
 
18117
         { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
 
18118
         { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
 
18119
         { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
 
18120
         { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
 
18121
         { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
 
18122
         { (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
18123
         { (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL},
 
18124
         { (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL},
 
18125
         { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL},
 
18126
         { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
 
18127
         { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL},
 
18128
         { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL},
 
18129
         { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL},
 
18130
         { (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
18131
         { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL},
 
18132
         { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL},
 
18133
         { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL},
 
18134
         { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
 
18135
         { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
 
18136
         { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
18137
         { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
 
18138
         { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
 
18139
         { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
 
18140
         { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
 
18141
         { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
 
18142
         { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
 
18143
         { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
 
18144
         { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
 
18145
         { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
 
18146
         { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
 
18147
         { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
 
18148
         { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
 
18149
         { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
 
18150
         { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
 
18151
         { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
 
18152
         { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
 
18153
         { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
 
18154
         { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
 
18155
         { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
 
18156
         { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
 
18157
         { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
18158
         { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
 
18159
         { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
 
18160
         { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
 
18161
         { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
 
18162
         { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
 
18163
         { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
 
18164
         { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
 
18165
         { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
 
18166
         { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
 
18167
         { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
18168
         { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
 
18169
         { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
 
18170
         { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
 
18171
         { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
 
18172
         { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
 
18173
         { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
 
18174
         { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
 
18175
         { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
 
18176
         { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
 
18177
         { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
 
18178
         { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
 
18179
         { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
 
18180
         { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
 
18181
         { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
 
18182
         { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
 
18183
         { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
 
18184
         { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
 
18185
         { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
 
18186
         { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
 
18187
         { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
 
18188
         { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
 
18189
         { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
 
18190
         { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
 
18191
         { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
 
18192
         { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
 
18193
         { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
 
18194
         { NULL, NULL, 0, NULL }
 
18195
};
 
18196
 
 
18197
 
 
18198
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
 
18199
 
 
18200
static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
 
18201
    return (void *)((wxHtmlRenderingStyle *)  ((wxDefaultHtmlRenderingStyle *) x));
 
18202
}
 
18203
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
 
18204
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
 
18205
}
 
18206
static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
 
18207
    return (void *)((wxEvent *)  ((wxMenuEvent *) x));
 
18208
}
 
18209
static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
 
18210
    return (void *)((wxEvent *)  ((wxCloseEvent *) x));
 
18211
}
 
18212
static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
 
18213
    return (void *)((wxEvent *)  ((wxMouseEvent *) x));
 
18214
}
 
18215
static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
 
18216
    return (void *)((wxEvent *)  ((wxEraseEvent *) x));
 
18217
}
 
18218
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
 
18219
    return (void *)((wxEvent *)  ((wxSetCursorEvent *) x));
 
18220
}
 
18221
static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
 
18222
    return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
 
18223
}
 
18224
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
 
18225
    return (void *)((wxEvent *)  ((wxInitDialogEvent *) x));
 
18226
}
 
18227
static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
 
18228
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
 
18229
}
 
18230
static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
 
18231
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
 
18232
}
 
18233
static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) {
 
18234
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x));
 
18235
}
 
18236
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
 
18237
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
 
18238
}
 
18239
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
 
18240
    return (void *)((wxEvent *)  ((wxMouseCaptureLostEvent *) x));
 
18241
}
 
18242
static void *_p_wxPyEventTo_p_wxEvent(void *x) {
 
18243
    return (void *)((wxEvent *)  ((wxPyEvent *) x));
 
18244
}
 
18245
static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
 
18246
    return (void *)((wxEvent *)  ((wxCalculateLayoutEvent *) x));
 
18247
}
 
18248
static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
 
18249
    return (void *)((wxEvent *)  ((wxIdleEvent *) x));
 
18250
}
 
18251
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
 
18252
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
 
18253
}
 
18254
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
 
18255
    return (void *)((wxEvent *)  ((wxQueryNewPaletteEvent *) x));
 
18256
}
 
18257
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
 
18258
    return (void *)((wxEvent *)  ((wxMaximizeEvent *) x));
 
18259
}
 
18260
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
 
18261
    return (void *)((wxEvent *)  ((wxIconizeEvent *) x));
 
18262
}
 
18263
static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
 
18264
    return (void *)((wxEvent *)  ((wxActivateEvent *) x));
 
18265
}
 
18266
static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
 
18267
    return (void *)((wxEvent *)  ((wxSizeEvent *) x));
 
18268
}
 
18269
static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
 
18270
    return (void *)((wxEvent *)  ((wxMoveEvent *) x));
 
18271
}
 
18272
static void *_p_wxDateEventTo_p_wxEvent(void *x) {
 
18273
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
 
18274
}
 
18275
static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
 
18276
    return (void *)((wxEvent *)  ((wxPaintEvent *) x));
 
18277
}
 
18278
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
 
18279
    return (void *)((wxEvent *)  ((wxNcPaintEvent *) x));
 
18280
}
 
18281
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
 
18282
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
 
18283
}
 
18284
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
 
18285
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
 
18286
}
 
18287
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
 
18288
    return (void *)((wxEvent *)  ((wxPaletteChangedEvent *) x));
 
18289
}
 
18290
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
 
18291
    return (void *)((wxEvent *)  ((wxDisplayChangedEvent *) x));
 
18292
}
 
18293
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
 
18294
    return (void *)((wxEvent *)  ((wxMouseCaptureChangedEvent *) x));
 
18295
}
 
18296
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
 
18297
    return (void *)((wxEvent *)  ((wxSysColourChangedEvent *) x));
 
18298
}
 
18299
static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) {
 
18300
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x));
 
18301
}
 
18302
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
 
18303
    return (void *)((wxEvent *)  ((wxDropFilesEvent *) x));
 
18304
}
 
18305
static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
 
18306
    return (void *)((wxEvent *)  ((wxFocusEvent *) x));
 
18307
}
 
18308
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
 
18309
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
 
18310
}
 
18311
static void *_p_wxSashEventTo_p_wxEvent(void *x) {
 
18312
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
 
18313
}
 
18314
static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
 
18315
    return (void *)((wxEvent *)  ((wxQueryLayoutInfoEvent *) x));
 
18316
}
 
18317
static void *_p_wxShowEventTo_p_wxEvent(void *x) {
 
18318
    return (void *)((wxEvent *)  ((wxShowEvent *) x));
 
18319
}
 
18320
static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
 
18321
    return (void *)((wxEvent *)  ((wxCommandEvent *) x));
 
18322
}
 
18323
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
 
18324
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
 
18325
}
 
18326
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
 
18327
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
 
18328
}
 
18329
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
 
18330
    return (void *)((wxEvent *)  ((wxNavigationKeyEvent *) x));
 
18331
}
 
18332
static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
 
18333
    return (void *)((wxEvent *)  ((wxKeyEvent *) x));
 
18334
}
 
18335
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
 
18336
    return (void *)((wxEvent *)  ((wxScrollWinEvent *) x));
 
18337
}
 
18338
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
 
18339
    return (void *)((wxEvent *)  ((wxTaskBarIconEvent *) x));
 
18340
}
 
18341
static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
 
18342
    return (void *)((wxHtmlCell *)  ((wxHtmlContainerCell *) x));
 
18343
}
 
18344
static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
 
18345
    return (void *)((wxHtmlCell *)  ((wxHtmlWidgetCell *) x));
 
18346
}
 
18347
static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
 
18348
    return (void *)((wxHtmlCell *)  ((wxHtmlColourCell *) x));
 
18349
}
 
18350
static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
 
18351
    return (void *)((wxHtmlCell *)  ((wxHtmlWordCell *) x));
 
18352
}
 
18353
static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
 
18354
    return (void *)((wxHtmlCell *)  ((wxHtmlFontCell *) x));
 
18355
}
 
18356
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
 
18357
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
18358
}
 
18359
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
 
18360
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
18361
}
 
18362
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
 
18363
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
 
18364
}
 
18365
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
 
18366
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
 
18367
}
 
18368
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
 
18369
    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
 
18370
}
 
18371
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
 
18372
    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
 
18373
}
 
18374
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
 
18375
    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
 
18376
}
 
18377
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
 
18378
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
18379
}
 
18380
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
 
18381
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
18382
}
 
18383
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
 
18384
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
18385
}
 
18386
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
 
18387
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
18388
}
 
18389
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
 
18390
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
18391
}
 
18392
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
 
18393
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
18394
}
 
18395
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
 
18396
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
18397
}
 
18398
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
 
18399
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
 
18400
}
 
18401
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
 
18402
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
18403
}
 
18404
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
 
18405
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
 
18406
}
 
18407
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
 
18408
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
 
18409
}
 
18410
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
 
18411
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
 
18412
}
 
18413
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
 
18414
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
18415
}
 
18416
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
 
18417
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
18418
}
 
18419
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
 
18420
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
 
18421
}
 
18422
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
 
18423
    return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
 
18424
}
 
18425
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
 
18426
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
 
18427
}
 
18428
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
 
18429
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
 
18430
}
 
18431
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
 
18432
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
 
18433
}
 
18434
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
 
18435
    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
 
18436
}
 
18437
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
 
18438
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
 
18439
}
 
18440
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
 
18441
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
 
18442
}
 
18443
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
 
18444
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
 
18445
}
 
18446
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
 
18447
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
18448
}
 
18449
static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
 
18450
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
 
18451
}
 
18452
static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
 
18453
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
 
18454
}
 
18455
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
 
18456
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
 
18457
}
 
18458
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
 
18459
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
18460
}
 
18461
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
 
18462
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
18463
}
 
18464
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
 
18465
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
18466
}
 
18467
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
 
18468
    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
 
18469
}
 
18470
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
 
18471
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
18472
}
 
18473
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) {
 
18474
    return (void *)((wxEvtHandler *)  ((wxPyEvtHandler *) x));
 
18475
}
 
18476
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
 
18477
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
 
18478
}
 
18479
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
 
18480
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
18481
}
 
18482
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
 
18483
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
18484
}
 
18485
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
 
18486
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
18487
}
 
18488
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
 
18489
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
18490
}
 
18491
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
 
18492
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
 
18493
}
 
18494
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
 
18495
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
18496
}
 
18497
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
 
18498
    return (void *)((wxEvtHandler *)  ((wxPyTaskBarIcon *) x));
 
18499
}
 
18500
static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
 
18501
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
 
18502
}
 
18503
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
 
18504
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
 
18505
}
 
18506
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
 
18507
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
18508
}
 
18509
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
 
18510
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
18511
}
 
18512
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
 
18513
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
 
18514
}
 
18515
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
 
18516
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
18517
}
 
18518
static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
 
18519
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
 
18520
}
 
18521
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
 
18522
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
18523
}
 
18524
static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
 
18525
    return (void *)((wxPyHtmlTagHandler *)  ((wxPyHtmlWinTagHandler *) x));
 
18526
}
 
18527
static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
 
18528
    return (void *)((wxFrame *)  ((wxMDIChildFrame *) x));
 
18529
}
 
18530
static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
 
18531
    return (void *)((wxFrame *)  ((wxPreviewFrame *) x));
 
18532
}
 
18533
static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
 
18534
    return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
18535
}
 
18536
static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
 
18537
    return (void *)((wxFrame *)  ((wxMiniFrame *) x));
 
18538
}
 
18539
static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
 
18540
    return (void *)((wxFrame *)  ((wxHtmlHelpFrame *) x));
 
18541
}
 
18542
static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
 
18543
    return (void *)((wxFrame *)  ((wxSplashScreen *) x));
 
18544
}
 
18545
static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
 
18546
    return (void *)((wxFrame *)  ((wxMDIParentFrame *) x));
 
18547
}
 
18548
static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
 
18549
    return (void *)((wxPyPrintout *)  ((wxHtmlPrintout *) x));
 
18550
}
 
18551
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
 
18552
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
 
18553
}
 
18554
static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
 
18555
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
18556
}
 
18557
static void *_p_wxEventTo_p_wxObject(void *x) {
 
18558
    return (void *)((wxObject *)  ((wxEvent *) x));
 
18559
}
 
18560
static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
 
18561
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
 
18562
}
 
18563
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
 
18564
    return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
 
18565
}
 
18566
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
 
18567
    return (void *)((wxObject *)  ((wxIndividualLayoutConstraint *) x));
 
18568
}
 
18569
static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
 
18570
    return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
 
18571
}
 
18572
static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
 
18573
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
18574
}
 
18575
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
 
18576
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
18577
}
 
18578
static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
 
18579
    return (void *)((wxObject *)  ((wxHtmlTag *) x));
 
18580
}
 
18581
static void *_p_wxMenuItemTo_p_wxObject(void *x) {
 
18582
    return (void *)((wxObject *)  ((wxMenuItem *) x));
 
18583
}
 
18584
static void *_p_wxImageTo_p_wxObject(void *x) {
 
18585
    return (void *)((wxObject *)  ((wxImage *) x));
 
18586
}
 
18587
static void *_p_wxPySizerTo_p_wxObject(void *x) {
 
18588
    return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
 
18589
}
 
18590
static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
 
18591
    return (void *)((wxObject *)  ((wxPyHtmlFilter *) x));
 
18592
}
 
18593
static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
 
18594
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
 
18595
}
 
18596
static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
 
18597
    return (void *)((wxObject *)  ((wxLayoutAlgorithm *) x));
 
18598
}
 
18599
static void *_p_wxPyAppTo_p_wxObject(void *x) {
 
18600
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
 
18601
}
 
18602
static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
 
18603
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
18604
}
 
18605
static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
 
18606
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
 
18607
}
 
18608
static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
 
18609
    return (void *)((wxObject *)  ((wxFindReplaceData *) x));
 
18610
}
 
18611
static void *_p_wxValidatorTo_p_wxObject(void *x) {
 
18612
    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
 
18613
}
 
18614
static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
 
18615
    return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
 
18616
}
 
18617
static void *_p_wxEraseEventTo_p_wxObject(void *x) {
 
18618
    return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
 
18619
}
 
18620
static void *_p_wxMouseEventTo_p_wxObject(void *x) {
 
18621
    return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
 
18622
}
 
18623
static void *_p_wxCloseEventTo_p_wxObject(void *x) {
 
18624
    return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
 
18625
}
 
18626
static void *_p_wxScrollEventTo_p_wxObject(void *x) {
 
18627
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
 
18628
}
 
18629
static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
 
18630
    return (void *)((wxObject *)  ((wxHtmlEasyPrinting *) x));
 
18631
}
 
18632
static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) {
 
18633
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x));
 
18634
}
 
18635
static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
 
18636
    return (void *)((wxObject *)  ((wxPrintDialogData *) x));
 
18637
}
 
18638
static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
 
18639
    return (void *)((wxObject *)  ((wxPageSetupDialogData *) x));
 
18640
}
 
18641
static void *_p_wxPrinterTo_p_wxObject(void *x) {
 
18642
    return (void *)((wxObject *)  ((wxPrinter *) x));
 
18643
}
 
18644
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
 
18645
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
18646
}
 
18647
static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
 
18648
    return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
 
18649
}
 
18650
static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
 
18651
    return (void *)((wxObject *)  ((wxHtmlParser *) x));
 
18652
}
 
18653
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
 
18654
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
 
18655
}
 
18656
static void *_p_wxGridSizerTo_p_wxObject(void *x) {
 
18657
    return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
 
18658
}
 
18659
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
 
18660
    return (void *)((wxObject *)  ((wxAcceleratorTable *) x));
 
18661
}
 
18662
static void *_p_wxControlTo_p_wxObject(void *x) {
 
18663
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
 
18664
}
 
18665
static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
 
18666
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
 
18667
}
 
18668
static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
 
18669
    return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
 
18670
}
 
18671
static void *_p_wxColourDataTo_p_wxObject(void *x) {
 
18672
    return (void *)((wxObject *)  ((wxColourData *) x));
 
18673
}
 
18674
static void *_p_wxMoveEventTo_p_wxObject(void *x) {
 
18675
    return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
 
18676
}
 
18677
static void *_p_wxSizeEventTo_p_wxObject(void *x) {
 
18678
    return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
 
18679
}
 
18680
static void *_p_wxActivateEventTo_p_wxObject(void *x) {
 
18681
    return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
 
18682
}
 
18683
static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
 
18684
    return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
 
18685
}
 
18686
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
 
18687
    return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
 
18688
}
 
18689
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
 
18690
    return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
 
18691
}
 
18692
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
 
18693
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
 
18694
}
 
18695
static void *_p_wxIdleEventTo_p_wxObject(void *x) {
 
18696
    return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
 
18697
}
 
18698
static void *_p_wxDateEventTo_p_wxObject(void *x) {
 
18699
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
 
18700
}
 
18701
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
 
18702
    return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
 
18703
}
 
18704
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
 
18705
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
 
18706
}
 
18707
static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
 
18708
    return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
 
18709
}
 
18710
static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
 
18711
    return (void *)((wxObject *)  ((wxPyPrintout *) x));
 
18712
}
 
18713
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
 
18714
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
18715
}
 
18716
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
 
18717
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
 
18718
}
 
18719
static void *_p_wxKeyEventTo_p_wxObject(void *x) {
 
18720
    return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
 
18721
}
 
18722
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
 
18723
    return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
 
18724
}
 
18725
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
 
18726
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
 
18727
}
 
18728
static void *_p_wxSashEventTo_p_wxObject(void *x) {
 
18729
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
 
18730
}
 
18731
static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
 
18732
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
18733
}
 
18734
static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
 
18735
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
18736
}
 
18737
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
 
18738
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
18739
}
 
18740
static void *_p_wxPrintDataTo_p_wxObject(void *x) {
 
18741
    return (void *)((wxObject *)  ((wxPrintData *) x));
 
18742
}
 
18743
static void *_p_wxFontDataTo_p_wxObject(void *x) {
 
18744
    return (void *)((wxObject *)  ((wxFontData *) x));
 
18745
}
 
18746
static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
 
18747
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
18748
}
 
18749
static void *_p_wxFrameTo_p_wxObject(void *x) {
 
18750
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
 
18751
}
 
18752
static void *_p_wxPyPanelTo_p_wxObject(void *x) {
 
18753
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
 
18754
}
 
18755
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
 
18756
    return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
 
18757
}
 
18758
static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
 
18759
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
18760
}
 
18761
static void *_p_wxFileSystemTo_p_wxObject(void *x) {
 
18762
    return (void *)((wxObject *)  ((wxFileSystem *) x));
 
18763
}
 
18764
static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
 
18765
    return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
 
18766
}
 
18767
static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
 
18768
    return (void *)((wxObject *)  ((wxPrintPreview *) x));
 
18769
}
 
18770
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
 
18771
    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
 
18772
}
 
18773
static void *_p_wxSizerTo_p_wxObject(void *x) {
 
18774
    return (void *)((wxObject *)  ((wxSizer *) x));
 
18775
}
 
18776
static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
 
18777
    return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
 
18778
}
 
18779
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
 
18780
    return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
 
18781
}
 
18782
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
 
18783
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
 
18784
}
 
18785
static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
 
18786
    return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
 
18787
}
 
18788
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
 
18789
    return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
 
18790
}
 
18791
static void *_p_wxPaintEventTo_p_wxObject(void *x) {
 
18792
    return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
 
18793
}
 
18794
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
 
18795
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
 
18796
}
 
18797
static void *_p_wxFSFileTo_p_wxObject(void *x) {
 
18798
    return (void *)((wxObject *)  ((wxFSFile *) x));
 
18799
}
 
18800
static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
 
18801
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
 
18802
}
 
18803
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
 
18804
    return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
 
18805
}
 
18806
static void *_p_wxMenuTo_p_wxObject(void *x) {
 
18807
    return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
 
18808
}
 
18809
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
 
18810
    return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
 
18811
}
 
18812
static void *_p_wxSizerItemTo_p_wxObject(void *x) {
 
18813
    return (void *)((wxObject *)  ((wxSizerItem *) x));
 
18814
}
 
18815
static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
 
18816
    return (void *)((wxObject *)  ((wxPrintDialog *) x));
 
18817
}
 
18818
static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
 
18819
    return (void *)((wxObject *)  ((wxPageSetupDialog *) x));
 
18820
}
 
18821
static void *_p_wxFontDialogTo_p_wxObject(void *x) {
 
18822
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
18823
}
 
18824
static void *_p_wxDirDialogTo_p_wxObject(void *x) {
 
18825
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
18826
}
 
18827
static void *_p_wxColourDialogTo_p_wxObject(void *x) {
 
18828
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
18829
}
 
18830
static void *_p_wxDialogTo_p_wxObject(void *x) {
 
18831
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
 
18832
}
 
18833
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
 
18834
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
 
18835
}
 
18836
static void *_p_wxPyEventTo_p_wxObject(void *x) {
 
18837
    return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
 
18838
}
 
18839
static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
 
18840
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
 
18841
}
 
18842
static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
 
18843
    return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
 
18844
}
 
18845
static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
 
18846
    return (void *)((wxObject *)  ((wxPyHtmlTagHandler *) x));
 
18847
}
 
18848
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) {
 
18849
    return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x));
 
18850
}
 
18851
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
 
18852
    return (void *)((wxObject *)  ((wxEvtHandler *) x));
 
18853
}
 
18854
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
 
18855
    return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
 
18856
}
 
18857
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
 
18858
    return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
 
18859
}
 
18860
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
 
18861
    return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
 
18862
}
 
18863
static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
 
18864
    return (void *)((wxObject *)  ((wxImageHandler *) x));
 
18865
}
 
18866
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
 
18867
    return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
 
18868
}
 
18869
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
 
18870
    return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
 
18871
}
 
18872
static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
 
18873
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
 
18874
}
 
18875
static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
 
18876
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
 
18877
}
 
18878
static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
 
18879
    return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
 
18880
}
 
18881
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
 
18882
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
 
18883
}
 
18884
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
 
18885
    return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
 
18886
}
 
18887
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
 
18888
    return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
 
18889
}
 
18890
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
 
18891
    return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
 
18892
}
 
18893
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
 
18894
    return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
 
18895
}
 
18896
static void *_p_wxShowEventTo_p_wxObject(void *x) {
 
18897
    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
 
18898
}
 
18899
static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
 
18900
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
 
18901
}
 
18902
static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
 
18903
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
18904
}
 
18905
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
 
18906
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
 
18907
}
 
18908
static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
 
18909
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
 
18910
}
 
18911
static void *_p_wxTipWindowTo_p_wxObject(void *x) {
 
18912
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
18913
}
 
18914
static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
 
18915
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
18916
}
 
18917
static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
 
18918
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
 
18919
}
 
18920
static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
 
18921
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
 
18922
}
 
18923
static void *_p_wxSashWindowTo_p_wxObject(void *x) {
 
18924
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
 
18925
}
 
18926
static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
 
18927
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
 
18928
}
 
18929
static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
 
18930
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
 
18931
}
 
18932
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
 
18933
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
 
18934
}
 
18935
static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
 
18936
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
 
18937
}
 
18938
static void *_p_wxWindowTo_p_wxObject(void *x) {
 
18939
    return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
 
18940
}
 
18941
static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
 
18942
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
 
18943
}
 
18944
static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
 
18945
    return (void *)((wxObject *)  ((wxHelpControllerBase *) x));
 
18946
}
 
18947
static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
 
18948
    return (void *)((wxObject *)  ((wxHtmlDCRenderer *) x));
 
18949
}
 
18950
static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
 
18951
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
18952
}
 
18953
static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
 
18954
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
 
18955
}
 
18956
static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
 
18957
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
18958
}
 
18959
static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
 
18960
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
18961
}
 
18962
static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
 
18963
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
18964
}
 
18965
static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
 
18966
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
18967
}
 
18968
static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
 
18969
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
18970
}
 
18971
static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
 
18972
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
18973
}
 
18974
static void *_p_wxFileDialogTo_p_wxObject(void *x) {
 
18975
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
18976
}
 
18977
static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
 
18978
    return (void *)((wxObject *)  ((wxHtmlLinkInfo *) x));
 
18979
}
 
18980
static void *_p_wxPyWindowTo_p_wxObject(void *x) {
 
18981
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
 
18982
}
 
18983
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
 
18984
    return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
 
18985
}
 
18986
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
 
18987
    return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
 
18988
}
 
18989
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
 
18990
    return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
 
18991
}
 
18992
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
 
18993
    return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
 
18994
}
 
18995
static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
 
18996
    return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
 
18997
}
 
18998
static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) {
 
18999
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x));
 
19000
}
 
19001
static void *_p_wxPanelTo_p_wxObject(void *x) {
 
19002
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
 
19003
}
 
19004
static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
 
19005
    return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
 
19006
}
 
19007
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
 
19008
    return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
 
19009
}
 
19010
static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
 
19011
    return (void *)((wxObject *)  ((wxHtmlCell *) x));
 
19012
}
 
19013
static void *_p_wxMenuEventTo_p_wxObject(void *x) {
 
19014
    return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
 
19015
}
 
19016
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
 
19017
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
 
19018
}
 
19019
static void *_p_wxCommandEventTo_p_wxObject(void *x) {
 
19020
    return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
 
19021
}
 
19022
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
 
19023
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
 
19024
}
 
19025
static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
 
19026
    return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
 
19027
}
 
19028
static void *_p_wxStatusBarTo_p_wxObject(void *x) {
 
19029
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
 
19030
}
 
19031
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
 
19032
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
 
19033
}
 
19034
static void *_p_wxFocusEventTo_p_wxObject(void *x) {
 
19035
    return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
 
19036
}
 
19037
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
 
19038
    return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
 
19039
}
 
19040
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
 
19041
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
19042
}
 
19043
static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
 
19044
    return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
 
19045
}
 
19046
static void *_p_wxMenuBarTo_p_wxObject(void *x) {
 
19047
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
 
19048
}
 
19049
static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
 
19050
    return (void *)((wxTopLevelWindow *)  ((wxFrame *) x));
 
19051
}
 
19052
static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
 
19053
    return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
 
19054
}
 
19055
static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
 
19056
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
 
19057
}
 
19058
static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
 
19059
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
 
19060
}
 
19061
static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
 
19062
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
 
19063
}
 
19064
static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
 
19065
    return (void *)((wxTopLevelWindow *)  ((wxDialog *) x));
 
19066
}
 
19067
static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
 
19068
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
 
19069
}
 
19070
static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
 
19071
    return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
 
19072
}
 
19073
static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
 
19074
    return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
 
19075
}
 
19076
static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
 
19077
    return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
 
19078
}
 
19079
static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
 
19080
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
 
19081
}
 
19082
static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
 
19083
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
 
19084
}
 
19085
static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
 
19086
    return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
19087
}
 
19088
static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
 
19089
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
 
19090
}
 
19091
static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
 
19092
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
 
19093
}
 
19094
static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
 
19095
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
 
19096
}
 
19097
static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
 
19098
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
 
19099
}
 
19100
static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
 
19101
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxProgressDialog *) x));
 
19102
}
 
19103
static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
 
19104
    return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
 
19105
}
 
19106
static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
 
19107
    return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
 
19108
}
 
19109
static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
 
19110
    return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
 
19111
}
 
19112
static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
 
19113
    return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
19114
}
 
19115
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
 
19116
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
19117
}
 
19118
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
 
19119
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
19120
}
 
19121
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
 
19122
    return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
 
19123
}
 
19124
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
 
19125
    return (void *)((wxWindow *)  ((wxMenuBar *) x));
 
19126
}
 
19127
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
 
19128
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
19129
}
 
19130
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
 
19131
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x));
 
19132
}
 
19133
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
 
19134
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
19135
}
 
19136
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
 
19137
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
19138
}
 
19139
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
 
19140
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
19141
}
 
19142
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
 
19143
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
19144
}
 
19145
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
 
19146
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
19147
}
 
19148
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
 
19149
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
19150
}
 
19151
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
 
19152
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
19153
}
 
19154
static void *_p_wxPanelTo_p_wxWindow(void *x) {
 
19155
    return (void *)((wxWindow *)  ((wxPanel *) x));
 
19156
}
 
19157
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
 
19158
    return (void *)((wxWindow *)  ((wxStatusBar *) x));
 
19159
}
 
19160
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
 
19161
    return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
 
19162
}
 
19163
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
 
19164
    return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
19165
}
 
19166
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
 
19167
    return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
19168
}
 
19169
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
 
19170
    return (void *)((wxWindow *)  ((wxPopupWindow *) x));
 
19171
}
 
19172
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
 
19173
    return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
 
19174
}
 
19175
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
 
19176
    return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
 
19177
}
 
19178
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
 
19179
    return (void *)((wxWindow *)  ((wxTopLevelWindow *) x));
 
19180
}
 
19181
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
 
19182
    return (void *)((wxWindow *)  ((wxSplashScreenWindow *) x));
 
19183
}
 
19184
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
 
19185
    return (void *)((wxWindow *)  ((wxSplitterWindow *) x));
 
19186
}
 
19187
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
 
19188
    return (void *)((wxWindow *)  ((wxSashWindow *) x));
 
19189
}
 
19190
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
 
19191
    return (void *)((wxWindow *)  ((wxMDIClientWindow *) x));
 
19192
}
 
19193
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
 
19194
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
19195
}
 
19196
static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
 
19197
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
 
19198
}
 
19199
static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
 
19200
    return (void *)((wxWindow *)  ((wxHtmlHelpWindow *) x));
 
19201
}
 
19202
static void *_p_wxControlTo_p_wxWindow(void *x) {
 
19203
    return (void *)((wxWindow *)  ((wxControl *) x));
 
19204
}
 
19205
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
 
19206
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
19207
}
 
19208
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
 
19209
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
19210
}
 
19211
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
 
19212
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
19213
}
 
19214
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
 
19215
    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
 
19216
}
 
19217
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
 
19218
    return (void *)((wxWindow *)  ((wxPyWindow *) x));
 
19219
}
 
19220
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
 
19221
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
19222
}
 
19223
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
 
19224
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
19225
}
 
19226
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
 
19227
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
19228
}
 
19229
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
 
19230
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
19231
}
 
19232
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
 
19233
    return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
 
19234
}
 
19235
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
 
19236
    return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
19237
}
 
19238
static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
 
19239
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
 
19240
}
 
19241
static void *_p_wxFrameTo_p_wxWindow(void *x) {
 
19242
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
 
19243
}
 
19244
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
 
19245
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
19246
}
 
19247
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
 
19248
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
19249
}
 
19250
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
 
19251
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
19252
}
 
19253
static void *_p_wxDialogTo_p_wxWindow(void *x) {
 
19254
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
 
19255
}
 
19256
static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
 
19257
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
 
19258
}
 
19259
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
 
19260
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
19261
}
 
19262
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
 
19263
    return (void *)((wxScrolledWindow *)  ((wxPyScrolledWindow *) x));
 
19264
}
 
19265
static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
 
19266
    return (void *)((wxScrolledWindow *)  ((wxPyHtmlWindow *) x));
 
19267
}
 
19268
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
 
19269
    return (void *)((wxScrolledWindow *)  ((wxPreviewCanvas *) x));
 
19270
}
 
19271
static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
 
19272
    return (void *)((wxDialog *)  ((wxColourDialog *) x));
 
19273
}
 
19274
static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
 
19275
    return (void *)((wxDialog *)  ((wxDirDialog *) x));
 
19276
}
 
19277
static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
 
19278
    return (void *)((wxDialog *)  ((wxFontDialog *) x));
 
19279
}
 
19280
static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
 
19281
    return (void *)((wxDialog *)  ((wxHtmlHelpDialog *) x));
 
19282
}
 
19283
static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
 
19284
    return (void *)((wxDialog *)  ((wxFileDialog *) x));
 
19285
}
 
19286
static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
 
19287
    return (void *)((wxDialog *)  ((wxMultiChoiceDialog *) x));
 
19288
}
 
19289
static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
 
19290
    return (void *)((wxDialog *)  ((wxSingleChoiceDialog *) x));
 
19291
}
 
19292
static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
 
19293
    return (void *)((wxDialog *)  ((wxTextEntryDialog *) x));
 
19294
}
 
19295
static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
 
19296
    return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
19297
}
 
19298
static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
 
19299
    return (void *)((wxDialog *)  ((wxNumberEntryDialog *) x));
 
19300
}
 
19301
static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
 
19302
    return (void *)((wxDialog *)  ((wxMessageDialog *) x));
 
19303
}
 
19304
static void *_p_wxProgressDialogTo_p_wxDialog(void *x) {
 
19305
    return (void *)((wxDialog *)  ((wxProgressDialog *) x));
 
19306
}
 
19307
static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
 
19308
    return (void *)((wxDialog *)  ((wxFindReplaceDialog *) x));
 
19309
}
 
19310
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
 
19311
    return (void *)((wxPanel *)  ((wxScrolledWindow *) x));
 
19312
}
 
19313
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
 
19314
    return (void *)((wxPanel *)  ((wxPyVScrolledWindow *) x));
 
19315
}
 
19316
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
 
19317
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
19318
}
 
19319
static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
 
19320
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
 
19321
}
 
19322
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
 
19323
    return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
19324
}
 
19325
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
 
19326
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
19327
}
 
19328
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
 
19329
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
19330
}
 
19331
static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
 
19332
    return (void *)((wxPanel *)  ((wxPyPanel *) x));
 
19333
}
 
19334
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
 
19335
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
19336
}
 
19337
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
 
19338
    return (void *)((wxPanel *)  ((wxPreviewControlBar *) x));
 
19339
}
 
19340
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
 
19341
    return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
19342
}
 
19343
static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
 
19344
    return (void *)((wxHtmlParser *)  ((wxHtmlWinParser *) x));
 
19345
}
 
19346
static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
 
19347
    return (void *)((wxHelpControllerBase *)  ((wxHtmlHelpController *) x));
 
19348
}
 
19349
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
 
19350
    return (void *)((wxCommandEvent *)  ((wxSashEvent *) x));
 
19351
}
 
19352
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
 
19353
    return (void *)((wxCommandEvent *)  ((wxWindowDestroyEvent *) x));
 
19354
}
 
19355
static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) {
 
19356
    return (void *)((wxCommandEvent *)  ((wxHtmlLinkEvent *) x));
 
19357
}
 
19358
static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
 
19359
    return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
 
19360
}
 
19361
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
 
19362
    return (void *)((wxCommandEvent *)  ((wxClipboardTextEvent *) x));
 
19363
}
 
19364
static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) {
 
19365
    return (void *)((wxCommandEvent *)  ((wxHtmlCellEvent *) x));
 
19366
}
 
19367
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
 
19368
    return (void *)((wxCommandEvent *)  ((wxScrollEvent *) x));
 
19369
}
 
19370
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
 
19371
    return (void *)((wxCommandEvent *)  ((wxPyCommandEvent *) x));
 
19372
}
 
19373
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
 
19374
    return (void *)((wxCommandEvent *)  ((wxContextMenuEvent *) x));
 
19375
}
 
19376
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
 
19377
    return (void *)((wxCommandEvent *)  ((wxChildFocusEvent *) x));
 
19378
}
 
19379
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
 
19380
    return (void *)((wxCommandEvent *)  ((wxDateEvent *) x));
 
19381
}
 
19382
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
 
19383
    return (void *)((wxCommandEvent *)  ((wxWindowCreateEvent *) x));
 
19384
}
 
19385
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
 
19386
    return (void *)((wxCommandEvent *)  ((wxNotifyEvent *) x));
 
19387
}
 
19388
static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
 
19389
    return (void *)((wxCommandEvent *)  ((wxFindDialogEvent *) x));
 
19390
}
 
19391
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
 
19392
    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
 
19393
}
 
19394
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
 
19395
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
 
19396
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};
 
19397
static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
 
19398
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
 
19399
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
 
19400
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
 
19401
static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
 
19402
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
 
19403
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
 
19404
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
 
19405
static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
 
19406
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
 
19407
static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
 
19408
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
 
19409
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
 
19410
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
 
19411
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
 
19412
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
 
19413
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
 
19414
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
 
19415
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
 
19416
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
 
19417
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
 
19418
static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
 
19419
static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
 
19420
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
 
19421
static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
 
19422
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
 
19423
static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
 
19424
static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
 
19425
static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
 
19426
static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
 
19427
static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
 
19428
static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
 
19429
static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
 
19430
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
 
19431
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
 
19432
static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
 
19433
static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
 
19434
static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
 
19435
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
 
19436
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
 
19437
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
 
19438
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
 
19439
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
 
19440
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
 
19441
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
 
19442
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
 
19443
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
 
19444
static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
 
19445
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
 
19446
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
 
19447
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
 
19448
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
 
19449
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
 
19450
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
 
19451
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
 
19452
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
 
19453
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
 
19454
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
 
19455
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
 
19456
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
 
19457
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
 
19458
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
 
19459
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
 
19460
static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
 
19461
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
 
19462
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
 
19463
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
 
19464
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
 
19465
static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
 
19466
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
 
19467
static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
 
19468
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
 
19469
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
 
19470
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
 
19471
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
 
19472
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
 
19473
static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
 
19474
static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
 
19475
static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
 
19476
static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
 
19477
static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
 
19478
static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
 
19479
static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
 
19480
static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
 
19481
static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
 
19482
static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
 
19483
static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
 
19484
static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
 
19485
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
 
19486
static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
 
19487
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
 
19488
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
 
19489
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0};
 
19490
static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
 
19491
static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
 
19492
static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
 
19493
static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
 
19494
static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
 
19495
static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
 
19496
static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
 
19497
static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
 
19498
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
 
19499
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
 
19500
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
 
19501
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
 
19502
static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
 
19503
static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
 
19504
static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
 
19505
static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
 
19506
static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
 
19507
static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
 
19508
static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
 
19509
static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
 
19510
static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
 
19511
static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
 
19512
static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
 
19513
static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
 
19514
static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
 
19515
static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
 
19516
static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
 
19517
static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
 
19518
static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
 
19519
static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
 
19520
static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
 
19521
static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
 
19522
static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
 
19523
static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
 
19524
static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
 
19525
static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
 
19526
static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
 
19527
static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
 
19528
static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
 
19529
static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
 
19530
static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
 
19531
static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
 
19532
static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
 
19533
static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
 
19534
static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
 
19535
static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
 
19536
static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
 
19537
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
 
19538
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
 
19539
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
 
19540
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
 
19541
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
 
19542
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
 
19543
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
 
19544
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
 
19545
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
 
19546
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
 
19547
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
 
19548
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
 
19549
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
 
19550
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
 
19551
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
 
19552
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
 
19553
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
 
19554
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
 
19555
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
 
19556
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
 
19557
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
 
19558
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
 
19559
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
 
19560
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
 
19561
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
 
19562
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
 
19563
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
 
19564
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
 
19565
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
 
19566
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
 
19567
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
 
19568
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
 
19569
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
 
19570
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
 
19571
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
 
19572
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
 
19573
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
 
19574
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
 
19575
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
 
19576
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
 
19577
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
 
19578
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
 
19579
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
 
19580
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
 
19581
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
 
19582
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
 
19583
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
 
19584
static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
 
19585
static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
 
19586
static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
 
19587
static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
 
19588
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
 
19589
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
 
19590
static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
 
19591
static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
 
19592
static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
 
19593
static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
 
19594
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
 
19595
 
 
19596
static swig_type_info *swig_type_initial[] = {
 
19597
  &_swigt__p_char,
 
19598
  &_swigt__p_double,
 
19599
  &_swigt__p_form_ops_t,
 
19600
  &_swigt__p_int,
 
19601
  &_swigt__p_unsigned_char,
 
19602
  &_swigt__p_unsigned_int,
 
19603
  &_swigt__p_unsigned_long,
 
19604
  &_swigt__p_wxANIHandler,
 
19605
  &_swigt__p_wxAcceleratorTable,
 
19606
  &_swigt__p_wxActivateEvent,
 
19607
  &_swigt__p_wxArrayInt,
 
19608
  &_swigt__p_wxBMPHandler,
 
19609
  &_swigt__p_wxBitmap,
 
19610
  &_swigt__p_wxBoxSizer,
 
19611
  &_swigt__p_wxCURHandler,
 
19612
  &_swigt__p_wxCalculateLayoutEvent,
 
19613
  &_swigt__p_wxChildFocusEvent,
 
19614
  &_swigt__p_wxClipboardTextEvent,
 
19615
  &_swigt__p_wxCloseEvent,
 
19616
  &_swigt__p_wxColour,
 
19617
  &_swigt__p_wxColourData,
 
19618
  &_swigt__p_wxColourDialog,
 
19619
  &_swigt__p_wxCommandEvent,
 
19620
  &_swigt__p_wxConfigBase,
 
19621
  &_swigt__p_wxContextMenuEvent,
 
19622
  &_swigt__p_wxControl,
 
19623
  &_swigt__p_wxControlWithItems,
 
19624
  &_swigt__p_wxCursor,
 
19625
  &_swigt__p_wxDC,
 
19626
  &_swigt__p_wxDateEvent,
 
19627
  &_swigt__p_wxDefaultHtmlRenderingStyle,
 
19628
  &_swigt__p_wxDialog,
 
19629
  &_swigt__p_wxDirDialog,
 
19630
  &_swigt__p_wxDisplayChangedEvent,
 
19631
  &_swigt__p_wxDropFilesEvent,
 
19632
  &_swigt__p_wxDuplexMode,
 
19633
  &_swigt__p_wxEraseEvent,
 
19634
  &_swigt__p_wxEvent,
 
19635
  &_swigt__p_wxEvtHandler,
 
19636
  &_swigt__p_wxFSFile,
 
19637
  &_swigt__p_wxFileDialog,
 
19638
  &_swigt__p_wxFileSystem,
 
19639
  &_swigt__p_wxFindDialogEvent,
 
19640
  &_swigt__p_wxFindReplaceData,
 
19641
  &_swigt__p_wxFindReplaceDialog,
 
19642
  &_swigt__p_wxFlexGridSizer,
 
19643
  &_swigt__p_wxFocusEvent,
 
19644
  &_swigt__p_wxFont,
 
19645
  &_swigt__p_wxFontData,
 
19646
  &_swigt__p_wxFontDialog,
 
19647
  &_swigt__p_wxFrame,
 
19648
  &_swigt__p_wxGBSizerItem,
 
19649
  &_swigt__p_wxGIFHandler,
 
19650
  &_swigt__p_wxGridBagSizer,
 
19651
  &_swigt__p_wxGridSizer,
 
19652
  &_swigt__p_wxHelpControllerBase,
 
19653
  &_swigt__p_wxHelpSearchMode,
 
19654
  &_swigt__p_wxHtmlBookRecArray,
 
19655
  &_swigt__p_wxHtmlBookRecord,
 
19656
  &_swigt__p_wxHtmlCell,
 
19657
  &_swigt__p_wxHtmlCellEvent,
 
19658
  &_swigt__p_wxHtmlColourCell,
 
19659
  &_swigt__p_wxHtmlContainerCell,
 
19660
  &_swigt__p_wxHtmlDCRenderer,
 
19661
  &_swigt__p_wxHtmlEasyPrinting,
 
19662
  &_swigt__p_wxHtmlFilter,
 
19663
  &_swigt__p_wxHtmlFontCell,
 
19664
  &_swigt__p_wxHtmlHelpController,
 
19665
  &_swigt__p_wxHtmlHelpData,
 
19666
  &_swigt__p_wxHtmlHelpDialog,
 
19667
  &_swigt__p_wxHtmlHelpFrame,
 
19668
  &_swigt__p_wxHtmlHelpFrameCfg,
 
19669
  &_swigt__p_wxHtmlHelpWindow,
 
19670
  &_swigt__p_wxHtmlLinkEvent,
 
19671
  &_swigt__p_wxHtmlLinkInfo,
 
19672
  &_swigt__p_wxHtmlModalHelp,
 
19673
  &_swigt__p_wxHtmlParser,
 
19674
  &_swigt__p_wxHtmlPrintout,
 
19675
  &_swigt__p_wxHtmlRenderingInfo,
 
19676
  &_swigt__p_wxHtmlRenderingState,
 
19677
  &_swigt__p_wxHtmlRenderingStyle,
 
19678
  &_swigt__p_wxHtmlSearchStatus,
 
19679
  &_swigt__p_wxHtmlSelection,
 
19680
  &_swigt__p_wxHtmlTag,
 
19681
  &_swigt__p_wxHtmlTagHandler,
 
19682
  &_swigt__p_wxHtmlWidgetCell,
 
19683
  &_swigt__p_wxHtmlWinParser,
 
19684
  &_swigt__p_wxHtmlWindowInterface,
 
19685
  &_swigt__p_wxHtmlWordCell,
 
19686
  &_swigt__p_wxICOHandler,
 
19687
  &_swigt__p_wxIconizeEvent,
 
19688
  &_swigt__p_wxIdleEvent,
 
19689
  &_swigt__p_wxImage,
 
19690
  &_swigt__p_wxImageHandler,
 
19691
  &_swigt__p_wxIndividualLayoutConstraint,
 
19692
  &_swigt__p_wxInitDialogEvent,
 
19693
  &_swigt__p_wxJPEGHandler,
 
19694
  &_swigt__p_wxKeyEvent,
 
19695
  &_swigt__p_wxLayoutAlgorithm,
 
19696
  &_swigt__p_wxLayoutConstraints,
 
19697
  &_swigt__p_wxMDIChildFrame,
 
19698
  &_swigt__p_wxMDIClientWindow,
 
19699
  &_swigt__p_wxMDIParentFrame,
 
19700
  &_swigt__p_wxMaximizeEvent,
 
19701
  &_swigt__p_wxMenu,
 
19702
  &_swigt__p_wxMenuBar,
 
19703
  &_swigt__p_wxMenuEvent,
 
19704
  &_swigt__p_wxMenuItem,
 
19705
  &_swigt__p_wxMessageDialog,
 
19706
  &_swigt__p_wxMiniFrame,
 
19707
  &_swigt__p_wxMouseCaptureChangedEvent,
 
19708
  &_swigt__p_wxMouseCaptureLostEvent,
 
19709
  &_swigt__p_wxMouseEvent,
 
19710
  &_swigt__p_wxMoveEvent,
 
19711
  &_swigt__p_wxMultiChoiceDialog,
 
19712
  &_swigt__p_wxNavigationKeyEvent,
 
19713
  &_swigt__p_wxNcPaintEvent,
 
19714
  &_swigt__p_wxNotifyEvent,
 
19715
  &_swigt__p_wxNumberEntryDialog,
 
19716
  &_swigt__p_wxObject,
 
19717
  &_swigt__p_wxPCXHandler,
 
19718
  &_swigt__p_wxPNGHandler,
 
19719
  &_swigt__p_wxPNMHandler,
 
19720
  &_swigt__p_wxPageSetupDialog,
 
19721
  &_swigt__p_wxPageSetupDialogData,
 
19722
  &_swigt__p_wxPaintEvent,
 
19723
  &_swigt__p_wxPaletteChangedEvent,
 
19724
  &_swigt__p_wxPanel,
 
19725
  &_swigt__p_wxPaperSize,
 
19726
  &_swigt__p_wxPasswordEntryDialog,
 
19727
  &_swigt__p_wxPoint,
 
19728
  &_swigt__p_wxPopupWindow,
 
19729
  &_swigt__p_wxPreviewCanvas,
 
19730
  &_swigt__p_wxPreviewControlBar,
 
19731
  &_swigt__p_wxPreviewFrame,
 
19732
  &_swigt__p_wxPrintData,
 
19733
  &_swigt__p_wxPrintDialog,
 
19734
  &_swigt__p_wxPrintDialogData,
 
19735
  &_swigt__p_wxPrintPreview,
 
19736
  &_swigt__p_wxPrinter,
 
19737
  &_swigt__p_wxProgressDialog,
 
19738
  &_swigt__p_wxPyApp,
 
19739
  &_swigt__p_wxPyCommandEvent,
 
19740
  &_swigt__p_wxPyEvent,
 
19741
  &_swigt__p_wxPyEvtHandler,
 
19742
  &_swigt__p_wxPyHtmlFilter,
 
19743
  &_swigt__p_wxPyHtmlListBox,
 
19744
  &_swigt__p_wxPyHtmlTagHandler,
 
19745
  &_swigt__p_wxPyHtmlWinTagHandler,
 
19746
  &_swigt__p_wxPyHtmlWindow,
 
19747
  &_swigt__p_wxPyImageHandler,
 
19748
  &_swigt__p_wxPyPanel,
 
19749
  &_swigt__p_wxPyPopupTransientWindow,
 
19750
  &_swigt__p_wxPyPreviewControlBar,
 
19751
  &_swigt__p_wxPyPreviewFrame,
 
19752
  &_swigt__p_wxPyPrintPreview,
 
19753
  &_swigt__p_wxPyPrintout,
 
19754
  &_swigt__p_wxPyScrolledWindow,
 
19755
  &_swigt__p_wxPySizer,
 
19756
  &_swigt__p_wxPyTaskBarIcon,
 
19757
  &_swigt__p_wxPyVListBox,
 
19758
  &_swigt__p_wxPyVScrolledWindow,
 
19759
  &_swigt__p_wxPyValidator,
 
19760
  &_swigt__p_wxPyWindow,
 
19761
  &_swigt__p_wxQueryLayoutInfoEvent,
 
19762
  &_swigt__p_wxQueryNewPaletteEvent,
 
19763
  &_swigt__p_wxSashEvent,
 
19764
  &_swigt__p_wxSashLayoutWindow,
 
19765
  &_swigt__p_wxSashWindow,
 
19766
  &_swigt__p_wxScrollEvent,
 
19767
  &_swigt__p_wxScrollWinEvent,
 
19768
  &_swigt__p_wxScrolledWindow,
 
19769
  &_swigt__p_wxSetCursorEvent,
 
19770
  &_swigt__p_wxShowEvent,
 
19771
  &_swigt__p_wxSimpleHtmlListBox,
 
19772
  &_swigt__p_wxSingleChoiceDialog,
 
19773
  &_swigt__p_wxSizeEvent,
 
19774
  &_swigt__p_wxSizer,
 
19775
  &_swigt__p_wxSizerItem,
 
19776
  &_swigt__p_wxSplashScreen,
 
19777
  &_swigt__p_wxSplashScreenWindow,
 
19778
  &_swigt__p_wxSplitterEvent,
 
19779
  &_swigt__p_wxSplitterWindow,
 
19780
  &_swigt__p_wxStaticBoxSizer,
 
19781
  &_swigt__p_wxStatusBar,
 
19782
  &_swigt__p_wxStdDialogButtonSizer,
 
19783
  &_swigt__p_wxString,
 
19784
  &_swigt__p_wxSysColourChangedEvent,
 
19785
  &_swigt__p_wxTGAHandler,
 
19786
  &_swigt__p_wxTIFFHandler,
 
19787
  &_swigt__p_wxTaskBarIconEvent,
 
19788
  &_swigt__p_wxTextEntryDialog,
 
19789
  &_swigt__p_wxTipWindow,
 
19790
  &_swigt__p_wxTopLevelWindow,
 
19791
  &_swigt__p_wxUpdateUIEvent,
 
19792
  &_swigt__p_wxValidator,
 
19793
  &_swigt__p_wxVisualAttributes,
 
19794
  &_swigt__p_wxWindow,
 
19795
  &_swigt__p_wxWindowCreateEvent,
 
19796
  &_swigt__p_wxWindowDestroyEvent,
 
19797
  &_swigt__p_wxXPMHandler,
 
19798
};
 
19799
 
 
19800
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
 
19801
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
 
19802
static swig_cast_info _swigc__p_form_ops_t[] = {  {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
 
19803
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
 
19804
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
 
19805
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
 
19806
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
 
19807
static swig_cast_info _swigc__p_wxArrayInt[] = {  {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
 
19808
static swig_cast_info _swigc__p_wxBitmap[] = {  {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
 
19809
static swig_cast_info _swigc__p_wxColour[] = {  {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
 
19810
static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19811
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19812
static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19813
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19814
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19815
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19816
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19817
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19818
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19819
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19820
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19821
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19822
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19823
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_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_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_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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}};
 
19824
static swig_cast_info _swigc__p_wxConfigBase[] = {  {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
 
19825
static swig_cast_info _swigc__p_wxCursor[] = {  {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
 
19826
static swig_cast_info _swigc__p_wxDC[] = {  {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
 
19827
static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = {  {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
 
19828
static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19829
static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19830
static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19831
static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19832
static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19833
static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19834
static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19835
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19836
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19837
static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19838
static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19839
static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19840
static swig_cast_info _swigc__p_wxDialog[] = {  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxDialog, 0, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxDialog, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
 
19841
static swig_cast_info _swigc__p_wxDuplexMode[] = {  {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
 
19842
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19843
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19844
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19845
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19846
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19847
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19848
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19849
static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19850
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19851
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19852
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19853
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19854
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19855
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19856
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19857
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19858
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19859
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19860
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19861
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19862
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19863
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19864
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19865
static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19866
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19867
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19868
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19869
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19870
static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19871
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_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_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_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_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_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},  {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
 
19872
static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
 
19873
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
 
19874
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
 
19875
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
 
19876
static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
 
19877
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
 
19878
static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
 
19879
static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19880
static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19881
static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19882
static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19883
static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19884
static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19885
static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19886
static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19887
static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19888
static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
 
19889
static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
 
19890
static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
 
19891
static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
 
19892
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
 
19893
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
 
19894
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19895
static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
 
19896
static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19897
static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
 
19898
static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
 
19899
static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
 
19900
static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
 
19901
static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
 
19902
static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
 
19903
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
 
19904
static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
 
19905
static swig_cast_info _swigc__p_wxEvtHandler[] = {  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxEvtHandler, 0, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
 
19906
static swig_cast_info _swigc__p_wxFileSystem[] = {  {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
 
19907
static swig_cast_info _swigc__p_wxFont[] = {  {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
 
19908
static swig_cast_info _swigc__p_wxFrame[] = {  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0},  {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0},  {&_swigt__p_wxFrame, 0, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
 
19909
static swig_cast_info _swigc__p_wxHelpControllerBase[] = {  {&_swigt__p_wxHelpControllerBase, 0, 0, 0},  {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}};
 
19910
static swig_cast_info _swigc__p_wxHelpSearchMode[] = {  {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
 
19911
static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = {  {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
 
19912
static swig_cast_info _swigc__p_wxHtmlBookRecord[] = {  {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
 
19913
static swig_cast_info _swigc__p_wxHtmlCell[] = {  {&_swigt__p_wxHtmlCell, 0, 0, 0},  {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0},  {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0},  {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0},  {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0},  {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}};
 
19914
static swig_cast_info _swigc__p_wxHtmlCellEvent[] = {  {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19915
static swig_cast_info _swigc__p_wxHtmlColourCell[] = {  {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
 
19916
static swig_cast_info _swigc__p_wxHtmlContainerCell[] = {  {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
 
19917
static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = {  {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
 
19918
static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = {  {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
 
19919
static swig_cast_info _swigc__p_wxHtmlFilter[] = {  {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
 
19920
static swig_cast_info _swigc__p_wxHtmlFontCell[] = {  {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
 
19921
static swig_cast_info _swigc__p_wxHtmlHelpController[] = {  {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
 
19922
static swig_cast_info _swigc__p_wxHtmlHelpData[] = {  {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
 
19923
static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = {  {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19924
static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = {  {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
 
19925
static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = {  {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
 
19926
static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = {  {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19927
static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = {  {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19928
static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = {  {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
 
19929
static swig_cast_info _swigc__p_wxHtmlModalHelp[] = {  {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
 
19930
static swig_cast_info _swigc__p_wxHtmlParser[] = {  {&_swigt__p_wxHtmlParser, 0, 0, 0},  {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}};
 
19931
static swig_cast_info _swigc__p_wxHtmlPrintout[] = {  {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
 
19932
static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = {  {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
 
19933
static swig_cast_info _swigc__p_wxHtmlRenderingState[] = {  {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
 
19934
static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = {  {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0},  {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}};
 
19935
static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = {  {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
 
19936
static swig_cast_info _swigc__p_wxHtmlSelection[] = {  {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
 
19937
static swig_cast_info _swigc__p_wxHtmlTag[] = {  {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
 
19938
static swig_cast_info _swigc__p_wxHtmlTagHandler[] = {  {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19939
static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = {  {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
 
19940
static swig_cast_info _swigc__p_wxHtmlWinParser[] = {  {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
 
19941
static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = {  {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
 
19942
static swig_cast_info _swigc__p_wxHtmlWordCell[] = {  {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
 
19943
static swig_cast_info _swigc__p_wxMouseEvent[] = {  {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
 
19944
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
 
19945
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
 
19946
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
 
19947
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
 
19948
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
 
19949
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
 
19950
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
 
19951
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
 
19952
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19953
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19954
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
 
19955
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
 
19956
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19957
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
 
19958
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
 
19959
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
 
19960
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
 
19961
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19962
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19963
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19964
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
 
19965
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
 
19966
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
19967
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
19968
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19969
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
 
19970
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19971
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19972
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19973
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19974
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19975
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19976
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19977
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19978
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19979
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19980
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19981
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19982
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19983
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19984
static swig_cast_info _swigc__p_wxObject[] = {  {&_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_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_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_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_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_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_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_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_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_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_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_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_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_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_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_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_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_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_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_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_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
 
19985
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {  {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
 
19986
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_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_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}};
 
19987
static swig_cast_info _swigc__p_wxPaperSize[] = {  {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
 
19988
static swig_cast_info _swigc__p_wxPoint[] = {  {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
 
19989
static swig_cast_info _swigc__p_wxPrintData[] = {  {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
 
19990
static swig_cast_info _swigc__p_wxPyHtmlFilter[] = {  {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
 
19991
static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = {  {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0},  {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}};
 
19992
static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = {  {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
 
19993
static swig_cast_info _swigc__p_wxPyHtmlWindow[] = {  {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19994
static swig_cast_info _swigc__p_wxPyPrintout[] = {  {&_swigt__p_wxPyPrintout, 0, 0, 0},  {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0},{0, 0, 0, 0}};
 
19995
static swig_cast_info _swigc__p_wxScrolledWindow[] = {  {&_swigt__p_wxScrolledWindow, 0, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0},  {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
 
19996
static swig_cast_info _swigc__p_wxSplitterWindow[] = {  {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
 
19997
static swig_cast_info _swigc__p_wxString[] = {  {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
 
19998
static swig_cast_info _swigc__p_wxTopLevelWindow[] = {  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxTopLevelWindow, 0, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
 
19999
static swig_cast_info _swigc__p_wxVisualAttributes[] = {  {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
 
20000
static swig_cast_info _swigc__p_wxWindow[] = {  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxWindow, 0, 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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
 
20001
 
 
20002
static swig_cast_info *swig_cast_initial[] = {
 
20003
  _swigc__p_char,
 
20004
  _swigc__p_double,
 
20005
  _swigc__p_form_ops_t,
 
20006
  _swigc__p_int,
 
20007
  _swigc__p_unsigned_char,
 
20008
  _swigc__p_unsigned_int,
 
20009
  _swigc__p_unsigned_long,
 
20010
  _swigc__p_wxANIHandler,
 
20011
  _swigc__p_wxAcceleratorTable,
 
20012
  _swigc__p_wxActivateEvent,
 
20013
  _swigc__p_wxArrayInt,
 
20014
  _swigc__p_wxBMPHandler,
 
20015
  _swigc__p_wxBitmap,
 
20016
  _swigc__p_wxBoxSizer,
 
20017
  _swigc__p_wxCURHandler,
 
20018
  _swigc__p_wxCalculateLayoutEvent,
 
20019
  _swigc__p_wxChildFocusEvent,
 
20020
  _swigc__p_wxClipboardTextEvent,
 
20021
  _swigc__p_wxCloseEvent,
 
20022
  _swigc__p_wxColour,
 
20023
  _swigc__p_wxColourData,
 
20024
  _swigc__p_wxColourDialog,
 
20025
  _swigc__p_wxCommandEvent,
 
20026
  _swigc__p_wxConfigBase,
 
20027
  _swigc__p_wxContextMenuEvent,
 
20028
  _swigc__p_wxControl,
 
20029
  _swigc__p_wxControlWithItems,
 
20030
  _swigc__p_wxCursor,
 
20031
  _swigc__p_wxDC,
 
20032
  _swigc__p_wxDateEvent,
 
20033
  _swigc__p_wxDefaultHtmlRenderingStyle,
 
20034
  _swigc__p_wxDialog,
 
20035
  _swigc__p_wxDirDialog,
 
20036
  _swigc__p_wxDisplayChangedEvent,
 
20037
  _swigc__p_wxDropFilesEvent,
 
20038
  _swigc__p_wxDuplexMode,
 
20039
  _swigc__p_wxEraseEvent,
 
20040
  _swigc__p_wxEvent,
 
20041
  _swigc__p_wxEvtHandler,
 
20042
  _swigc__p_wxFSFile,
 
20043
  _swigc__p_wxFileDialog,
 
20044
  _swigc__p_wxFileSystem,
 
20045
  _swigc__p_wxFindDialogEvent,
 
20046
  _swigc__p_wxFindReplaceData,
 
20047
  _swigc__p_wxFindReplaceDialog,
 
20048
  _swigc__p_wxFlexGridSizer,
 
20049
  _swigc__p_wxFocusEvent,
 
20050
  _swigc__p_wxFont,
 
20051
  _swigc__p_wxFontData,
 
20052
  _swigc__p_wxFontDialog,
 
20053
  _swigc__p_wxFrame,
 
20054
  _swigc__p_wxGBSizerItem,
 
20055
  _swigc__p_wxGIFHandler,
 
20056
  _swigc__p_wxGridBagSizer,
 
20057
  _swigc__p_wxGridSizer,
 
20058
  _swigc__p_wxHelpControllerBase,
 
20059
  _swigc__p_wxHelpSearchMode,
 
20060
  _swigc__p_wxHtmlBookRecArray,
 
20061
  _swigc__p_wxHtmlBookRecord,
 
20062
  _swigc__p_wxHtmlCell,
 
20063
  _swigc__p_wxHtmlCellEvent,
 
20064
  _swigc__p_wxHtmlColourCell,
 
20065
  _swigc__p_wxHtmlContainerCell,
 
20066
  _swigc__p_wxHtmlDCRenderer,
 
20067
  _swigc__p_wxHtmlEasyPrinting,
 
20068
  _swigc__p_wxHtmlFilter,
 
20069
  _swigc__p_wxHtmlFontCell,
 
20070
  _swigc__p_wxHtmlHelpController,
 
20071
  _swigc__p_wxHtmlHelpData,
 
20072
  _swigc__p_wxHtmlHelpDialog,
 
20073
  _swigc__p_wxHtmlHelpFrame,
 
20074
  _swigc__p_wxHtmlHelpFrameCfg,
 
20075
  _swigc__p_wxHtmlHelpWindow,
 
20076
  _swigc__p_wxHtmlLinkEvent,
 
20077
  _swigc__p_wxHtmlLinkInfo,
 
20078
  _swigc__p_wxHtmlModalHelp,
 
20079
  _swigc__p_wxHtmlParser,
 
20080
  _swigc__p_wxHtmlPrintout,
 
20081
  _swigc__p_wxHtmlRenderingInfo,
 
20082
  _swigc__p_wxHtmlRenderingState,
 
20083
  _swigc__p_wxHtmlRenderingStyle,
 
20084
  _swigc__p_wxHtmlSearchStatus,
 
20085
  _swigc__p_wxHtmlSelection,
 
20086
  _swigc__p_wxHtmlTag,
 
20087
  _swigc__p_wxHtmlTagHandler,
 
20088
  _swigc__p_wxHtmlWidgetCell,
 
20089
  _swigc__p_wxHtmlWinParser,
 
20090
  _swigc__p_wxHtmlWindowInterface,
 
20091
  _swigc__p_wxHtmlWordCell,
 
20092
  _swigc__p_wxICOHandler,
 
20093
  _swigc__p_wxIconizeEvent,
 
20094
  _swigc__p_wxIdleEvent,
 
20095
  _swigc__p_wxImage,
 
20096
  _swigc__p_wxImageHandler,
 
20097
  _swigc__p_wxIndividualLayoutConstraint,
 
20098
  _swigc__p_wxInitDialogEvent,
 
20099
  _swigc__p_wxJPEGHandler,
 
20100
  _swigc__p_wxKeyEvent,
 
20101
  _swigc__p_wxLayoutAlgorithm,
 
20102
  _swigc__p_wxLayoutConstraints,
 
20103
  _swigc__p_wxMDIChildFrame,
 
20104
  _swigc__p_wxMDIClientWindow,
 
20105
  _swigc__p_wxMDIParentFrame,
 
20106
  _swigc__p_wxMaximizeEvent,
 
20107
  _swigc__p_wxMenu,
 
20108
  _swigc__p_wxMenuBar,
 
20109
  _swigc__p_wxMenuEvent,
 
20110
  _swigc__p_wxMenuItem,
 
20111
  _swigc__p_wxMessageDialog,
 
20112
  _swigc__p_wxMiniFrame,
 
20113
  _swigc__p_wxMouseCaptureChangedEvent,
 
20114
  _swigc__p_wxMouseCaptureLostEvent,
 
20115
  _swigc__p_wxMouseEvent,
 
20116
  _swigc__p_wxMoveEvent,
 
20117
  _swigc__p_wxMultiChoiceDialog,
 
20118
  _swigc__p_wxNavigationKeyEvent,
 
20119
  _swigc__p_wxNcPaintEvent,
 
20120
  _swigc__p_wxNotifyEvent,
 
20121
  _swigc__p_wxNumberEntryDialog,
 
20122
  _swigc__p_wxObject,
 
20123
  _swigc__p_wxPCXHandler,
 
20124
  _swigc__p_wxPNGHandler,
 
20125
  _swigc__p_wxPNMHandler,
 
20126
  _swigc__p_wxPageSetupDialog,
 
20127
  _swigc__p_wxPageSetupDialogData,
 
20128
  _swigc__p_wxPaintEvent,
 
20129
  _swigc__p_wxPaletteChangedEvent,
 
20130
  _swigc__p_wxPanel,
 
20131
  _swigc__p_wxPaperSize,
 
20132
  _swigc__p_wxPasswordEntryDialog,
 
20133
  _swigc__p_wxPoint,
 
20134
  _swigc__p_wxPopupWindow,
 
20135
  _swigc__p_wxPreviewCanvas,
 
20136
  _swigc__p_wxPreviewControlBar,
 
20137
  _swigc__p_wxPreviewFrame,
 
20138
  _swigc__p_wxPrintData,
 
20139
  _swigc__p_wxPrintDialog,
 
20140
  _swigc__p_wxPrintDialogData,
 
20141
  _swigc__p_wxPrintPreview,
 
20142
  _swigc__p_wxPrinter,
 
20143
  _swigc__p_wxProgressDialog,
 
20144
  _swigc__p_wxPyApp,
 
20145
  _swigc__p_wxPyCommandEvent,
 
20146
  _swigc__p_wxPyEvent,
 
20147
  _swigc__p_wxPyEvtHandler,
 
20148
  _swigc__p_wxPyHtmlFilter,
 
20149
  _swigc__p_wxPyHtmlListBox,
 
20150
  _swigc__p_wxPyHtmlTagHandler,
 
20151
  _swigc__p_wxPyHtmlWinTagHandler,
 
20152
  _swigc__p_wxPyHtmlWindow,
 
20153
  _swigc__p_wxPyImageHandler,
 
20154
  _swigc__p_wxPyPanel,
 
20155
  _swigc__p_wxPyPopupTransientWindow,
 
20156
  _swigc__p_wxPyPreviewControlBar,
 
20157
  _swigc__p_wxPyPreviewFrame,
 
20158
  _swigc__p_wxPyPrintPreview,
 
20159
  _swigc__p_wxPyPrintout,
 
20160
  _swigc__p_wxPyScrolledWindow,
 
20161
  _swigc__p_wxPySizer,
 
20162
  _swigc__p_wxPyTaskBarIcon,
 
20163
  _swigc__p_wxPyVListBox,
 
20164
  _swigc__p_wxPyVScrolledWindow,
 
20165
  _swigc__p_wxPyValidator,
 
20166
  _swigc__p_wxPyWindow,
 
20167
  _swigc__p_wxQueryLayoutInfoEvent,
 
20168
  _swigc__p_wxQueryNewPaletteEvent,
 
20169
  _swigc__p_wxSashEvent,
 
20170
  _swigc__p_wxSashLayoutWindow,
 
20171
  _swigc__p_wxSashWindow,
 
20172
  _swigc__p_wxScrollEvent,
 
20173
  _swigc__p_wxScrollWinEvent,
 
20174
  _swigc__p_wxScrolledWindow,
 
20175
  _swigc__p_wxSetCursorEvent,
 
20176
  _swigc__p_wxShowEvent,
 
20177
  _swigc__p_wxSimpleHtmlListBox,
 
20178
  _swigc__p_wxSingleChoiceDialog,
 
20179
  _swigc__p_wxSizeEvent,
 
20180
  _swigc__p_wxSizer,
 
20181
  _swigc__p_wxSizerItem,
 
20182
  _swigc__p_wxSplashScreen,
 
20183
  _swigc__p_wxSplashScreenWindow,
 
20184
  _swigc__p_wxSplitterEvent,
 
20185
  _swigc__p_wxSplitterWindow,
 
20186
  _swigc__p_wxStaticBoxSizer,
 
20187
  _swigc__p_wxStatusBar,
 
20188
  _swigc__p_wxStdDialogButtonSizer,
 
20189
  _swigc__p_wxString,
 
20190
  _swigc__p_wxSysColourChangedEvent,
 
20191
  _swigc__p_wxTGAHandler,
 
20192
  _swigc__p_wxTIFFHandler,
 
20193
  _swigc__p_wxTaskBarIconEvent,
 
20194
  _swigc__p_wxTextEntryDialog,
 
20195
  _swigc__p_wxTipWindow,
 
20196
  _swigc__p_wxTopLevelWindow,
 
20197
  _swigc__p_wxUpdateUIEvent,
 
20198
  _swigc__p_wxValidator,
 
20199
  _swigc__p_wxVisualAttributes,
 
20200
  _swigc__p_wxWindow,
 
20201
  _swigc__p_wxWindowCreateEvent,
 
20202
  _swigc__p_wxWindowDestroyEvent,
 
20203
  _swigc__p_wxXPMHandler,
 
20204
};
 
20205
 
 
20206
 
 
20207
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
 
20208
 
 
20209
static swig_const_info swig_const_table[] = {
 
20210
{0, 0, 0, 0.0, 0, 0}};
 
20211
 
 
20212
#ifdef __cplusplus
 
20213
}
 
20214
#endif
 
20215
/* -----------------------------------------------------------------------------
 
20216
 * Type initialization:
 
20217
 * This problem is tough by the requirement that no dynamic 
 
20218
 * memory is used. Also, since swig_type_info structures store pointers to 
 
20219
 * swig_cast_info structures and swig_cast_info structures store pointers back
 
20220
 * to swig_type_info structures, we need some lookup code at initialization. 
 
20221
 * The idea is that swig generates all the structures that are needed. 
 
20222
 * The runtime then collects these partially filled structures. 
 
20223
 * The SWIG_InitializeModule function takes these initial arrays out of 
 
20224
 * swig_module, and does all the lookup, filling in the swig_module.types
 
20225
 * array with the correct data and linking the correct swig_cast_info
 
20226
 * structures together.
 
20227
 *
 
20228
 * The generated swig_type_info structures are assigned staticly to an initial 
 
20229
 * array. We just loop though that array, and handle each type individually.
 
20230
 * First we lookup if this type has been already loaded, and if so, use the
 
20231
 * loaded structure instead of the generated one. Then we have to fill in the
 
20232
 * cast linked list. The cast data is initially stored in something like a
 
20233
 * two-dimensional array. Each row corresponds to a type (there are the same
 
20234
 * number of rows as there are in the swig_type_initial array). Each entry in
 
20235
 * a column is one of the swig_cast_info structures for that type.
 
20236
 * The cast_initial array is actually an array of arrays, because each row has
 
20237
 * a variable number of columns. So to actually build the cast linked list,
 
20238
 * we find the array of casts associated with the type, and loop through it 
 
20239
 * adding the casts to the list. The one last trick we need to do is making
 
20240
 * sure the type pointer in the swig_cast_info struct is correct.
 
20241
 *
 
20242
 * First off, we lookup the cast->type name to see if it is already loaded. 
 
20243
 * There are three cases to handle:
 
20244
 *  1) If the cast->type has already been loaded AND the type we are adding
 
20245
 *     casting info to has not been loaded (it is in this module), THEN we
 
20246
 *     replace the cast->type pointer with the type pointer that has already
 
20247
 *     been loaded.
 
20248
 *  2) If BOTH types (the one we are adding casting info to, and the 
 
20249
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 
20250
 *     the previous module so we just ignore it.
 
20251
 *  3) Finally, if cast->type has not already been loaded, then we add that
 
20252
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 
20253
 *     be correct.
 
20254
 * ----------------------------------------------------------------------------- */
 
20255
 
 
20256
#ifdef __cplusplus
 
20257
extern "C" {
 
20258
#if 0
 
20259
} /* c-mode */
 
20260
#endif
 
20261
#endif
 
20262
 
 
20263
#if 0
 
20264
#define SWIGRUNTIME_DEBUG
 
20265
#endif
 
20266
 
 
20267
SWIGRUNTIME void
 
20268
SWIG_InitializeModule(void *clientdata) {
 
20269
  size_t i;
 
20270
  swig_module_info *module_head;
 
20271
  static int init_run = 0;
 
20272
  
 
20273
  clientdata = clientdata;
 
20274
  
 
20275
  if (init_run) return;
 
20276
  init_run = 1;
 
20277
  
 
20278
  /* Initialize the swig_module */
 
20279
  swig_module.type_initial = swig_type_initial;
 
20280
  swig_module.cast_initial = swig_cast_initial;
 
20281
  
 
20282
  /* Try and load any already created modules */
 
20283
  module_head = SWIG_GetModule(clientdata);
 
20284
  if (module_head) {
 
20285
    swig_module.next = module_head->next;
 
20286
    module_head->next = &swig_module;
 
20287
  } else {
 
20288
    /* This is the first module loaded */
 
20289
    swig_module.next = &swig_module;
 
20290
    SWIG_SetModule(clientdata, &swig_module);
 
20291
  }
 
20292
  
 
20293
  /* Now work on filling in swig_module.types */
 
20294
#ifdef SWIGRUNTIME_DEBUG
 
20295
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
 
20296
#endif
 
20297
  for (i = 0; i < swig_module.size; ++i) {
 
20298
    swig_type_info *type = 0;
 
20299
    swig_type_info *ret;
 
20300
    swig_cast_info *cast;
 
20301
    
 
20302
#ifdef SWIGRUNTIME_DEBUG
 
20303
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
 
20304
#endif
 
20305
    
 
20306
    /* if there is another module already loaded */
 
20307
    if (swig_module.next != &swig_module) {
 
20308
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
 
20309
    }
 
20310
    if (type) {
 
20311
      /* Overwrite clientdata field */
 
20312
#ifdef SWIGRUNTIME_DEBUG
 
20313
      printf("SWIG_InitializeModule: found type %s\n", type->name);
 
20314
#endif
 
20315
      if (swig_module.type_initial[i]->clientdata) {
 
20316
        type->clientdata = swig_module.type_initial[i]->clientdata;
 
20317
#ifdef SWIGRUNTIME_DEBUG
 
20318
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
 
20319
#endif
 
20320
      }
 
20321
    } else {
 
20322
      type = swig_module.type_initial[i];
 
20323
    }
 
20324
    
 
20325
    /* Insert casting types */
 
20326
    cast = swig_module.cast_initial[i];
 
20327
    while (cast->type) {
 
20328
      /* Don't need to add information already in the list */
 
20329
      ret = 0;
 
20330
#ifdef SWIGRUNTIME_DEBUG
 
20331
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
 
20332
#endif
 
20333
      if (swig_module.next != &swig_module) {
 
20334
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
 
20335
#ifdef SWIGRUNTIME_DEBUG
 
20336
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
 
20337
#endif
 
20338
      }
 
20339
      if (ret) {
 
20340
        if (type == swig_module.type_initial[i]) {
 
20341
#ifdef SWIGRUNTIME_DEBUG
 
20342
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
 
20343
#endif
 
20344
          cast->type = ret;
 
20345
          ret = 0;
 
20346
        } else {
 
20347
          /* Check for casting already in the list */
 
20348
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
 
20349
#ifdef SWIGRUNTIME_DEBUG
 
20350
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
 
20351
#endif
 
20352
          if (!ocast) ret = 0;
 
20353
        }
 
20354
      }
 
20355
      
 
20356
      if (!ret) {
 
20357
#ifdef SWIGRUNTIME_DEBUG
 
20358
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
 
20359
#endif
 
20360
        if (type->cast) {
 
20361
          type->cast->prev = cast;
 
20362
          cast->next = type->cast;
 
20363
        }
 
20364
        type->cast = cast;
 
20365
      }
 
20366
      cast++;
 
20367
    }
 
20368
    /* Set entry in modules->types array equal to the type */
 
20369
    swig_module.types[i] = type;
 
20370
  }
 
20371
  swig_module.types[i] = 0;
 
20372
  
 
20373
#ifdef SWIGRUNTIME_DEBUG
 
20374
  printf("**** SWIG_InitializeModule: Cast List ******\n");
 
20375
  for (i = 0; i < swig_module.size; ++i) {
 
20376
    int j = 0;
 
20377
    swig_cast_info *cast = swig_module.cast_initial[i];
 
20378
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
 
20379
    while (cast->type) {
 
20380
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
 
20381
      cast++;
 
20382
      ++j;
 
20383
    }
 
20384
    printf("---- Total casts: %d\n",j);
 
20385
  }
 
20386
  printf("**** SWIG_InitializeModule: Cast List ******\n");
 
20387
#endif
 
20388
}
 
20389
 
 
20390
/* This function will propagate the clientdata field of type to
 
20391
* any new swig_type_info structures that have been added into the list
 
20392
* of equivalent types.  It is like calling
 
20393
* SWIG_TypeClientData(type, clientdata) a second time.
 
20394
*/
 
20395
SWIGRUNTIME void
 
20396
SWIG_PropagateClientData(void) {
 
20397
  size_t i;
 
20398
  swig_cast_info *equiv;
 
20399
  static int init_run = 0;
 
20400
  
 
20401
  if (init_run) return;
 
20402
  init_run = 1;
 
20403
  
 
20404
  for (i = 0; i < swig_module.size; i++) {
 
20405
    if (swig_module.types[i]->clientdata) {
 
20406
      equiv = swig_module.types[i]->cast;
 
20407
      while (equiv) {
 
20408
        if (!equiv->converter) {
 
20409
          if (equiv->type && !equiv->type->clientdata)
 
20410
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
 
20411
        }
 
20412
        equiv = equiv->next;
 
20413
      }
 
20414
    }
 
20415
  }
 
20416
}
 
20417
 
 
20418
#ifdef __cplusplus
 
20419
#if 0
 
20420
{
 
20421
  /* c-mode */
 
20422
#endif
 
20423
}
 
20424
#endif
 
20425
 
 
20426
 
 
20427
 
 
20428
#ifdef __cplusplus
 
20429
extern "C" {
 
20430
#endif
 
20431
  
 
20432
  /* Python-specific SWIG API */
 
20433
#define SWIG_newvarlink()                             SWIG_Python_newvarlink()
 
20434
#define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
 
20435
#define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
 
20436
  
 
20437
  /* -----------------------------------------------------------------------------
 
20438
   * global variable support code.
 
20439
   * ----------------------------------------------------------------------------- */
 
20440
  
 
20441
  typedef struct swig_globalvar {
 
20442
    char       *name;                  /* Name of global variable */
 
20443
    PyObject *(*get_attr)(void);       /* Return the current value */
 
20444
    int       (*set_attr)(PyObject *); /* Set the value */
 
20445
    struct swig_globalvar *next;
 
20446
  } swig_globalvar;
 
20447
  
 
20448
  typedef struct swig_varlinkobject {
 
20449
    PyObject_HEAD
 
20450
    swig_globalvar *vars;
 
20451
  } swig_varlinkobject;
 
20452
  
 
20453
  SWIGINTERN PyObject *
 
20454
  swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
 
20455
    return PyString_FromString("<Swig global variables>");
 
20456
  }
 
20457
  
 
20458
  SWIGINTERN PyObject *
 
20459
  swig_varlink_str(swig_varlinkobject *v) {
 
20460
    PyObject *str = PyString_FromString("(");
 
20461
    swig_globalvar  *var;
 
20462
    for (var = v->vars; var; var=var->next) {
 
20463
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
 
20464
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
 
20465
    }
 
20466
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
 
20467
    return str;
 
20468
  }
 
20469
  
 
20470
  SWIGINTERN int
 
20471
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
 
20472
    PyObject *str = swig_varlink_str(v);
 
20473
    fprintf(fp,"Swig global variables ");
 
20474
    fprintf(fp,"%s\n", PyString_AsString(str));
 
20475
    Py_DECREF(str);
 
20476
    return 0;
 
20477
  }
 
20478
  
 
20479
  SWIGINTERN void
 
20480
  swig_varlink_dealloc(swig_varlinkobject *v) {
 
20481
    swig_globalvar *var = v->vars;
 
20482
    while (var) {
 
20483
      swig_globalvar *n = var->next;
 
20484
      free(var->name);
 
20485
      free(var);
 
20486
      var = n;
 
20487
    }
 
20488
  }
 
20489
  
 
20490
  SWIGINTERN PyObject *
 
20491
  swig_varlink_getattr(swig_varlinkobject *v, char *n) {
 
20492
    PyObject *res = NULL;
 
20493
    swig_globalvar *var = v->vars;
 
20494
    while (var) {
 
20495
      if (strcmp(var->name,n) == 0) {
 
20496
        res = (*var->get_attr)();
 
20497
        break;
 
20498
      }
 
20499
      var = var->next;
 
20500
    }
 
20501
    if (res == NULL && !PyErr_Occurred()) {
 
20502
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
 
20503
    }
 
20504
    return res;
 
20505
  }
 
20506
  
 
20507
  SWIGINTERN int
 
20508
  swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
 
20509
    int res = 1;
 
20510
    swig_globalvar *var = v->vars;
 
20511
    while (var) {
 
20512
      if (strcmp(var->name,n) == 0) {
 
20513
        res = (*var->set_attr)(p);
 
20514
        break;
 
20515
      }
 
20516
      var = var->next;
 
20517
    }
 
20518
    if (res == 1 && !PyErr_Occurred()) {
 
20519
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
 
20520
    }
 
20521
    return res;
 
20522
  }
 
20523
  
 
20524
  SWIGINTERN PyTypeObject*
 
20525
  swig_varlink_type(void) {
 
20526
    static char varlink__doc__[] = "Swig var link object";
 
20527
    static PyTypeObject varlink_type;
 
20528
    static int type_init = 0;  
 
20529
    if (!type_init) {
 
20530
      const PyTypeObject tmp
 
20531
      = {
 
20532
        PyObject_HEAD_INIT(NULL)
 
20533
        0,                                  /* Number of items in variable part (ob_size) */
 
20534
        (char *)"swigvarlink",              /* Type name (tp_name) */
 
20535
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
 
20536
        0,                                  /* Itemsize (tp_itemsize) */
 
20537
        (destructor) swig_varlink_dealloc,   /* Deallocator (tp_dealloc) */ 
 
20538
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
 
20539
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
 
20540
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
 
20541
        0,                                  /* tp_compare */
 
20542
        (reprfunc) swig_varlink_repr,       /* tp_repr */
 
20543
        0,                                  /* tp_as_number */
 
20544
        0,                                  /* tp_as_sequence */
 
20545
        0,                                  /* tp_as_mapping */
 
20546
        0,                                  /* tp_hash */
 
20547
        0,                                  /* tp_call */
 
20548
        (reprfunc)swig_varlink_str,        /* tp_str */
 
20549
        0,                                  /* tp_getattro */
 
20550
        0,                                  /* tp_setattro */
 
20551
        0,                                  /* tp_as_buffer */
 
20552
        0,                                  /* tp_flags */
 
20553
        varlink__doc__,                     /* tp_doc */
 
20554
        0,                                  /* tp_traverse */
 
20555
        0,                                  /* tp_clear */
 
20556
        0,                                  /* tp_richcompare */
 
20557
        0,                                  /* tp_weaklistoffset */
 
20558
#if PY_VERSION_HEX >= 0x02020000
 
20559
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
 
20560
#endif
 
20561
#if PY_VERSION_HEX >= 0x02030000
 
20562
        0,                                  /* tp_del */
 
20563
#endif
 
20564
#ifdef COUNT_ALLOCS
 
20565
        0,0,0,0                             /* tp_alloc -> tp_next */
 
20566
#endif
 
20567
      };
 
20568
      varlink_type = tmp;
 
20569
      varlink_type.ob_type = &PyType_Type;
 
20570
      type_init = 1;
 
20571
    }
 
20572
    return &varlink_type;
 
20573
  }
 
20574
  
 
20575
  /* Create a variable linking object for use later */
 
20576
  SWIGINTERN PyObject *
 
20577
  SWIG_Python_newvarlink(void) {
 
20578
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
 
20579
    if (result) {
 
20580
      result->vars = 0;
 
20581
    }
 
20582
    return ((PyObject*) result);
 
20583
  }
 
20584
  
 
20585
  SWIGINTERN void 
 
20586
  SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
 
20587
    swig_varlinkobject *v = (swig_varlinkobject *) p;
 
20588
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
 
20589
    if (gv) {
 
20590
      size_t size = strlen(name)+1;
 
20591
      gv->name = (char *)malloc(size);
 
20592
      if (gv->name) {
 
20593
        strncpy(gv->name,name,size);
 
20594
        gv->get_attr = get_attr;
 
20595
        gv->set_attr = set_attr;
 
20596
        gv->next = v->vars;
 
20597
      }
 
20598
    }
 
20599
    v->vars = gv;
 
20600
  }
 
20601
  
 
20602
  SWIGINTERN PyObject *
 
20603
  SWIG_globals() {
 
20604
    static PyObject *_SWIG_globals = 0; 
 
20605
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
 
20606
    return _SWIG_globals;
 
20607
  }
 
20608
  
 
20609
  /* -----------------------------------------------------------------------------
 
20610
   * constants/methods manipulation
 
20611
   * ----------------------------------------------------------------------------- */
 
20612
  
 
20613
  /* Install Constants */
 
20614
  SWIGINTERN void
 
20615
  SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
 
20616
    PyObject *obj = 0;
 
20617
    size_t i;
 
20618
    for (i = 0; constants[i].type; ++i) {
 
20619
      switch(constants[i].type) {
 
20620
      case SWIG_PY_POINTER:
 
20621
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
 
20622
        break;
 
20623
      case SWIG_PY_BINARY:
 
20624
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
 
20625
        break;
 
20626
      default:
 
20627
        obj = 0;
 
20628
        break;
 
20629
      }
 
20630
      if (obj) {
 
20631
        PyDict_SetItemString(d, constants[i].name, obj);
 
20632
        Py_DECREF(obj);
 
20633
      }
 
20634
    }
 
20635
  }
 
20636
  
 
20637
  /* -----------------------------------------------------------------------------*/
 
20638
  /* Fix SwigMethods to carry the callback ptrs when needed */
 
20639
  /* -----------------------------------------------------------------------------*/
 
20640
  
 
20641
  SWIGINTERN void
 
20642
  SWIG_Python_FixMethods(PyMethodDef *methods,
 
20643
    swig_const_info *const_table,
 
20644
    swig_type_info **types,
 
20645
    swig_type_info **types_initial) {
 
20646
    size_t i;
 
20647
    for (i = 0; methods[i].ml_name; ++i) {
 
20648
      const char *c = methods[i].ml_doc;
 
20649
      if (c && (c = strstr(c, "swig_ptr: "))) {
 
20650
        int j;
 
20651
        swig_const_info *ci = 0;
 
20652
        const char *name = c + 10;
 
20653
        for (j = 0; const_table[j].type; ++j) {
 
20654
          if (strncmp(const_table[j].name, name, 
 
20655
              strlen(const_table[j].name)) == 0) {
 
20656
            ci = &(const_table[j]);
 
20657
            break;
 
20658
          }
 
20659
        }
 
20660
        if (ci) {
 
20661
          size_t shift = (ci->ptype) - types;
 
20662
          swig_type_info *ty = types_initial[shift];
 
20663
          size_t ldoc = (c - methods[i].ml_doc);
 
20664
          size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
 
20665
          char *ndoc = (char*)malloc(ldoc + lptr + 10);
 
20666
          if (ndoc) {
 
20667
            char *buff = ndoc;
 
20668
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
 
20669
            if (ptr) {
 
20670
              strncpy(buff, methods[i].ml_doc, ldoc);
 
20671
              buff += ldoc;
 
20672
              strncpy(buff, "swig_ptr: ", 10);
 
20673
              buff += 10;
 
20674
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
 
20675
              methods[i].ml_doc = ndoc;
 
20676
            }
 
20677
          }
 
20678
        }
 
20679
      }
 
20680
    }
 
20681
  } 
 
20682
  
 
20683
#ifdef __cplusplus
 
20684
}
 
20685
#endif
 
20686
 
 
20687
/* -----------------------------------------------------------------------------*
 
20688
 *  Partial Init method
 
20689
 * -----------------------------------------------------------------------------*/
 
20690
 
 
20691
#ifdef __cplusplus
 
20692
extern "C"
 
20693
#endif
 
20694
SWIGEXPORT void SWIG_init(void) {
 
20695
  PyObject *m, *d;
 
20696
  
 
20697
  /* Fix SwigMethods to carry the callback ptrs when needed */
 
20698
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
 
20699
  
 
20700
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
 
20701
  d = PyModule_GetDict(m);
 
20702
  
 
20703
  SWIG_InitializeModule(0);
 
20704
  SWIG_InstallConstants(d,swig_const_table);
 
20705
  
 
20706
  
 
20707
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
 
20708
  SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
 
20709
  SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
 
20710
  SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
 
20711
  SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
 
20712
  SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
 
20713
  SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
 
20714
  SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
 
20715
  SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
 
20716
  SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
 
20717
  SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
 
20718
  SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
 
20719
  SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
 
20720
  SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
 
20721
  SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
 
20722
  SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
 
20723
  SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
 
20724
  SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
 
20725
  SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
 
20726
  SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
 
20727
  SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
 
20728
  SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
 
20729
  SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
 
20730
  SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
 
20731
  SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
 
20732
  SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
 
20733
  SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
 
20734
  SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
 
20735
  SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
 
20736
  SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
 
20737
  SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
 
20738
  SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
 
20739
  SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
 
20740
  SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
 
20741
  SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
 
20742
  SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
 
20743
  SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
 
20744
  SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
 
20745
  SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
 
20746
  SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
 
20747
  SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
 
20748
  SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
 
20749
  SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
 
20750
  SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
 
20751
  SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
 
20752
  SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
 
20753
  SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
 
20754
  SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
 
20755
  SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
 
20756
  SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
 
20757
  SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
 
20758
  SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
 
20759
  SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
 
20760
  SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
 
20761
  SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
 
20762
  SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
 
20763
  SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
 
20764
  SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
 
20765
  SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
 
20766
  SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
 
20767
  SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
 
20768
  SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
 
20769
  SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
 
20770
  SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
 
20771
  SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
 
20772
  SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
 
20773
  SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
 
20774
  SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
 
20775
  SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
 
20776
  SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
 
20777
  SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
 
20778
  SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
 
20779
  SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
 
20780
  SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
 
20781
  SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
 
20782
  SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
 
20783
  SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
 
20784
  SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
 
20785
  SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
 
20786
  SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
 
20787
  SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
 
20788
  SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
 
20789
  SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
 
20790
  SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
 
20791
  SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
 
20792
  SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
 
20793
  SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
 
20794
  SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
 
20795
  SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
 
20796
  SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
 
20797
  PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED));
 
20798
  PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER));
 
20799
  PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED));
 
20800
  
 
20801
  wxPyPtrTypeMap_Add("wxHtmlTagHandler",    "wxPyHtmlTagHandler");
 
20802
  wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
 
20803
  wxPyPtrTypeMap_Add("wxHtmlWindow",        "wxPyHtmlWindow");
 
20804
  wxPyPtrTypeMap_Add("wxHtmlFilter",        "wxPyHtmlFilter");
 
20805
  
 
20806
}
 
20807