]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html_wrap.cpp
Fixed multiline static texts
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
210#define SWIGTYPE_p_wxColour swig_types[1]
211#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
212#define SWIGTYPE_p_wxDC swig_types[3]
213#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
214#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
215#define SWIGTYPE_p_wxMouseEvent swig_types[6]
216#define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
217#define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
8edf1c75
RD
218#define SWIGTYPE_p_char swig_types[9]
219#define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
220#define SWIGTYPE_p_wxHtmlParser swig_types[11]
221#define SWIGTYPE_p_wxPanel swig_types[12]
d14a1e28
RD
222#define SWIGTYPE_p_wxFont swig_types[13]
223#define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
224#define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
225#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
226#define SWIGTYPE_p_wxWindow swig_types[17]
227#define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
8edf1c75
RD
228#define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
229#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
230#define SWIGTYPE_p_wxHtmlSelection swig_types[21]
231#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
232#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
233#define SWIGTYPE_p_wxObject swig_types[24]
234#define SWIGTYPE_p_wxString swig_types[25]
235#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
236#define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
237#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
238#define SWIGTYPE_p_wxEvtHandler swig_types[29]
239#define SWIGTYPE_p_wxPoint swig_types[30]
240#define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
241#define SWIGTYPE_p_wxCursor swig_types[32]
242#define SWIGTYPE_p_wxFileSystem swig_types[33]
243#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
244#define SWIGTYPE_p_wxPyPrintout swig_types[35]
245#define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
246#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
247#define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
248#define SWIGTYPE_p_wxConfigBase swig_types[39]
249#define SWIGTYPE_p_wxPrintData swig_types[40]
250#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
251#define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
252#define SWIGTYPE_p_wxFrame swig_types[43]
253#define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
254#define SWIGTYPE_p_wxHtmlFilter swig_types[45]
255#define SWIGTYPE_p_wxHtmlCell swig_types[46]
256#define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
257#define SWIGTYPE_p_wxHtmlTag swig_types[48]
258#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
259#define SWIGTYPE_p_int swig_types[50]
260#define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
261static swig_type_info *swig_types[53];
d14a1e28
RD
262
263/* -------- TYPES TABLE (END) -------- */
264
265
266/*-----------------------------------------------
267 @(target):= _html.so
268 ------------------------------------------------*/
269#define SWIG_init init_html
270
271#define SWIG_name "_html"
272
2f4c0a16 273/* Auxiliar swig macros */
8edf1c75 274
8edf1c75 275#ifdef __cplusplus
2f4c0a16 276#define SWIGSTATICINLINE(a) static inline a
8edf1c75 277#define SWIGSTATIC(a) static a
2f4c0a16
RD
278#define swig_new_array(type, size) (new type[(size)])
279#define swig_delete_array(cptr) delete[] cptr
280#define swig_const_cast(type,a) const_cast<type>(a)
281#define swig_static_cast(type,a) static_cast<type>(a)
282#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 283
8edf1c75 284#ifdef HAVE_NUMERIC_CAST
2f4c0a16 285#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 286#else
2f4c0a16 287#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
288#endif
289
2f4c0a16
RD
290#else /* C case */
291
292#define SWIGSTATICINLINE(a) static a
293#define SWIGSTATIC(a) static a
294#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295#define swig_delete_array(cptr) free((char*)cptr)
296#define swig_const_cast(type,a) (type)(a)
297#define swig_static_cast(type,a) (type)(a)
298#define swig_reinterpret_cast(type,a) (type)(a)
299#define swig_numeric_cast(type,a) (type)(a)
300
301#endif /* __cplusplus */
8edf1c75
RD
302
303
2f4c0a16
RD
304#define SWIG_FromSignedChar PyInt_FromLong
305#define SWIG_FromUnsignedChar PyInt_FromLong
306#define SWIG_FromShort PyInt_FromLong
307#define SWIG_FromUnsignedShort PyInt_FromLong
308#define SWIG_FromInt PyInt_FromLong
309#define SWIG_FromLong PyInt_FromLong
310#define SWIG_FromFloat PyFloat_FromDouble
311#define SWIG_FromDouble PyFloat_FromDouble
312#define SWIG_FromFloat PyFloat_FromDouble
313#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
314
315
d14a1e28
RD
316#include "wx/wxPython/wxPython.h"
317#include "wx/wxPython/pyclasses.h"
318#include "wx/wxPython/pyistream.h"
319#include "wx/wxPython/printfw.h"
320
321#include <wx/html/htmlwin.h>
322#include <wx/html/htmprint.h>
323#include <wx/html/helpctrl.h>
324
325
cbd72d4f
RD
326 static const wxString wxPyEmptyString(wxEmptyString);
327 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
328 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
329 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 330
2f4c0a16
RD
331#include <limits.h>
332
333
334SWIGSTATICINLINE(long)
335SWIG_CheckLongInRange(long value, const char* type,
336 long min_value, long max_value)
337{
338 if (!PyErr_Occurred()) {
339 if (value < min_value) {
340 PyObject *err =
341 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
342 value, type, min_value);
343
344 PyErr_SetObject(PyExc_OverflowError, err);
345 Py_DECREF(err);
346 } else if (value > max_value) {
347 PyObject *err =
348 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
349 value, type, max_value);
350 PyErr_SetObject(PyExc_OverflowError, err);
351 Py_DECREF(err);
352 }
353 }
354 return value;
355}
356
357
358SWIGSTATICINLINE(long)
359SWIG_AsLong(PyObject * obj)
360{
361 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
362}
363
364
365#if INT_MAX != LONG_MAX
366SWIGSTATICINLINE(int)
367SWIG_AsInt(PyObject *obj)
8edf1c75 368{
2f4c0a16
RD
369 return swig_numeric_cast(int,
370 SWIG_CheckLongInRange(SWIG_AsLong(obj),
371 "int", INT_MIN, INT_MAX));
372}
373#else
374#define SWIG_AsInt SWIG_AsLong
375#endif
376
377
378SWIGSTATICINLINE(int)
379SWIG_CheckInt(PyObject* obj)
380{
381 SWIG_AsInt(obj);
382 if (PyErr_Occurred()) {
383 PyErr_Clear();
384 return 0;
385 } else {
386 return 1;
387 }
8edf1c75
RD
388}
389
d14a1e28
RD
390void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
391 int* temp = NULL;
392 if (sizes) temp = int_LIST_helper(sizes);
393 self->SetFonts(normal_face, fixed_face, temp);
394 if (temp)
395 delete [] temp;
396 }
397
398class wxPyHtmlTagHandler : public wxHtmlTagHandler {
399 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
400public:
401 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
402
403 wxHtmlParser* GetParser() { return m_Parser; }
404 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
405
406 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
407 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
408
409 PYPRIVATE;
410};
411
412IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
413
414IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
415IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
416
417
418class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
419 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
420public:
421 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
422
423 wxHtmlWinParser* GetParser() { return m_WParser; }
424 void ParseInner(const wxHtmlTag& tag)
425 { wxHtmlWinTagHandler::ParseInner(tag); }
426
427 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
428 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
429
430 PYPRIVATE;
431};
432
433IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
434
435IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
436IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
437
438
439
440class wxPyHtmlTagsModule : public wxHtmlTagsModule {
441public:
442 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
443 m_tagHandlerClass = thc;
444 Py_INCREF(m_tagHandlerClass);
445 RegisterModule(this);
446 wxHtmlWinParser::AddModule(this);
447 }
448
449 void OnExit() {
450 wxPyBeginBlockThreads();
451 Py_DECREF(m_tagHandlerClass);
452 m_tagHandlerClass = NULL;
453 for (size_t x=0; x < m_objArray.GetCount(); x++) {
454 PyObject* obj = (PyObject*)m_objArray.Item(x);
455 Py_DECREF(obj);
456 }
457 wxPyEndBlockThreads();
458 };
459
460 void FillHandlersTable(wxHtmlWinParser *parser) {
461 // Wave our magic wand... (if it works it's a miracle! ;-)
462
463 // First, make a new instance of the tag handler
464 wxPyBeginBlockThreads();
100c4552
RD
465 PyObject* arg = PyTuple_New(0);
466 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 467 Py_DECREF(arg);
100c4552 468
d14a1e28
RD
469 // now figure out where it's C++ object is...
470 wxPyHtmlWinTagHandler* thPtr;
100c4552
RD
471 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
472 wxPyEndBlockThreads();
d14a1e28 473 return;
100c4552
RD
474 }
475 wxPyEndBlockThreads();
d14a1e28
RD
476
477 // add it,
478 parser->AddTagHandler(thPtr);
479
480 // and track it.
481 m_objArray.Add(obj);
482 }
483
484private:
485 PyObject* m_tagHandlerClass;
486 wxArrayPtrVoid m_objArray;
487
488};
489
490
491 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
492 // Dynamically create a new wxModule. Refcounts tagHandlerClass
493 // and adds itself to the wxModules list and to the wxHtmlWinParser.
494 new wxPyHtmlTagsModule(tagHandlerClass);
495 }
496
497
498static PyObject* t_output_helper(PyObject* target, PyObject* o) {
499 PyObject* o2;
500 PyObject* o3;
501
502 if (!target) {
503 target = o;
504 } else if (target == Py_None) {
505 Py_DECREF(Py_None);
506 target = o;
507 } else {
508 if (!PyTuple_Check(target)) {
509 o2 = target;
510 target = PyTuple_New(1);
511 PyTuple_SetItem(target, 0, o2);
512 }
513 o3 = PyTuple_New(1);
514 PyTuple_SetItem(o3, 0, o);
515
516 o2 = target;
517 target = PySequence_Concat(o2, o3);
518 Py_DECREF(o2);
519 Py_DECREF(o3);
520 }
521 return target;
522}
523
8edf1c75 524
2f4c0a16
RD
525SWIGSTATICINLINE(bool)
526SWIG_AsBool(PyObject *obj)
8edf1c75
RD
527{
528 return PyObject_IsTrue(obj) ? true : false;
529}
530
531
2f4c0a16
RD
532SWIGSTATICINLINE(int)
533SWIG_CheckBool(PyObject* obj)
534{
535 SWIG_AsBool(obj);
536 if (PyErr_Occurred()) {
537 PyErr_Clear();
538 return 0;
539 } else {
540 return 1;
541 }
542}
543
544
545SWIGSTATICINLINE(unsigned long)
546SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
547 unsigned long max_value)
548{
549 if (!PyErr_Occurred()) {
550 if (value > max_value) {
551 PyObject *err =
552 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
553 value, type, max_value);
554 PyErr_SetObject(PyExc_OverflowError, err);
555 Py_DECREF(err);
556 }
557 }
558 return value;
559}
560
561
562SWIGSTATICINLINE(unsigned long)
563SWIG_AsUnsignedLong(PyObject * obj)
564{
565 if (PyLong_Check(obj)) {
566 return PyLong_AsUnsignedLong(obj);
567 } else {
568 long i = PyInt_AsLong(obj);
569 if ( !PyErr_Occurred() && (i < 0)) {
570 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
571 }
572 return i;
573 }
574}
575
576
577#if UINT_MAX != ULONG_MAX
578SWIGSTATICINLINE(unsigned int)
579SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 580{
2f4c0a16
RD
581 return swig_numeric_cast(unsigned int,
582 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
583 "unsigned int", UINT_MAX));
8edf1c75 584}
2f4c0a16
RD
585#else
586#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
587#endif
8edf1c75
RD
588
589
2f4c0a16
RD
590SWIGSTATICINLINE(int)
591SWIG_CheckUnsignedInt(PyObject* obj)
8edf1c75 592{
2f4c0a16
RD
593 SWIG_AsUnsignedInt(obj);
594 if (PyErr_Occurred()) {
595 PyErr_Clear();
596 return 0;
597 } else {
598 return 1;
599 }
600}
601
602
603SWIGSTATICINLINE(PyObject* )
604SWIG_FromUnsignedLong(unsigned long value)
605{
606 return (value > LONG_MAX) ?
607 PyLong_FromUnsignedLong(value)
608 : PyInt_FromLong(swig_numeric_cast(long,value));
8edf1c75
RD
609}
610
611
2f4c0a16
RD
612#if UINT_MAX < LONG_MAX
613#define SWIG_FromUnsignedInt SWIG_FromLong
614#else
615#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
616#endif
8edf1c75 617
d14a1e28
RD
618 // here's the C++ version
619class wxPyHtmlFilter : public wxHtmlFilter {
620 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
621public:
622 wxPyHtmlFilter() : wxHtmlFilter() {}
623
423f194a 624 // returns True if this filter is able to open&read given file
d14a1e28 625 virtual bool CanRead(const wxFSFile& file) const {
423f194a 626 bool rval = False;
d14a1e28
RD
627 bool found;
628 wxPyBeginBlockThreads();
629 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
630 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
632 Py_DECREF(obj);
633 }
634 wxPyEndBlockThreads();
635 return rval;
636 }
637
638
639 // Reads given file and returns HTML document.
640 // Returns empty string if opening failed
641 virtual wxString ReadFile(const wxFSFile& file) const {
642 wxString rval;
643 bool found;
644 wxPyBeginBlockThreads();
645 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
646 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
647 PyObject* ro;
648 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
649 Py_DECREF(obj);
650 if (ro) {
651 rval = Py2wxString(ro);
652 Py_DECREF(ro);
653 }
654 }
655 wxPyEndBlockThreads();
656 return rval;
657 }
658
659 PYPRIVATE;
660};
661
662IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
663
664
665class wxPyHtmlWindow : public wxHtmlWindow {
666 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
667public:
668 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
669 const wxPoint& pos = wxDefaultPosition,
670 const wxSize& size = wxDefaultSize,
671 long style = wxHW_DEFAULT_STYLE,
672 const wxString& name = wxPyHtmlWindowNameStr)
673 : wxHtmlWindow(parent, id, pos, size, style, name) {};
674 wxPyHtmlWindow() : wxHtmlWindow() {};
675
676 bool ScrollToAnchor(const wxString& anchor) {
677 return wxHtmlWindow::ScrollToAnchor(anchor);
678 }
679
680 bool HasAnchor(const wxString& anchor) {
681 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
682 return c!=NULL;
683 }
684
685 void OnLinkClicked(const wxHtmlLinkInfo& link);
686 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
687
688 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
689 const wxString& url,
690 wxString *redirect) const;
691
692 DEC_PYCALLBACK__STRING(OnSetTitle);
693 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
694 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
695 PYPRIVATE;
696};
697
698IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
699IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
700IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
701IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
702
703
704void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
705 bool found;
706 wxPyBeginBlockThreads();
707 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
708 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
709 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
710 Py_DECREF(obj);
711 }
712 wxPyEndBlockThreads();
713 if (! found)
714 wxHtmlWindow::OnLinkClicked(link);
715}
716void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
717 wxHtmlWindow::OnLinkClicked(link);
718}
719
720
721wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
722 const wxString& url,
723 wxString *redirect) const {
724 bool found;
725 wxHtmlOpeningStatus rval;
726 wxPyBeginBlockThreads();
727 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
728 PyObject* ro;
729 PyObject* s = wx2PyString(url);
730 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
731 Py_DECREF(s);
732 if (PyString_Check(ro)
733#if PYTHON_API_VERSION >= 1009
734 || PyUnicode_Check(ro)
735#endif
736 ) {
737 *redirect = Py2wxString(ro);
738 rval = wxHTML_REDIRECT;
739 }
740 else {
741 PyObject* num = PyNumber_Int(ro);
742 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
743 Py_DECREF(num);
744 }
745 Py_DECREF(ro);
746 }
747 wxPyEndBlockThreads();
748 if (! found)
749 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
750 return rval;
751}
752
753
754
755void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
756 int* temp = NULL;
757 if (sizes) temp = int_LIST_helper(sizes);
758 self->SetFonts(normal_face, fixed_face, temp);
759 if (temp)
760 delete [] temp;
761 }
762void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
763 int* temp = NULL;
764 if (sizes) temp = int_LIST_helper(sizes);
765 self->SetFonts(normal_face, fixed_face, temp);
766 if (temp)
767 delete [] temp;
768 }
769void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
770 int* temp = NULL;
771 if (sizes) temp = int_LIST_helper(sizes);
772 self->SetFonts(normal_face, fixed_face, temp);
773 if (temp)
774 delete [] temp;
775 }
8edf1c75 776
2f4c0a16
RD
777#include <float.h>
778
779SWIGSTATIC(float)
780SWIG_FloatCast(double value)
781{
782 float f = 0;
783 if (!PyErr_Occurred()) {
784 if (value < FLT_MIN) {
785 PyObject *err =
786 PyString_FromFormat("value %g is less than float minimum %g",
787 value, FLT_MIN);
788 PyErr_SetObject(PyExc_OverflowError, err);
789 Py_DECREF(err);
790 } else if (value > FLT_MAX) {
791 PyObject *err =
792 PyString_FromFormat("value %g is greater than float maximum %g",
793 value, FLT_MAX);
794 PyErr_SetObject(PyExc_OverflowError, err);
795 Py_DECREF(err);
796 } else {
797 f = swig_numeric_cast(float, value);
798 }
799 }
800 return f;
801}
802
803
804SWIGSTATICINLINE(double)
805SWIG_AsDouble(PyObject *obj)
8edf1c75 806{
2f4c0a16 807 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
8edf1c75 808#if HAVE_LONG_LONG
2f4c0a16 809 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
8edf1c75 810#else
2f4c0a16 811 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
8edf1c75
RD
812#endif
813 if (PyErr_Occurred()) {
814 PyErr_Clear();
815 PyErr_SetString(PyExc_TypeError, "a double is expected");
816 }
2f4c0a16 817 return val;
8edf1c75
RD
818}
819
820
2f4c0a16
RD
821SWIGSTATICINLINE(float)
822SWIG_AsFloat(PyObject *obj)
8edf1c75 823{
2f4c0a16
RD
824 return SWIG_FloatCast(SWIG_AsDouble(obj));
825}
826
827
828SWIGSTATICINLINE(int)
829SWIG_CheckFloat(PyObject* obj)
830{
831 SWIG_AsFloat(obj);
832 if (PyErr_Occurred()) {
833 PyErr_Clear();
834 return 0;
835 } else {
836 return 1;
837 }
8edf1c75
RD
838}
839
d14a1e28
RD
840void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
841 int* temp = NULL;
842 if (sizes) temp = int_LIST_helper(sizes);
843 self->SetFonts(normal_face, fixed_face, temp);
844 if (temp)
845 delete [] temp;
846 }
847int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
848int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
849wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
850wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
851wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
852#ifdef __cplusplus
853extern "C" {
854#endif
8edf1c75 855static int _wrap_HtmlWindowNameStr_set(PyObject *) {
cbd72d4f
RD
856 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
857 return 1;
858}
859
860
861static PyObject *_wrap_HtmlWindowNameStr_get() {
862 PyObject *pyobj;
863
864 {
865#if wxUSE_UNICODE
866 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
867#else
868 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
869#endif
870 }
871 return pyobj;
872}
873
874
8edf1c75 875static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) {
cbd72d4f
RD
876 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
877 return 1;
878}
879
880
881static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
882 PyObject *pyobj;
883
884 {
885#if wxUSE_UNICODE
886 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
887#else
888 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
889#endif
890 }
891 return pyobj;
892}
893
894
8edf1c75 895static int _wrap_HtmlPrintingTitleStr_set(PyObject *) {
cbd72d4f
RD
896 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
897 return 1;
898}
899
900
901static PyObject *_wrap_HtmlPrintingTitleStr_get() {
902 PyObject *pyobj;
903
904 {
905#if wxUSE_UNICODE
906 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
907#else
908 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
909#endif
910 }
911 return pyobj;
912}
913
914
2f4c0a16 915static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
916 PyObject *resultobj;
917 wxString *arg1 = 0 ;
918 wxString const &arg2_defvalue = wxPyEmptyString ;
919 wxString *arg2 = (wxString *) &arg2_defvalue ;
920 wxHtmlLinkInfo *result;
423f194a
RD
921 bool temp1 = False ;
922 bool temp2 = False ;
d14a1e28
RD
923 PyObject * obj0 = 0 ;
924 PyObject * obj1 = 0 ;
925 char *kwnames[] = {
926 (char *) "href",(char *) "target", NULL
927 };
928
929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
930 {
931 arg1 = wxString_in_helper(obj0);
932 if (arg1 == NULL) SWIG_fail;
423f194a 933 temp1 = True;
d14a1e28
RD
934 }
935 if (obj1) {
936 {
937 arg2 = wxString_in_helper(obj1);
938 if (arg2 == NULL) SWIG_fail;
423f194a 939 temp2 = True;
d14a1e28
RD
940 }
941 }
942 {
943 PyThreadState* __tstate = wxPyBeginAllowThreads();
944 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
945
946 wxPyEndAllowThreads(__tstate);
947 if (PyErr_Occurred()) SWIG_fail;
948 }
2f4c0a16 949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
950 {
951 if (temp1)
952 delete arg1;
953 }
954 {
955 if (temp2)
956 delete arg2;
957 }
958 return resultobj;
959 fail:
960 {
961 if (temp1)
962 delete arg1;
963 }
964 {
965 if (temp2)
966 delete arg2;
967 }
968 return NULL;
969}
970
971
2f4c0a16 972static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
973 PyObject *resultobj;
974 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
975 wxString result;
976 PyObject * obj0 = 0 ;
977 char *kwnames[] = {
978 (char *) "self", NULL
979 };
980
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
2f4c0a16
RD
982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
984 {
985 PyThreadState* __tstate = wxPyBeginAllowThreads();
986 result = (arg1)->GetHref();
987
988 wxPyEndAllowThreads(__tstate);
989 if (PyErr_Occurred()) SWIG_fail;
990 }
991 {
992#if wxUSE_UNICODE
993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
994#else
995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
996#endif
997 }
998 return resultobj;
999 fail:
1000 return NULL;
1001}
1002
1003
2f4c0a16 1004static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1005 PyObject *resultobj;
1006 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1007 wxString result;
1008 PyObject * obj0 = 0 ;
1009 char *kwnames[] = {
1010 (char *) "self", NULL
1011 };
1012
1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1016 {
1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
1018 result = (arg1)->GetTarget();
1019
1020 wxPyEndAllowThreads(__tstate);
1021 if (PyErr_Occurred()) SWIG_fail;
1022 }
1023 {
1024#if wxUSE_UNICODE
1025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1026#else
1027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1028#endif
1029 }
1030 return resultobj;
1031 fail:
1032 return NULL;
1033}
1034
1035
2f4c0a16 1036static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1037 PyObject *resultobj;
1038 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1039 wxMouseEvent *result;
1040 PyObject * obj0 = 0 ;
1041 char *kwnames[] = {
1042 (char *) "self", NULL
1043 };
1044
1045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1048 {
1049 PyThreadState* __tstate = wxPyBeginAllowThreads();
1050 result = (wxMouseEvent *)(arg1)->GetEvent();
1051
1052 wxPyEndAllowThreads(__tstate);
1053 if (PyErr_Occurred()) SWIG_fail;
1054 }
1055 {
1056 resultobj = wxPyMake_wxObject(result);
1057 }
1058 return resultobj;
1059 fail:
1060 return NULL;
1061}
1062
1063
2f4c0a16 1064static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1065 PyObject *resultobj;
1066 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1067 wxHtmlCell *result;
1068 PyObject * obj0 = 0 ;
1069 char *kwnames[] = {
1070 (char *) "self", NULL
1071 };
1072
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1076 {
1077 PyThreadState* __tstate = wxPyBeginAllowThreads();
1078 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1079
1080 wxPyEndAllowThreads(__tstate);
1081 if (PyErr_Occurred()) SWIG_fail;
1082 }
2f4c0a16 1083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
1084 return resultobj;
1085 fail:
1086 return NULL;
1087}
1088
1089
2f4c0a16 1090static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1091 PyObject *resultobj;
1092 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1093 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1094 PyObject * obj0 = 0 ;
1095 PyObject * obj1 = 0 ;
1096 char *kwnames[] = {
1097 (char *) "self",(char *) "e", NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1105 {
1106 PyThreadState* __tstate = wxPyBeginAllowThreads();
1107 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1108
1109 wxPyEndAllowThreads(__tstate);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 Py_INCREF(Py_None); resultobj = Py_None;
1113 return resultobj;
1114 fail:
1115 return NULL;
1116}
1117
1118
2f4c0a16 1119static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1120 PyObject *resultobj;
1121 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1122 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1123 PyObject * obj0 = 0 ;
1124 PyObject * obj1 = 0 ;
1125 char *kwnames[] = {
1126 (char *) "self",(char *) "e", NULL
1127 };
1128
1129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 Py_INCREF(Py_None); resultobj = Py_None;
1142 return resultobj;
1143 fail:
1144 return NULL;
1145}
1146
1147
2f4c0a16 1148static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1149 PyObject *obj;
1150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1151 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1152 Py_INCREF(obj);
1153 return Py_BuildValue((char *)"");
1154}
2f4c0a16 1155static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1156 PyObject *resultobj;
1157 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1158 wxString result;
1159 PyObject * obj0 = 0 ;
1160 char *kwnames[] = {
1161 (char *) "self", NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = (arg1)->GetName();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175#if wxUSE_UNICODE
1176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1177#else
1178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1179#endif
1180 }
1181 return resultobj;
1182 fail:
1183 return NULL;
1184}
1185
1186
2f4c0a16 1187static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1188 PyObject *resultobj;
1189 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1190 wxString *arg2 = 0 ;
1191 bool result;
423f194a 1192 bool temp2 = False ;
d14a1e28
RD
1193 PyObject * obj0 = 0 ;
1194 PyObject * obj1 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "self",(char *) "par", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1202 {
1203 arg2 = wxString_in_helper(obj1);
1204 if (arg2 == NULL) SWIG_fail;
423f194a 1205 temp2 = True;
d14a1e28
RD
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
02a34c4c 1214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1215 {
1216 if (temp2)
1217 delete arg2;
1218 }
1219 return resultobj;
1220 fail:
1221 {
1222 if (temp2)
1223 delete arg2;
1224 }
1225 return NULL;
1226}
1227
1228
2f4c0a16 1229static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1230 PyObject *resultobj;
1231 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1232 wxString *arg2 = 0 ;
423f194a 1233 int arg3 = (int) False ;
d14a1e28 1234 wxString result;
423f194a 1235 bool temp2 = False ;
d14a1e28
RD
1236 PyObject * obj0 = 0 ;
1237 PyObject * obj1 = 0 ;
8edf1c75 1238 PyObject * obj2 = 0 ;
d14a1e28
RD
1239 char *kwnames[] = {
1240 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1241 };
1242
8edf1c75 1243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1246 {
1247 arg2 = wxString_in_helper(obj1);
1248 if (arg2 == NULL) SWIG_fail;
423f194a 1249 temp2 = True;
d14a1e28 1250 }
8edf1c75 1251 if (obj2) {
2f4c0a16
RD
1252 arg3 = (int) SWIG_AsInt(obj2);
1253 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1254 }
d14a1e28
RD
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 {
1263#if wxUSE_UNICODE
1264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1265#else
1266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1267#endif
1268 }
1269 {
1270 if (temp2)
1271 delete arg2;
1272 }
1273 return resultobj;
1274 fail:
1275 {
1276 if (temp2)
1277 delete arg2;
1278 }
1279 return NULL;
1280}
1281
1282
2f4c0a16 1283static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1284 PyObject *resultobj;
1285 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1286 wxString result;
1287 PyObject * obj0 = 0 ;
1288 char *kwnames[] = {
1289 (char *) "self", NULL
1290 };
1291
1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1295 {
1296 PyThreadState* __tstate = wxPyBeginAllowThreads();
1297 result = (arg1)->GetAllParams();
1298
1299 wxPyEndAllowThreads(__tstate);
1300 if (PyErr_Occurred()) SWIG_fail;
1301 }
1302 {
1303#if wxUSE_UNICODE
1304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1305#else
1306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1307#endif
1308 }
1309 return resultobj;
1310 fail:
1311 return NULL;
1312}
1313
1314
2f4c0a16 1315static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1316 PyObject *resultobj;
1317 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1318 bool result;
1319 PyObject * obj0 = 0 ;
1320 char *kwnames[] = {
1321 (char *) "self", NULL
1322 };
1323
1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1327 {
1328 PyThreadState* __tstate = wxPyBeginAllowThreads();
1329 result = (bool)(arg1)->HasEnding();
1330
1331 wxPyEndAllowThreads(__tstate);
1332 if (PyErr_Occurred()) SWIG_fail;
1333 }
02a34c4c 1334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1335 return resultobj;
1336 fail:
1337 return NULL;
1338}
1339
1340
2f4c0a16 1341static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1342 PyObject *resultobj;
1343 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1344 int result;
1345 PyObject * obj0 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "self", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 result = (int)(arg1)->GetBeginPos();
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
2f4c0a16 1360 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1361 return resultobj;
1362 fail:
1363 return NULL;
1364}
1365
1366
2f4c0a16 1367static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1368 PyObject *resultobj;
1369 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1370 int result;
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "self", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 result = (int)(arg1)->GetEndPos1();
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
2f4c0a16 1386 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1387 return resultobj;
1388 fail:
1389 return NULL;
1390}
1391
1392
2f4c0a16 1393static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1394 PyObject *resultobj;
1395 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1396 int result;
1397 PyObject * obj0 = 0 ;
1398 char *kwnames[] = {
1399 (char *) "self", NULL
1400 };
1401
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1405 {
1406 PyThreadState* __tstate = wxPyBeginAllowThreads();
1407 result = (int)(arg1)->GetEndPos2();
1408
1409 wxPyEndAllowThreads(__tstate);
1410 if (PyErr_Occurred()) SWIG_fail;
1411 }
2f4c0a16 1412 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1413 return resultobj;
1414 fail:
1415 return NULL;
1416}
1417
1418
2f4c0a16 1419static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1420 PyObject *obj;
1421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1422 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1423 Py_INCREF(obj);
1424 return Py_BuildValue((char *)"");
1425}
2f4c0a16 1426static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1427 PyObject *resultobj;
1428 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1429 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1430 PyObject * obj0 = 0 ;
1431 PyObject * obj1 = 0 ;
1432 char *kwnames[] = {
1433 (char *) "self",(char *) "fs", NULL
1434 };
1435
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 (arg1)->SetFS(arg2);
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 Py_INCREF(Py_None); resultobj = Py_None;
1449 return resultobj;
1450 fail:
1451 return NULL;
1452}
1453
1454
2f4c0a16 1455static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1456 PyObject *resultobj;
1457 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1458 wxFileSystem *result;
1459 PyObject * obj0 = 0 ;
1460 char *kwnames[] = {
1461 (char *) "self", NULL
1462 };
1463
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 result = (wxFileSystem *)(arg1)->GetFS();
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) SWIG_fail;
1473 }
1474 {
1475 resultobj = wxPyMake_wxObject(result);
1476 }
1477 return resultobj;
1478 fail:
1479 return NULL;
1480}
1481
1482
2f4c0a16 1483static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1484 PyObject *resultobj;
1485 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1486 wxString *arg2 = 0 ;
1487 wxObject *result;
423f194a 1488 bool temp2 = False ;
d14a1e28
RD
1489 PyObject * obj0 = 0 ;
1490 PyObject * obj1 = 0 ;
1491 char *kwnames[] = {
1492 (char *) "self",(char *) "source", NULL
1493 };
1494
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1498 {
1499 arg2 = wxString_in_helper(obj1);
1500 if (arg2 == NULL) SWIG_fail;
423f194a 1501 temp2 = True;
d14a1e28
RD
1502 }
1503 {
1504 PyThreadState* __tstate = wxPyBeginAllowThreads();
1505 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1506
1507 wxPyEndAllowThreads(__tstate);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 {
1511 resultobj = wxPyMake_wxObject(result);
1512 }
1513 {
1514 if (temp2)
1515 delete arg2;
1516 }
1517 return resultobj;
1518 fail:
1519 {
1520 if (temp2)
1521 delete arg2;
1522 }
1523 return NULL;
1524}
1525
1526
2f4c0a16 1527static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1528 PyObject *resultobj;
1529 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1530 wxString *arg2 = 0 ;
423f194a 1531 bool temp2 = False ;
d14a1e28
RD
1532 PyObject * obj0 = 0 ;
1533 PyObject * obj1 = 0 ;
1534 char *kwnames[] = {
1535 (char *) "self",(char *) "source", NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1541 {
1542 arg2 = wxString_in_helper(obj1);
1543 if (arg2 == NULL) SWIG_fail;
423f194a 1544 temp2 = True;
d14a1e28
RD
1545 }
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 (arg1)->InitParser((wxString const &)*arg2);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 {
1555 if (temp2)
1556 delete arg2;
1557 }
1558 return resultobj;
1559 fail:
1560 {
1561 if (temp2)
1562 delete arg2;
1563 }
1564 return NULL;
1565}
1566
1567
2f4c0a16 1568static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1569 PyObject *resultobj;
1570 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1571 PyObject * obj0 = 0 ;
1572 char *kwnames[] = {
1573 (char *) "self", NULL
1574 };
1575
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1579 {
1580 PyThreadState* __tstate = wxPyBeginAllowThreads();
1581 (arg1)->DoneParser();
1582
1583 wxPyEndAllowThreads(__tstate);
1584 if (PyErr_Occurred()) SWIG_fail;
1585 }
1586 Py_INCREF(Py_None); resultobj = Py_None;
1587 return resultobj;
1588 fail:
1589 return NULL;
1590}
1591
1592
2f4c0a16 1593static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1594 PyObject *resultobj;
1595 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1596 int arg2 ;
1597 int arg3 ;
1598 PyObject * obj0 = 0 ;
8edf1c75
RD
1599 PyObject * obj1 = 0 ;
1600 PyObject * obj2 = 0 ;
d14a1e28
RD
1601 char *kwnames[] = {
1602 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1603 };
1604
8edf1c75 1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1608 arg2 = (int) SWIG_AsInt(obj1);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 arg3 = (int) SWIG_AsInt(obj2);
1611 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1612 {
1613 PyThreadState* __tstate = wxPyBeginAllowThreads();
1614 (arg1)->DoParsing(arg2,arg3);
1615
1616 wxPyEndAllowThreads(__tstate);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623}
1624
1625
2f4c0a16 1626static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1627 PyObject *resultobj;
1628 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1629 PyObject * obj0 = 0 ;
1630 char *kwnames[] = {
1631 (char *) "self", NULL
1632 };
1633
1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 (arg1)->StopParsing();
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 Py_INCREF(Py_None); resultobj = Py_None;
1645 return resultobj;
1646 fail:
1647 return NULL;
1648}
1649
1650
2f4c0a16 1651static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1652 PyObject *resultobj;
1653 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1654 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self",(char *) "handler", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 (arg1)->AddTagHandler(arg2);
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 Py_INCREF(Py_None); resultobj = Py_None;
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
2f4c0a16 1680static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1681 PyObject *resultobj;
1682 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1683 wxString *result;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 result = (wxString *)(arg1)->GetSource();
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 {
1700#if wxUSE_UNICODE
1701 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1702#else
1703 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1704#endif
1705 }
1706 return resultobj;
1707 fail:
1708 return NULL;
1709}
1710
1711
2f4c0a16 1712static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1713 PyObject *resultobj;
1714 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1715 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1716 wxString arg3 ;
d14a1e28
RD
1717 PyObject * obj0 = 0 ;
1718 PyObject * obj1 = 0 ;
1719 PyObject * obj2 = 0 ;
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "handler",(char *) "tags", NULL
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
1729 {
1730 wxString* sptr = wxString_in_helper(obj2);
1731 if (sptr == NULL) SWIG_fail;
1732 arg3 = *sptr;
1733 delete sptr;
1734 }
d14a1e28
RD
1735 {
1736 PyThreadState* __tstate = wxPyBeginAllowThreads();
1737 (arg1)->PushTagHandler(arg2,arg3);
1738
1739 wxPyEndAllowThreads(__tstate);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 Py_INCREF(Py_None); resultobj = Py_None;
1743 return resultobj;
1744 fail:
1745 return NULL;
1746}
1747
1748
2f4c0a16 1749static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1750 PyObject *resultobj;
1751 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1752 PyObject * obj0 = 0 ;
1753 char *kwnames[] = {
1754 (char *) "self", NULL
1755 };
1756
1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1760 {
1761 PyThreadState* __tstate = wxPyBeginAllowThreads();
1762 (arg1)->PopTagHandler();
1763
1764 wxPyEndAllowThreads(__tstate);
1765 if (PyErr_Occurred()) SWIG_fail;
1766 }
1767 Py_INCREF(Py_None); resultobj = Py_None;
1768 return resultobj;
1769 fail:
1770 return NULL;
1771}
1772
1773
2f4c0a16 1774static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1775 PyObject *obj;
1776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1777 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1778 Py_INCREF(obj);
1779 return Py_BuildValue((char *)"");
1780}
2f4c0a16 1781static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1782 PyObject *resultobj;
1783 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1784 wxHtmlWinParser *result;
1785 PyObject * obj0 = 0 ;
1786 char *kwnames[] = {
1787 (char *) "wnd", NULL
1788 };
1789
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1791 if (obj0) {
2f4c0a16
RD
1792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1794 }
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
2f4c0a16 1802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
d14a1e28
RD
1803 return resultobj;
1804 fail:
1805 return NULL;
1806}
1807
1808
2f4c0a16 1809static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1810 PyObject *resultobj;
1811 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1812 wxDC *arg2 = (wxDC *) 0 ;
1813 PyObject * obj0 = 0 ;
1814 PyObject * obj1 = 0 ;
1815 char *kwnames[] = {
1816 (char *) "self",(char *) "dc", NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1824 {
1825 PyThreadState* __tstate = wxPyBeginAllowThreads();
1826 (arg1)->SetDC(arg2);
1827
1828 wxPyEndAllowThreads(__tstate);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 }
1831 Py_INCREF(Py_None); resultobj = Py_None;
1832 return resultobj;
1833 fail:
1834 return NULL;
1835}
1836
1837
2f4c0a16 1838static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1839 PyObject *resultobj;
1840 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1841 wxDC *result;
1842 PyObject * obj0 = 0 ;
1843 char *kwnames[] = {
1844 (char *) "self", NULL
1845 };
1846
1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = (wxDC *)(arg1)->GetDC();
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 {
1858 resultobj = wxPyMake_wxObject(result);
1859 }
1860 return resultobj;
1861 fail:
1862 return NULL;
1863}
1864
1865
2f4c0a16 1866static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1867 PyObject *resultobj;
1868 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1869 int result;
1870 PyObject * obj0 = 0 ;
1871 char *kwnames[] = {
1872 (char *) "self", NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1878 {
1879 PyThreadState* __tstate = wxPyBeginAllowThreads();
1880 result = (int)(arg1)->GetCharHeight();
1881
1882 wxPyEndAllowThreads(__tstate);
1883 if (PyErr_Occurred()) SWIG_fail;
1884 }
2f4c0a16 1885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1886 return resultobj;
1887 fail:
1888 return NULL;
1889}
1890
1891
2f4c0a16 1892static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1893 PyObject *resultobj;
1894 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1895 int result;
1896 PyObject * obj0 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 result = (int)(arg1)->GetCharWidth();
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) SWIG_fail;
1910 }
2f4c0a16 1911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1912 return resultobj;
1913 fail:
1914 return NULL;
1915}
1916
1917
2f4c0a16 1918static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1919 PyObject *resultobj;
1920 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1921 wxPyHtmlWindow *result;
1922 PyObject * obj0 = 0 ;
1923 char *kwnames[] = {
1924 (char *) "self", NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1930 {
1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
1932 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1933
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 {
1938 resultobj = wxPyMake_wxObject(result);
1939 }
1940 return resultobj;
1941 fail:
1942 return NULL;
1943}
1944
1945
2f4c0a16 1946static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1947 PyObject *resultobj;
1948 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1949 wxString arg2 ;
1950 wxString arg3 ;
1951 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
1952 PyObject * obj0 = 0 ;
1953 PyObject * obj1 = 0 ;
1954 PyObject * obj2 = 0 ;
1955 PyObject * obj3 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
1961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
1963 {
1964 wxString* sptr = wxString_in_helper(obj1);
1965 if (sptr == NULL) SWIG_fail;
1966 arg2 = *sptr;
1967 delete sptr;
1968 }
1969 {
1970 wxString* sptr = wxString_in_helper(obj2);
1971 if (sptr == NULL) SWIG_fail;
1972 arg3 = *sptr;
1973 delete sptr;
1974 }
d14a1e28
RD
1975 if (obj3) {
1976 arg4 = obj3;
1977 }
1978 {
1979 PyThreadState* __tstate = wxPyBeginAllowThreads();
1980 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1981
1982 wxPyEndAllowThreads(__tstate);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 Py_INCREF(Py_None); resultobj = Py_None;
1986 return resultobj;
1987 fail:
1988 return NULL;
1989}
1990
1991
2f4c0a16 1992static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1993 PyObject *resultobj;
1994 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1995 wxHtmlContainerCell *result;
1996 PyObject * obj0 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "self", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) SWIG_fail;
2010 }
2f4c0a16 2011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2012 return resultobj;
2013 fail:
2014 return NULL;
2015}
2016
2017
2f4c0a16 2018static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2019 PyObject *resultobj;
2020 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2021 wxHtmlContainerCell *result;
2022 PyObject * obj0 = 0 ;
2023 char *kwnames[] = {
2024 (char *) "self", NULL
2025 };
2026
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
2f4c0a16 2037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2038 return resultobj;
2039 fail:
2040 return NULL;
2041}
2042
2043
2f4c0a16 2044static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2045 PyObject *resultobj;
2046 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2047 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2048 wxHtmlContainerCell *result;
2049 PyObject * obj0 = 0 ;
2050 PyObject * obj1 = 0 ;
2051 char *kwnames[] = {
2052 (char *) "self",(char *) "c", NULL
2053 };
2054
2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2f4c0a16 2067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2068 return resultobj;
2069 fail:
2070 return NULL;
2071}
2072
2073
2f4c0a16 2074static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2075 PyObject *resultobj;
2076 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2077 wxHtmlContainerCell *result;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2f4c0a16 2093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
2094 return resultobj;
2095 fail:
2096 return NULL;
2097}
2098
2099
2f4c0a16 2100static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2101 PyObject *resultobj;
2102 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2103 int result;
2104 PyObject * obj0 = 0 ;
2105 char *kwnames[] = {
2106 (char *) "self", NULL
2107 };
2108
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 result = (int)(arg1)->GetFontSize();
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 }
2f4c0a16 2119 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2120 return resultobj;
2121 fail:
2122 return NULL;
2123}
2124
2125
2f4c0a16 2126static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2127 PyObject *resultobj;
2128 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2129 int arg2 ;
2130 PyObject * obj0 = 0 ;
8edf1c75 2131 PyObject * obj1 = 0 ;
d14a1e28
RD
2132 char *kwnames[] = {
2133 (char *) "self",(char *) "s", NULL
2134 };
2135
8edf1c75 2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2139 arg2 = (int) SWIG_AsInt(obj1);
2140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 (arg1)->SetFontSize(arg2);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 return resultobj;
2150 fail:
2151 return NULL;
2152}
2153
2154
2f4c0a16 2155static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2156 PyObject *resultobj;
2157 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2158 int result;
2159 PyObject * obj0 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (int)(arg1)->GetFontBold();
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2f4c0a16 2174 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
2f4c0a16 2181static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2182 PyObject *resultobj;
2183 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2184 int arg2 ;
2185 PyObject * obj0 = 0 ;
8edf1c75 2186 PyObject * obj1 = 0 ;
d14a1e28
RD
2187 char *kwnames[] = {
2188 (char *) "self",(char *) "x", NULL
2189 };
2190
8edf1c75 2191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2194 arg2 = (int) SWIG_AsInt(obj1);
2195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 (arg1)->SetFontBold(arg2);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 Py_INCREF(Py_None); resultobj = Py_None;
2204 return resultobj;
2205 fail:
2206 return NULL;
2207}
2208
2209
2f4c0a16 2210static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2211 PyObject *resultobj;
2212 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2213 int result;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2222 {
2223 PyThreadState* __tstate = wxPyBeginAllowThreads();
2224 result = (int)(arg1)->GetFontItalic();
2225
2226 wxPyEndAllowThreads(__tstate);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 }
2f4c0a16 2229 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2230 return resultobj;
2231 fail:
2232 return NULL;
2233}
2234
2235
2f4c0a16 2236static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2237 PyObject *resultobj;
2238 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2239 int arg2 ;
2240 PyObject * obj0 = 0 ;
8edf1c75 2241 PyObject * obj1 = 0 ;
d14a1e28
RD
2242 char *kwnames[] = {
2243 (char *) "self",(char *) "x", NULL
2244 };
2245
8edf1c75 2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2249 arg2 = (int) SWIG_AsInt(obj1);
2250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2251 {
2252 PyThreadState* __tstate = wxPyBeginAllowThreads();
2253 (arg1)->SetFontItalic(arg2);
2254
2255 wxPyEndAllowThreads(__tstate);
2256 if (PyErr_Occurred()) SWIG_fail;
2257 }
2258 Py_INCREF(Py_None); resultobj = Py_None;
2259 return resultobj;
2260 fail:
2261 return NULL;
2262}
2263
2264
2f4c0a16 2265static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2266 PyObject *resultobj;
2267 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2268 int result;
2269 PyObject * obj0 = 0 ;
2270 char *kwnames[] = {
2271 (char *) "self", NULL
2272 };
2273
2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = (int)(arg1)->GetFontUnderlined();
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2f4c0a16 2284 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2285 return resultobj;
2286 fail:
2287 return NULL;
2288}
2289
2290
2f4c0a16 2291static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2292 PyObject *resultobj;
2293 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2294 int arg2 ;
2295 PyObject * obj0 = 0 ;
8edf1c75 2296 PyObject * obj1 = 0 ;
d14a1e28
RD
2297 char *kwnames[] = {
2298 (char *) "self",(char *) "x", NULL
2299 };
2300
8edf1c75 2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2304 arg2 = (int) SWIG_AsInt(obj1);
2305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 (arg1)->SetFontUnderlined(arg2);
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 Py_INCREF(Py_None); resultobj = Py_None;
2314 return resultobj;
2315 fail:
2316 return NULL;
2317}
2318
2319
2f4c0a16 2320static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2321 PyObject *resultobj;
2322 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2323 int result;
2324 PyObject * obj0 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "self", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 result = (int)(arg1)->GetFontFixed();
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2f4c0a16 2339 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2340 return resultobj;
2341 fail:
2342 return NULL;
2343}
2344
2345
2f4c0a16 2346static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2347 PyObject *resultobj;
2348 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2349 int arg2 ;
2350 PyObject * obj0 = 0 ;
8edf1c75 2351 PyObject * obj1 = 0 ;
d14a1e28
RD
2352 char *kwnames[] = {
2353 (char *) "self",(char *) "x", NULL
2354 };
2355
8edf1c75 2356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2359 arg2 = (int) SWIG_AsInt(obj1);
2360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 (arg1)->SetFontFixed(arg2);
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 Py_INCREF(Py_None); resultobj = Py_None;
2369 return resultobj;
2370 fail:
2371 return NULL;
2372}
2373
2374
2f4c0a16 2375static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2376 PyObject *resultobj;
2377 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2378 int result;
2379 PyObject * obj0 = 0 ;
2380 char *kwnames[] = {
2381 (char *) "self", NULL
2382 };
2383
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2387 {
2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
2389 result = (int)(arg1)->GetAlign();
2390
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) SWIG_fail;
2393 }
2f4c0a16 2394 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2395 return resultobj;
2396 fail:
2397 return NULL;
2398}
2399
2400
2f4c0a16 2401static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2402 PyObject *resultobj;
2403 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2404 int arg2 ;
2405 PyObject * obj0 = 0 ;
8edf1c75 2406 PyObject * obj1 = 0 ;
d14a1e28
RD
2407 char *kwnames[] = {
2408 (char *) "self",(char *) "a", NULL
2409 };
2410
8edf1c75 2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2414 arg2 = (int) SWIG_AsInt(obj1);
2415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 (arg1)->SetAlign(arg2);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 Py_INCREF(Py_None); resultobj = Py_None;
2424 return resultobj;
2425 fail:
2426 return NULL;
2427}
2428
2429
2f4c0a16 2430static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2431 PyObject *resultobj;
2432 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2433 wxColour result;
2434 PyObject * obj0 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2442 {
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 result = (arg1)->GetLinkColor();
2445
2446 wxPyEndAllowThreads(__tstate);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 {
2450 wxColour * resultptr;
2451 resultptr = new wxColour((wxColour &) result);
2f4c0a16 2452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2453 }
2454 return resultobj;
2455 fail:
2456 return NULL;
2457}
2458
2459
2f4c0a16 2460static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2461 PyObject *resultobj;
2462 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2463 wxColour *arg2 = 0 ;
2464 wxColour temp2 ;
2465 PyObject * obj0 = 0 ;
2466 PyObject * obj1 = 0 ;
2467 char *kwnames[] = {
2468 (char *) "self",(char *) "clr", NULL
2469 };
2470
2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2474 {
2475 arg2 = &temp2;
2476 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 (arg1)->SetLinkColor((wxColour const &)*arg2);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 Py_INCREF(Py_None); resultobj = Py_None;
2486 return resultobj;
2487 fail:
2488 return NULL;
2489}
2490
2491
2f4c0a16 2492static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2493 PyObject *resultobj;
2494 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2495 wxColour result;
2496 PyObject * obj0 = 0 ;
2497 char *kwnames[] = {
2498 (char *) "self", NULL
2499 };
2500
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 result = (arg1)->GetActualColor();
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 {
2512 wxColour * resultptr;
2513 resultptr = new wxColour((wxColour &) result);
2f4c0a16 2514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2515 }
2516 return resultobj;
2517 fail:
2518 return NULL;
2519}
2520
2521
2f4c0a16 2522static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2523 PyObject *resultobj;
2524 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2525 wxColour *arg2 = 0 ;
2526 wxColour temp2 ;
2527 PyObject * obj0 = 0 ;
2528 PyObject * obj1 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self",(char *) "clr", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2536 {
2537 arg2 = &temp2;
2538 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->SetActualColor((wxColour const &)*arg2);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551}
2552
2553
2f4c0a16 2554static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2555 PyObject *resultobj;
2556 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2557 wxString *arg2 = 0 ;
423f194a 2558 bool temp2 = False ;
d14a1e28
RD
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj1 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "self",(char *) "link", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2568 {
2569 arg2 = wxString_in_helper(obj1);
2570 if (arg2 == NULL) SWIG_fail;
423f194a 2571 temp2 = True;
d14a1e28
RD
2572 }
2573 {
2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
2575 (arg1)->SetLink((wxString const &)*arg2);
2576
2577 wxPyEndAllowThreads(__tstate);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 Py_INCREF(Py_None); resultobj = Py_None;
2581 {
2582 if (temp2)
2583 delete arg2;
2584 }
2585 return resultobj;
2586 fail:
2587 {
2588 if (temp2)
2589 delete arg2;
2590 }
2591 return NULL;
2592}
2593
2594
2f4c0a16 2595static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2596 PyObject *resultobj;
2597 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2598 wxFont *result;
2599 PyObject * obj0 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = (wxFont *)(arg1)->CreateCurrentFont();
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2f4c0a16 2614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
2f4c0a16 2621static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2622 PyObject *resultobj;
2623 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2624 SwigValueWrapper< wxHtmlLinkInfo > result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (arg1)->GetLink();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 {
2641 wxHtmlLinkInfo * resultptr;
2642 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2f4c0a16 2643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
d14a1e28
RD
2644 }
2645 return resultobj;
2646 fail:
2647 return NULL;
2648}
2649
2650
2f4c0a16 2651static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2652 PyObject *obj;
2653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2654 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2655 Py_INCREF(obj);
2656 return Py_BuildValue((char *)"");
2657}
2f4c0a16 2658static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2659 PyObject *resultobj;
2660 wxPyHtmlTagHandler *result;
2661 char *kwnames[] = {
2662 NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2f4c0a16 2673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
d14a1e28
RD
2674 return resultobj;
2675 fail:
2676 return NULL;
2677}
2678
2679
2f4c0a16 2680static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2681 PyObject *resultobj;
2682 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2683 PyObject *arg2 = (PyObject *) 0 ;
2684 PyObject *arg3 = (PyObject *) 0 ;
2685 PyObject * obj0 = 0 ;
2686 PyObject * obj1 = 0 ;
2687 PyObject * obj2 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "self",(char *) "self",(char *) "_class", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2695 arg2 = obj1;
2696 arg3 = obj2;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->_setCallbackInfo(arg2,arg3);
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708}
2709
2710
2f4c0a16 2711static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2712 PyObject *resultobj;
2713 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2714 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "parser", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 (arg1)->SetParser(arg2);
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) SWIG_fail;
2732 }
2733 Py_INCREF(Py_None); resultobj = Py_None;
2734 return resultobj;
2735 fail:
2736 return NULL;
2737}
2738
2739
2f4c0a16 2740static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2741 PyObject *resultobj;
2742 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2743 wxHtmlParser *result;
2744 PyObject * obj0 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (wxHtmlParser *)(arg1)->GetParser();
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2f4c0a16 2759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
d14a1e28
RD
2760 return resultobj;
2761 fail:
2762 return NULL;
2763}
2764
2765
2f4c0a16 2766static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2767 PyObject *resultobj;
2768 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2769 wxHtmlTag *arg2 = 0 ;
2770 PyObject * obj0 = 0 ;
2771 PyObject * obj1 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self",(char *) "tag", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2780 SWIG_POINTER_EXCEPTION | 0)) == -1)
2781 SWIG_fail;
d14a1e28 2782 if (arg2 == NULL) {
2f4c0a16
RD
2783 PyErr_SetString(PyExc_TypeError,"null reference");
2784 SWIG_fail;
d14a1e28
RD
2785 }
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 Py_INCREF(Py_None); resultobj = Py_None;
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
2f4c0a16 2800static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2801 PyObject *obj;
2802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2803 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2804 Py_INCREF(obj);
2805 return Py_BuildValue((char *)"");
2806}
2f4c0a16 2807static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2808 PyObject *resultobj;
2809 wxPyHtmlWinTagHandler *result;
2810 char *kwnames[] = {
2811 NULL
2812 };
2813
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2815 {
2816 PyThreadState* __tstate = wxPyBeginAllowThreads();
2817 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2818
2819 wxPyEndAllowThreads(__tstate);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 }
2f4c0a16 2822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
d14a1e28
RD
2823 return resultobj;
2824 fail:
2825 return NULL;
2826}
2827
2828
2f4c0a16 2829static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2830 PyObject *resultobj;
2831 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2832 PyObject *arg2 = (PyObject *) 0 ;
2833 PyObject *arg3 = (PyObject *) 0 ;
2834 PyObject * obj0 = 0 ;
2835 PyObject * obj1 = 0 ;
2836 PyObject * obj2 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self",(char *) "self",(char *) "_class", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2844 arg2 = obj1;
2845 arg3 = obj2;
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 (arg1)->_setCallbackInfo(arg2,arg3);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 Py_INCREF(Py_None); resultobj = Py_None;
2854 return resultobj;
2855 fail:
2856 return NULL;
2857}
2858
2859
2f4c0a16 2860static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2861 PyObject *resultobj;
2862 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2863 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2864 PyObject * obj0 = 0 ;
2865 PyObject * obj1 = 0 ;
2866 char *kwnames[] = {
2867 (char *) "self",(char *) "parser", NULL
2868 };
2869
2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 (arg1)->SetParser(arg2);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 Py_INCREF(Py_None); resultobj = Py_None;
2883 return resultobj;
2884 fail:
2885 return NULL;
2886}
2887
2888
2f4c0a16 2889static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2890 PyObject *resultobj;
2891 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2892 wxHtmlWinParser *result;
2893 PyObject * obj0 = 0 ;
2894 char *kwnames[] = {
2895 (char *) "self", NULL
2896 };
2897
2898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 result = (wxHtmlWinParser *)(arg1)->GetParser();
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2f4c0a16 2908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
2f4c0a16 2915static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2916 PyObject *resultobj;
2917 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2918 wxHtmlTag *arg2 = 0 ;
2919 PyObject * obj0 = 0 ;
2920 PyObject * obj1 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "self",(char *) "tag", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2929 SWIG_POINTER_EXCEPTION | 0)) == -1)
2930 SWIG_fail;
d14a1e28 2931 if (arg2 == NULL) {
2f4c0a16
RD
2932 PyErr_SetString(PyExc_TypeError,"null reference");
2933 SWIG_fail;
d14a1e28
RD
2934 }
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 return resultobj;
2944 fail:
2945 return NULL;
2946}
2947
2948
2f4c0a16 2949static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2950 PyObject *obj;
2951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2952 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2953 Py_INCREF(obj);
2954 return Py_BuildValue((char *)"");
2955}
2f4c0a16 2956static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2957 PyObject *resultobj;
2958 PyObject *arg1 = (PyObject *) 0 ;
2959 PyObject * obj0 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "tagHandlerClass", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2965 arg1 = obj0;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 wxHtmlWinParser_AddTagHandler(arg1);
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 Py_INCREF(Py_None); resultobj = Py_None;
2974 return resultobj;
2975 fail:
2976 return NULL;
2977}
2978
2979
2f4c0a16 2980static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2981 PyObject *resultobj;
2982 wxHtmlSelection *result;
2983 char *kwnames[] = {
2984 NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 result = (wxHtmlSelection *)new wxHtmlSelection();
2991
2992 wxPyEndAllowThreads(__tstate);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2f4c0a16 2995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
d14a1e28
RD
2996 return resultobj;
2997 fail:
2998 return NULL;
2999}
3000
3001
2f4c0a16 3002static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3003 PyObject *resultobj;
3004 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 delete arg1;
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 Py_INCREF(Py_None); resultobj = Py_None;
3021 return resultobj;
3022 fail:
3023 return NULL;
3024}
3025
3026
2f4c0a16 3027static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3028 PyObject *resultobj;
3029 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3030 wxPoint *arg2 = 0 ;
3031 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3032 wxPoint *arg4 = 0 ;
3033 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3034 wxPoint temp2 ;
3035 wxPoint temp4 ;
3036 PyObject * obj0 = 0 ;
3037 PyObject * obj1 = 0 ;
3038 PyObject * obj2 = 0 ;
3039 PyObject * obj3 = 0 ;
3040 PyObject * obj4 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3048 {
3049 arg2 = &temp2;
3050 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3051 }
2f4c0a16
RD
3052 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3054 {
3055 arg4 = &temp4;
3056 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3057 }
2f4c0a16
RD
3058 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
2f4c0a16 3074static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3075 PyObject *resultobj;
3076 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3077 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3078 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 PyObject * obj2 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3091 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 Py_INCREF(Py_None); resultobj = Py_None;
3101 return resultobj;
3102 fail:
3103 return NULL;
3104}
3105
3106
2f4c0a16 3107static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3108 PyObject *resultobj;
3109 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3110 wxHtmlCell *result;
3111 PyObject * obj0 = 0 ;
3112 char *kwnames[] = {
3113 (char *) "self", NULL
3114 };
3115
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3119 {
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3122
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
2f4c0a16 3126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
3127 return resultobj;
3128 fail:
3129 return NULL;
3130}
3131
3132
2f4c0a16 3133static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3134 PyObject *resultobj;
3135 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3136 wxHtmlCell *result;
3137 PyObject * obj0 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3145 {
3146 PyThreadState* __tstate = wxPyBeginAllowThreads();
3147 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3148
3149 wxPyEndAllowThreads(__tstate);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
2f4c0a16 3152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
3153 return resultobj;
3154 fail:
3155 return NULL;
3156}
3157
3158
2f4c0a16 3159static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3160 PyObject *resultobj;
3161 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3162 wxPoint *result;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 {
3174 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3175 result = (wxPoint *) &_result_ref;
3176 }
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
2f4c0a16 3181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3182 return resultobj;
3183 fail:
3184 return NULL;
3185}
3186
3187
2f4c0a16 3188static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3189 PyObject *resultobj;
3190 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3191 wxPoint *result;
3192 PyObject * obj0 = 0 ;
3193 char *kwnames[] = {
3194 (char *) "self", NULL
3195 };
3196
3197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3200 {
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 {
3203 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3204 result = (wxPoint *) &_result_ref;
3205 }
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
2f4c0a16 3210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3211 return resultobj;
3212 fail:
3213 return NULL;
3214}
3215
3216
2f4c0a16 3217static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3218 PyObject *resultobj;
3219 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3220 wxPoint *result;
3221 PyObject * obj0 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 {
3232 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3233 result = (wxPoint *) &_result_ref;
3234 }
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
2f4c0a16 3239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3240 return resultobj;
3241 fail:
3242 return NULL;
3243}
3244
3245
2f4c0a16 3246static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3247 PyObject *resultobj;
3248 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3249 wxPoint *result;
3250 PyObject * obj0 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 {
3261 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3262 result = (wxPoint *) &_result_ref;
3263 }
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
2f4c0a16 3268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3269 return resultobj;
3270 fail:
3271 return NULL;
3272}
3273
3274
2f4c0a16 3275static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3276 PyObject *resultobj;
3277 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3278 wxPoint *arg2 = 0 ;
3279 wxPoint temp2 ;
3280 PyObject * obj0 = 0 ;
3281 PyObject * obj1 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "pos", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3289 {
3290 arg2 = &temp2;
3291 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3292 }
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 Py_INCREF(Py_None); resultobj = Py_None;
3301 return resultobj;
3302 fail:
3303 return NULL;
3304}
3305
3306
2f4c0a16 3307static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3308 PyObject *resultobj;
3309 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3310 wxPoint *arg2 = 0 ;
3311 wxPoint temp2 ;
3312 PyObject * obj0 = 0 ;
3313 PyObject * obj1 = 0 ;
3314 char *kwnames[] = {
3315 (char *) "self",(char *) "pos", NULL
3316 };
3317
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3321 {
3322 arg2 = &temp2;
3323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3324 }
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 Py_INCREF(Py_None); resultobj = Py_None;
3333 return resultobj;
3334 fail:
3335 return NULL;
3336}
3337
3338
2f4c0a16 3339static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3340 PyObject *resultobj;
3341 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3342 PyObject * obj0 = 0 ;
3343 char *kwnames[] = {
3344 (char *) "self", NULL
3345 };
3346
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 (arg1)->ClearPrivPos();
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 Py_INCREF(Py_None); resultobj = Py_None;
3358 return resultobj;
3359 fail:
3360 return NULL;
3361}
3362
3363
2f4c0a16 3364static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3365 PyObject *resultobj;
3366 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3367 bool result;
3368 PyObject * obj0 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
02a34c4c 3383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3384 return resultobj;
3385 fail:
3386 return NULL;
3387}
3388
3389
2f4c0a16 3390static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3391 PyObject *obj;
3392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3393 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3394 Py_INCREF(obj);
3395 return Py_BuildValue((char *)"");
3396}
2f4c0a16 3397static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3398 PyObject *resultobj;
3399 wxHtmlRenderingState *result;
3400 char *kwnames[] = {
3401 NULL
3402 };
3403
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
2f4c0a16 3412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
d14a1e28
RD
3413 return resultobj;
3414 fail:
3415 return NULL;
3416}
3417
3418
2f4c0a16 3419static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3420 PyObject *resultobj;
3421 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3422 PyObject * obj0 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "self", NULL
3425 };
3426
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3430 {
3431 PyThreadState* __tstate = wxPyBeginAllowThreads();
3432 delete arg1;
3433
3434 wxPyEndAllowThreads(__tstate);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 }
3437 Py_INCREF(Py_None); resultobj = Py_None;
3438 return resultobj;
3439 fail:
3440 return NULL;
3441}
3442
3443
2f4c0a16 3444static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3445 PyObject *resultobj;
3446 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3447 int arg2 ;
3448 PyObject * obj0 = 0 ;
8edf1c75 3449 PyObject * obj1 = 0 ;
d14a1e28
RD
3450 char *kwnames[] = {
3451 (char *) "self",(char *) "s", NULL
3452 };
3453
8edf1c75 3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3457 arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1);
3458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 Py_INCREF(Py_None); resultobj = Py_None;
3467 return resultobj;
3468 fail:
3469 return NULL;
3470}
3471
3472
2f4c0a16 3473static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3474 PyObject *resultobj;
3475 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3476 int result;
3477 PyObject * obj0 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3485 {
3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
3487 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3488
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
2f4c0a16 3492 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
2f4c0a16 3499static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3500 PyObject *resultobj;
3501 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3502 wxColour *arg2 = 0 ;
3503 wxColour temp2 ;
3504 PyObject * obj0 = 0 ;
3505 PyObject * obj1 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self",(char *) "c", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3513 {
3514 arg2 = &temp2;
3515 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3516 }
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 (arg1)->SetFgColour((wxColour const &)*arg2);
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 Py_INCREF(Py_None); resultobj = Py_None;
3525 return resultobj;
3526 fail:
3527 return NULL;
3528}
3529
3530
2f4c0a16 3531static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3532 PyObject *resultobj;
3533 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3534 wxColour *result;
3535 PyObject * obj0 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "self", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 {
3546 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3547 result = (wxColour *) &_result_ref;
3548 }
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
2f4c0a16 3553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
3554 return resultobj;
3555 fail:
3556 return NULL;
3557}
3558
3559
2f4c0a16 3560static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3561 PyObject *resultobj;
3562 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3563 wxColour *arg2 = 0 ;
3564 wxColour temp2 ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self",(char *) "c", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3574 {
3575 arg2 = &temp2;
3576 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3577 }
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 (arg1)->SetBgColour((wxColour const &)*arg2);
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 Py_INCREF(Py_None); resultobj = Py_None;
3586 return resultobj;
3587 fail:
3588 return NULL;
3589}
3590
3591
2f4c0a16 3592static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3593 PyObject *resultobj;
3594 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3595 wxColour *result;
3596 PyObject * obj0 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 {
3607 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3608 result = (wxColour *) &_result_ref;
3609 }
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
2f4c0a16 3614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
3615 return resultobj;
3616 fail:
3617 return NULL;
3618}
3619
3620
2f4c0a16 3621static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3622 PyObject *obj;
3623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3624 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3625 Py_INCREF(obj);
3626 return Py_BuildValue((char *)"");
3627}
2f4c0a16 3628static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3629 PyObject *resultobj;
3630 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3631 wxColour *arg2 = 0 ;
3632 wxColour result;
3633 wxColour temp2 ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "clr", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3643 {
3644 arg2 = &temp2;
3645 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 wxColour * resultptr;
3656 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3658 }
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
2f4c0a16 3665static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3666 PyObject *resultobj;
3667 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3668 wxColour *arg2 = 0 ;
3669 wxColour result;
3670 wxColour temp2 ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 char *kwnames[] = {
3674 (char *) "self",(char *) "clr", NULL
3675 };
3676
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3680 {
3681 arg2 = &temp2;
3682 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3683 }
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 wxColour * resultptr;
3693 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3695 }
3696 return resultobj;
3697 fail:
3698 return NULL;
3699}
3700
3701
2f4c0a16 3702static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3703 PyObject *obj;
3704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3705 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3706 Py_INCREF(obj);
3707 return Py_BuildValue((char *)"");
3708}
2f4c0a16 3709static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3710 PyObject *resultobj;
3711 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3712 wxColour *arg2 = 0 ;
3713 wxColour result;
3714 wxColour temp2 ;
3715 PyObject * obj0 = 0 ;
3716 PyObject * obj1 = 0 ;
3717 char *kwnames[] = {
3718 (char *) "self",(char *) "clr", NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3724 {
3725 arg2 = &temp2;
3726 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3727 }
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 {
3736 wxColour * resultptr;
3737 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3739 }
3740 return resultobj;
3741 fail:
3742 return NULL;
3743}
3744
3745
2f4c0a16 3746static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3747 PyObject *resultobj;
3748 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3749 wxColour *arg2 = 0 ;
3750 wxColour result;
3751 wxColour temp2 ;
3752 PyObject * obj0 = 0 ;
3753 PyObject * obj1 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self",(char *) "clr", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3761 {
3762 arg2 = &temp2;
3763 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3764 }
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 {
3773 wxColour * resultptr;
3774 resultptr = new wxColour((wxColour &) result);
2f4c0a16 3775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
3776 }
3777 return resultobj;
3778 fail:
3779 return NULL;
3780}
3781
3782
2f4c0a16 3783static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3784 PyObject *obj;
3785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3786 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3787 Py_INCREF(obj);
3788 return Py_BuildValue((char *)"");
3789}
2f4c0a16 3790static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3791 PyObject *resultobj;
3792 wxHtmlRenderingInfo *result;
3793 char *kwnames[] = {
3794 NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3798 {
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3801
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
2f4c0a16 3805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
d14a1e28
RD
3806 return resultobj;
3807 fail:
3808 return NULL;
3809}
3810
3811
2f4c0a16 3812static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3813 PyObject *resultobj;
3814 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3815 PyObject * obj0 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "self", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 delete arg1;
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 Py_INCREF(Py_None); resultobj = Py_None;
3831 return resultobj;
3832 fail:
3833 return NULL;
3834}
3835
3836
2f4c0a16 3837static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3838 PyObject *resultobj;
3839 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3840 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3841 PyObject * obj0 = 0 ;
3842 PyObject * obj1 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self",(char *) "s", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
3851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 (arg1)->SetSelection(arg2);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 Py_INCREF(Py_None); resultobj = Py_None;
3860 return resultobj;
3861 fail:
3862 return NULL;
3863}
3864
3865
2f4c0a16 3866static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3867 PyObject *resultobj;
3868 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3869 wxHtmlSelection *result;
3870 PyObject * obj0 = 0 ;
3871 char *kwnames[] = {
3872 (char *) "self", NULL
3873 };
3874
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
2f4c0a16 3885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
d14a1e28
RD
3886 return resultobj;
3887 fail:
3888 return NULL;
3889}
3890
3891
2f4c0a16 3892static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3893 PyObject *resultobj;
3894 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3895 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3896 PyObject * obj0 = 0 ;
3897 PyObject * obj1 = 0 ;
3898 char *kwnames[] = {
3899 (char *) "self",(char *) "style", NULL
3900 };
3901
3902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
3906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 (arg1)->SetStyle(arg2);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 return resultobj;
3916 fail:
3917 return NULL;
3918}
3919
3920
2f4c0a16 3921static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3922 PyObject *resultobj;
3923 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3924 wxHtmlRenderingStyle *result;
3925 PyObject * obj0 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 {
3936 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3937 result = (wxHtmlRenderingStyle *) &_result_ref;
3938 }
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
2f4c0a16 3943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
d14a1e28
RD
3944 return resultobj;
3945 fail:
3946 return NULL;
3947}
3948
3949
2f4c0a16 3950static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3951 PyObject *resultobj;
3952 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3953 wxHtmlRenderingState *result;
3954 PyObject * obj0 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "self", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 {
3965 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3966 result = (wxHtmlRenderingState *) &_result_ref;
3967 }
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
2f4c0a16 3972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
d14a1e28
RD
3973 return resultobj;
3974 fail:
3975 return NULL;
3976}
3977
3978
2f4c0a16 3979static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3980 PyObject *obj;
3981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3982 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3983 Py_INCREF(obj);
3984 return Py_BuildValue((char *)"");
3985}
2f4c0a16 3986static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3987 PyObject *resultobj;
3988 wxHtmlCell *result;
3989 char *kwnames[] = {
3990 NULL
3991 };
3992
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 result = (wxHtmlCell *)new wxHtmlCell();
3997
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
2f4c0a16 4001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
d14a1e28
RD
4002 return resultobj;
4003 fail:
4004 return NULL;
4005}
4006
4007
2f4c0a16 4008static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4009 PyObject *resultobj;
4010 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4011 int result;
4012 PyObject * obj0 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "self", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (int)(arg1)->GetPosX();
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
2f4c0a16 4027 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4028 return resultobj;
4029 fail:
4030 return NULL;
4031}
4032
4033
2f4c0a16 4034static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4035 PyObject *resultobj;
4036 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4037 int result;
4038 PyObject * obj0 = 0 ;
4039 char *kwnames[] = {
4040 (char *) "self", NULL
4041 };
4042
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 result = (int)(arg1)->GetPosY();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
2f4c0a16 4053 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4054 return resultobj;
4055 fail:
4056 return NULL;
4057}
4058
4059
2f4c0a16 4060static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4061 PyObject *resultobj;
4062 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4063 int result;
4064 PyObject * obj0 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = (int)(arg1)->GetWidth();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
2f4c0a16 4079 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4080 return resultobj;
4081 fail:
4082 return NULL;
4083}
4084
4085
2f4c0a16 4086static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4087 PyObject *resultobj;
4088 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4089 int result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = (int)(arg1)->GetHeight();
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
2f4c0a16 4105 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
2f4c0a16 4112static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4113 PyObject *resultobj;
4114 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4115 int result;
4116 PyObject * obj0 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 result = (int)(arg1)->GetDescent();
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
2f4c0a16 4131 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4132 return resultobj;
4133 fail:
4134 return NULL;
4135}
4136
4137
2f4c0a16 4138static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
4139 PyObject *resultobj;
4140 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4141 wxString *result;
4142 PyObject * obj0 = 0 ;
4143 char *kwnames[] = {
4144 (char *) "self", NULL
4145 };
4146
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f
RD
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 {
4153 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4154 result = (wxString *) &_result_ref;
4155 }
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 {
4161#if wxUSE_UNICODE
4162 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4163#else
4164 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4165#endif
4166 }
4167 return resultobj;
4168 fail:
4169 return NULL;
4170}
4171
4172
2f4c0a16 4173static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
cbd72d4f
RD
4174 PyObject *resultobj;
4175 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4176 wxString *arg2 = 0 ;
4177 bool temp2 = False ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "id", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f
RD
4187 {
4188 arg2 = wxString_in_helper(obj1);
4189 if (arg2 == NULL) SWIG_fail;
4190 temp2 = True;
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->SetId((wxString const &)*arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 Py_INCREF(Py_None); resultobj = Py_None;
4200 {
4201 if (temp2)
4202 delete arg2;
4203 }
4204 return resultobj;
4205 fail:
4206 {
4207 if (temp2)
4208 delete arg2;
4209 }
4210 return NULL;
4211}
4212
4213
2f4c0a16 4214static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4215 PyObject *resultobj;
4216 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4217 int arg2 = (int) 0 ;
4218 int arg3 = (int) 0 ;
4219 wxHtmlLinkInfo *result;
4220 PyObject * obj0 = 0 ;
8edf1c75
RD
4221 PyObject * obj1 = 0 ;
4222 PyObject * obj2 = 0 ;
d14a1e28
RD
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "x",(char *) "y", NULL
4225 };
4226
8edf1c75 4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4230 if (obj1) {
2f4c0a16
RD
4231 arg2 = (int) SWIG_AsInt(obj1);
4232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4233 }
4234 if (obj2) {
2f4c0a16
RD
4235 arg3 = (int) SWIG_AsInt(obj2);
4236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4237 }
d14a1e28
RD
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
2f4c0a16 4245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
d14a1e28
RD
4246 return resultobj;
4247 fail:
4248 return NULL;
4249}
4250
4251
2f4c0a16 4252static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4253 PyObject *resultobj;
4254 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4255 wxHtmlCell *result;
4256 PyObject * obj0 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (wxHtmlCell *)(arg1)->GetNext();
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
2f4c0a16 4271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4272 return resultobj;
4273 fail:
4274 return NULL;
4275}
4276
4277
2f4c0a16 4278static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4279 PyObject *resultobj;
4280 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4281 wxHtmlContainerCell *result;
4282 PyObject * obj0 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
2f4c0a16 4297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
4298 return resultobj;
4299 fail:
4300 return NULL;
4301}
4302
4303
2f4c0a16 4304static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4305 PyObject *resultobj;
4306 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4307 wxHtmlCell *result;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4316 {
4317 PyThreadState* __tstate = wxPyBeginAllowThreads();
4318 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4319
4320 wxPyEndAllowThreads(__tstate);
4321 if (PyErr_Occurred()) SWIG_fail;
4322 }
2f4c0a16 4323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4324 return resultobj;
4325 fail:
4326 return NULL;
4327}
4328
4329
2f4c0a16 4330static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4331 PyObject *resultobj;
4332 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4333 wxCursor result;
4334 PyObject * obj0 = 0 ;
4335 char *kwnames[] = {
4336 (char *) "self", NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 result = ((wxHtmlCell const *)arg1)->GetCursor();
4345
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 {
4350 wxCursor * resultptr;
4351 resultptr = new wxCursor((wxCursor &) result);
2f4c0a16 4352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4353 }
4354 return resultobj;
4355 fail:
4356 return NULL;
4357}
4358
4359
2f4c0a16 4360static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4361 PyObject *resultobj;
4362 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4363 bool result;
4364 PyObject * obj0 = 0 ;
4365 char *kwnames[] = {
4366 (char *) "self", NULL
4367 };
4368
4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
02a34c4c 4379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4380 return resultobj;
4381 fail:
4382 return NULL;
4383}
4384
4385
2f4c0a16 4386static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4387 PyObject *resultobj;
4388 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4389 wxHtmlLinkInfo *arg2 = 0 ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self",(char *) "link", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4400 SWIG_POINTER_EXCEPTION | 0)) == -1)
4401 SWIG_fail;
d14a1e28 4402 if (arg2 == NULL) {
2f4c0a16
RD
4403 PyErr_SetString(PyExc_TypeError,"null reference");
4404 SWIG_fail;
d14a1e28
RD
4405 }
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 Py_INCREF(Py_None); resultobj = Py_None;
4414 return resultobj;
4415 fail:
4416 return NULL;
4417}
4418
4419
2f4c0a16 4420static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4421 PyObject *resultobj;
4422 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4423 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "cell", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 (arg1)->SetNext(arg2);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 Py_INCREF(Py_None); resultobj = Py_None;
4443 return resultobj;
4444 fail:
4445 return NULL;
4446}
4447
4448
2f4c0a16 4449static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4450 PyObject *resultobj;
4451 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4452 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4453 PyObject * obj0 = 0 ;
4454 PyObject * obj1 = 0 ;
4455 char *kwnames[] = {
4456 (char *) "self",(char *) "p", NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 (arg1)->SetParent(arg2);
4467
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 Py_INCREF(Py_None); resultobj = Py_None;
4472 return resultobj;
4473 fail:
4474 return NULL;
4475}
4476
4477
2f4c0a16 4478static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4479 PyObject *resultobj;
4480 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4481 int arg2 ;
4482 int arg3 ;
4483 PyObject * obj0 = 0 ;
8edf1c75
RD
4484 PyObject * obj1 = 0 ;
4485 PyObject * obj2 = 0 ;
d14a1e28
RD
4486 char *kwnames[] = {
4487 (char *) "self",(char *) "x",(char *) "y", NULL
4488 };
4489
8edf1c75 4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4493 arg2 = (int) SWIG_AsInt(obj1);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 arg3 = (int) SWIG_AsInt(obj2);
4496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4497 {
4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
4499 (arg1)->SetPos(arg2,arg3);
4500
4501 wxPyEndAllowThreads(__tstate);
4502 if (PyErr_Occurred()) SWIG_fail;
4503 }
4504 Py_INCREF(Py_None); resultobj = Py_None;
4505 return resultobj;
4506 fail:
4507 return NULL;
4508}
4509
4510
2f4c0a16 4511static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4512 PyObject *resultobj;
4513 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4514 int arg2 ;
4515 PyObject * obj0 = 0 ;
8edf1c75 4516 PyObject * obj1 = 0 ;
d14a1e28
RD
4517 char *kwnames[] = {
4518 (char *) "self",(char *) "w", NULL
4519 };
4520
8edf1c75 4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4524 arg2 = (int) SWIG_AsInt(obj1);
4525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4526 {
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 (arg1)->Layout(arg2);
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 Py_INCREF(Py_None); resultobj = Py_None;
4534 return resultobj;
4535 fail:
4536 return NULL;
4537}
4538
4539
2f4c0a16 4540static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4541 PyObject *resultobj;
4542 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4543 wxDC *arg2 = 0 ;
4544 int arg3 ;
4545 int arg4 ;
4546 int arg5 ;
4547 int arg6 ;
4548 wxHtmlRenderingInfo *arg7 = 0 ;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
8edf1c75
RD
4551 PyObject * obj2 = 0 ;
4552 PyObject * obj3 = 0 ;
4553 PyObject * obj4 = 0 ;
4554 PyObject * obj5 = 0 ;
d14a1e28
RD
4555 PyObject * obj6 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4558 };
4559
8edf1c75 4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
4561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4564 SWIG_POINTER_EXCEPTION | 0)) == -1)
4565 SWIG_fail;
d14a1e28 4566 if (arg2 == NULL) {
2f4c0a16
RD
4567 PyErr_SetString(PyExc_TypeError,"null reference");
4568 SWIG_fail;
4569 }
4570 arg3 = (int) SWIG_AsInt(obj2);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 arg4 = (int) SWIG_AsInt(obj3);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 arg5 = (int) SWIG_AsInt(obj4);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 arg6 = (int) SWIG_AsInt(obj5);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4579 SWIG_POINTER_EXCEPTION | 0)) == -1)
4580 SWIG_fail;
d14a1e28 4581 if (arg7 == NULL) {
2f4c0a16
RD
4582 PyErr_SetString(PyExc_TypeError,"null reference");
4583 SWIG_fail;
d14a1e28
RD
4584 }
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 return resultobj;
4594 fail:
4595 return NULL;
4596}
4597
4598
2f4c0a16 4599static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4600 PyObject *resultobj;
4601 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4602 wxDC *arg2 = 0 ;
4603 int arg3 ;
4604 int arg4 ;
4605 wxHtmlRenderingInfo *arg5 = 0 ;
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
8edf1c75
RD
4608 PyObject * obj2 = 0 ;
4609 PyObject * obj3 = 0 ;
d14a1e28
RD
4610 PyObject * obj4 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4613 };
4614
8edf1c75 4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4619 SWIG_POINTER_EXCEPTION | 0)) == -1)
4620 SWIG_fail;
d14a1e28 4621 if (arg2 == NULL) {
2f4c0a16
RD
4622 PyErr_SetString(PyExc_TypeError,"null reference");
4623 SWIG_fail;
4624 }
4625 arg3 = (int) SWIG_AsInt(obj2);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 arg4 = (int) SWIG_AsInt(obj3);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4630 SWIG_POINTER_EXCEPTION | 0)) == -1)
4631 SWIG_fail;
d14a1e28 4632 if (arg5 == NULL) {
2f4c0a16
RD
4633 PyErr_SetString(PyExc_TypeError,"null reference");
4634 SWIG_fail;
d14a1e28
RD
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647}
4648
4649
2f4c0a16 4650static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4651 PyObject *resultobj;
4652 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4653 int arg2 ;
4654 void *arg3 = (void *) 0 ;
4655 wxHtmlCell *result;
4656 PyObject * obj0 = 0 ;
8edf1c75 4657 PyObject * obj1 = 0 ;
d14a1e28
RD
4658 PyObject * obj2 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "self",(char *) "condition",(char *) "param", NULL
4661 };
4662
8edf1c75 4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4666 arg2 = (int) SWIG_AsInt(obj1);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
2f4c0a16 4676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4677 return resultobj;
4678 fail:
4679 return NULL;
4680}
4681
4682
2f4c0a16 4683static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4684 PyObject *resultobj;
4685 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4686 int *arg2 = (int *) 0 ;
4687 bool result;
4688 int temp2 ;
4689 PyObject * obj0 = 0 ;
4690 PyObject * obj1 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "self",(char *) "INOUT", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4698 {
4699 temp2 = PyInt_AsLong(obj1);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 arg2 = &temp2;
4702 }
4703 {
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 result = (bool)(arg1)->AdjustPagebreak(arg2);
4706
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
02a34c4c 4710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4711 {
4712 PyObject *o = PyInt_FromLong((long) (*arg2));
4713 resultobj = t_output_helper(resultobj,o);
4714 }
4715 return resultobj;
4716 fail:
4717 return NULL;
4718}
4719
4720
2f4c0a16 4721static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4722 PyObject *resultobj;
4723 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4724 bool arg2 ;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 char *kwnames[] = {
4728 (char *) "self",(char *) "can", NULL
4729 };
4730
4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4734 arg2 = (bool) SWIG_AsBool(obj1);
4735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 (arg1)->SetCanLiveOnPagebreak(arg2);
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 Py_INCREF(Py_None); resultobj = Py_None;
4744 return resultobj;
4745 fail:
4746 return NULL;
4747}
4748
4749
2f4c0a16 4750static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4751 PyObject *resultobj;
4752 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4753 bool result;
4754 PyObject * obj0 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "self", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4762 {
4763 PyThreadState* __tstate = wxPyBeginAllowThreads();
4764 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4765
4766 wxPyEndAllowThreads(__tstate);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
02a34c4c 4769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4770 return resultobj;
4771 fail:
4772 return NULL;
4773}
4774
4775
2f4c0a16 4776static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4777 PyObject *resultobj;
4778 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4779 bool result;
4780 PyObject * obj0 = 0 ;
4781 char *kwnames[] = {
4782 (char *) "self", NULL
4783 };
4784
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4791
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
02a34c4c 4795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4796 return resultobj;
4797 fail:
4798 return NULL;
4799}
4800
4801
2f4c0a16 4802static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4803 PyObject *resultobj;
4804 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
4805 int arg2 ;
4806 int arg3 ;
d14a1e28
RD
4807 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4808 wxHtmlCell *result;
4809 PyObject * obj0 = 0 ;
8edf1c75
RD
4810 PyObject * obj1 = 0 ;
4811 PyObject * obj2 = 0 ;
d14a1e28
RD
4812 PyObject * obj3 = 0 ;
4813 char *kwnames[] = {
4814 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4815 };
4816
8edf1c75 4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
4818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4820 arg2 = (int) SWIG_AsInt(obj1);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 arg3 = (int) SWIG_AsInt(obj2);
4823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4824 if (obj3) {
2f4c0a16
RD
4825 arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3);
4826 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4827 }
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
2f4c0a16 4835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4836 return resultobj;
4837 fail:
4838 return NULL;
4839}
4840
4841
2f4c0a16 4842static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4843 PyObject *resultobj;
4844 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4845 wxPoint result;
4846 PyObject * obj0 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 {
4862 wxPoint * resultptr;
4863 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 4864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4865 }
4866 return resultobj;
4867 fail:
4868 return NULL;
4869}
4870
4871
2f4c0a16 4872static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4873 PyObject *resultobj;
4874 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4875 wxHtmlCell *result;
4876 PyObject * obj0 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4887
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
2f4c0a16 4891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4892 return resultobj;
4893 fail:
4894 return NULL;
4895}
4896
4897
2f4c0a16 4898static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4899 PyObject *resultobj;
4900 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4901 wxHtmlCell *result;
4902 PyObject * obj0 = 0 ;
4903 char *kwnames[] = {
4904 (char *) "self", NULL
4905 };
4906
4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
2f4c0a16 4917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
4918 return resultobj;
4919 fail:
4920 return NULL;
4921}
4922
4923
2f4c0a16 4924static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4925 PyObject *resultobj;
4926 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4927 unsigned int result;
4928 PyObject * obj0 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
2f4c0a16 4943 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
4944 return resultobj;
4945 fail:
4946 return NULL;
4947}
4948
4949
2f4c0a16 4950static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4951 PyObject *resultobj;
4952 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4953 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4954 bool result;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self",(char *) "cell", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
4969
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
02a34c4c 4973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4974 return resultobj;
4975 fail:
4976 return NULL;
4977}
4978
4979
2f4c0a16 4980static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4981 PyObject *resultobj;
4982 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4983 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4984 wxString result;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "self",(char *) "sel", NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
4995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 {
5004#if wxUSE_UNICODE
5005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5006#else
5007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5008#endif
5009 }
5010 return resultobj;
5011 fail:
5012 return NULL;
5013}
5014
5015
2f4c0a16 5016static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5017 PyObject *obj;
5018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5019 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5020 Py_INCREF(obj);
5021 return Py_BuildValue((char *)"");
5022}
2f4c0a16 5023static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5024 PyObject *resultobj;
5025 wxString *arg1 = 0 ;
5026 wxDC *arg2 = 0 ;
5027 wxHtmlWordCell *result;
423f194a 5028 bool temp1 = False ;
d14a1e28
RD
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "word",(char *) "dc", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5036 {
5037 arg1 = wxString_in_helper(obj0);
5038 if (arg1 == NULL) SWIG_fail;
423f194a 5039 temp1 = True;
d14a1e28 5040 }
2f4c0a16
RD
5041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1)
5043 SWIG_fail;
d14a1e28 5044 if (arg2 == NULL) {
2f4c0a16
RD
5045 PyErr_SetString(PyExc_TypeError,"null reference");
5046 SWIG_fail;
d14a1e28
RD
5047 }
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
2f4c0a16 5055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
d14a1e28
RD
5056 {
5057 if (temp1)
5058 delete arg1;
5059 }
5060 return resultobj;
5061 fail:
5062 {
5063 if (temp1)
5064 delete arg1;
5065 }
5066 return NULL;
5067}
5068
5069
2f4c0a16 5070static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5071 PyObject *obj;
5072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5073 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5074 Py_INCREF(obj);
5075 return Py_BuildValue((char *)"");
5076}
2f4c0a16 5077static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5078 PyObject *resultobj;
5079 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5080 wxHtmlContainerCell *result;
5081 PyObject * obj0 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "parent", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
2f4c0a16 5096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
d14a1e28
RD
5097 return resultobj;
5098 fail:
5099 return NULL;
5100}
5101
5102
2f4c0a16 5103static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5104 PyObject *resultobj;
5105 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5106 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self",(char *) "cell", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->InsertCell(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
2f4c0a16 5132static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5133 PyObject *resultobj;
5134 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5135 int arg2 ;
5136 PyObject * obj0 = 0 ;
8edf1c75 5137 PyObject * obj1 = 0 ;
d14a1e28
RD
5138 char *kwnames[] = {
5139 (char *) "self",(char *) "al", NULL
5140 };
5141
8edf1c75 5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5145 arg2 = (int) SWIG_AsInt(obj1);
5146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 (arg1)->SetAlignHor(arg2);
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 Py_INCREF(Py_None); resultobj = Py_None;
5155 return resultobj;
5156 fail:
5157 return NULL;
5158}
5159
5160
2f4c0a16 5161static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5162 PyObject *resultobj;
5163 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5164 int result;
5165 PyObject * obj0 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (int)(arg1)->GetAlignHor();
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
2f4c0a16 5180 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
2f4c0a16 5187static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5188 PyObject *resultobj;
5189 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5190 int arg2 ;
5191 PyObject * obj0 = 0 ;
8edf1c75 5192 PyObject * obj1 = 0 ;
d14a1e28
RD
5193 char *kwnames[] = {
5194 (char *) "self",(char *) "al", NULL
5195 };
5196
8edf1c75 5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5200 arg2 = (int) SWIG_AsInt(obj1);
5201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->SetAlignVer(arg2);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
2f4c0a16 5216static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5217 PyObject *resultobj;
5218 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5219 int result;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (int)(arg1)->GetAlignVer();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
2f4c0a16 5235 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5236 return resultobj;
5237 fail:
5238 return NULL;
5239}
5240
5241
2f4c0a16 5242static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5243 PyObject *resultobj;
5244 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5245 int arg2 ;
5246 int arg3 ;
5247 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5248 PyObject * obj0 = 0 ;
8edf1c75
RD
5249 PyObject * obj1 = 0 ;
5250 PyObject * obj2 = 0 ;
5251 PyObject * obj3 = 0 ;
d14a1e28
RD
5252 char *kwnames[] = {
5253 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5254 };
5255
8edf1c75 5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5259 arg2 = (int) SWIG_AsInt(obj1);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 arg3 = (int) SWIG_AsInt(obj2);
5262 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5263 if (obj3) {
2f4c0a16
RD
5264 arg4 = (int) SWIG_AsInt(obj3);
5265 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5266 }
d14a1e28
RD
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->SetIndent(arg2,arg3,arg4);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
2f4c0a16 5281static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5282 PyObject *resultobj;
5283 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5284 int arg2 ;
5285 int result;
5286 PyObject * obj0 = 0 ;
8edf1c75 5287 PyObject * obj1 = 0 ;
d14a1e28
RD
5288 char *kwnames[] = {
5289 (char *) "self",(char *) "ind", NULL
5290 };
5291
8edf1c75 5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5295 arg2 = (int) SWIG_AsInt(obj1);
5296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 result = (int)(arg1)->GetIndent(arg2);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
2f4c0a16 5304 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5305 return resultobj;
5306 fail:
5307 return NULL;
5308}
5309
5310
2f4c0a16 5311static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5312 PyObject *resultobj;
5313 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5314 int arg2 ;
5315 int result;
5316 PyObject * obj0 = 0 ;
8edf1c75 5317 PyObject * obj1 = 0 ;
d14a1e28
RD
5318 char *kwnames[] = {
5319 (char *) "self",(char *) "ind", NULL
5320 };
5321
8edf1c75 5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5325 arg2 = (int) SWIG_AsInt(obj1);
5326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5327 {
5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
5329 result = (int)(arg1)->GetIndentUnits(arg2);
5330
5331 wxPyEndAllowThreads(__tstate);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
2f4c0a16 5334 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5335 return resultobj;
5336 fail:
5337 return NULL;
5338}
5339
5340
2f4c0a16 5341static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5342 PyObject *resultobj;
5343 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5344 wxHtmlTag *arg2 = 0 ;
5345 PyObject * obj0 = 0 ;
5346 PyObject * obj1 = 0 ;
5347 char *kwnames[] = {
5348 (char *) "self",(char *) "tag", NULL
5349 };
5350
5351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1)
5356 SWIG_fail;
d14a1e28 5357 if (arg2 == NULL) {
2f4c0a16
RD
5358 PyErr_SetString(PyExc_TypeError,"null reference");
5359 SWIG_fail;
d14a1e28
RD
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 Py_INCREF(Py_None); resultobj = Py_None;
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
2f4c0a16 5375static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5376 PyObject *resultobj;
5377 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5378 int arg2 ;
5379 int arg3 ;
5380 PyObject * obj0 = 0 ;
8edf1c75
RD
5381 PyObject * obj1 = 0 ;
5382 PyObject * obj2 = 0 ;
d14a1e28
RD
5383 char *kwnames[] = {
5384 (char *) "self",(char *) "w",(char *) "units", NULL
5385 };
5386
8edf1c75 5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5390 arg2 = (int) SWIG_AsInt(obj1);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 arg3 = (int) SWIG_AsInt(obj2);
5393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5394 {
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 (arg1)->SetWidthFloat(arg2,arg3);
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 Py_INCREF(Py_None); resultobj = Py_None;
5402 return resultobj;
5403 fail:
5404 return NULL;
5405}
5406
5407
2f4c0a16 5408static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5409 PyObject *resultobj;
5410 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5411 wxHtmlTag *arg2 = 0 ;
5412 PyObject * obj0 = 0 ;
5413 PyObject * obj1 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self",(char *) "tag", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5422 SWIG_POINTER_EXCEPTION | 0)) == -1)
5423 SWIG_fail;
d14a1e28 5424 if (arg2 == NULL) {
2f4c0a16
RD
5425 PyErr_SetString(PyExc_TypeError,"null reference");
5426 SWIG_fail;
d14a1e28
RD
5427 }
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 Py_INCREF(Py_None); resultobj = Py_None;
5436 return resultobj;
5437 fail:
5438 return NULL;
5439}
5440
5441
2f4c0a16 5442static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5443 PyObject *resultobj;
5444 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5445 int arg2 ;
5446 int arg3 = (int) wxHTML_ALIGN_TOP ;
5447 PyObject * obj0 = 0 ;
8edf1c75
RD
5448 PyObject * obj1 = 0 ;
5449 PyObject * obj2 = 0 ;
d14a1e28
RD
5450 char *kwnames[] = {
5451 (char *) "self",(char *) "h",(char *) "align", NULL
5452 };
5453
8edf1c75 5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5457 arg2 = (int) SWIG_AsInt(obj1);
5458 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5459 if (obj2) {
2f4c0a16
RD
5460 arg3 = (int) SWIG_AsInt(obj2);
5461 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5462 }
d14a1e28
RD
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 (arg1)->SetMinHeight(arg2,arg3);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 Py_INCREF(Py_None); resultobj = Py_None;
5471 return resultobj;
5472 fail:
5473 return NULL;
5474}
5475
5476
2f4c0a16 5477static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5478 PyObject *resultobj;
5479 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5480 wxColour *arg2 = 0 ;
5481 wxColour temp2 ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self",(char *) "clr", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5491 {
5492 arg2 = &temp2;
5493 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5494 }
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5498
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 Py_INCREF(Py_None); resultobj = Py_None;
5503 return resultobj;
5504 fail:
5505 return NULL;
5506}
5507
5508
2f4c0a16 5509static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5510 PyObject *resultobj;
5511 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5512 wxColour result;
5513 PyObject * obj0 = 0 ;
5514 char *kwnames[] = {
5515 (char *) "self", NULL
5516 };
5517
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (arg1)->GetBackgroundColour();
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529 wxColour * resultptr;
5530 resultptr = new wxColour((wxColour &) result);
2f4c0a16 5531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
5532 }
5533 return resultobj;
5534 fail:
5535 return NULL;
5536}
5537
5538
2f4c0a16 5539static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5540 PyObject *resultobj;
5541 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5542 wxColour *arg2 = 0 ;
5543 wxColour *arg3 = 0 ;
5544 wxColour temp2 ;
5545 wxColour temp3 ;
5546 PyObject * obj0 = 0 ;
5547 PyObject * obj1 = 0 ;
5548 PyObject * obj2 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5556 {
5557 arg2 = &temp2;
5558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5559 }
5560 {
5561 arg3 = &temp3;
5562 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5563 }
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5567
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575}
5576
5577
2f4c0a16 5578static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5579 PyObject *resultobj;
5580 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5581 wxHtmlCell *result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
2f4c0a16 5597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
d14a1e28
RD
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
2f4c0a16 5604static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5605 PyObject *obj;
5606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5608 Py_INCREF(obj);
5609 return Py_BuildValue((char *)"");
5610}
2f4c0a16 5611static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5612 PyObject *resultobj;
5613 wxColour arg1 ;
5614 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5615 wxHtmlColourCell *result;
5616 wxColour *argp1 ;
5617 PyObject * obj0 = 0 ;
8edf1c75 5618 PyObject * obj1 = 0 ;
d14a1e28
RD
5619 char *kwnames[] = {
5620 (char *) "clr",(char *) "flags", NULL
5621 };
5622
8edf1c75 5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5624 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5625 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5626 arg1 = *argp1;
8edf1c75 5627 if (obj1) {
2f4c0a16
RD
5628 arg2 = (int) SWIG_AsInt(obj1);
5629 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5630 }
d14a1e28
RD
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
2f4c0a16 5638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
d14a1e28
RD
5639 return resultobj;
5640 fail:
5641 return NULL;
5642}
5643
5644
2f4c0a16 5645static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5646 PyObject *obj;
5647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5648 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5649 Py_INCREF(obj);
5650 return Py_BuildValue((char *)"");
5651}
2f4c0a16 5652static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5653 PyObject *resultobj;
5654 wxFont *arg1 = (wxFont *) 0 ;
5655 wxHtmlFontCell *result;
5656 PyObject * obj0 = 0 ;
5657 char *kwnames[] = {
5658 (char *) "font", NULL
5659 };
5660
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5667
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
2f4c0a16 5671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
d14a1e28
RD
5672 return resultobj;
5673 fail:
5674 return NULL;
5675}
5676
5677
2f4c0a16 5678static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5679 PyObject *obj;
5680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5681 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5682 Py_INCREF(obj);
5683 return Py_BuildValue((char *)"");
5684}
2f4c0a16 5685static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5686 PyObject *resultobj;
5687 wxWindow *arg1 = (wxWindow *) 0 ;
5688 int arg2 = (int) 0 ;
5689 wxHtmlWidgetCell *result;
5690 PyObject * obj0 = 0 ;
8edf1c75 5691 PyObject * obj1 = 0 ;
d14a1e28
RD
5692 char *kwnames[] = {
5693 (char *) "wnd",(char *) "w", NULL
5694 };
5695
8edf1c75 5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5699 if (obj1) {
2f4c0a16
RD
5700 arg2 = (int) SWIG_AsInt(obj1);
5701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5702 }
d14a1e28
RD
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
2f4c0a16 5710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
d14a1e28
RD
5711 return resultobj;
5712 fail:
5713 return NULL;
5714}
5715
5716
2f4c0a16 5717static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5718 PyObject *obj;
5719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5720 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5721 Py_INCREF(obj);
5722 return Py_BuildValue((char *)"");
5723}
2f4c0a16 5724static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5725 PyObject *resultobj;
5726 wxPyHtmlFilter *result;
5727 char *kwnames[] = {
5728 NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
2f4c0a16 5739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
d14a1e28
RD
5740 return resultobj;
5741 fail:
5742 return NULL;
5743}
5744
5745
2f4c0a16 5746static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5747 PyObject *resultobj;
5748 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5749 PyObject *arg2 = (PyObject *) 0 ;
5750 PyObject *arg3 = (PyObject *) 0 ;
5751 PyObject * obj0 = 0 ;
5752 PyObject * obj1 = 0 ;
5753 PyObject * obj2 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "self",(char *) "_class", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
5760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5761 arg2 = obj1;
5762 arg3 = obj2;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->_setCallbackInfo(arg2,arg3);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 Py_INCREF(Py_None); resultobj = Py_None;
5771 return resultobj;
5772 fail:
5773 return NULL;
5774}
5775
5776
2f4c0a16 5777static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5778 PyObject *obj;
5779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5780 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5781 Py_INCREF(obj);
5782 return Py_BuildValue((char *)"");
5783}
2f4c0a16 5784static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5785 PyObject *resultobj;
5786 wxWindow *arg1 = (wxWindow *) 0 ;
5787 int arg2 = (int) -1 ;
5788 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5789 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5790 wxSize const &arg4_defvalue = wxDefaultSize ;
5791 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5792 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5793 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5794 wxString *arg6 = (wxString *) &arg6_defvalue ;
5795 wxPyHtmlWindow *result;
5796 wxPoint temp3 ;
5797 wxSize temp4 ;
423f194a 5798 bool temp6 = False ;
d14a1e28 5799 PyObject * obj0 = 0 ;
8edf1c75 5800 PyObject * obj1 = 0 ;
d14a1e28
RD
5801 PyObject * obj2 = 0 ;
5802 PyObject * obj3 = 0 ;
8edf1c75 5803 PyObject * obj4 = 0 ;
d14a1e28
RD
5804 PyObject * obj5 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5807 };
5808
8edf1c75 5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
5810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5812 if (obj1) {
2f4c0a16
RD
5813 arg2 = (int) SWIG_AsInt(obj1);
5814 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5815 }
d14a1e28
RD
5816 if (obj2) {
5817 {
5818 arg3 = &temp3;
5819 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5820 }
5821 }
5822 if (obj3) {
5823 {
5824 arg4 = &temp4;
5825 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5826 }
5827 }
8edf1c75 5828 if (obj4) {
2f4c0a16
RD
5829 arg5 = (int) SWIG_AsInt(obj4);
5830 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5831 }
d14a1e28
RD
5832 if (obj5) {
5833 {
5834 arg6 = wxString_in_helper(obj5);
5835 if (arg6 == NULL) SWIG_fail;
423f194a 5836 temp6 = True;
d14a1e28
RD
5837 }
5838 }
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 {
5847 resultobj = wxPyMake_wxObject(result);
5848 }
5849 {
5850 if (temp6)
5851 delete arg6;
5852 }
5853 return resultobj;
5854 fail:
5855 {
5856 if (temp6)
5857 delete arg6;
5858 }
5859 return NULL;
5860}
5861
5862
2f4c0a16 5863static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5864 PyObject *resultobj;
5865 wxPyHtmlWindow *result;
5866 char *kwnames[] = {
5867 NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 {
5879 resultobj = wxPyMake_wxObject(result);
5880 }
5881 return resultobj;
5882 fail:
5883 return NULL;
5884}
5885
5886
2f4c0a16 5887static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5888 PyObject *resultobj;
5889 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5890 wxWindow *arg2 = (wxWindow *) 0 ;
5891 int arg3 = (int) -1 ;
5892 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5893 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5894 wxSize const &arg5_defvalue = wxDefaultSize ;
5895 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5896 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5897 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5898 wxString *arg7 = (wxString *) &arg7_defvalue ;
5899 bool result;
5900 wxPoint temp4 ;
5901 wxSize temp5 ;
423f194a 5902 bool temp7 = False ;
d14a1e28
RD
5903 PyObject * obj0 = 0 ;
5904 PyObject * obj1 = 0 ;
8edf1c75 5905 PyObject * obj2 = 0 ;
d14a1e28
RD
5906 PyObject * obj3 = 0 ;
5907 PyObject * obj4 = 0 ;
8edf1c75 5908 PyObject * obj5 = 0 ;
d14a1e28
RD
5909 PyObject * obj6 = 0 ;
5910 char *kwnames[] = {
5911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5912 };
5913
8edf1c75 5914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
5915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
5916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5919 if (obj2) {
2f4c0a16
RD
5920 arg3 = (int) SWIG_AsInt(obj2);
5921 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5922 }
d14a1e28
RD
5923 if (obj3) {
5924 {
5925 arg4 = &temp4;
5926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5927 }
5928 }
5929 if (obj4) {
5930 {
5931 arg5 = &temp5;
5932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5933 }
5934 }
8edf1c75 5935 if (obj5) {
2f4c0a16
RD
5936 arg6 = (int) SWIG_AsInt(obj5);
5937 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5938 }
d14a1e28
RD
5939 if (obj6) {
5940 {
5941 arg7 = wxString_in_helper(obj6);
5942 if (arg7 == NULL) SWIG_fail;
423f194a 5943 temp7 = True;
d14a1e28
RD
5944 }
5945 }
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
02a34c4c 5953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5954 {
5955 if (temp7)
5956 delete arg7;
5957 }
5958 return resultobj;
5959 fail:
5960 {
5961 if (temp7)
5962 delete arg7;
5963 }
5964 return NULL;
5965}
5966
5967
2f4c0a16 5968static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5969 PyObject *resultobj;
5970 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5971 PyObject *arg2 = (PyObject *) 0 ;
5972 PyObject *arg3 = (PyObject *) 0 ;
5973 PyObject * obj0 = 0 ;
5974 PyObject * obj1 = 0 ;
5975 PyObject * obj2 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self",(char *) "self",(char *) "_class", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
5982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5983 arg2 = obj1;
5984 arg3 = obj2;
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 (arg1)->_setCallbackInfo(arg2,arg3);
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 Py_INCREF(Py_None); resultobj = Py_None;
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
2f4c0a16 5999static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6000 PyObject *resultobj;
6001 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6002 wxString *arg2 = 0 ;
6003 bool result;
423f194a 6004 bool temp2 = False ;
d14a1e28
RD
6005 PyObject * obj0 = 0 ;
6006 PyObject * obj1 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self",(char *) "source", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6014 {
6015 arg2 = wxString_in_helper(obj1);
6016 if (arg2 == NULL) SWIG_fail;
423f194a 6017 temp2 = True;
d14a1e28
RD
6018 }
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
02a34c4c 6026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6027 {
6028 if (temp2)
6029 delete arg2;
6030 }
6031 return resultobj;
6032 fail:
6033 {
6034 if (temp2)
6035 delete arg2;
6036 }
6037 return NULL;
6038}
6039
6040
2f4c0a16 6041static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6042 PyObject *resultobj;
6043 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6044 wxString *arg2 = 0 ;
6045 bool result;
423f194a 6046 bool temp2 = False ;
d14a1e28
RD
6047 PyObject * obj0 = 0 ;
6048 PyObject * obj1 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self",(char *) "location", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6056 {
6057 arg2 = wxString_in_helper(obj1);
6058 if (arg2 == NULL) SWIG_fail;
423f194a 6059 temp2 = True;
d14a1e28
RD
6060 }
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6064
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
02a34c4c 6068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6069 {
6070 if (temp2)
6071 delete arg2;
6072 }
6073 return resultobj;
6074 fail:
6075 {
6076 if (temp2)
6077 delete arg2;
6078 }
6079 return NULL;
6080}
6081
6082
2f4c0a16 6083static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6084 PyObject *resultobj;
6085 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6086 wxString *arg2 = 0 ;
6087 bool result;
423f194a 6088 bool temp2 = False ;
d14a1e28
RD
6089 PyObject * obj0 = 0 ;
6090 PyObject * obj1 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self",(char *) "filename", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6098 {
6099 arg2 = wxString_in_helper(obj1);
6100 if (arg2 == NULL) SWIG_fail;
423f194a 6101 temp2 = True;
d14a1e28
RD
6102 }
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6106
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
02a34c4c 6110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6111 {
6112 if (temp2)
6113 delete arg2;
6114 }
6115 return resultobj;
6116 fail:
6117 {
6118 if (temp2)
6119 delete arg2;
6120 }
6121 return NULL;
6122}
6123
6124
2f4c0a16 6125static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6126 PyObject *resultobj;
6127 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6128 wxString *arg2 = 0 ;
6129 bool result;
423f194a 6130 bool temp2 = False ;
d14a1e28
RD
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self",(char *) "source", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6140 {
6141 arg2 = wxString_in_helper(obj1);
6142 if (arg2 == NULL) SWIG_fail;
423f194a 6143 temp2 = True;
d14a1e28
RD
6144 }
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
02a34c4c 6152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6153 {
6154 if (temp2)
6155 delete arg2;
6156 }
6157 return resultobj;
6158 fail:
6159 {
6160 if (temp2)
6161 delete arg2;
6162 }
6163 return NULL;
6164}
6165
6166
2f4c0a16 6167static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6168 PyObject *resultobj;
6169 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6170 wxString result;
6171 PyObject * obj0 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (arg1)->GetOpenedPage();
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
6187#if wxUSE_UNICODE
6188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6189#else
6190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6191#endif
6192 }
6193 return resultobj;
6194 fail:
6195 return NULL;
6196}
6197
6198
2f4c0a16 6199static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6200 PyObject *resultobj;
6201 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6202 wxString result;
6203 PyObject * obj0 = 0 ;
6204 char *kwnames[] = {
6205 (char *) "self", NULL
6206 };
6207
6208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 result = (arg1)->GetOpenedAnchor();
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 {
6219#if wxUSE_UNICODE
6220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6221#else
6222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6223#endif
6224 }
6225 return resultobj;
6226 fail:
6227 return NULL;
6228}
6229
6230
2f4c0a16 6231static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6232 PyObject *resultobj;
6233 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6234 wxString result;
6235 PyObject * obj0 = 0 ;
6236 char *kwnames[] = {
6237 (char *) "self", NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 result = (arg1)->GetOpenedPageTitle();
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 {
6251#if wxUSE_UNICODE
6252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6253#else
6254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6255#endif
6256 }
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
2f4c0a16 6263static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6264 PyObject *resultobj;
6265 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6266 wxFrame *arg2 = (wxFrame *) 0 ;
6267 wxString *arg3 = 0 ;
423f194a 6268 bool temp3 = False ;
d14a1e28
RD
6269 PyObject * obj0 = 0 ;
6270 PyObject * obj1 = 0 ;
6271 PyObject * obj2 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self",(char *) "frame",(char *) "format", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6281 {
6282 arg3 = wxString_in_helper(obj2);
6283 if (arg3 == NULL) SWIG_fail;
423f194a 6284 temp3 = True;
d14a1e28
RD
6285 }
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 {
6295 if (temp3)
6296 delete arg3;
6297 }
6298 return resultobj;
6299 fail:
6300 {
6301 if (temp3)
6302 delete arg3;
6303 }
6304 return NULL;
6305}
6306
6307
2f4c0a16 6308static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6309 PyObject *resultobj;
6310 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6311 wxFrame *result;
6312 PyObject * obj0 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (wxFrame *)(arg1)->GetRelatedFrame();
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 {
6328 resultobj = wxPyMake_wxObject(result);
6329 }
6330 return resultobj;
6331 fail:
6332 return NULL;
6333}
6334
6335
2f4c0a16 6336static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6337 PyObject *resultobj;
6338 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6339 int arg2 ;
6340 PyObject * obj0 = 0 ;
8edf1c75 6341 PyObject * obj1 = 0 ;
d14a1e28
RD
6342 char *kwnames[] = {
6343 (char *) "self",(char *) "bar", NULL
6344 };
6345
8edf1c75 6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6349 arg2 = (int) SWIG_AsInt(obj1);
6350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 (arg1)->SetRelatedStatusBar(arg2);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 Py_INCREF(Py_None); resultobj = Py_None;
6359 return resultobj;
6360 fail:
6361 return NULL;
6362}
6363
6364
2f4c0a16 6365static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6366 PyObject *resultobj;
6367 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6368 wxString arg2 ;
6369 wxString arg3 ;
6370 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
6371 PyObject * obj0 = 0 ;
6372 PyObject * obj1 = 0 ;
6373 PyObject * obj2 = 0 ;
6374 PyObject * obj3 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
6382 {
6383 wxString* sptr = wxString_in_helper(obj1);
6384 if (sptr == NULL) SWIG_fail;
6385 arg2 = *sptr;
6386 delete sptr;
6387 }
6388 {
6389 wxString* sptr = wxString_in_helper(obj2);
6390 if (sptr == NULL) SWIG_fail;
6391 arg3 = *sptr;
6392 delete sptr;
6393 }
d14a1e28
RD
6394 if (obj3) {
6395 arg4 = obj3;
6396 }
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 Py_INCREF(Py_None); resultobj = Py_None;
6405 return resultobj;
6406 fail:
6407 return NULL;
6408}
6409
6410
2f4c0a16 6411static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6412 PyObject *resultobj;
6413 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6414 wxString *arg2 = 0 ;
423f194a 6415 bool temp2 = False ;
d14a1e28
RD
6416 PyObject * obj0 = 0 ;
6417 PyObject * obj1 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self",(char *) "title", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6425 {
6426 arg2 = wxString_in_helper(obj1);
6427 if (arg2 == NULL) SWIG_fail;
423f194a 6428 temp2 = True;
d14a1e28
RD
6429 }
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 (arg1)->SetTitle((wxString const &)*arg2);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 Py_INCREF(Py_None); resultobj = Py_None;
6438 {
6439 if (temp2)
6440 delete arg2;
6441 }
6442 return resultobj;
6443 fail:
6444 {
6445 if (temp2)
6446 delete arg2;
6447 }
6448 return NULL;
6449}
6450
6451
2f4c0a16 6452static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6453 PyObject *resultobj;
6454 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6455 int arg2 ;
6456 PyObject * obj0 = 0 ;
8edf1c75 6457 PyObject * obj1 = 0 ;
d14a1e28
RD
6458 char *kwnames[] = {
6459 (char *) "self",(char *) "b", NULL
6460 };
6461
8edf1c75 6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6465 arg2 = (int) SWIG_AsInt(obj1);
6466 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 (arg1)->SetBorders(arg2);
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 Py_INCREF(Py_None); resultobj = Py_None;
6475 return resultobj;
6476 fail:
6477 return NULL;
6478}
6479
6480
2f4c0a16 6481static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6482 PyObject *resultobj;
6483 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6484 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6485 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 PyObject * obj2 = 0 ;
6489 char *kwnames[] = {
6490 (char *) "self",(char *) "cfg",(char *) "path", NULL
6491 };
6492
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6498 if (obj2) {
423f194a
RD
6499 {
6500 wxString* sptr = wxString_in_helper(obj2);
6501 if (sptr == NULL) SWIG_fail;
6502 arg3 = *sptr;
6503 delete sptr;
6504 }
d14a1e28
RD
6505 }
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 (arg1)->ReadCustomization(arg2,arg3);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 Py_INCREF(Py_None); resultobj = Py_None;
6514 return resultobj;
6515 fail:
6516 return NULL;
6517}
6518
6519
2f4c0a16 6520static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6521 PyObject *resultobj;
6522 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6523 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6524 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 PyObject * obj2 = 0 ;
6528 char *kwnames[] = {
6529 (char *) "self",(char *) "cfg",(char *) "path", NULL
6530 };
6531
6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6537 if (obj2) {
423f194a
RD
6538 {
6539 wxString* sptr = wxString_in_helper(obj2);
6540 if (sptr == NULL) SWIG_fail;
6541 arg3 = *sptr;
6542 delete sptr;
6543 }
d14a1e28
RD
6544 }
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->WriteCustomization(arg2,arg3);
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 Py_INCREF(Py_None); resultobj = Py_None;
6553 return resultobj;
6554 fail:
6555 return NULL;
6556}
6557
6558
2f4c0a16 6559static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6560 PyObject *resultobj;
6561 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6562 bool result;
6563 PyObject * obj0 = 0 ;
6564 char *kwnames[] = {
6565 (char *) "self", NULL
6566 };
6567
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (bool)(arg1)->HistoryBack();
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
02a34c4c 6578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6579 return resultobj;
6580 fail:
6581 return NULL;
6582}
6583
6584
2f4c0a16 6585static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6586 PyObject *resultobj;
6587 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6588 bool result;
6589 PyObject * obj0 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (bool)(arg1)->HistoryForward();
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
02a34c4c 6604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6605 return resultobj;
6606 fail:
6607 return NULL;
6608}
6609
6610
2f4c0a16 6611static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6612 PyObject *resultobj;
6613 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6614 bool result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (bool)(arg1)->HistoryCanBack();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
02a34c4c 6630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6631 return resultobj;
6632 fail:
6633 return NULL;
6634}
6635
6636
2f4c0a16 6637static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6638 PyObject *resultobj;
6639 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6640 bool result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (bool)(arg1)->HistoryCanForward();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
02a34c4c 6656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6657 return resultobj;
6658 fail:
6659 return NULL;
6660}
6661
6662
2f4c0a16 6663static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6664 PyObject *resultobj;
6665 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->HistoryClear();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 Py_INCREF(Py_None); resultobj = Py_None;
6682 return resultobj;
6683 fail:
6684 return NULL;
6685}
6686
6687
2f4c0a16 6688static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6689 PyObject *resultobj;
6690 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6691 wxHtmlContainerCell *result;
6692 PyObject * obj0 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
2f4c0a16 6707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
d14a1e28
RD
6708 return resultobj;
6709 fail:
6710 return NULL;
6711}
6712
6713
2f4c0a16 6714static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6715 PyObject *resultobj;
6716 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6717 wxHtmlWinParser *result;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (wxHtmlWinParser *)(arg1)->GetParser();
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
2f4c0a16 6733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
d14a1e28
RD
6734 return resultobj;
6735 fail:
6736 return NULL;
6737}
6738
6739
2f4c0a16 6740static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6741 PyObject *resultobj;
6742 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6743 wxString *arg2 = 0 ;
6744 bool result;
423f194a 6745 bool temp2 = False ;
d14a1e28
RD
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self",(char *) "anchor", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6755 {
6756 arg2 = wxString_in_helper(obj1);
6757 if (arg2 == NULL) SWIG_fail;
423f194a 6758 temp2 = True;
d14a1e28
RD
6759 }
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
02a34c4c 6767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6768 {
6769 if (temp2)
6770 delete arg2;
6771 }
6772 return resultobj;
6773 fail:
6774 {
6775 if (temp2)
6776 delete arg2;
6777 }
6778 return NULL;
6779}
6780
6781
2f4c0a16 6782static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6783 PyObject *resultobj;
6784 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6785 wxString *arg2 = 0 ;
6786 bool result;
423f194a 6787 bool temp2 = False ;
d14a1e28
RD
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "self",(char *) "anchor", NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6797 {
6798 arg2 = wxString_in_helper(obj1);
6799 if (arg2 == NULL) SWIG_fail;
423f194a 6800 temp2 = True;
d14a1e28
RD
6801 }
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
02a34c4c 6809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6810 {
6811 if (temp2)
6812 delete arg2;
6813 }
6814 return resultobj;
6815 fail:
6816 {
6817 if (temp2)
6818 delete arg2;
6819 }
6820 return NULL;
6821}
6822
6823
2f4c0a16 6824static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6825 PyObject *resultobj;
6826 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6827 PyObject * obj0 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "filter", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 wxPyHtmlWindow::AddFilter(arg1);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
2f4c0a16 6849static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
6850 PyObject *resultobj;
6851 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6852 wxPoint *arg2 = 0 ;
6853 wxPoint temp2 ;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "pos", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
6863 {
6864 arg2 = &temp2;
6865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6866 }
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 (arg1)->SelectWord((wxPoint const &)*arg2);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 Py_INCREF(Py_None); resultobj = Py_None;
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
2f4c0a16 6881static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
6882 PyObject *resultobj;
6883 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6884 wxPoint *arg2 = 0 ;
6885 wxPoint temp2 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "pos", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
6895 {
6896 arg2 = &temp2;
6897 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SelectLine((wxPoint const &)*arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910}
6911
6912
2f4c0a16 6913static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
6914 PyObject *resultobj;
6915 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6916 PyObject * obj0 = 0 ;
6917 char *kwnames[] = {
6918 (char *) "self", NULL
6919 };
6920
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 (arg1)->SelectAll();
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 Py_INCREF(Py_None); resultobj = Py_None;
6932 return resultobj;
6933 fail:
6934 return NULL;
6935}
6936
6937
2f4c0a16 6938static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6939 PyObject *resultobj;
6940 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6941 wxHtmlLinkInfo *arg2 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "link", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
6952 SWIG_POINTER_EXCEPTION | 0)) == -1)
6953 SWIG_fail;
d14a1e28 6954 if (arg2 == NULL) {
2f4c0a16
RD
6955 PyErr_SetString(PyExc_TypeError,"null reference");
6956 SWIG_fail;
d14a1e28
RD
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 Py_INCREF(Py_None); resultobj = Py_None;
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
2f4c0a16 6972static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6973 PyObject *resultobj;
6974 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6975 wxString *arg2 = 0 ;
423f194a 6976 bool temp2 = False ;
d14a1e28
RD
6977 PyObject * obj0 = 0 ;
6978 PyObject * obj1 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self",(char *) "title", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6986 {
6987 arg2 = wxString_in_helper(obj1);
6988 if (arg2 == NULL) SWIG_fail;
423f194a 6989 temp2 = True;
d14a1e28
RD
6990 }
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 (arg1)->base_OnSetTitle((wxString const &)*arg2);
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 Py_INCREF(Py_None); resultobj = Py_None;
6999 {
7000 if (temp2)
7001 delete arg2;
7002 }
7003 return resultobj;
7004 fail:
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return NULL;
7010}
7011
7012
2f4c0a16 7013static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7014 PyObject *resultobj;
7015 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7016 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
7017 int arg3 ;
7018 int arg4 ;
d14a1e28
RD
7019 PyObject * obj0 = 0 ;
7020 PyObject * obj1 = 0 ;
8edf1c75
RD
7021 PyObject * obj2 = 0 ;
7022 PyObject * obj3 = 0 ;
d14a1e28
RD
7023 char *kwnames[] = {
7024 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7025 };
7026
8edf1c75 7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7032 arg3 = (int) SWIG_AsInt(obj2);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 arg4 = (int) SWIG_AsInt(obj3);
7035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 Py_INCREF(Py_None); resultobj = Py_None;
7044 return resultobj;
7045 fail:
7046 return NULL;
7047}
7048
7049
2f4c0a16 7050static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7051 PyObject *resultobj;
7052 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7053 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
7054 int arg3 ;
7055 int arg4 ;
d14a1e28
RD
7056 wxMouseEvent *arg5 = 0 ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
8edf1c75
RD
7059 PyObject * obj2 = 0 ;
7060 PyObject * obj3 = 0 ;
d14a1e28
RD
7061 PyObject * obj4 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7064 };
7065
8edf1c75 7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7071 arg3 = (int) SWIG_AsInt(obj2);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 arg4 = (int) SWIG_AsInt(obj3);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7076 SWIG_POINTER_EXCEPTION | 0)) == -1)
7077 SWIG_fail;
d14a1e28 7078 if (arg5 == NULL) {
2f4c0a16
RD
7079 PyErr_SetString(PyExc_TypeError,"null reference");
7080 SWIG_fail;
d14a1e28
RD
7081 }
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 Py_INCREF(Py_None); resultobj = Py_None;
7090 return resultobj;
7091 fail:
7092 return NULL;
7093}
7094
7095
2f4c0a16 7096static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7097 PyObject *obj;
7098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7099 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7100 Py_INCREF(obj);
7101 return Py_BuildValue((char *)"");
7102}
2f4c0a16 7103static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7104 PyObject *resultobj;
7105 wxHtmlDCRenderer *result;
7106 char *kwnames[] = {
7107 NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
2f4c0a16 7118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
d14a1e28
RD
7119 return resultobj;
7120 fail:
7121 return NULL;
7122}
7123
7124
2f4c0a16 7125static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7126 PyObject *resultobj;
7127 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7128 PyObject * obj0 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 delete arg1;
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 Py_INCREF(Py_None); resultobj = Py_None;
7144 return resultobj;
7145 fail:
7146 return NULL;
7147}
7148
7149
2f4c0a16 7150static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7151 PyObject *resultobj;
7152 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7153 wxDC *arg2 = (wxDC *) 0 ;
7154 int arg3 ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
8edf1c75 7157 PyObject * obj2 = 0 ;
d14a1e28
RD
7158 char *kwnames[] = {
7159 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7160 };
7161
8edf1c75 7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7167 arg3 = (int) SWIG_AsInt(obj2);
7168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 (arg1)->SetDC(arg2,arg3);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 Py_INCREF(Py_None); resultobj = Py_None;
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
2f4c0a16 7183static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7184 PyObject *resultobj;
7185 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7186 int arg2 ;
7187 int arg3 ;
7188 PyObject * obj0 = 0 ;
8edf1c75
RD
7189 PyObject * obj1 = 0 ;
7190 PyObject * obj2 = 0 ;
d14a1e28
RD
7191 char *kwnames[] = {
7192 (char *) "self",(char *) "width",(char *) "height", NULL
7193 };
7194
8edf1c75 7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7198 arg2 = (int) SWIG_AsInt(obj1);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 arg3 = (int) SWIG_AsInt(obj2);
7201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 (arg1)->SetSize(arg2,arg3);
7205
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 Py_INCREF(Py_None); resultobj = Py_None;
7210 return resultobj;
7211 fail:
7212 return NULL;
7213}
7214
7215
2f4c0a16 7216static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7217 PyObject *resultobj;
7218 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7219 wxString *arg2 = 0 ;
7220 wxString const &arg3_defvalue = wxPyEmptyString ;
7221 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
7222 bool arg4 = (bool) True ;
7223 bool temp2 = False ;
7224 bool temp3 = False ;
d14a1e28
RD
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 PyObject * obj2 = 0 ;
7228 PyObject * obj3 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7236 {
7237 arg2 = wxString_in_helper(obj1);
7238 if (arg2 == NULL) SWIG_fail;
423f194a 7239 temp2 = True;
d14a1e28
RD
7240 }
7241 if (obj2) {
7242 {
7243 arg3 = wxString_in_helper(obj2);
7244 if (arg3 == NULL) SWIG_fail;
423f194a 7245 temp3 = True;
d14a1e28
RD
7246 }
7247 }
7248 if (obj3) {
2f4c0a16
RD
7249 arg4 = (bool) SWIG_AsBool(obj3);
7250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7251 }
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 {
7261 if (temp2)
7262 delete arg2;
7263 }
7264 {
7265 if (temp3)
7266 delete arg3;
7267 }
7268 return resultobj;
7269 fail:
7270 {
7271 if (temp2)
7272 delete arg2;
7273 }
7274 {
7275 if (temp3)
7276 delete arg3;
7277 }
7278 return NULL;
7279}
7280
7281
2f4c0a16 7282static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7283 PyObject *resultobj;
7284 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7285 wxString arg2 ;
7286 wxString arg3 ;
7287 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
7299 {
7300 wxString* sptr = wxString_in_helper(obj1);
7301 if (sptr == NULL) SWIG_fail;
7302 arg2 = *sptr;
7303 delete sptr;
7304 }
7305 {
7306 wxString* sptr = wxString_in_helper(obj2);
7307 if (sptr == NULL) SWIG_fail;
7308 arg3 = *sptr;
7309 delete sptr;
7310 }
d14a1e28
RD
7311 if (obj3) {
7312 arg4 = obj3;
7313 }
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 Py_INCREF(Py_None); resultobj = Py_None;
7322 return resultobj;
7323 fail:
7324 return NULL;
7325}
7326
7327
2f4c0a16 7328static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7329 PyObject *resultobj;
7330 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7331 int arg2 ;
7332 int arg3 ;
7333 int arg4 = (int) 0 ;
423f194a 7334 int arg5 = (int) False ;
d14a1e28
RD
7335 int arg6 = (int) INT_MAX ;
7336 int *arg7 = (int *) NULL ;
7337 int arg8 = (int) 0 ;
7338 int result;
7339 PyObject * obj0 = 0 ;
8edf1c75
RD
7340 PyObject * obj1 = 0 ;
7341 PyObject * obj2 = 0 ;
7342 PyObject * obj3 = 0 ;
7343 PyObject * obj4 = 0 ;
7344 PyObject * obj5 = 0 ;
d14a1e28 7345 PyObject * obj6 = 0 ;
8edf1c75 7346 PyObject * obj7 = 0 ;
d14a1e28
RD
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7349 };
7350
8edf1c75 7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 arg2 = (int) SWIG_AsInt(obj1);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 arg3 = (int) SWIG_AsInt(obj2);
7357 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7358 if (obj3) {
2f4c0a16
RD
7359 arg4 = (int) SWIG_AsInt(obj3);
7360 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7361 }
7362 if (obj4) {
2f4c0a16
RD
7363 arg5 = (int) SWIG_AsInt(obj4);
7364 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7365 }
7366 if (obj5) {
2f4c0a16
RD
7367 arg6 = (int) SWIG_AsInt(obj5);
7368 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7369 }
d14a1e28 7370 if (obj6) {
2f4c0a16
RD
7371 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7373 }
8edf1c75 7374 if (obj7) {
2f4c0a16
RD
7375 arg8 = (int) SWIG_AsInt(obj7);
7376 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7377 }
d14a1e28
RD
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
2f4c0a16 7385 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7386 return resultobj;
7387 fail:
7388 return NULL;
7389}
7390
7391
2f4c0a16 7392static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7393 PyObject *resultobj;
7394 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7395 int result;
7396 PyObject * obj0 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "self", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (int)(arg1)->GetTotalHeight();
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
2f4c0a16 7411 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7412 return resultobj;
7413 fail:
7414 return NULL;
7415}
7416
7417
2f4c0a16 7418static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7419 PyObject *obj;
7420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7422 Py_INCREF(obj);
7423 return Py_BuildValue((char *)"");
7424}
2f4c0a16 7425static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7426 PyObject *resultobj;
7427 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7428 wxString *arg1 = (wxString *) &arg1_defvalue ;
7429 wxHtmlPrintout *result;
423f194a 7430 bool temp1 = False ;
d14a1e28
RD
7431 PyObject * obj0 = 0 ;
7432 char *kwnames[] = {
7433 (char *) "title", NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7437 if (obj0) {
7438 {
7439 arg1 = wxString_in_helper(obj0);
7440 if (arg1 == NULL) SWIG_fail;
423f194a 7441 temp1 = True;
d14a1e28
RD
7442 }
7443 }
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
2f4c0a16 7451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
d14a1e28
RD
7452 {
7453 if (temp1)
7454 delete arg1;
7455 }
7456 return resultobj;
7457 fail:
7458 {
7459 if (temp1)
7460 delete arg1;
7461 }
7462 return NULL;
7463}
7464
7465
2f4c0a16 7466static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7467 PyObject *resultobj;
7468 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7469 wxString *arg2 = 0 ;
7470 wxString const &arg3_defvalue = wxPyEmptyString ;
7471 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
7472 bool arg4 = (bool) True ;
7473 bool temp2 = False ;
7474 bool temp3 = False ;
d14a1e28
RD
7475 PyObject * obj0 = 0 ;
7476 PyObject * obj1 = 0 ;
7477 PyObject * obj2 = 0 ;
7478 PyObject * obj3 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7486 {
7487 arg2 = wxString_in_helper(obj1);
7488 if (arg2 == NULL) SWIG_fail;
423f194a 7489 temp2 = True;
d14a1e28
RD
7490 }
7491 if (obj2) {
7492 {
7493 arg3 = wxString_in_helper(obj2);
7494 if (arg3 == NULL) SWIG_fail;
423f194a 7495 temp3 = True;
d14a1e28
RD
7496 }
7497 }
7498 if (obj3) {
2f4c0a16
RD
7499 arg4 = (bool) SWIG_AsBool(obj3);
7500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7501 }
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 Py_INCREF(Py_None); resultobj = Py_None;
7510 {
7511 if (temp2)
7512 delete arg2;
7513 }
7514 {
7515 if (temp3)
7516 delete arg3;
7517 }
7518 return resultobj;
7519 fail:
7520 {
7521 if (temp2)
7522 delete arg2;
7523 }
7524 {
7525 if (temp3)
7526 delete arg3;
7527 }
7528 return NULL;
7529}
7530
7531
2f4c0a16 7532static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7533 PyObject *resultobj;
7534 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7535 wxString *arg2 = 0 ;
423f194a 7536 bool temp2 = False ;
d14a1e28
RD
7537 PyObject * obj0 = 0 ;
7538 PyObject * obj1 = 0 ;
7539 char *kwnames[] = {
7540 (char *) "self",(char *) "htmlfile", NULL
7541 };
7542
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7546 {
7547 arg2 = wxString_in_helper(obj1);
7548 if (arg2 == NULL) SWIG_fail;
423f194a 7549 temp2 = True;
d14a1e28
RD
7550 }
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 (arg1)->SetHtmlFile((wxString const &)*arg2);
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 Py_INCREF(Py_None); resultobj = Py_None;
7559 {
7560 if (temp2)
7561 delete arg2;
7562 }
7563 return resultobj;
7564 fail:
7565 {
7566 if (temp2)
7567 delete arg2;
7568 }
7569 return NULL;
7570}
7571
7572
2f4c0a16 7573static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7574 PyObject *resultobj;
7575 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7576 wxString *arg2 = 0 ;
7577 int arg3 = (int) wxPAGE_ALL ;
423f194a 7578 bool temp2 = False ;
d14a1e28
RD
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
8edf1c75 7581 PyObject * obj2 = 0 ;
d14a1e28
RD
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "header",(char *) "pg", NULL
7584 };
7585
8edf1c75 7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7589 {
7590 arg2 = wxString_in_helper(obj1);
7591 if (arg2 == NULL) SWIG_fail;
423f194a 7592 temp2 = True;
d14a1e28 7593 }
8edf1c75 7594 if (obj2) {
2f4c0a16
RD
7595 arg3 = (int) SWIG_AsInt(obj2);
7596 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7597 }
d14a1e28
RD
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 Py_INCREF(Py_None); resultobj = Py_None;
7606 {
7607 if (temp2)
7608 delete arg2;
7609 }
7610 return resultobj;
7611 fail:
7612 {
7613 if (temp2)
7614 delete arg2;
7615 }
7616 return NULL;
7617}
7618
7619
2f4c0a16 7620static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7621 PyObject *resultobj;
7622 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7623 wxString *arg2 = 0 ;
7624 int arg3 = (int) wxPAGE_ALL ;
423f194a 7625 bool temp2 = False ;
d14a1e28
RD
7626 PyObject * obj0 = 0 ;
7627 PyObject * obj1 = 0 ;
8edf1c75 7628 PyObject * obj2 = 0 ;
d14a1e28
RD
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "footer",(char *) "pg", NULL
7631 };
7632
8edf1c75 7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7636 {
7637 arg2 = wxString_in_helper(obj1);
7638 if (arg2 == NULL) SWIG_fail;
423f194a 7639 temp2 = True;
d14a1e28 7640 }
8edf1c75 7641 if (obj2) {
2f4c0a16
RD
7642 arg3 = (int) SWIG_AsInt(obj2);
7643 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7644 }
d14a1e28
RD
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 Py_INCREF(Py_None); resultobj = Py_None;
7653 {
7654 if (temp2)
7655 delete arg2;
7656 }
7657 return resultobj;
7658 fail:
7659 {
7660 if (temp2)
7661 delete arg2;
7662 }
7663 return NULL;
7664}
7665
7666
2f4c0a16 7667static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7668 PyObject *resultobj;
7669 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7670 wxString arg2 ;
7671 wxString arg3 ;
7672 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7673 PyObject * obj0 = 0 ;
7674 PyObject * obj1 = 0 ;
7675 PyObject * obj2 = 0 ;
7676 PyObject * obj3 = 0 ;
7677 char *kwnames[] = {
7678 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7679 };
7680
7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
7684 {
7685 wxString* sptr = wxString_in_helper(obj1);
7686 if (sptr == NULL) SWIG_fail;
7687 arg2 = *sptr;
7688 delete sptr;
7689 }
7690 {
7691 wxString* sptr = wxString_in_helper(obj2);
7692 if (sptr == NULL) SWIG_fail;
7693 arg3 = *sptr;
7694 delete sptr;
7695 }
d14a1e28
RD
7696 if (obj3) {
7697 arg4 = obj3;
7698 }
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710}
7711
7712
2f4c0a16 7713static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7714 PyObject *resultobj;
7715 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7716 float arg2 = (float) 25.2 ;
7717 float arg3 = (float) 25.2 ;
7718 float arg4 = (float) 25.2 ;
7719 float arg5 = (float) 25.2 ;
7720 float arg6 = (float) 5 ;
7721 PyObject * obj0 = 0 ;
8edf1c75
RD
7722 PyObject * obj1 = 0 ;
7723 PyObject * obj2 = 0 ;
7724 PyObject * obj3 = 0 ;
7725 PyObject * obj4 = 0 ;
7726 PyObject * obj5 = 0 ;
d14a1e28
RD
7727 char *kwnames[] = {
7728 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7729 };
7730
8edf1c75 7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
7732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 7734 if (obj1) {
2f4c0a16
RD
7735 arg2 = (float) SWIG_AsFloat(obj1);
7736 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7737 }
7738 if (obj2) {
2f4c0a16
RD
7739 arg3 = (float) SWIG_AsFloat(obj2);
7740 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7741 }
7742 if (obj3) {
2f4c0a16
RD
7743 arg4 = (float) SWIG_AsFloat(obj3);
7744 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7745 }
7746 if (obj4) {
2f4c0a16
RD
7747 arg5 = (float) SWIG_AsFloat(obj4);
7748 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7749 }
7750 if (obj5) {
2f4c0a16
RD
7751 arg6 = (float) SWIG_AsFloat(obj5);
7752 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7753 }
d14a1e28
RD
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 Py_INCREF(Py_None); resultobj = Py_None;
7762 return resultobj;
7763 fail:
7764 return NULL;
7765}
7766
7767
2f4c0a16 7768static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7769 PyObject *resultobj;
7770 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7771 PyObject * obj0 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "filter", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 wxHtmlPrintout::AddFilter(arg1);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 Py_INCREF(Py_None); resultobj = Py_None;
7787 return resultobj;
7788 fail:
7789 return NULL;
7790}
7791
7792
2f4c0a16 7793static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7794 PyObject *resultobj;
7795 char *kwnames[] = {
7796 NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 wxHtmlPrintout::CleanUpStatics();
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
2f4c0a16 7814static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7815 PyObject *obj;
7816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7817 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7818 Py_INCREF(obj);
7819 return Py_BuildValue((char *)"");
7820}
2f4c0a16 7821static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7822 PyObject *resultobj;
7823 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7824 wxString *arg1 = (wxString *) &arg1_defvalue ;
7825 wxWindow *arg2 = (wxWindow *) NULL ;
7826 wxHtmlEasyPrinting *result;
423f194a 7827 bool temp1 = False ;
d14a1e28
RD
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "name",(char *) "parentWindow", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7835 if (obj0) {
7836 {
7837 arg1 = wxString_in_helper(obj0);
7838 if (arg1 == NULL) SWIG_fail;
423f194a 7839 temp1 = True;
d14a1e28
RD
7840 }
7841 }
7842 if (obj1) {
2f4c0a16
RD
7843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
2f4c0a16 7853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
d14a1e28
RD
7854 {
7855 if (temp1)
7856 delete arg1;
7857 }
7858 return resultobj;
7859 fail:
7860 {
7861 if (temp1)
7862 delete arg1;
7863 }
7864 return NULL;
7865}
7866
7867
2f4c0a16 7868static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7869 PyObject *resultobj;
7870 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7871 PyObject * obj0 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 delete arg1;
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
2f4c0a16 7893static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7894 PyObject *resultobj;
7895 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7896 wxString *arg2 = 0 ;
423f194a 7897 bool temp2 = False ;
d14a1e28
RD
7898 PyObject * obj0 = 0 ;
7899 PyObject * obj1 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self",(char *) "htmlfile", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7907 {
7908 arg2 = wxString_in_helper(obj1);
7909 if (arg2 == NULL) SWIG_fail;
423f194a 7910 temp2 = True;
d14a1e28
RD
7911 }
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 (arg1)->PreviewFile((wxString const &)*arg2);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 Py_INCREF(Py_None); resultobj = Py_None;
7920 {
7921 if (temp2)
7922 delete arg2;
7923 }
7924 return resultobj;
7925 fail:
7926 {
7927 if (temp2)
7928 delete arg2;
7929 }
7930 return NULL;
7931}
7932
7933
2f4c0a16 7934static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7935 PyObject *resultobj;
7936 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7937 wxString *arg2 = 0 ;
7938 wxString const &arg3_defvalue = wxPyEmptyString ;
7939 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
7940 bool temp2 = False ;
7941 bool temp3 = False ;
d14a1e28
RD
7942 PyObject * obj0 = 0 ;
7943 PyObject * obj1 = 0 ;
7944 PyObject * obj2 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7952 {
7953 arg2 = wxString_in_helper(obj1);
7954 if (arg2 == NULL) SWIG_fail;
423f194a 7955 temp2 = True;
d14a1e28
RD
7956 }
7957 if (obj2) {
7958 {
7959 arg3 = wxString_in_helper(obj2);
7960 if (arg3 == NULL) SWIG_fail;
423f194a 7961 temp3 = True;
d14a1e28
RD
7962 }
7963 }
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 Py_INCREF(Py_None); resultobj = Py_None;
7972 {
7973 if (temp2)
7974 delete arg2;
7975 }
7976 {
7977 if (temp3)
7978 delete arg3;
7979 }
7980 return resultobj;
7981 fail:
7982 {
7983 if (temp2)
7984 delete arg2;
7985 }
7986 {
7987 if (temp3)
7988 delete arg3;
7989 }
7990 return NULL;
7991}
7992
7993
2f4c0a16 7994static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7995 PyObject *resultobj;
7996 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7997 wxString *arg2 = 0 ;
423f194a 7998 bool temp2 = False ;
d14a1e28
RD
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 char *kwnames[] = {
8002 (char *) "self",(char *) "htmlfile", NULL
8003 };
8004
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8008 {
8009 arg2 = wxString_in_helper(obj1);
8010 if (arg2 == NULL) SWIG_fail;
423f194a 8011 temp2 = True;
d14a1e28
RD
8012 }
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->PrintFile((wxString const &)*arg2);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 Py_INCREF(Py_None); resultobj = Py_None;
8021 {
8022 if (temp2)
8023 delete arg2;
8024 }
8025 return resultobj;
8026 fail:
8027 {
8028 if (temp2)
8029 delete arg2;
8030 }
8031 return NULL;
8032}
8033
8034
2f4c0a16 8035static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8036 PyObject *resultobj;
8037 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8038 wxString *arg2 = 0 ;
8039 wxString const &arg3_defvalue = wxPyEmptyString ;
8040 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
8041 bool temp2 = False ;
8042 bool temp3 = False ;
d14a1e28
RD
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 PyObject * obj2 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8053 {
8054 arg2 = wxString_in_helper(obj1);
8055 if (arg2 == NULL) SWIG_fail;
423f194a 8056 temp2 = True;
d14a1e28
RD
8057 }
8058 if (obj2) {
8059 {
8060 arg3 = wxString_in_helper(obj2);
8061 if (arg3 == NULL) SWIG_fail;
423f194a 8062 temp3 = True;
d14a1e28
RD
8063 }
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 {
8074 if (temp2)
8075 delete arg2;
8076 }
8077 {
8078 if (temp3)
8079 delete arg3;
8080 }
8081 return resultobj;
8082 fail:
8083 {
8084 if (temp2)
8085 delete arg2;
8086 }
8087 {
8088 if (temp3)
8089 delete arg3;
8090 }
8091 return NULL;
8092}
8093
8094
2f4c0a16 8095static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8096 PyObject *resultobj;
8097 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8098 PyObject * obj0 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 (arg1)->PrinterSetup();
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 Py_INCREF(Py_None); resultobj = Py_None;
8114 return resultobj;
8115 fail:
8116 return NULL;
8117}
8118
8119
2f4c0a16 8120static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8121 PyObject *resultobj;
8122 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8123 PyObject * obj0 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 (arg1)->PageSetup();
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 Py_INCREF(Py_None); resultobj = Py_None;
8139 return resultobj;
8140 fail:
8141 return NULL;
8142}
8143
8144
2f4c0a16 8145static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8146 PyObject *resultobj;
8147 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8148 wxString *arg2 = 0 ;
8149 int arg3 = (int) wxPAGE_ALL ;
423f194a 8150 bool temp2 = False ;
d14a1e28
RD
8151 PyObject * obj0 = 0 ;
8152 PyObject * obj1 = 0 ;
8edf1c75 8153 PyObject * obj2 = 0 ;
d14a1e28
RD
8154 char *kwnames[] = {
8155 (char *) "self",(char *) "header",(char *) "pg", NULL
8156 };
8157
8edf1c75 8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8161 {
8162 arg2 = wxString_in_helper(obj1);
8163 if (arg2 == NULL) SWIG_fail;
423f194a 8164 temp2 = True;
d14a1e28 8165 }
8edf1c75 8166 if (obj2) {
2f4c0a16
RD
8167 arg3 = (int) SWIG_AsInt(obj2);
8168 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8169 }
d14a1e28
RD
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 Py_INCREF(Py_None); resultobj = Py_None;
8178 {
8179 if (temp2)
8180 delete arg2;
8181 }
8182 return resultobj;
8183 fail:
8184 {
8185 if (temp2)
8186 delete arg2;
8187 }
8188 return NULL;
8189}
8190
8191
2f4c0a16 8192static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8193 PyObject *resultobj;
8194 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8195 wxString *arg2 = 0 ;
8196 int arg3 = (int) wxPAGE_ALL ;
423f194a 8197 bool temp2 = False ;
d14a1e28
RD
8198 PyObject * obj0 = 0 ;
8199 PyObject * obj1 = 0 ;
8edf1c75 8200 PyObject * obj2 = 0 ;
d14a1e28
RD
8201 char *kwnames[] = {
8202 (char *) "self",(char *) "footer",(char *) "pg", NULL
8203 };
8204
8edf1c75 8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8208 {
8209 arg2 = wxString_in_helper(obj1);
8210 if (arg2 == NULL) SWIG_fail;
423f194a 8211 temp2 = True;
d14a1e28 8212 }
8edf1c75 8213 if (obj2) {
2f4c0a16
RD
8214 arg3 = (int) SWIG_AsInt(obj2);
8215 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8216 }
d14a1e28
RD
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 {
8226 if (temp2)
8227 delete arg2;
8228 }
8229 return resultobj;
8230 fail:
8231 {
8232 if (temp2)
8233 delete arg2;
8234 }
8235 return NULL;
8236}
8237
8238
2f4c0a16 8239static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8240 PyObject *resultobj;
8241 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8242 wxString arg2 ;
8243 wxString arg3 ;
8244 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
8245 PyObject * obj0 = 0 ;
8246 PyObject * obj1 = 0 ;
8247 PyObject * obj2 = 0 ;
8248 PyObject * obj3 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
8256 {
8257 wxString* sptr = wxString_in_helper(obj1);
8258 if (sptr == NULL) SWIG_fail;
8259 arg2 = *sptr;
8260 delete sptr;
8261 }
8262 {
8263 wxString* sptr = wxString_in_helper(obj2);
8264 if (sptr == NULL) SWIG_fail;
8265 arg3 = *sptr;
8266 delete sptr;
8267 }
d14a1e28
RD
8268 if (obj3) {
8269 arg4 = obj3;
8270 }
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 Py_INCREF(Py_None); resultobj = Py_None;
8279 return resultobj;
8280 fail:
8281 return NULL;
8282}
8283
8284
2f4c0a16 8285static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8286 PyObject *resultobj;
8287 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8288 wxPrintData *result;
8289 PyObject * obj0 = 0 ;
8290 char *kwnames[] = {
8291 (char *) "self", NULL
8292 };
8293
8294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 result = (wxPrintData *)(arg1)->GetPrintData();
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
2f4c0a16 8304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
8305 return resultobj;
8306 fail:
8307 return NULL;
8308}
8309
8310
2f4c0a16 8311static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8312 PyObject *resultobj;
8313 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8314 wxPageSetupDialogData *result;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
2f4c0a16 8330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
8331 return resultobj;
8332 fail:
8333 return NULL;
8334}
8335
8336
2f4c0a16 8337static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8338 PyObject *obj;
8339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8340 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8341 Py_INCREF(obj);
8342 return Py_BuildValue((char *)"");
8343}
2f4c0a16 8344static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8345 PyObject *resultobj;
8346 wxString *arg1 = 0 ;
8347 wxString *arg2 = 0 ;
8348 wxString *arg3 = 0 ;
8349 wxString *arg4 = 0 ;
8350 wxHtmlBookRecord *result;
423f194a
RD
8351 bool temp1 = False ;
8352 bool temp2 = False ;
8353 bool temp3 = False ;
8354 bool temp4 = False ;
d14a1e28
RD
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 PyObject * obj2 = 0 ;
8358 PyObject * obj3 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8364 {
8365 arg1 = wxString_in_helper(obj0);
8366 if (arg1 == NULL) SWIG_fail;
423f194a 8367 temp1 = True;
d14a1e28
RD
8368 }
8369 {
8370 arg2 = wxString_in_helper(obj1);
8371 if (arg2 == NULL) SWIG_fail;
423f194a 8372 temp2 = True;
d14a1e28
RD
8373 }
8374 {
8375 arg3 = wxString_in_helper(obj2);
8376 if (arg3 == NULL) SWIG_fail;
423f194a 8377 temp3 = True;
d14a1e28
RD
8378 }
8379 {
8380 arg4 = wxString_in_helper(obj3);
8381 if (arg4 == NULL) SWIG_fail;
423f194a 8382 temp4 = True;
d14a1e28
RD
8383 }
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
2f4c0a16 8391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
d14a1e28
RD
8392 {
8393 if (temp1)
8394 delete arg1;
8395 }
8396 {
8397 if (temp2)
8398 delete arg2;
8399 }
8400 {
8401 if (temp3)
8402 delete arg3;
8403 }
8404 {
8405 if (temp4)
8406 delete arg4;
8407 }
8408 return resultobj;
8409 fail:
8410 {
8411 if (temp1)
8412 delete arg1;
8413 }
8414 {
8415 if (temp2)
8416 delete arg2;
8417 }
8418 {
8419 if (temp3)
8420 delete arg3;
8421 }
8422 {
8423 if (temp4)
8424 delete arg4;
8425 }
8426 return NULL;
8427}
8428
8429
2f4c0a16 8430static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8431 PyObject *resultobj;
8432 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8433 wxString result;
8434 PyObject * obj0 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (arg1)->GetBookFile();
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 {
8450#if wxUSE_UNICODE
8451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8452#else
8453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8454#endif
8455 }
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
2f4c0a16 8462static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8463 PyObject *resultobj;
8464 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8465 wxString result;
8466 PyObject * obj0 = 0 ;
8467 char *kwnames[] = {
8468 (char *) "self", NULL
8469 };
8470
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (arg1)->GetTitle();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482#if wxUSE_UNICODE
8483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8484#else
8485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8486#endif
8487 }
8488 return resultobj;
8489 fail:
8490 return NULL;
8491}
8492
8493
2f4c0a16 8494static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8495 PyObject *resultobj;
8496 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8497 wxString result;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (arg1)->GetStart();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
8514#if wxUSE_UNICODE
8515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8516#else
8517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8518#endif
8519 }
8520 return resultobj;
8521 fail:
8522 return NULL;
8523}
8524
8525
2f4c0a16 8526static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8527 PyObject *resultobj;
8528 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8529 wxString result;
8530 PyObject * obj0 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (arg1)->GetBasePath();
8541
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 {
8546#if wxUSE_UNICODE
8547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8548#else
8549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8550#endif
8551 }
8552 return resultobj;
8553 fail:
8554 return NULL;
8555}
8556
8557
2f4c0a16 8558static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8559 PyObject *resultobj;
8560 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8561 int arg2 ;
8562 int arg3 ;
8563 PyObject * obj0 = 0 ;
8edf1c75
RD
8564 PyObject * obj1 = 0 ;
8565 PyObject * obj2 = 0 ;
d14a1e28
RD
8566 char *kwnames[] = {
8567 (char *) "self",(char *) "start",(char *) "end", NULL
8568 };
8569
8edf1c75 8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8573 arg2 = (int) SWIG_AsInt(obj1);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 arg3 = (int) SWIG_AsInt(obj2);
8576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 (arg1)->SetContentsRange(arg2,arg3);
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 Py_INCREF(Py_None); resultobj = Py_None;
8585 return resultobj;
8586 fail:
8587 return NULL;
8588}
8589
8590
2f4c0a16 8591static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8592 PyObject *resultobj;
8593 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8594 int result;
8595 PyObject * obj0 = 0 ;
8596 char *kwnames[] = {
8597 (char *) "self", NULL
8598 };
8599
8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (int)(arg1)->GetContentsStart();
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
2f4c0a16 8610 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8611 return resultobj;
8612 fail:
8613 return NULL;
8614}
8615
8616
2f4c0a16 8617static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8618 PyObject *resultobj;
8619 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8620 int result;
8621 PyObject * obj0 = 0 ;
8622 char *kwnames[] = {
8623 (char *) "self", NULL
8624 };
8625
8626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (int)(arg1)->GetContentsEnd();
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
2f4c0a16 8636 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8637 return resultobj;
8638 fail:
8639 return NULL;
8640}
8641
8642
2f4c0a16 8643static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8644 PyObject *resultobj;
8645 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8646 wxString *arg2 = 0 ;
423f194a 8647 bool temp2 = False ;
d14a1e28
RD
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self",(char *) "title", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8657 {
8658 arg2 = wxString_in_helper(obj1);
8659 if (arg2 == NULL) SWIG_fail;
423f194a 8660 temp2 = True;
d14a1e28
RD
8661 }
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 (arg1)->SetTitle((wxString const &)*arg2);
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 Py_INCREF(Py_None); resultobj = Py_None;
8670 {
8671 if (temp2)
8672 delete arg2;
8673 }
8674 return resultobj;
8675 fail:
8676 {
8677 if (temp2)
8678 delete arg2;
8679 }
8680 return NULL;
8681}
8682
8683
2f4c0a16 8684static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8685 PyObject *resultobj;
8686 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8687 wxString *arg2 = 0 ;
423f194a 8688 bool temp2 = False ;
d14a1e28
RD
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "path", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8698 {
8699 arg2 = wxString_in_helper(obj1);
8700 if (arg2 == NULL) SWIG_fail;
423f194a 8701 temp2 = True;
d14a1e28
RD
8702 }
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 (arg1)->SetBasePath((wxString const &)*arg2);
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 Py_INCREF(Py_None); resultobj = Py_None;
8711 {
8712 if (temp2)
8713 delete arg2;
8714 }
8715 return resultobj;
8716 fail:
8717 {
8718 if (temp2)
8719 delete arg2;
8720 }
8721 return NULL;
8722}
8723
8724
2f4c0a16 8725static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8726 PyObject *resultobj;
8727 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8728 wxString *arg2 = 0 ;
423f194a 8729 bool temp2 = False ;
d14a1e28
RD
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "start", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8739 {
8740 arg2 = wxString_in_helper(obj1);
8741 if (arg2 == NULL) SWIG_fail;
423f194a 8742 temp2 = True;
d14a1e28
RD
8743 }
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 (arg1)->SetStart((wxString const &)*arg2);
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 Py_INCREF(Py_None); resultobj = Py_None;
8752 {
8753 if (temp2)
8754 delete arg2;
8755 }
8756 return resultobj;
8757 fail:
8758 {
8759 if (temp2)
8760 delete arg2;
8761 }
8762 return NULL;
8763}
8764
8765
2f4c0a16 8766static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8767 PyObject *resultobj;
8768 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8769 wxString *arg2 = 0 ;
8770 wxString result;
423f194a 8771 bool temp2 = False ;
d14a1e28
RD
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self",(char *) "page", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8781 {
8782 arg2 = wxString_in_helper(obj1);
8783 if (arg2 == NULL) SWIG_fail;
423f194a 8784 temp2 = True;
d14a1e28
RD
8785 }
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 {
8794#if wxUSE_UNICODE
8795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8796#else
8797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8798#endif
8799 }
8800 {
8801 if (temp2)
8802 delete arg2;
8803 }
8804 return resultobj;
8805 fail:
8806 {
8807 if (temp2)
8808 delete arg2;
8809 }
8810 return NULL;
8811}
8812
8813
2f4c0a16 8814static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8815 PyObject *obj;
8816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8817 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8818 Py_INCREF(obj);
8819 return Py_BuildValue((char *)"");
8820}
2f4c0a16 8821static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8822 PyObject *resultobj;
8823 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8824 int result;
8825 PyObject * obj0 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8836
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
2f4c0a16 8840 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8841 return resultobj;
8842 fail:
8843 return NULL;
8844}
8845
8846
2f4c0a16 8847static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8848 PyObject *resultobj;
8849 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8850 int result;
8851 PyObject * obj0 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 result = (int)wxHtmlContentsItem_GetID(arg1);
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
2f4c0a16 8866 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8867 return resultobj;
8868 fail:
8869 return NULL;
8870}
8871
8872
2f4c0a16 8873static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8874 PyObject *resultobj;
8875 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8876 wxString result;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = wxHtmlContentsItem_GetName(arg1);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 {
8893#if wxUSE_UNICODE
8894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8895#else
8896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8897#endif
8898 }
8899 return resultobj;
8900 fail:
8901 return NULL;
8902}
8903
8904
2f4c0a16 8905static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8906 PyObject *resultobj;
8907 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8908 wxString result;
8909 PyObject * obj0 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 result = wxHtmlContentsItem_GetPage(arg1);
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 {
8925#if wxUSE_UNICODE
8926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8927#else
8928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8929#endif
8930 }
8931 return resultobj;
8932 fail:
8933 return NULL;
8934}
8935
8936
2f4c0a16 8937static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8938 PyObject *resultobj;
8939 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8940 wxHtmlBookRecord *result;
8941 PyObject * obj0 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
8951 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
2f4c0a16 8956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
d14a1e28
RD
8957 return resultobj;
8958 fail:
8959 return NULL;
8960}
8961
8962
2f4c0a16 8963static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8964 PyObject *obj;
8965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8966 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
8967 Py_INCREF(obj);
8968 return Py_BuildValue((char *)"");
8969}
2f4c0a16 8970static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8971 PyObject *resultobj;
8972 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8973 bool result;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (bool)(arg1)->Search();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
02a34c4c 8989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8990 return resultobj;
8991 fail:
8992 return NULL;
8993}
8994
8995
2f4c0a16 8996static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8997 PyObject *resultobj;
8998 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8999 bool result;
9000 PyObject * obj0 = 0 ;
9001 char *kwnames[] = {
9002 (char *) "self", NULL
9003 };
9004
9005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (bool)(arg1)->IsActive();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
02a34c4c 9015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9016 return resultobj;
9017 fail:
9018 return NULL;
9019}
9020
9021
2f4c0a16 9022static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9023 PyObject *resultobj;
9024 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9025 int result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = (int)(arg1)->GetCurIndex();
9037
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
2f4c0a16 9041 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9042 return resultobj;
9043 fail:
9044 return NULL;
9045}
9046
9047
2f4c0a16 9048static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9049 PyObject *resultobj;
9050 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9051 int result;
9052 PyObject * obj0 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "self", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = (int)(arg1)->GetMaxIndex();
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
2f4c0a16 9067 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9068 return resultobj;
9069 fail:
9070 return NULL;
9071}
9072
9073
2f4c0a16 9074static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9075 PyObject *resultobj;
9076 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9077 wxString *result;
9078 PyObject * obj0 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 {
9089 wxString const &_result_ref = (arg1)->GetName();
9090 result = (wxString *) &_result_ref;
9091 }
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
0f774bef
RD
9096 {
9097#if wxUSE_UNICODE
9098 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9099#else
9100 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9101#endif
9102 }
d14a1e28
RD
9103 return resultobj;
9104 fail:
9105 return NULL;
9106}
9107
9108
2f4c0a16 9109static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9110 PyObject *resultobj;
9111 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9112 wxHtmlContentsItem *result;
9113 PyObject * obj0 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
2f4c0a16 9128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
9129 return resultobj;
9130 fail:
9131 return NULL;
9132}
9133
9134
2f4c0a16 9135static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9136 PyObject *obj;
9137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9138 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9139 Py_INCREF(obj);
9140 return Py_BuildValue((char *)"");
9141}
2f4c0a16 9142static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9143 PyObject *resultobj;
9144 wxHtmlHelpData *result;
9145 char *kwnames[] = {
9146 NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
2f4c0a16 9157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
d14a1e28
RD
9158 return resultobj;
9159 fail:
9160 return NULL;
9161}
9162
9163
2f4c0a16 9164static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9165 PyObject *resultobj;
9166 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9167 PyObject * obj0 = 0 ;
9168 char *kwnames[] = {
9169 (char *) "self", NULL
9170 };
9171
9172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 delete arg1;
9178
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 Py_INCREF(Py_None); resultobj = Py_None;
9183 return resultobj;
9184 fail:
9185 return NULL;
9186}
9187
9188
2f4c0a16 9189static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9190 PyObject *resultobj;
9191 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9192 wxString *arg2 = 0 ;
423f194a 9193 bool temp2 = False ;
d14a1e28
RD
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "self",(char *) "path", NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9203 {
9204 arg2 = wxString_in_helper(obj1);
9205 if (arg2 == NULL) SWIG_fail;
423f194a 9206 temp2 = True;
d14a1e28
RD
9207 }
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 (arg1)->SetTempDir((wxString const &)*arg2);
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 Py_INCREF(Py_None); resultobj = Py_None;
9216 {
9217 if (temp2)
9218 delete arg2;
9219 }
9220 return resultobj;
9221 fail:
9222 {
9223 if (temp2)
9224 delete arg2;
9225 }
9226 return NULL;
9227}
9228
9229
2f4c0a16 9230static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9231 PyObject *resultobj;
9232 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9233 wxString *arg2 = 0 ;
9234 bool result;
423f194a 9235 bool temp2 = False ;
d14a1e28
RD
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self",(char *) "book", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9245 {
9246 arg2 = wxString_in_helper(obj1);
9247 if (arg2 == NULL) SWIG_fail;
423f194a 9248 temp2 = True;
d14a1e28
RD
9249 }
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
02a34c4c 9257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9258 {
9259 if (temp2)
9260 delete arg2;
9261 }
9262 return resultobj;
9263 fail:
9264 {
9265 if (temp2)
9266 delete arg2;
9267 }
9268 return NULL;
9269}
9270
9271
2f4c0a16 9272static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9273 PyObject *resultobj;
9274 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9275 wxString *arg2 = 0 ;
9276 wxString result;
423f194a 9277 bool temp2 = False ;
d14a1e28
RD
9278 PyObject * obj0 = 0 ;
9279 PyObject * obj1 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self",(char *) "page", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9287 {
9288 arg2 = wxString_in_helper(obj1);
9289 if (arg2 == NULL) SWIG_fail;
423f194a 9290 temp2 = True;
d14a1e28
RD
9291 }
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 result = (arg1)->FindPageByName((wxString const &)*arg2);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 {
9300#if wxUSE_UNICODE
9301 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9302#else
9303 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9304#endif
9305 }
9306 {
9307 if (temp2)
9308 delete arg2;
9309 }
9310 return resultobj;
9311 fail:
9312 {
9313 if (temp2)
9314 delete arg2;
9315 }
9316 return NULL;
9317}
9318
9319
2f4c0a16 9320static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9321 PyObject *resultobj;
9322 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9323 int arg2 ;
9324 wxString result;
9325 PyObject * obj0 = 0 ;
8edf1c75 9326 PyObject * obj1 = 0 ;
d14a1e28
RD
9327 char *kwnames[] = {
9328 (char *) "self",(char *) "id", NULL
9329 };
9330
8edf1c75 9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9334 arg2 = (int) SWIG_AsInt(obj1);
9335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (arg1)->FindPageById(arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 {
9344#if wxUSE_UNICODE
9345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9346#else
9347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9348#endif
9349 }
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
2f4c0a16 9356static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9357 PyObject *resultobj;
9358 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9359 wxHtmlBookRecArray *result;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 {
9371 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9372 result = (wxHtmlBookRecArray *) &_result_ref;
9373 }
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
2f4c0a16 9378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
d14a1e28
RD
9379 return resultobj;
9380 fail:
9381 return NULL;
9382}
9383
9384
2f4c0a16 9385static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9386 PyObject *resultobj;
9387 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9388 wxHtmlContentsItem *result;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
2f4c0a16 9404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
9405 return resultobj;
9406 fail:
9407 return NULL;
9408}
9409
9410
2f4c0a16 9411static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9412 PyObject *resultobj;
9413 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9414 int result;
9415 PyObject * obj0 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "self", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (int)(arg1)->GetContentsCnt();
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
2f4c0a16 9430 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9431 return resultobj;
9432 fail:
9433 return NULL;
9434}
9435
9436
2f4c0a16 9437static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9438 PyObject *resultobj;
9439 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9440 wxHtmlContentsItem *result;
9441 PyObject * obj0 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
2f4c0a16 9456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
d14a1e28
RD
9457 return resultobj;
9458 fail:
9459 return NULL;
9460}
9461
9462
2f4c0a16 9463static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9464 PyObject *resultobj;
9465 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9466 int result;
9467 PyObject * obj0 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 result = (int)(arg1)->GetIndexCnt();
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
2f4c0a16 9482 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9483 return resultobj;
9484 fail:
9485 return NULL;
9486}
9487
9488
2f4c0a16 9489static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9490 PyObject *obj;
9491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9492 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9493 Py_INCREF(obj);
9494 return Py_BuildValue((char *)"");
9495}
2f4c0a16 9496static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9497 PyObject *resultobj;
9498 wxWindow *arg1 = (wxWindow *) 0 ;
9499 int arg2 ;
9500 wxString const &arg3_defvalue = wxPyEmptyString ;
9501 wxString *arg3 = (wxString *) &arg3_defvalue ;
9502 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9503 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9504 wxHtmlHelpFrame *result;
423f194a 9505 bool temp3 = False ;
d14a1e28 9506 PyObject * obj0 = 0 ;
8edf1c75 9507 PyObject * obj1 = 0 ;
d14a1e28 9508 PyObject * obj2 = 0 ;
8edf1c75 9509 PyObject * obj3 = 0 ;
d14a1e28
RD
9510 PyObject * obj4 = 0 ;
9511 char *kwnames[] = {
423f194a 9512 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
9513 };
9514
8edf1c75 9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9518 arg2 = (int) SWIG_AsInt(obj1);
9519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9520 if (obj2) {
9521 {
9522 arg3 = wxString_in_helper(obj2);
9523 if (arg3 == NULL) SWIG_fail;
423f194a 9524 temp3 = True;
d14a1e28
RD
9525 }
9526 }
8edf1c75 9527 if (obj3) {
2f4c0a16
RD
9528 arg4 = (int) SWIG_AsInt(obj3);
9529 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9530 }
d14a1e28 9531 if (obj4) {
2f4c0a16
RD
9532 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
9533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9534 }
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9538
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
2f4c0a16 9542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
d14a1e28
RD
9543 {
9544 if (temp3)
9545 delete arg3;
9546 }
9547 return resultobj;
9548 fail:
9549 {
9550 if (temp3)
9551 delete arg3;
9552 }
9553 return NULL;
9554}
9555
9556
2f4c0a16 9557static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9558 PyObject *resultobj;
9559 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9560 wxHtmlHelpData *result;
9561 PyObject * obj0 = 0 ;
9562 char *kwnames[] = {
9563 (char *) "self", NULL
9564 };
9565
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = (wxHtmlHelpData *)(arg1)->GetData();
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
2f4c0a16 9576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
d14a1e28
RD
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
2f4c0a16 9583static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9584 PyObject *resultobj;
9585 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9586 wxString *arg2 = 0 ;
423f194a 9587 bool temp2 = False ;
d14a1e28
RD
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj1 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self",(char *) "format", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9597 {
9598 arg2 = wxString_in_helper(obj1);
9599 if (arg2 == NULL) SWIG_fail;
423f194a 9600 temp2 = True;
d14a1e28
RD
9601 }
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 (arg1)->SetTitleFormat((wxString const &)*arg2);
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 Py_INCREF(Py_None); resultobj = Py_None;
9610 {
9611 if (temp2)
9612 delete arg2;
9613 }
9614 return resultobj;
9615 fail:
9616 {
9617 if (temp2)
9618 delete arg2;
9619 }
9620 return NULL;
9621}
9622
9623
2f4c0a16 9624static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9625 PyObject *resultobj;
9626 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9627 wxString *arg2 = 0 ;
423f194a 9628 bool temp2 = False ;
d14a1e28
RD
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "x", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9638 {
9639 arg2 = wxString_in_helper(obj1);
9640 if (arg2 == NULL) SWIG_fail;
423f194a 9641 temp2 = True;
d14a1e28
RD
9642 }
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 (arg1)->Display((wxString const &)*arg2);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 Py_INCREF(Py_None); resultobj = Py_None;
9651 {
9652 if (temp2)
9653 delete arg2;
9654 }
9655 return resultobj;
9656 fail:
9657 {
9658 if (temp2)
9659 delete arg2;
9660 }
9661 return NULL;
9662}
9663
9664
2f4c0a16 9665static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9666 PyObject *resultobj;
9667 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9668 int arg2 ;
9669 PyObject * obj0 = 0 ;
8edf1c75 9670 PyObject * obj1 = 0 ;
d14a1e28
RD
9671 char *kwnames[] = {
9672 (char *) "self",(char *) "id", NULL
9673 };
9674
8edf1c75 9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 arg2 = (int) SWIG_AsInt(obj1);
9679 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 (arg1)->Display(arg2);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 Py_INCREF(Py_None); resultobj = Py_None;
9688 return resultobj;
9689 fail:
9690 return NULL;
9691}
9692
9693
2f4c0a16 9694static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9695 PyObject *resultobj;
9696 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9697 PyObject * obj0 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 (arg1)->DisplayContents();
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 Py_INCREF(Py_None); resultobj = Py_None;
9713 return resultobj;
9714 fail:
9715 return NULL;
9716}
9717
9718
2f4c0a16 9719static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9720 PyObject *resultobj;
9721 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9722 PyObject * obj0 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "self", NULL
9725 };
9726
9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 (arg1)->DisplayIndex();
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 Py_INCREF(Py_None); resultobj = Py_None;
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
2f4c0a16 9744static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9745 PyObject *resultobj;
9746 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9747 wxString *arg2 = 0 ;
9748 bool result;
423f194a 9749 bool temp2 = False ;
d14a1e28
RD
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self",(char *) "keyword", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9759 {
9760 arg2 = wxString_in_helper(obj1);
9761 if (arg2 == NULL) SWIG_fail;
423f194a 9762 temp2 = True;
d14a1e28
RD
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
02a34c4c 9771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9772 {
9773 if (temp2)
9774 delete arg2;
9775 }
9776 return resultobj;
9777 fail:
9778 {
9779 if (temp2)
9780 delete arg2;
9781 }
9782 return NULL;
9783}
9784
9785
2f4c0a16 9786static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9787 PyObject *resultobj;
9788 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9789 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9790 wxString const &arg3_defvalue = wxPyEmptyString ;
9791 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 9792 bool temp3 = False ;
d14a1e28
RD
9793 PyObject * obj0 = 0 ;
9794 PyObject * obj1 = 0 ;
9795 PyObject * obj2 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9805 if (obj2) {
9806 {
9807 arg3 = wxString_in_helper(obj2);
9808 if (arg3 == NULL) SWIG_fail;
423f194a 9809 temp3 = True;
d14a1e28
RD
9810 }
9811 }
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 Py_INCREF(Py_None); resultobj = Py_None;
9820 {
9821 if (temp3)
9822 delete arg3;
9823 }
9824 return resultobj;
9825 fail:
9826 {
9827 if (temp3)
9828 delete arg3;
9829 }
9830 return NULL;
9831}
9832
9833
2f4c0a16 9834static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9835 PyObject *resultobj;
9836 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9837 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9838 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "cfg",(char *) "path", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9851 if (obj2) {
423f194a
RD
9852 {
9853 wxString* sptr = wxString_in_helper(obj2);
9854 if (sptr == NULL) SWIG_fail;
9855 arg3 = *sptr;
9856 delete sptr;
9857 }
d14a1e28
RD
9858 }
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 (arg1)->ReadCustomization(arg2,arg3);
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 Py_INCREF(Py_None); resultobj = Py_None;
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
2f4c0a16 9873static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9874 PyObject *resultobj;
9875 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9876 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9877 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 PyObject * obj2 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self",(char *) "cfg",(char *) "path", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9890 if (obj2) {
423f194a
RD
9891 {
9892 wxString* sptr = wxString_in_helper(obj2);
9893 if (sptr == NULL) SWIG_fail;
9894 arg3 = *sptr;
9895 delete sptr;
9896 }
d14a1e28
RD
9897 }
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 (arg1)->WriteCustomization(arg2,arg3);
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 Py_INCREF(Py_None); resultobj = Py_None;
9906 return resultobj;
9907 fail:
9908 return NULL;
9909}
9910
9911
2f4c0a16 9912static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9913 PyObject *obj;
9914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9915 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
9916 Py_INCREF(obj);
9917 return Py_BuildValue((char *)"");
9918}
2f4c0a16 9919static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9920 PyObject *resultobj;
9921 int arg1 = (int) wxHF_DEFAULTSTYLE ;
9922 wxHtmlHelpController *result;
8edf1c75 9923 PyObject * obj0 = 0 ;
d14a1e28
RD
9924 char *kwnames[] = {
9925 (char *) "style", NULL
9926 };
9927
8edf1c75
RD
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
9929 if (obj0) {
2f4c0a16
RD
9930 arg1 = (int) SWIG_AsInt(obj0);
9931 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9932 }
d14a1e28
RD
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
2f4c0a16 9940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
d14a1e28
RD
9941 return resultobj;
9942 fail:
9943 return NULL;
9944}
9945
9946
2f4c0a16 9947static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9948 PyObject *resultobj;
9949 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9950 PyObject * obj0 = 0 ;
9951 char *kwnames[] = {
9952 (char *) "self", NULL
9953 };
9954
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
9957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 delete arg1;
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 Py_INCREF(Py_None); resultobj = Py_None;
9966 return resultobj;
9967 fail:
9968 return NULL;
9969}
9970
9971
2f4c0a16 9972static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9973 PyObject *resultobj;
9974 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9975 wxString *arg2 = 0 ;
423f194a 9976 bool temp2 = False ;
d14a1e28
RD
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "format", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9986 {
9987 arg2 = wxString_in_helper(obj1);
9988 if (arg2 == NULL) SWIG_fail;
423f194a 9989 temp2 = True;
d14a1e28
RD
9990 }
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->SetTitleFormat((wxString const &)*arg2);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 Py_INCREF(Py_None); resultobj = Py_None;
9999 {
10000 if (temp2)
10001 delete arg2;
10002 }
10003 return resultobj;
10004 fail:
10005 {
10006 if (temp2)
10007 delete arg2;
10008 }
10009 return NULL;
10010}
10011
10012
2f4c0a16 10013static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10014 PyObject *resultobj;
10015 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10016 wxString *arg2 = 0 ;
423f194a 10017 bool temp2 = False ;
d14a1e28
RD
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self",(char *) "path", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10027 {
10028 arg2 = wxString_in_helper(obj1);
10029 if (arg2 == NULL) SWIG_fail;
423f194a 10030 temp2 = True;
d14a1e28
RD
10031 }
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->SetTempDir((wxString const &)*arg2);
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 Py_INCREF(Py_None); resultobj = Py_None;
10040 {
10041 if (temp2)
10042 delete arg2;
10043 }
10044 return resultobj;
10045 fail:
10046 {
10047 if (temp2)
10048 delete arg2;
10049 }
10050 return NULL;
10051}
10052
10053
2f4c0a16 10054static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10055 PyObject *resultobj;
10056 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10057 wxString *arg2 = 0 ;
423f194a 10058 int arg3 = (int) False ;
d14a1e28 10059 bool result;
423f194a 10060 bool temp2 = False ;
d14a1e28
RD
10061 PyObject * obj0 = 0 ;
10062 PyObject * obj1 = 0 ;
8edf1c75 10063 PyObject * obj2 = 0 ;
d14a1e28
RD
10064 char *kwnames[] = {
10065 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10066 };
10067
8edf1c75 10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10071 {
10072 arg2 = wxString_in_helper(obj1);
10073 if (arg2 == NULL) SWIG_fail;
423f194a 10074 temp2 = True;
d14a1e28 10075 }
8edf1c75 10076 if (obj2) {
2f4c0a16
RD
10077 arg3 = (int) SWIG_AsInt(obj2);
10078 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10079 }
d14a1e28
RD
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
02a34c4c 10087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10088 {
10089 if (temp2)
10090 delete arg2;
10091 }
10092 return resultobj;
10093 fail:
10094 {
10095 if (temp2)
10096 delete arg2;
10097 }
10098 return NULL;
10099}
10100
10101
2f4c0a16 10102static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10103 PyObject *resultobj;
10104 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10105 wxString *arg2 = 0 ;
423f194a 10106 bool temp2 = False ;
d14a1e28
RD
10107 PyObject * obj0 = 0 ;
10108 PyObject * obj1 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "self",(char *) "x", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10116 {
10117 arg2 = wxString_in_helper(obj1);
10118 if (arg2 == NULL) SWIG_fail;
423f194a 10119 temp2 = True;
d14a1e28
RD
10120 }
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 (arg1)->Display((wxString const &)*arg2);
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 Py_INCREF(Py_None); resultobj = Py_None;
10129 {
10130 if (temp2)
10131 delete arg2;
10132 }
10133 return resultobj;
10134 fail:
10135 {
10136 if (temp2)
10137 delete arg2;
10138 }
10139 return NULL;
10140}
10141
10142
2f4c0a16 10143static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10144 PyObject *resultobj;
10145 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10146 int arg2 ;
10147 PyObject * obj0 = 0 ;
8edf1c75 10148 PyObject * obj1 = 0 ;
d14a1e28
RD
10149 char *kwnames[] = {
10150 (char *) "self",(char *) "id", NULL
10151 };
10152
8edf1c75 10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10156 arg2 = (int) SWIG_AsInt(obj1);
10157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->Display(arg2);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
2f4c0a16 10172static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10173 PyObject *resultobj;
10174 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10175 PyObject * obj0 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "self", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 (arg1)->DisplayContents();
10186
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 }
10190 Py_INCREF(Py_None); resultobj = Py_None;
10191 return resultobj;
10192 fail:
10193 return NULL;
10194}
10195
10196
2f4c0a16 10197static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10198 PyObject *resultobj;
10199 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10200 PyObject * obj0 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "self", NULL
10203 };
10204
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->DisplayIndex();
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 return resultobj;
10217 fail:
10218 return NULL;
10219}
10220
10221
2f4c0a16 10222static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10223 PyObject *resultobj;
10224 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10225 wxString *arg2 = 0 ;
10226 bool result;
423f194a 10227 bool temp2 = False ;
d14a1e28
RD
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self",(char *) "keyword", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10237 {
10238 arg2 = wxString_in_helper(obj1);
10239 if (arg2 == NULL) SWIG_fail;
423f194a 10240 temp2 = True;
d14a1e28
RD
10241 }
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
02a34c4c 10249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10250 {
10251 if (temp2)
10252 delete arg2;
10253 }
10254 return resultobj;
10255 fail:
10256 {
10257 if (temp2)
10258 delete arg2;
10259 }
10260 return NULL;
10261}
10262
10263
2f4c0a16 10264static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10265 PyObject *resultobj;
10266 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10267 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10268 wxString const &arg3_defvalue = wxPyEmptyString ;
10269 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 10270 bool temp3 = False ;
d14a1e28
RD
10271 PyObject * obj0 = 0 ;
10272 PyObject * obj1 = 0 ;
10273 PyObject * obj2 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10283 if (obj2) {
10284 {
10285 arg3 = wxString_in_helper(obj2);
10286 if (arg3 == NULL) SWIG_fail;
423f194a 10287 temp3 = True;
d14a1e28
RD
10288 }
10289 }
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 Py_INCREF(Py_None); resultobj = Py_None;
10298 {
10299 if (temp3)
10300 delete arg3;
10301 }
10302 return resultobj;
10303 fail:
10304 {
10305 if (temp3)
10306 delete arg3;
10307 }
10308 return NULL;
10309}
10310
10311
2f4c0a16 10312static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10313 PyObject *resultobj;
10314 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10315 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10316 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
10317 PyObject * obj0 = 0 ;
10318 PyObject * obj1 = 0 ;
10319 PyObject * obj2 = 0 ;
10320 char *kwnames[] = {
10321 (char *) "self",(char *) "cfg",(char *) "path", NULL
10322 };
10323
10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10329 if (obj2) {
423f194a
RD
10330 {
10331 wxString* sptr = wxString_in_helper(obj2);
10332 if (sptr == NULL) SWIG_fail;
10333 arg3 = *sptr;
10334 delete sptr;
10335 }
d14a1e28
RD
10336 }
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 (arg1)->ReadCustomization(arg2,arg3);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 Py_INCREF(Py_None); resultobj = Py_None;
10345 return resultobj;
10346 fail:
10347 return NULL;
10348}
10349
10350
2f4c0a16 10351static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10352 PyObject *resultobj;
10353 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10354 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10355 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
10356 PyObject * obj0 = 0 ;
10357 PyObject * obj1 = 0 ;
10358 PyObject * obj2 = 0 ;
10359 char *kwnames[] = {
10360 (char *) "self",(char *) "cfg",(char *) "path", NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10368 if (obj2) {
423f194a
RD
10369 {
10370 wxString* sptr = wxString_in_helper(obj2);
10371 if (sptr == NULL) SWIG_fail;
10372 arg3 = *sptr;
10373 delete sptr;
10374 }
d14a1e28
RD
10375 }
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->WriteCustomization(arg2,arg3);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 return resultobj;
10385 fail:
10386 return NULL;
10387}
10388
10389
2f4c0a16 10390static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10391 PyObject *resultobj;
10392 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10393 wxHtmlHelpFrame *result;
10394 PyObject * obj0 = 0 ;
10395 char *kwnames[] = {
10396 (char *) "self", NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
2f4c0a16 10409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
d14a1e28
RD
10410 return resultobj;
10411 fail:
10412 return NULL;
10413}
10414
10415
2f4c0a16 10416static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10417 PyObject *obj;
10418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10419 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10420 Py_INCREF(obj);
10421 return Py_BuildValue((char *)"");
10422}
10423static PyMethodDef SwigMethods[] = {
2f4c0a16
RD
10424 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10425 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL },
10426 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
10427 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
10428 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
10429 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL },
10430 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
10431 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL },
10432 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
10433 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL },
10434 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL },
10435 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL },
10436 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL },
10437 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL },
10438 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL },
10439 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL },
10440 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL },
10441 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL },
10442 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL },
10443 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL },
10444 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL },
10445 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL },
10446 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL },
10447 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL },
10448 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10449 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL },
10450 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10451 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10452 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL },
10453 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL },
10454 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
10455 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
10456 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
10457 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
10458 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
10459 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
10460 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10461 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10462 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10463 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL },
10464 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
10465 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL },
10466 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
10467 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL },
10468 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
10469 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL },
10470 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
10471 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
10472 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
10473 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL },
10474 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
10475 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
10476 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
10477 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL },
10478 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
10479 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL },
10480 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
10481 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL },
10482 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
10483 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL },
10484 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10485 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10486 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10487 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10488 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
10489 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL },
10490 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10491 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10492 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10493 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10494 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL },
10495 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL },
10496 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL },
10497 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
10498 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL },
10499 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL },
10500 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL },
10501 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL },
10502 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL },
10503 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL },
10504 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL },
10505 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10506 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10507 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10508 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10509 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL },
10510 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
10511 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL },
10512 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
10513 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL },
10514 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
10515 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL },
10516 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10517 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10518 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10519 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10520 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL },
10521 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
10522 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10523 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
10524 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
10525 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL },
10526 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL },
10527 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10528 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10529 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
10530 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
10531 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
10532 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
10533 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
10534 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL },
10535 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL },
10536 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL },
10537 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL },
10538 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
10539 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
10540 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL },
10541 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
10542 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
10543 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
10544 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL },
10545 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
10546 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
10547 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
10548 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL },
10549 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
10550 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL },
10551 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
10552 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
10553 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
10554 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
10555 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL },
10556 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL },
10557 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
10558 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL },
10559 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
10560 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL },
10561 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL },
10562 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL },
10563 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
10564 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL },
10565 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
10566 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL },
10567 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL },
10568 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL },
10569 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL },
10570 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL },
10571 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL },
10572 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL },
10573 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
10574 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL },
10575 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
10576 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL },
10577 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
10578 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
10579 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL },
10580 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
10581 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL },
10582 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL },
10583 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
10584 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
10585 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
10586 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
10587 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
10588 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL },
10589 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL },
10590 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL },
10591 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL },
10592 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL },
10593 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL },
10594 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL },
10595 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL },
10596 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10597 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL },
10598 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
10599 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL },
10600 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
10601 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
10602 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL },
10603 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL },
10604 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
10605 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL },
10606 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL },
10607 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
10608 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL },
10609 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
10610 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
10611 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
10612 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
10613 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
10614 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL },
10615 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
10616 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
10617 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL },
10618 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL },
10619 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL },
10620 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL },
10621 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL },
10622 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL },
10623 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL },
10624 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
10625 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
10626 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
10627 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL },
10628 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL },
10629 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
10630 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL },
10631 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
10632 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL },
10633 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL },
10634 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL },
10635 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
10636 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL },
10637 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
10638 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
10639 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
10640 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
10641 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL },
10642 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
10643 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL },
10644 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
10645 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
10646 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL },
10647 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
10648 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
10649 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
10650 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
10651 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
10652 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL },
10653 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL },
10654 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
10655 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
10656 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL },
10657 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL },
10658 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL },
10659 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL },
10660 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS, NULL },
10661 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL },
10662 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
10663 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
10664 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
10665 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
10666 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
10667 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL },
10668 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL },
10669 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL },
10670 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
10671 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL },
10672 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
10673 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL },
10674 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL },
10675 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL },
10676 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
10677 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL },
10678 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL },
10679 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL },
10680 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL },
10681 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL },
10682 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL },
10683 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
10684 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
10685 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL },
10686 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL },
10687 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL },
10688 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
10689 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL },
10690 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL },
10691 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
10692 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL },
10693 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL },
10694 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
10695 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL },
10696 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
10697 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
10698 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL },
10699 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL },
10700 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL },
10701 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL },
10702 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL },
10703 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
10704 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL },
10705 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL },
10706 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL },
10707 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
10708 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
10709 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL },
10710 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
10711 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
10712 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
10713 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
10714 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
10715 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
10716 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
10717 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL },
10718 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
10719 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL },
10720 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL },
10721 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL },
10722 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL },
10723 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL },
10724 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL },
10725 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL },
10726 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL },
10727 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL },
10728 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL },
10729 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
10730 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
10731 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
10732 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL },
10733 { NULL, NULL, 0, NULL }
d14a1e28
RD
10734};
10735
10736
10737/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10738
10739static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10740 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10741}
10742static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10743 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10744}
10745static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10746 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10747}
10748static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10749 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10750}
10751static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10752 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10753}
10754static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10755 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10756}
10757static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10758 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10759}
10760static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10761 return (void *)((wxPanel *) ((wxPyPanel *) x));
10762}
10763static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10764 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10765}
10766static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10767 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10768}
10769static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10770 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10771}
10772static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10773 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10774}
10775static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10776 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10777}
10778static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10780}
10781static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10783}
10784static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10785 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10786}
10787static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10788 return (void *)((wxWindow *) ((wxMenuBar *) x));
10789}
10790static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10791 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10792}
10793static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10794 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10795}
10796static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10798}
10799static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10801}
10802static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10803 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10804}
10805static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10806 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10807}
10808static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10809 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10810}
10811static void *_p_wxPanelTo_p_wxWindow(void *x) {
10812 return (void *)((wxWindow *) ((wxPanel *) x));
10813}
10814static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10815 return (void *)((wxWindow *) ((wxStatusBar *) x));
10816}
10817static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10818 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10819}
10820static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10821 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10822}
10823static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10824 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10825}
10826static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10827 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10828}
10829static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10830 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10831}
10832static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10833 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10834}
10835static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10836 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10837}
10838static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10839 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10840}
10841static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10842 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10843}
10844static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10845 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10846}
10847static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10848 return (void *)((wxWindow *) ((wxSashWindow *) x));
10849}
10850static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10851 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10852}
10853static void *_p_wxControlTo_p_wxWindow(void *x) {
10854 return (void *)((wxWindow *) ((wxControl *) x));
10855}
10856static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10857 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10858}
10859static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10861}
10862static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10863 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10864}
10865static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10866 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10867}
10868static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10869 return (void *)((wxWindow *) ((wxPyWindow *) x));
10870}
10871static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10872 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10873}
10874static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10875 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10876}
10877static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10878 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10879}
10880static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10881 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10882}
10883static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10884 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10885}
10886static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
10887 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10888}
10889static void *_p_wxFrameTo_p_wxWindow(void *x) {
10890 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10891}
10892static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10894}
10895static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10897}
10898static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10899 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10900}
10901static void *_p_wxDialogTo_p_wxWindow(void *x) {
10902 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10903}
10904static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
10905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10906}
10907static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
10908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10909}
10910static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10912}
10913static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10914 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10915}
10916static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10918}
10919static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10921}
10922static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10924}
10925static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10927}
10928static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10929 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10930}
10931static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
10932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
10933}
10934static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
10935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
10936}
10937static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10939}
10940static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
10941 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
10942}
10943static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10944 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10945}
10946static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10947 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10948}
10949static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10950 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10951}
10952static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10953 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10954}
10955static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10956 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10957}
10958static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10959 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10960}
10961static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10962 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10963}
10964static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10965 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10966}
10967static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10968 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10969}
10970static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
10971 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
10972}
10973static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10974 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10975}
10976static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10977 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10978}
10979static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10980 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10981}
10982static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10983 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10984}
10985static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10987}
10988static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10990}
10991static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10992 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10993}
10994static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10995 return (void *)((wxObject *) ((wxSizerItem *) x));
10996}
10997static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10999}
11000static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11001 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11002}
11003static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11004 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11005}
11006static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11007 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11008}
11009static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11010 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11011}
11012static void *_p_wxSizerTo_p_wxObject(void *x) {
11013 return (void *)((wxObject *) ((wxSizer *) x));
11014}
11015static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11016 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11017}
11018static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11019 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11020}
11021static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11023}
11024static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11026}
11027static void *_p_wxEventTo_p_wxObject(void *x) {
11028 return (void *)((wxObject *) ((wxEvent *) x));
11029}
11030static void *_p_wxFontDataTo_p_wxObject(void *x) {
11031 return (void *)((wxObject *) ((wxFontData *) x));
11032}
11033static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11034 return (void *)((wxObject *) ((wxPrintData *) x));
11035}
11036static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11037 return (void *)((wxObject *) ((wxHtmlTag *) x));
11038}
11039static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11040 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11041}
11042static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11043 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11044}
11045static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11046 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11047}
11048static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11049 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11050}
11051static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
11052 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
11053}
11054static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11056}
11057static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11059}
11060static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11061 return (void *)((wxObject *) ((wxHtmlCell *) x));
11062}
11063static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11064 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11065}
11066static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11067 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11068}
11069static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11070 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11071}
11072static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11073 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11074}
11075static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11076 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11077}
11078static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11079 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11080}
11081static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11083}
11084static void *_p_wxControlTo_p_wxObject(void *x) {
11085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11086}
11087static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11088 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11089}
11090static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11091 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11092}
11093static void *_p_wxFSFileTo_p_wxObject(void *x) {
11094 return (void *)((wxObject *) ((wxFSFile *) x));
11095}
11096static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11097 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11098}
11099static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11100 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11101}
11102static void *_p_wxPySizerTo_p_wxObject(void *x) {
11103 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11104}
11105static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11106 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11107}
11108static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11110}
11111static void *_p_wxColourDataTo_p_wxObject(void *x) {
11112 return (void *)((wxObject *) ((wxColourData *) x));
11113}
11114static void *_p_wxPyEventTo_p_wxObject(void *x) {
11115 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11116}
11117static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11118 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11119}
11120static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11122}
11123static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11125}
11126static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11128}
11129static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11131}
11132static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11134}
11135static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11137}
11138static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11140}
11141static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11143}
11144static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11146}
11147static void *_p_wxShowEventTo_p_wxObject(void *x) {
11148 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11149}
11150static void *_p_wxPrinterTo_p_wxObject(void *x) {
11151 return (void *)((wxObject *) ((wxPrinter *) x));
11152}
11153static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11154 return (void *)((wxObject *) ((wxMenuItem *) x));
11155}
11156static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11157 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11158}
11159static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11161}
11162static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11163 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11164}
11165static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11166 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11167}
11168static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11169 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11170}
11171static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11172 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11173}
11174static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11175 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11176}
11177static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11178 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11179}
11180static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11181 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11182}
11183static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11184 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11185}
11186static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11187 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11188}
11189static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11190 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11191}
11192static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11193 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11194}
11195static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11196 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11197}
11198static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11199 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11200}
11201static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11202 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11203}
11204static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11205 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11206}
11207static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11208 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11209}
11210static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11211 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11212}
11213static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11214 return (void *)((wxObject *) ((wxImageHandler *) x));
11215}
11216static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11217 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11218}
11219static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11220 return (void *)((wxObject *) ((wxEvtHandler *) x));
11221}
11222static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11223 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11224}
11225static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11226 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11227}
11228static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11229 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11230}
11231static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11233}
11234static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11236}
11237static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11238 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11239}
11240static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11242}
11243static void *_p_wxImageTo_p_wxObject(void *x) {
11244 return (void *)((wxObject *) ((wxImage *) x));
11245}
11246static void *_p_wxFrameTo_p_wxObject(void *x) {
11247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11248}
11249static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11250 return (void *)((wxObject *) ((wxPyPrintout *) x));
11251}
11252static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11253 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11254}
11255static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11256 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11257}
11258static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11259 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11260}
11261static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11263}
11264static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11265 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11266}
11267static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11268 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11269}
11270static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11272}
11273static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11274 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11275}
11276static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11277 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11278}
11279static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11280 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11281}
d14a1e28
RD
11282static void *_p_wxWindowTo_p_wxObject(void *x) {
11283 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11284}
11285static void *_p_wxMenuTo_p_wxObject(void *x) {
11286 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11287}
11288static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11290}
41f1cec7
RD
11291static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11293}
d14a1e28
RD
11294static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11296}
11297static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11299}
11300static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11302}
11303static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11305}
11306static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11308}
11309static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11311}
11312static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11314}
11315static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11317}
11318static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11320}
11321static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11323}
11324static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11326}
11327static void *_p_wxSashEventTo_p_wxObject(void *x) {
11328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11329}
11330static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11331 return (void *)((wxObject *) ((wxPrintPreview *) x));
11332}
11333static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11334 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11335}
11336static void *_p_wxPanelTo_p_wxObject(void *x) {
11337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11338}
11339static void *_p_wxDialogTo_p_wxObject(void *x) {
11340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11341}
11342static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11344}
11345static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11347}
11348static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11350}
11351static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11353}
11354static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11356}
11357static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11358 return (void *)((wxObject *) ((wxHtmlParser *) x));
11359}
11360static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11361 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11362}
11363static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11364 return (void *)((wxObject *) ((wxFileSystem *) x));
11365}
11366static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11367 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11368}
11369static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11370 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11371}
11372static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11373 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11374}
11375static void *_p_wxPyAppTo_p_wxObject(void *x) {
11376 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11377}
11378static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11379 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11380}
11381static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11382 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11383}
11384static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11385 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11386}
11387static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11389}
11390static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11391 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11392}
11393static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11395}
11396static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11398}
11399static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11400 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11401}
11402static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11403 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11404}
11405static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11406 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11407}
11408static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11410}
11411static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11412 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11413}
11414static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11416}
11417static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11418 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11419}
11420static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11421 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11422}
11423static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11424 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11425}
11426static void *_p_wxValidatorTo_p_wxObject(void *x) {
11427 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11428}
11429static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11430 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11431}
11432static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11433 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11434}
11435static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11436 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11437}
11438static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11439 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11440}
11441static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11442 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11443}
11444static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11445 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11446}
11447static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11448 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11449}
11450static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11451 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11452}
11453static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11454 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11455}
11456static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11457 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11458}
11459static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11460 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11461}
11462static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11463 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11464}
11465static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11466 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11467}
11468static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11469 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11470}
11471static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11472 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11473}
11474static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11475 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11476}
11477static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11478 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11479}
11480static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11481 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11482}
11483static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11484 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11485}
11486static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11487 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11488}
11489static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11490 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11491}
11492static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11493 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11494}
11495static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11497}
11498static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11499 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11500}
11501static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11502 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11503}
11504static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11505 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11506}
11507static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11508 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11509}
11510static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11511 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11512}
11513static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11514 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11515}
11516static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11517 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11518}
11519static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11520 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11521}
11522static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11524}
11525static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11526 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11527}
11528static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11529 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11530}
11531static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11532 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11533}
11534static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11535 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11536}
11537static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11539}
11540static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11541 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11542}
11543static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11544 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11545}
11546static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11547 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11548}
11549static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11550 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11551}
11552static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11553 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11554}
11555static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11556 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11557}
11558static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11559 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11560}
11561static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11563}
11564static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11566}
11567static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11569}
11570static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11572}
11573static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11574 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11575}
11576static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11577 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11578}
11579static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11580 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11581}
11582static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11584}
11585static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11587}
11588static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11589 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11590}
11591static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11592 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11593}
11594static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11595 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11596}
11597static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
11598 return (void *)((wxFrame *) ((wxTipWindow *) x));
11599}
11600static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11601 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11602}
11603static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11604 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11605}
11606static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11607 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11608}
11609static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11610 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11611}
11612static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11613 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11614}
11615static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11616 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11617}
11618static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11619 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11620}
11621static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11622 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11623}
11624static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11625 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11626}
11627static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11628 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11629}
11630static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11631 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11632}
2f4c0a16
RD
11633static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11634static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11635static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11636static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11637static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11638static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11639static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11640static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11641static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11642static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11643static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11644static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11645static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11646static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11647static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11648static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11649static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11650static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11651static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11652static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11653static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11654static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11655static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11656static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11657static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11658static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11659static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11660static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11661static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11662static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11663static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11664static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11665static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11666static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11667static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11668static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11669static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11670static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11671static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11672static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11673static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11674static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11675static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11676static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11677static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11678static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11679static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11680static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11681static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11682static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11683static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11684static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
11685
11686static swig_type_info *swig_types_initial[] = {
11687_swigt__p_wxHtmlDCRenderer,
11688_swigt__p_wxColour,
11689_swigt__p_wxPageSetupDialogData,
11690_swigt__p_wxDC,
11691_swigt__p_wxDefaultHtmlRenderingStyle,
11692_swigt__p_wxHtmlRenderingStyle,
11693_swigt__p_wxMouseEvent,
11694_swigt__p_wxHtmlWordCell,
11695_swigt__p_wxHtmlHelpData,
8edf1c75 11696_swigt__p_char,
d14a1e28
RD
11697_swigt__p_wxHtmlWinParser,
11698_swigt__p_wxHtmlParser,
11699_swigt__p_wxPanel,
d14a1e28
RD
11700_swigt__p_wxFont,
11701_swigt__p_wxHtmlColourCell,
11702_swigt__p_wxPyHtmlWindow,
11703_swigt__p_wxScrolledWindow,
11704_swigt__p_wxWindow,
11705_swigt__p_wxTopLevelWindow,
8edf1c75 11706_swigt__p_wxHtmlFontCell,
d14a1e28
RD
11707_swigt__p_wxHtmlEasyPrinting,
11708_swigt__p_wxHtmlSelection,
11709_swigt__p_wxHtmlRenderingInfo,
11710_swigt__p_wxHtmlWidgetCell,
11711_swigt__p_wxObject,
11712_swigt__p_wxString,
11713_swigt__p_wxPyHtmlWinTagHandler,
11714_swigt__p_wxHtmlTagHandler,
11715_swigt__p_wxPyHtmlTagHandler,
11716_swigt__p_wxEvtHandler,
11717_swigt__p_wxPoint,
11718_swigt__p_wxHtmlHelpController,
11719_swigt__p_wxCursor,
11720_swigt__p_wxFileSystem,
11721_swigt__p_wxHtmlBookRecArray,
11722_swigt__p_wxPyPrintout,
11723_swigt__p_wxHtmlPrintout,
11724_swigt__p_wxHtmlSearchStatus,
11725_swigt__p_wxHtmlContentsItem,
11726_swigt__p_wxConfigBase,
11727_swigt__p_wxPrintData,
11728_swigt__p_wxHtmlHelpFrame,
11729_swigt__p_wxHtmlRenderingState,
11730_swigt__p_wxFrame,
11731_swigt__p_wxPyHtmlFilter,
11732_swigt__p_wxHtmlFilter,
11733_swigt__p_wxHtmlCell,
11734_swigt__p_wxHtmlContainerCell,
11735_swigt__p_wxHtmlTag,
11736_swigt__p_wxHtmlLinkInfo,
11737_swigt__p_int,
11738_swigt__p_wxHtmlBookRecord,
117390
11740};
11741
11742
11743/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11744
11745static swig_const_info swig_const_table[] = {
2f4c0a16 11746{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
11747
11748#ifdef __cplusplus
11749}
11750#endif
11751
11752#ifdef __cplusplus
11753extern "C"
11754#endif
11755SWIGEXPORT(void) SWIG_init(void) {
11756 static PyObject *SWIG_globals = 0;
11757 static int typeinit = 0;
11758 PyObject *m, *d;
11759 int i;
11760 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11761 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11762 d = PyModule_GetDict(m);
11763
11764 if (!typeinit) {
11765 for (i = 0; swig_types_initial[i]; i++) {
11766 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11767 }
11768 typeinit = 1;
11769 }
11770 SWIG_InstallConstants(d,swig_const_table);
11771
cbd72d4f
RD
11772 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11773 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11774 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11775 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
2f4c0a16
RD
11776 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT));
11777 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER));
11778 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT));
11779 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM));
11780 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP));
11781 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND));
11782 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND));
11783 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS));
11784 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT));
11785 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT));
11786 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT));
11787 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP));
11788 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM));
11789 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11790 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL));
11791 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL));
11792 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR));
11793 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11794 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER));
11795 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1));
11796 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2));
11797 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3));
11798 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4));
11799 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5));
11800 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6));
11801 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7));
11802 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER));
11803 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO));
11804 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION));
11805 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE));
11806 PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN));
11807 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK));
11808 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT));
11809 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE));
11810 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE));
11811 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER));
11812 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT));
11813 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN));
11814 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING));
11815 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT));
11816 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11817 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11818 PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD));
11819 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN));
11820 PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL));
11821 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR));
11822 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR));
11823 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS));
11824 PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX));
11825 PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH));
11826 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS));
11827 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES));
11828 PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT));
11829 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE));
d14a1e28
RD
11830
11831 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11832 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11833 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11834 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11835
11836}
11837