]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/html_wrap.cpp
Added wxDC::GetPartialTextExtents
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 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
c9c7117a
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
cc6dd355
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
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 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 {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 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 *);
cc6dd355
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
cc6dd355 126
d14a1e28
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
d14a1e28
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
994141e6
RD
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
d14a1e28
RD
219
220
221/* Contract support */
222
9d1d5697 223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 224
d14a1e28
RD
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
234#define SWIGTYPE_p_wxColour swig_types[1]
235#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
236#define SWIGTYPE_p_wxDC swig_types[3]
237#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
238#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
239#define SWIGTYPE_p_wxMouseEvent swig_types[6]
240#define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
241#define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
994141e6
RD
242#define SWIGTYPE_p_char swig_types[9]
243#define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
244#define SWIGTYPE_p_wxHtmlParser swig_types[11]
245#define SWIGTYPE_p_wxPanel swig_types[12]
d14a1e28
RD
246#define SWIGTYPE_p_wxFont swig_types[13]
247#define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
248#define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
249#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
250#define SWIGTYPE_p_wxWindow swig_types[17]
251#define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
994141e6
RD
252#define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
253#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
254#define SWIGTYPE_p_wxHtmlSelection swig_types[21]
255#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
256#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
257#define SWIGTYPE_p_wxObject swig_types[24]
258#define SWIGTYPE_p_wxString swig_types[25]
259#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
260#define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
261#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
262#define SWIGTYPE_p_wxEvtHandler swig_types[29]
263#define SWIGTYPE_p_wxPoint swig_types[30]
264#define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
265#define SWIGTYPE_p_wxCursor swig_types[32]
266#define SWIGTYPE_p_wxFileSystem swig_types[33]
267#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
268#define SWIGTYPE_p_wxPyPrintout swig_types[35]
269#define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
270#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
271#define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
272#define SWIGTYPE_p_wxConfigBase swig_types[39]
273#define SWIGTYPE_p_wxPrintData swig_types[40]
274#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
275#define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
276#define SWIGTYPE_p_wxFrame swig_types[43]
277#define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
278#define SWIGTYPE_p_wxHtmlFilter swig_types[45]
279#define SWIGTYPE_p_wxHtmlCell swig_types[46]
280#define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
281#define SWIGTYPE_p_wxHtmlTag swig_types[48]
282#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
283#define SWIGTYPE_p_int swig_types[50]
284#define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
285static swig_type_info *swig_types[53];
d14a1e28
RD
286
287/* -------- TYPES TABLE (END) -------- */
288
289
290/*-----------------------------------------------
291 @(target):= _html.so
292 ------------------------------------------------*/
293#define SWIG_init init_html
294
295#define SWIG_name "_html"
296
994141e6
RD
297#include <limits.h>
298#include <float.h>
299#include <string.h>
300
301#ifndef SWIGSTATIC
302#ifdef __cplusplus
303#define SWIGSTATIC(a) static inline a
304#else
305#define SWIGSTATIC(a) static a
306#endif
307#endif
308
309#ifndef numeric_cast
310#ifdef __cplusplus
311#ifdef HAVE_NUMERIC_CAST
312#define numeric_cast(type,a) numeric_cast<type>(a)
313#else
314#define numeric_cast(type,a) static_cast<type>(a)
315#endif
316#else
317#define numeric_cast(type,a) (type)(a)
318#endif
319#endif
320
321
322
323#define SWIG_PyObj_FromSignedChar PyInt_FromLong
324#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
325#define SWIG_PyObj_FromShort PyInt_FromLong
326#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
327#define SWIG_PyObj_FromInt PyInt_FromLong
328#define SWIG_PyObj_FromLong PyInt_FromLong
329#define SWIG_PyObj_FromFloat PyFloat_FromDouble
330#define SWIG_PyObj_FromDouble PyFloat_FromDouble
331#define SWIG_PyObj_FromFloat PyFloat_FromDouble
332#define SWIG_PyObj_FromDouble PyFloat_FromDouble
333
334
d14a1e28
RD
335#include "wx/wxPython/wxPython.h"
336#include "wx/wxPython/pyclasses.h"
337#include "wx/wxPython/pyistream.h"
338#include "wx/wxPython/printfw.h"
339
340#include <wx/html/htmlwin.h>
341#include <wx/html/htmprint.h>
342#include <wx/html/helpctrl.h>
343
344
b2dc1044
RD
345 static const wxString wxPyEmptyString(wxEmptyString);
346 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
347 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
348 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
994141e6 349
994141e6
RD
350SWIGSTATIC(int)
351SWIG_PyObj_AsInt(PyObject *obj)
352{
353 return numeric_cast(int,
354 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
355}
356
d14a1e28
RD
357void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
358 int* temp = NULL;
359 if (sizes) temp = int_LIST_helper(sizes);
360 self->SetFonts(normal_face, fixed_face, temp);
361 if (temp)
362 delete [] temp;
363 }
364
365class wxPyHtmlTagHandler : public wxHtmlTagHandler {
366 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
367public:
368 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
369
370 wxHtmlParser* GetParser() { return m_Parser; }
371 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
372
373 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
374 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
375
376 PYPRIVATE;
377};
378
379IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
380
381IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
382IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
383
384
385class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
386 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
387public:
388 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
389
390 wxHtmlWinParser* GetParser() { return m_WParser; }
391 void ParseInner(const wxHtmlTag& tag)
392 { wxHtmlWinTagHandler::ParseInner(tag); }
393
394 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
395 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
396
397 PYPRIVATE;
398};
399
400IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
401
402IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
403IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
404
405
406
407class wxPyHtmlTagsModule : public wxHtmlTagsModule {
408public:
409 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
410 m_tagHandlerClass = thc;
411 Py_INCREF(m_tagHandlerClass);
412 RegisterModule(this);
413 wxHtmlWinParser::AddModule(this);
414 }
415
416 void OnExit() {
417 wxPyBeginBlockThreads();
418 Py_DECREF(m_tagHandlerClass);
419 m_tagHandlerClass = NULL;
420 for (size_t x=0; x < m_objArray.GetCount(); x++) {
421 PyObject* obj = (PyObject*)m_objArray.Item(x);
422 Py_DECREF(obj);
423 }
424 wxPyEndBlockThreads();
425 };
426
427 void FillHandlersTable(wxHtmlWinParser *parser) {
428 // Wave our magic wand... (if it works it's a miracle! ;-)
429
430 // First, make a new instance of the tag handler
431 wxPyBeginBlockThreads();
fd3f2efe
RD
432 PyObject* arg = PyTuple_New(0);
433 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 434 Py_DECREF(arg);
fd3f2efe 435
d14a1e28
RD
436 // now figure out where it's C++ object is...
437 wxPyHtmlWinTagHandler* thPtr;
fd3f2efe
RD
438 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
439 wxPyEndBlockThreads();
d14a1e28 440 return;
fd3f2efe
RD
441 }
442 wxPyEndBlockThreads();
d14a1e28
RD
443
444 // add it,
445 parser->AddTagHandler(thPtr);
446
447 // and track it.
448 m_objArray.Add(obj);
449 }
450
451private:
452 PyObject* m_tagHandlerClass;
453 wxArrayPtrVoid m_objArray;
454
455};
456
457
458 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
459 // Dynamically create a new wxModule. Refcounts tagHandlerClass
460 // and adds itself to the wxModules list and to the wxHtmlWinParser.
461 new wxPyHtmlTagsModule(tagHandlerClass);
462 }
463
464
465static PyObject* t_output_helper(PyObject* target, PyObject* o) {
466 PyObject* o2;
467 PyObject* o3;
468
469 if (!target) {
470 target = o;
471 } else if (target == Py_None) {
472 Py_DECREF(Py_None);
473 target = o;
474 } else {
475 if (!PyTuple_Check(target)) {
476 o2 = target;
477 target = PyTuple_New(1);
478 PyTuple_SetItem(target, 0, o2);
479 }
480 o3 = PyTuple_New(1);
481 PyTuple_SetItem(o3, 0, o);
482
483 o2 = target;
484 target = PySequence_Concat(o2, o3);
485 Py_DECREF(o2);
486 Py_DECREF(o3);
487 }
488 return target;
489}
490
994141e6
RD
491
492SWIGSTATIC(bool)
493SWIG_PyObj_AsBool(PyObject *obj)
494{
495 return PyObject_IsTrue(obj) ? true : false;
496}
497
498
499SWIGSTATIC(unsigned int)
500SWIG_PyObj_AsUnsignedInt(PyObject *obj)
501{
502 return numeric_cast(unsigned int,
503 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
504}
505
506
507SWIGSTATIC(PyObject* )
508SWIG_PyObj_FromUnsignedLong(unsigned long value)
509{
510 return (value > (unsigned long)(LONG_MAX)) ?
511 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
512}
513
514
515#define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
516
d14a1e28
RD
517 // here's the C++ version
518class wxPyHtmlFilter : public wxHtmlFilter {
519 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
520public:
521 wxPyHtmlFilter() : wxHtmlFilter() {}
522
e811c8ce 523 // returns True if this filter is able to open&read given file
d14a1e28 524 virtual bool CanRead(const wxFSFile& file) const {
e811c8ce 525 bool rval = False;
d14a1e28
RD
526 bool found;
527 wxPyBeginBlockThreads();
528 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
529 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
530 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
531 Py_DECREF(obj);
532 }
533 wxPyEndBlockThreads();
534 return rval;
535 }
536
537
538 // Reads given file and returns HTML document.
539 // Returns empty string if opening failed
540 virtual wxString ReadFile(const wxFSFile& file) const {
541 wxString rval;
542 bool found;
543 wxPyBeginBlockThreads();
544 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
545 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
546 PyObject* ro;
547 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
548 Py_DECREF(obj);
549 if (ro) {
550 rval = Py2wxString(ro);
551 Py_DECREF(ro);
552 }
553 }
554 wxPyEndBlockThreads();
555 return rval;
556 }
557
558 PYPRIVATE;
559};
560
561IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
562
563
564class wxPyHtmlWindow : public wxHtmlWindow {
565 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
566public:
567 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
568 const wxPoint& pos = wxDefaultPosition,
569 const wxSize& size = wxDefaultSize,
570 long style = wxHW_DEFAULT_STYLE,
571 const wxString& name = wxPyHtmlWindowNameStr)
572 : wxHtmlWindow(parent, id, pos, size, style, name) {};
573 wxPyHtmlWindow() : wxHtmlWindow() {};
574
575 bool ScrollToAnchor(const wxString& anchor) {
576 return wxHtmlWindow::ScrollToAnchor(anchor);
577 }
578
579 bool HasAnchor(const wxString& anchor) {
580 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
581 return c!=NULL;
582 }
583
584 void OnLinkClicked(const wxHtmlLinkInfo& link);
585 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
586
587 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
588 const wxString& url,
589 wxString *redirect) const;
590
591 DEC_PYCALLBACK__STRING(OnSetTitle);
592 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
593 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
594 PYPRIVATE;
595};
596
597IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
598IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
599IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
600IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
601
602
603void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
604 bool found;
605 wxPyBeginBlockThreads();
606 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
607 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
608 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
609 Py_DECREF(obj);
610 }
611 wxPyEndBlockThreads();
612 if (! found)
613 wxHtmlWindow::OnLinkClicked(link);
614}
615void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
616 wxHtmlWindow::OnLinkClicked(link);
617}
618
619
620wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
621 const wxString& url,
622 wxString *redirect) const {
623 bool found;
624 wxHtmlOpeningStatus rval;
625 wxPyBeginBlockThreads();
626 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
627 PyObject* ro;
628 PyObject* s = wx2PyString(url);
629 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
630 Py_DECREF(s);
631 if (PyString_Check(ro)
632#if PYTHON_API_VERSION >= 1009
633 || PyUnicode_Check(ro)
634#endif
635 ) {
636 *redirect = Py2wxString(ro);
637 rval = wxHTML_REDIRECT;
638 }
639 else {
640 PyObject* num = PyNumber_Int(ro);
641 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
642 Py_DECREF(num);
643 }
644 Py_DECREF(ro);
645 }
646 wxPyEndBlockThreads();
647 if (! found)
648 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
649 return rval;
650}
651
652
653
654void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
655 int* temp = NULL;
656 if (sizes) temp = int_LIST_helper(sizes);
657 self->SetFonts(normal_face, fixed_face, temp);
658 if (temp)
659 delete [] temp;
660 }
661void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
662 int* temp = NULL;
663 if (sizes) temp = int_LIST_helper(sizes);
664 self->SetFonts(normal_face, fixed_face, temp);
665 if (temp)
666 delete [] temp;
667 }
668void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
669 int* temp = NULL;
670 if (sizes) temp = int_LIST_helper(sizes);
671 self->SetFonts(normal_face, fixed_face, temp);
672 if (temp)
673 delete [] temp;
674 }
994141e6
RD
675
676SWIGSTATIC(double)
677SWIG_PyObj_AsDouble(PyObject *obj)
678{
679 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
680#if HAVE_LONG_LONG
681 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
682#else
683 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
684#endif
685 if (PyErr_Occurred()) {
686 PyErr_Clear();
687 PyErr_SetString(PyExc_TypeError, "a double is expected");
688 }
689}
690
691
692SWIGSTATIC(float)
693SWIG_PyObj_AsFloat(PyObject *obj)
694{
695 return SWIG_PyObj_AsFloatConv(obj, SWIG_PyObj_AsDouble);
696}
697
d14a1e28
RD
698void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
699 int* temp = NULL;
700 if (sizes) temp = int_LIST_helper(sizes);
701 self->SetFonts(normal_face, fixed_face, temp);
702 if (temp)
703 delete [] temp;
704 }
705int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
706int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
707wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
708wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
709wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
710#ifdef __cplusplus
711extern "C" {
712#endif
b2dc1044
RD
713static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
714 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
715 return 1;
716}
717
718
719static PyObject *_wrap_HtmlWindowNameStr_get() {
720 PyObject *pyobj;
721
722 {
723#if wxUSE_UNICODE
724 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
725#else
726 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
727#endif
728 }
729 return pyobj;
730}
731
732
733static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
734 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
735 return 1;
736}
737
738
739static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
740 PyObject *pyobj;
741
742 {
743#if wxUSE_UNICODE
744 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
745#else
746 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
747#endif
748 }
749 return pyobj;
750}
751
752
753static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
754 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
755 return 1;
756}
757
758
759static PyObject *_wrap_HtmlPrintingTitleStr_get() {
760 PyObject *pyobj;
761
762 {
763#if wxUSE_UNICODE
764 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
765#else
766 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
767#endif
768 }
769 return pyobj;
770}
771
772
d14a1e28
RD
773static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
774 PyObject *resultobj;
775 wxString *arg1 = 0 ;
776 wxString const &arg2_defvalue = wxPyEmptyString ;
777 wxString *arg2 = (wxString *) &arg2_defvalue ;
778 wxHtmlLinkInfo *result;
e811c8ce
RD
779 bool temp1 = False ;
780 bool temp2 = False ;
d14a1e28
RD
781 PyObject * obj0 = 0 ;
782 PyObject * obj1 = 0 ;
783 char *kwnames[] = {
784 (char *) "href",(char *) "target", NULL
785 };
786
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
788 {
789 arg1 = wxString_in_helper(obj0);
790 if (arg1 == NULL) SWIG_fail;
e811c8ce 791 temp1 = True;
d14a1e28
RD
792 }
793 if (obj1) {
794 {
795 arg2 = wxString_in_helper(obj1);
796 if (arg2 == NULL) SWIG_fail;
e811c8ce 797 temp2 = True;
d14a1e28
RD
798 }
799 }
800 {
801 PyThreadState* __tstate = wxPyBeginAllowThreads();
802 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
803
804 wxPyEndAllowThreads(__tstate);
805 if (PyErr_Occurred()) SWIG_fail;
806 }
807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1);
808 {
809 if (temp1)
810 delete arg1;
811 }
812 {
813 if (temp2)
814 delete arg2;
815 }
816 return resultobj;
817 fail:
818 {
819 if (temp1)
820 delete arg1;
821 }
822 {
823 if (temp2)
824 delete arg2;
825 }
826 return NULL;
827}
828
829
830static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
831 PyObject *resultobj;
832 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
833 wxString result;
834 PyObject * obj0 = 0 ;
835 char *kwnames[] = {
836 (char *) "self", NULL
837 };
838
839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
841 {
842 PyThreadState* __tstate = wxPyBeginAllowThreads();
843 result = (arg1)->GetHref();
844
845 wxPyEndAllowThreads(__tstate);
846 if (PyErr_Occurred()) SWIG_fail;
847 }
848 {
849#if wxUSE_UNICODE
850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
851#else
852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
853#endif
854 }
855 return resultobj;
856 fail:
857 return NULL;
858}
859
860
861static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject *resultobj;
863 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
864 wxString result;
865 PyObject * obj0 = 0 ;
866 char *kwnames[] = {
867 (char *) "self", NULL
868 };
869
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
872 {
873 PyThreadState* __tstate = wxPyBeginAllowThreads();
874 result = (arg1)->GetTarget();
875
876 wxPyEndAllowThreads(__tstate);
877 if (PyErr_Occurred()) SWIG_fail;
878 }
879 {
880#if wxUSE_UNICODE
881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
882#else
883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
884#endif
885 }
886 return resultobj;
887 fail:
888 return NULL;
889}
890
891
892static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject *resultobj;
894 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
895 wxMouseEvent *result;
896 PyObject * obj0 = 0 ;
897 char *kwnames[] = {
898 (char *) "self", NULL
899 };
900
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 result = (wxMouseEvent *)(arg1)->GetEvent();
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) SWIG_fail;
909 }
910 {
911 resultobj = wxPyMake_wxObject(result);
912 }
913 return resultobj;
914 fail:
915 return NULL;
916}
917
918
919static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject *resultobj;
921 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
922 wxHtmlCell *result;
923 PyObject * obj0 = 0 ;
924 char *kwnames[] = {
925 (char *) "self", NULL
926 };
927
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
930 {
931 PyThreadState* __tstate = wxPyBeginAllowThreads();
932 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
933
934 wxPyEndAllowThreads(__tstate);
935 if (PyErr_Occurred()) SWIG_fail;
936 }
937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
938 return resultobj;
939 fail:
940 return NULL;
941}
942
943
944static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
945 PyObject *resultobj;
946 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
947 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
948 PyObject * obj0 = 0 ;
949 PyObject * obj1 = 0 ;
950 char *kwnames[] = {
951 (char *) "self",(char *) "e", NULL
952 };
953
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 {
958 PyThreadState* __tstate = wxPyBeginAllowThreads();
959 (arg1)->SetEvent((wxMouseEvent const *)arg2);
960
961 wxPyEndAllowThreads(__tstate);
962 if (PyErr_Occurred()) SWIG_fail;
963 }
964 Py_INCREF(Py_None); resultobj = Py_None;
965 return resultobj;
966 fail:
967 return NULL;
968}
969
970
971static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
972 PyObject *resultobj;
973 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
974 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
975 PyObject * obj0 = 0 ;
976 PyObject * obj1 = 0 ;
977 char *kwnames[] = {
978 (char *) "self",(char *) "e", NULL
979 };
980
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
984 {
985 PyThreadState* __tstate = wxPyBeginAllowThreads();
986 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
987
988 wxPyEndAllowThreads(__tstate);
989 if (PyErr_Occurred()) SWIG_fail;
990 }
991 Py_INCREF(Py_None); resultobj = Py_None;
992 return resultobj;
993 fail:
994 return NULL;
995}
996
997
998static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
999 PyObject *obj;
1000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1001 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1002 Py_INCREF(obj);
1003 return Py_BuildValue((char *)"");
1004}
1005static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject *resultobj;
1007 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1008 wxString result;
1009 PyObject * obj0 = 0 ;
1010 char *kwnames[] = {
1011 (char *) "self", NULL
1012 };
1013
1014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1016 {
1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
1018 result = (arg1)->GetName();
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
1036static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1039 wxString *arg2 = 0 ;
1040 bool result;
e811c8ce 1041 bool temp2 = False ;
d14a1e28
RD
1042 PyObject * obj0 = 0 ;
1043 PyObject * obj1 = 0 ;
1044 char *kwnames[] = {
1045 (char *) "self",(char *) "par", NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1050 {
1051 arg2 = wxString_in_helper(obj1);
1052 if (arg2 == NULL) SWIG_fail;
e811c8ce 1053 temp2 = True;
d14a1e28
RD
1054 }
1055 {
1056 PyThreadState* __tstate = wxPyBeginAllowThreads();
1057 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1058
1059 wxPyEndAllowThreads(__tstate);
1060 if (PyErr_Occurred()) SWIG_fail;
1061 }
4d5c3d91 1062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1063 {
1064 if (temp2)
1065 delete arg2;
1066 }
1067 return resultobj;
1068 fail:
1069 {
1070 if (temp2)
1071 delete arg2;
1072 }
1073 return NULL;
1074}
1075
1076
1077static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject *resultobj;
1079 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1080 wxString *arg2 = 0 ;
e811c8ce 1081 int arg3 = (int) False ;
d14a1e28 1082 wxString result;
e811c8ce 1083 bool temp2 = False ;
d14a1e28
RD
1084 PyObject * obj0 = 0 ;
1085 PyObject * obj1 = 0 ;
994141e6 1086 PyObject * obj2 = 0 ;
d14a1e28
RD
1087 char *kwnames[] = {
1088 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1089 };
1090
994141e6 1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
1092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1093 {
1094 arg2 = wxString_in_helper(obj1);
1095 if (arg2 == NULL) SWIG_fail;
e811c8ce 1096 temp2 = True;
d14a1e28 1097 }
994141e6
RD
1098 if (obj2) {
1099 {
1100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 }
d14a1e28
RD
1104 {
1105 PyThreadState* __tstate = wxPyBeginAllowThreads();
1106 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1107
1108 wxPyEndAllowThreads(__tstate);
1109 if (PyErr_Occurred()) SWIG_fail;
1110 }
1111 {
1112#if wxUSE_UNICODE
1113 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1114#else
1115 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1116#endif
1117 }
1118 {
1119 if (temp2)
1120 delete arg2;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp2)
1126 delete arg2;
1127 }
1128 return NULL;
1129}
1130
1131
1132static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1135 wxString result;
1136 PyObject * obj0 = 0 ;
1137 char *kwnames[] = {
1138 (char *) "self", NULL
1139 };
1140
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1143 {
1144 PyThreadState* __tstate = wxPyBeginAllowThreads();
1145 result = (arg1)->GetAllParams();
1146
1147 wxPyEndAllowThreads(__tstate);
1148 if (PyErr_Occurred()) SWIG_fail;
1149 }
1150 {
1151#if wxUSE_UNICODE
1152 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1153#else
1154 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1155#endif
1156 }
1157 return resultobj;
1158 fail:
1159 return NULL;
1160}
1161
1162
1163static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1166 bool result;
1167 PyObject * obj0 = 0 ;
1168 char *kwnames[] = {
1169 (char *) "self", NULL
1170 };
1171
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 result = (bool)(arg1)->HasEnding();
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
4d5c3d91 1181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1182 return resultobj;
1183 fail:
1184 return NULL;
1185}
1186
1187
1188static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1191 int result;
1192 PyObject * obj0 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "self", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199 {
1200 PyThreadState* __tstate = wxPyBeginAllowThreads();
1201 result = (int)(arg1)->GetBeginPos();
1202
1203 wxPyEndAllowThreads(__tstate);
1204 if (PyErr_Occurred()) SWIG_fail;
1205 }
994141e6 1206 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1207 return resultobj;
1208 fail:
1209 return NULL;
1210}
1211
1212
1213static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1214 PyObject *resultobj;
1215 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1216 int result;
1217 PyObject * obj0 = 0 ;
1218 char *kwnames[] = {
1219 (char *) "self", NULL
1220 };
1221
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 result = (int)(arg1)->GetEndPos1();
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
994141e6 1231 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1232 return resultobj;
1233 fail:
1234 return NULL;
1235}
1236
1237
1238static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1241 int result;
1242 PyObject * obj0 = 0 ;
1243 char *kwnames[] = {
1244 (char *) "self", NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 result = (int)(arg1)->GetEndPos2();
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 }
994141e6 1256 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1257 return resultobj;
1258 fail:
1259 return NULL;
1260}
1261
1262
1263static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1264 PyObject *obj;
1265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1266 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1267 Py_INCREF(obj);
1268 return Py_BuildValue((char *)"");
1269}
1270static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject *resultobj;
1272 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1273 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1274 PyObject * obj0 = 0 ;
1275 PyObject * obj1 = 0 ;
1276 char *kwnames[] = {
1277 (char *) "self",(char *) "fs", NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 (arg1)->SetFS(arg2);
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294}
1295
1296
1297static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject *resultobj;
1299 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1300 wxFileSystem *result;
1301 PyObject * obj0 = 0 ;
1302 char *kwnames[] = {
1303 (char *) "self", NULL
1304 };
1305
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = (wxFileSystem *)(arg1)->GetFS();
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 {
1316 resultobj = wxPyMake_wxObject(result);
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321}
1322
1323
1324static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1327 wxString *arg2 = 0 ;
1328 wxObject *result;
e811c8ce 1329 bool temp2 = False ;
d14a1e28
RD
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj1 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "source", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 {
1339 arg2 = wxString_in_helper(obj1);
1340 if (arg2 == NULL) SWIG_fail;
e811c8ce 1341 temp2 = True;
d14a1e28
RD
1342 }
1343 {
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
1345 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 {
1351 resultobj = wxPyMake_wxObject(result);
1352 }
1353 {
1354 if (temp2)
1355 delete arg2;
1356 }
1357 return resultobj;
1358 fail:
1359 {
1360 if (temp2)
1361 delete arg2;
1362 }
1363 return NULL;
1364}
1365
1366
1367static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1370 wxString *arg2 = 0 ;
e811c8ce 1371 bool temp2 = False ;
d14a1e28
RD
1372 PyObject * obj0 = 0 ;
1373 PyObject * obj1 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self",(char *) "source", NULL
1376 };
1377
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 {
1381 arg2 = wxString_in_helper(obj1);
1382 if (arg2 == NULL) SWIG_fail;
e811c8ce 1383 temp2 = True;
d14a1e28
RD
1384 }
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 (arg1)->InitParser((wxString const &)*arg2);
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
1392 Py_INCREF(Py_None); resultobj = Py_None;
1393 {
1394 if (temp2)
1395 delete arg2;
1396 }
1397 return resultobj;
1398 fail:
1399 {
1400 if (temp2)
1401 delete arg2;
1402 }
1403 return NULL;
1404}
1405
1406
1407static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1410 PyObject * obj0 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 (arg1)->DoneParser();
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 Py_INCREF(Py_None); resultobj = Py_None;
1425 return resultobj;
1426 fail:
1427 return NULL;
1428}
1429
1430
1431static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1434 int arg2 ;
1435 int arg3 ;
1436 PyObject * obj0 = 0 ;
994141e6
RD
1437 PyObject * obj1 = 0 ;
1438 PyObject * obj2 = 0 ;
d14a1e28
RD
1439 char *kwnames[] = {
1440 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1441 };
1442
994141e6 1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1445 {
1446 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
d14a1e28
RD
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 (arg1)->DoParsing(arg2,arg3);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 Py_INCREF(Py_None); resultobj = Py_None;
1461 return resultobj;
1462 fail:
1463 return NULL;
1464}
1465
1466
1467static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject *resultobj;
1469 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1470 PyObject * obj0 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "self", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1477 {
1478 PyThreadState* __tstate = wxPyBeginAllowThreads();
1479 (arg1)->StopParsing();
1480
1481 wxPyEndAllowThreads(__tstate);
1482 if (PyErr_Occurred()) SWIG_fail;
1483 }
1484 Py_INCREF(Py_None); resultobj = Py_None;
1485 return resultobj;
1486 fail:
1487 return NULL;
1488}
1489
1490
1491static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject *resultobj;
1493 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1494 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1495 PyObject * obj0 = 0 ;
1496 PyObject * obj1 = 0 ;
1497 char *kwnames[] = {
1498 (char *) "self",(char *) "handler", NULL
1499 };
1500
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 {
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 (arg1)->AddTagHandler(arg2);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 Py_INCREF(Py_None); resultobj = Py_None;
1512 return resultobj;
1513 fail:
1514 return NULL;
1515}
1516
1517
1518static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject *resultobj;
1520 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1521 wxString *result;
1522 PyObject * obj0 = 0 ;
1523 char *kwnames[] = {
1524 (char *) "self", NULL
1525 };
1526
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1529 {
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 result = (wxString *)(arg1)->GetSource();
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
1536 {
1537#if wxUSE_UNICODE
1538 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1539#else
1540 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1541#endif
1542 }
1543 return resultobj;
1544 fail:
1545 return NULL;
1546}
1547
1548
1549static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1550 PyObject *resultobj;
1551 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1552 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1553 wxString arg3 ;
d14a1e28
RD
1554 PyObject * obj0 = 0 ;
1555 PyObject * obj1 = 0 ;
1556 PyObject * obj2 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self",(char *) "handler",(char *) "tags", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce
RD
1564 {
1565 wxString* sptr = wxString_in_helper(obj2);
1566 if (sptr == NULL) SWIG_fail;
1567 arg3 = *sptr;
1568 delete sptr;
1569 }
d14a1e28
RD
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 (arg1)->PushTagHandler(arg2,arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 return resultobj;
1579 fail:
1580 return NULL;
1581}
1582
1583
1584static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1587 PyObject * obj0 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "self", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 {
1595 PyThreadState* __tstate = wxPyBeginAllowThreads();
1596 (arg1)->PopTagHandler();
1597
1598 wxPyEndAllowThreads(__tstate);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 }
1601 Py_INCREF(Py_None); resultobj = Py_None;
1602 return resultobj;
1603 fail:
1604 return NULL;
1605}
1606
1607
1608static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1609 PyObject *obj;
1610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1611 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1612 Py_INCREF(obj);
1613 return Py_BuildValue((char *)"");
1614}
1615static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject *resultobj;
1617 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1618 wxHtmlWinParser *result;
1619 PyObject * obj0 = 0 ;
1620 char *kwnames[] = {
1621 (char *) "wnd", NULL
1622 };
1623
1624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1625 if (obj0) {
1626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1627 }
1628 {
1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
1630 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1631
1632 wxPyEndAllowThreads(__tstate);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 }
1635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1);
1636 return resultobj;
1637 fail:
1638 return NULL;
1639}
1640
1641
1642static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1645 wxDC *arg2 = (wxDC *) 0 ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "dc", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 (arg1)->SetDC(arg2);
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 Py_INCREF(Py_None); resultobj = Py_None;
1663 return resultobj;
1664 fail:
1665 return NULL;
1666}
1667
1668
1669static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1672 wxDC *result;
1673 PyObject * obj0 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 {
1681 PyThreadState* __tstate = wxPyBeginAllowThreads();
1682 result = (wxDC *)(arg1)->GetDC();
1683
1684 wxPyEndAllowThreads(__tstate);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 }
1687 {
1688 resultobj = wxPyMake_wxObject(result);
1689 }
1690 return resultobj;
1691 fail:
1692 return NULL;
1693}
1694
1695
1696static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1697 PyObject *resultobj;
1698 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1699 int result;
1700 PyObject * obj0 = 0 ;
1701 char *kwnames[] = {
1702 (char *) "self", NULL
1703 };
1704
1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 result = (int)(arg1)->GetCharHeight();
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
994141e6 1714 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1715 return resultobj;
1716 fail:
1717 return NULL;
1718}
1719
1720
1721static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1724 int result;
1725 PyObject * obj0 = 0 ;
1726 char *kwnames[] = {
1727 (char *) "self", NULL
1728 };
1729
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 result = (int)(arg1)->GetCharWidth();
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 }
994141e6 1739 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1740 return resultobj;
1741 fail:
1742 return NULL;
1743}
1744
1745
1746static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1749 wxPyHtmlWindow *result;
1750 PyObject * obj0 = 0 ;
1751 char *kwnames[] = {
1752 (char *) "self", NULL
1753 };
1754
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 {
1765 resultobj = wxPyMake_wxObject(result);
1766 }
1767 return resultobj;
1768 fail:
1769 return NULL;
1770}
1771
1772
1773static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject *resultobj;
1775 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1776 wxString arg2 ;
1777 wxString arg3 ;
1778 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
1779 PyObject * obj0 = 0 ;
1780 PyObject * obj1 = 0 ;
1781 PyObject * obj2 = 0 ;
1782 PyObject * obj3 = 0 ;
1783 char *kwnames[] = {
1784 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce
RD
1789 {
1790 wxString* sptr = wxString_in_helper(obj1);
1791 if (sptr == NULL) SWIG_fail;
1792 arg2 = *sptr;
1793 delete sptr;
1794 }
1795 {
1796 wxString* sptr = wxString_in_helper(obj2);
1797 if (sptr == NULL) SWIG_fail;
1798 arg3 = *sptr;
1799 delete sptr;
1800 }
d14a1e28
RD
1801 if (obj3) {
1802 arg4 = obj3;
1803 }
1804 {
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
1806 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 }
1811 Py_INCREF(Py_None); resultobj = Py_None;
1812 return resultobj;
1813 fail:
1814 return NULL;
1815}
1816
1817
1818static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject *resultobj;
1820 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1821 wxHtmlContainerCell *result;
1822 PyObject * obj0 = 0 ;
1823 char *kwnames[] = {
1824 (char *) "self", NULL
1825 };
1826
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
1828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1837 return resultobj;
1838 fail:
1839 return NULL;
1840}
1841
1842
1843static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1846 wxHtmlContainerCell *result;
1847 PyObject * obj0 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1862 return resultobj;
1863 fail:
1864 return NULL;
1865}
1866
1867
1868static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1871 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
1872 wxHtmlContainerCell *result;
1873 PyObject * obj0 = 0 ;
1874 PyObject * obj1 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self",(char *) "c", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1890 return resultobj;
1891 fail:
1892 return NULL;
1893}
1894
1895
1896static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1899 wxHtmlContainerCell *result;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1915 return resultobj;
1916 fail:
1917 return NULL;
1918}
1919
1920
1921static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1924 int result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 result = (int)(arg1)->GetFontSize();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
994141e6 1939 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1940 return resultobj;
1941 fail:
1942 return NULL;
1943}
1944
1945
1946static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1949 int arg2 ;
1950 PyObject * obj0 = 0 ;
994141e6 1951 PyObject * obj1 = 0 ;
d14a1e28
RD
1952 char *kwnames[] = {
1953 (char *) "self",(char *) "s", NULL
1954 };
1955
994141e6 1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 1957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
1958 {
1959 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 }
d14a1e28
RD
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 (arg1)->SetFontSize(arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 Py_INCREF(Py_None); resultobj = Py_None;
1970 return resultobj;
1971 fail:
1972 return NULL;
1973}
1974
1975
1976static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1979 int result;
1980 PyObject * obj0 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (int)(arg1)->GetFontBold();
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
994141e6 1994 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1995 return resultobj;
1996 fail:
1997 return NULL;
1998}
1999
2000
2001static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2002 PyObject *resultobj;
2003 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2004 int arg2 ;
2005 PyObject * obj0 = 0 ;
994141e6 2006 PyObject * obj1 = 0 ;
d14a1e28
RD
2007 char *kwnames[] = {
2008 (char *) "self",(char *) "x", NULL
2009 };
2010
994141e6 2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2013 {
2014 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 }
d14a1e28
RD
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 (arg1)->SetFontBold(arg2);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 return resultobj;
2026 fail:
2027 return NULL;
2028}
2029
2030
2031static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2034 int result;
2035 PyObject * obj0 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2042 {
2043 PyThreadState* __tstate = wxPyBeginAllowThreads();
2044 result = (int)(arg1)->GetFontItalic();
2045
2046 wxPyEndAllowThreads(__tstate);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 }
994141e6 2049 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2050 return resultobj;
2051 fail:
2052 return NULL;
2053}
2054
2055
2056static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2057 PyObject *resultobj;
2058 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2059 int arg2 ;
2060 PyObject * obj0 = 0 ;
994141e6 2061 PyObject * obj1 = 0 ;
d14a1e28
RD
2062 char *kwnames[] = {
2063 (char *) "self",(char *) "x", NULL
2064 };
2065
994141e6 2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2068 {
2069 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2070 if (PyErr_Occurred()) SWIG_fail;
2071 }
d14a1e28
RD
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 (arg1)->SetFontItalic(arg2);
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
2079 Py_INCREF(Py_None); resultobj = Py_None;
2080 return resultobj;
2081 fail:
2082 return NULL;
2083}
2084
2085
2086static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2089 int result;
2090 PyObject * obj0 = 0 ;
2091 char *kwnames[] = {
2092 (char *) "self", NULL
2093 };
2094
2095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (int)(arg1)->GetFontUnderlined();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
994141e6 2104 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2105 return resultobj;
2106 fail:
2107 return NULL;
2108}
2109
2110
2111static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2114 int arg2 ;
2115 PyObject * obj0 = 0 ;
994141e6 2116 PyObject * obj1 = 0 ;
d14a1e28
RD
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "x", NULL
2119 };
2120
994141e6 2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2123 {
2124 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
d14a1e28
RD
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 (arg1)->SetFontUnderlined(arg2);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 Py_INCREF(Py_None); resultobj = Py_None;
2135 return resultobj;
2136 fail:
2137 return NULL;
2138}
2139
2140
2141static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2144 int result;
2145 PyObject * obj0 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "self", NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 result = (int)(arg1)->GetFontFixed();
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
994141e6 2159 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2160 return resultobj;
2161 fail:
2162 return NULL;
2163}
2164
2165
2166static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2169 int arg2 ;
2170 PyObject * obj0 = 0 ;
994141e6 2171 PyObject * obj1 = 0 ;
d14a1e28
RD
2172 char *kwnames[] = {
2173 (char *) "self",(char *) "x", NULL
2174 };
2175
994141e6 2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2178 {
2179 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
d14a1e28
RD
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 (arg1)->SetFontFixed(arg2);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 Py_INCREF(Py_None); resultobj = Py_None;
2190 return resultobj;
2191 fail:
2192 return NULL;
2193}
2194
2195
2196static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2199 int result;
2200 PyObject * obj0 = 0 ;
2201 char *kwnames[] = {
2202 (char *) "self", NULL
2203 };
2204
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 result = (int)(arg1)->GetAlign();
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
994141e6 2214 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2215 return resultobj;
2216 fail:
2217 return NULL;
2218}
2219
2220
2221static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2224 int arg2 ;
2225 PyObject * obj0 = 0 ;
994141e6 2226 PyObject * obj1 = 0 ;
d14a1e28
RD
2227 char *kwnames[] = {
2228 (char *) "self",(char *) "a", NULL
2229 };
2230
994141e6 2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 2232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
2233 {
2234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
d14a1e28
RD
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 (arg1)->SetAlign(arg2);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) SWIG_fail;
2243 }
2244 Py_INCREF(Py_None); resultobj = Py_None;
2245 return resultobj;
2246 fail:
2247 return NULL;
2248}
2249
2250
2251static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject *resultobj;
2253 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2254 wxColour result;
2255 PyObject * obj0 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "self", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = (arg1)->GetLinkColor();
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 {
2270 wxColour * resultptr;
2271 resultptr = new wxColour((wxColour &) result);
2272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2273 }
2274 return resultobj;
2275 fail:
2276 return NULL;
2277}
2278
2279
2280static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject *resultobj;
2282 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2283 wxColour *arg2 = 0 ;
2284 wxColour temp2 ;
2285 PyObject * obj0 = 0 ;
2286 PyObject * obj1 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self",(char *) "clr", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2293 {
2294 arg2 = &temp2;
2295 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2296 }
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->SetLinkColor((wxColour const &)*arg2);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308}
2309
2310
2311static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2314 wxColour result;
2315 PyObject * obj0 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 result = (arg1)->GetActualColor();
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 {
2330 wxColour * resultptr;
2331 resultptr = new wxColour((wxColour &) result);
2332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2333 }
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
2340static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2343 wxColour *arg2 = 0 ;
2344 wxColour temp2 ;
2345 PyObject * obj0 = 0 ;
2346 PyObject * obj1 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "clr", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2353 {
2354 arg2 = &temp2;
2355 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2356 }
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 (arg1)->SetActualColor((wxColour const &)*arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368}
2369
2370
2371static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2374 wxString *arg2 = 0 ;
e811c8ce 2375 bool temp2 = False ;
d14a1e28
RD
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "self",(char *) "link", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2384 {
2385 arg2 = wxString_in_helper(obj1);
2386 if (arg2 == NULL) SWIG_fail;
e811c8ce 2387 temp2 = True;
d14a1e28
RD
2388 }
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 (arg1)->SetLink((wxString const &)*arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 {
2398 if (temp2)
2399 delete arg2;
2400 }
2401 return resultobj;
2402 fail:
2403 {
2404 if (temp2)
2405 delete arg2;
2406 }
2407 return NULL;
2408}
2409
2410
2411static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2414 wxFont *result;
2415 PyObject * obj0 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 result = (wxFont *)(arg1)->CreateCurrentFont();
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
2430 return resultobj;
2431 fail:
2432 return NULL;
2433}
2434
2435
2436static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject *resultobj;
2438 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2439 SwigValueWrapper< wxHtmlLinkInfo > result;
2440 PyObject * obj0 = 0 ;
2441 char *kwnames[] = {
2442 (char *) "self", NULL
2443 };
2444
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 result = (arg1)->GetLink();
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 {
2455 wxHtmlLinkInfo * resultptr;
2456 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1);
2458 }
2459 return resultobj;
2460 fail:
2461 return NULL;
2462}
2463
2464
2465static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2466 PyObject *obj;
2467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2468 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2469 Py_INCREF(obj);
2470 return Py_BuildValue((char *)"");
2471}
2472static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 wxPyHtmlTagHandler *result;
2475 char *kwnames[] = {
2476 NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2488 return resultobj;
2489 fail:
2490 return NULL;
2491}
2492
2493
2494static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2497 PyObject *arg2 = (PyObject *) 0 ;
2498 PyObject *arg3 = (PyObject *) 0 ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 PyObject * obj2 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "self",(char *) "self",(char *) "_class", NULL
2504 };
2505
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 arg2 = obj1;
2509 arg3 = obj2;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 (arg1)->_setCallbackInfo(arg2,arg3);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 Py_INCREF(Py_None); resultobj = Py_None;
2518 return resultobj;
2519 fail:
2520 return NULL;
2521}
2522
2523
2524static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2527 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "parser", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 (arg1)->SetParser(arg2);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 Py_INCREF(Py_None); resultobj = Py_None;
2545 return resultobj;
2546 fail:
2547 return NULL;
2548}
2549
2550
2551static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2552 PyObject *resultobj;
2553 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2554 wxHtmlParser *result;
2555 PyObject * obj0 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = (wxHtmlParser *)(arg1)->GetParser();
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0);
2570 return resultobj;
2571 fail:
2572 return NULL;
2573}
2574
2575
2576static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2579 wxHtmlTag *arg2 = 0 ;
2580 PyObject * obj0 = 0 ;
2581 PyObject * obj1 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self",(char *) "tag", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2589 if (arg2 == NULL) {
2590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2591 }
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 Py_INCREF(Py_None); resultobj = Py_None;
2600 return resultobj;
2601 fail:
2602 return NULL;
2603}
2604
2605
2606static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2607 PyObject *obj;
2608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2609 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2610 Py_INCREF(obj);
2611 return Py_BuildValue((char *)"");
2612}
2613static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2614 PyObject *resultobj;
2615 wxPyHtmlWinTagHandler *result;
2616 char *kwnames[] = {
2617 NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2629 return resultobj;
2630 fail:
2631 return NULL;
2632}
2633
2634
2635static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2638 PyObject *arg2 = (PyObject *) 0 ;
2639 PyObject *arg3 = (PyObject *) 0 ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 PyObject * obj2 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "self",(char *) "_class", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2649 arg2 = obj1;
2650 arg3 = obj2;
2651 {
2652 PyThreadState* __tstate = wxPyBeginAllowThreads();
2653 (arg1)->_setCallbackInfo(arg2,arg3);
2654
2655 wxPyEndAllowThreads(__tstate);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2658 Py_INCREF(Py_None); resultobj = Py_None;
2659 return resultobj;
2660 fail:
2661 return NULL;
2662}
2663
2664
2665static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2666 PyObject *resultobj;
2667 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2668 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2669 PyObject * obj0 = 0 ;
2670 PyObject * obj1 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self",(char *) "parser", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->SetParser(arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
2692static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2695 wxHtmlWinParser *result;
2696 PyObject * obj0 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 result = (wxHtmlWinParser *)(arg1)->GetParser();
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
2711 return resultobj;
2712 fail:
2713 return NULL;
2714}
2715
2716
2717static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2720 wxHtmlTag *arg2 = 0 ;
2721 PyObject * obj0 = 0 ;
2722 PyObject * obj1 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "tag", NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 if (arg2 == NULL) {
2731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 Py_INCREF(Py_None); resultobj = Py_None;
2741 return resultobj;
2742 fail:
2743 return NULL;
2744}
2745
2746
2747static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2748 PyObject *obj;
2749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2750 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2751 Py_INCREF(obj);
2752 return Py_BuildValue((char *)"");
2753}
2754static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 PyObject *arg1 = (PyObject *) 0 ;
2757 PyObject * obj0 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "tagHandlerClass", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2763 arg1 = obj0;
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 wxHtmlWinParser_AddTagHandler(arg1);
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 Py_INCREF(Py_None); resultobj = Py_None;
2772 return resultobj;
2773 fail:
2774 return NULL;
2775}
2776
2777
2778static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2779 PyObject *resultobj;
2780 wxHtmlSelection *result;
2781 char *kwnames[] = {
2782 NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 result = (wxHtmlSelection *)new wxHtmlSelection();
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1);
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
2800static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2803 PyObject * obj0 = 0 ;
2804 char *kwnames[] = {
2805 (char *) "self", NULL
2806 };
2807
2808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
2809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 delete arg1;
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821}
2822
2823
2824static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2827 wxPoint *arg2 = 0 ;
2828 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2829 wxPoint *arg4 = 0 ;
2830 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
2831 wxPoint temp2 ;
2832 wxPoint temp4 ;
2833 PyObject * obj0 = 0 ;
2834 PyObject * obj1 = 0 ;
2835 PyObject * obj2 = 0 ;
2836 PyObject * obj3 = 0 ;
2837 PyObject * obj4 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2844 {
2845 arg2 = &temp2;
2846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2847 }
2848 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2849 {
2850 arg4 = &temp4;
2851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2852 }
2853 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 Py_INCREF(Py_None); resultobj = Py_None;
2862 return resultobj;
2863 fail:
2864 return NULL;
2865}
2866
2867
2868static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2871 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2872 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2873 PyObject * obj0 = 0 ;
2874 PyObject * obj1 = 0 ;
2875 PyObject * obj2 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 Py_INCREF(Py_None); resultobj = Py_None;
2892 return resultobj;
2893 fail:
2894 return NULL;
2895}
2896
2897
2898static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2901 wxHtmlCell *result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2917 return resultobj;
2918 fail:
2919 return NULL;
2920}
2921
2922
2923static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2926 wxHtmlCell *result;
2927 PyObject * obj0 = 0 ;
2928 char *kwnames[] = {
2929 (char *) "self", NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
2933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2942 return resultobj;
2943 fail:
2944 return NULL;
2945}
2946
2947
2948static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2951 wxPoint *result;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 {
2962 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
2963 result = (wxPoint *) &_result_ref;
2964 }
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
2976static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2979 wxPoint *result;
2980 PyObject * obj0 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 {
2990 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
2991 result = (wxPoint *) &_result_ref;
2992 }
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2998 return resultobj;
2999 fail:
3000 return NULL;
3001}
3002
3003
3004static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3007 wxPoint *result;
3008 PyObject * obj0 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 {
3018 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3019 result = (wxPoint *) &_result_ref;
3020 }
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3026 return resultobj;
3027 fail:
3028 return NULL;
3029}
3030
3031
3032static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3033 PyObject *resultobj;
3034 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3035 wxPoint *result;
3036 PyObject * obj0 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 {
3046 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3047 result = (wxPoint *) &_result_ref;
3048 }
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
3054 return resultobj;
3055 fail:
3056 return NULL;
3057}
3058
3059
3060static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3061 PyObject *resultobj;
3062 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3063 wxPoint *arg2 = 0 ;
3064 wxPoint temp2 ;
3065 PyObject * obj0 = 0 ;
3066 PyObject * obj1 = 0 ;
3067 char *kwnames[] = {
3068 (char *) "self",(char *) "pos", NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3073 {
3074 arg2 = &temp2;
3075 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088}
3089
3090
3091static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3094 wxPoint *arg2 = 0 ;
3095 wxPoint temp2 ;
3096 PyObject * obj0 = 0 ;
3097 PyObject * obj1 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self",(char *) "pos", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3104 {
3105 arg2 = &temp2;
3106 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3107 }
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 Py_INCREF(Py_None); resultobj = Py_None;
3116 return resultobj;
3117 fail:
3118 return NULL;
3119}
3120
3121
3122static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3125 PyObject * obj0 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->ClearPrivPos();
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
3146static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3149 bool result;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
4d5c3d91 3164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
3171static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3172 PyObject *obj;
3173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3174 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3175 Py_INCREF(obj);
3176 return Py_BuildValue((char *)"");
3177}
3178static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxHtmlRenderingState *result;
3181 char *kwnames[] = {
3182 NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1);
3194 return resultobj;
3195 fail:
3196 return NULL;
3197}
3198
3199
3200static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 delete arg1;
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
3224static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3227 int arg2 ;
3228 PyObject * obj0 = 0 ;
994141e6 3229 PyObject * obj1 = 0 ;
d14a1e28
RD
3230 char *kwnames[] = {
3231 (char *) "self",(char *) "s", NULL
3232 };
3233
994141e6 3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3236 {
3237 arg2 = (wxHtmlSelectionState) SWIG_PyObj_AsInt(obj1);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
d14a1e28
RD
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251}
3252
3253
3254static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3257 int result;
3258 PyObject * obj0 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "self", NULL
3261 };
3262
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
994141e6 3272 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3273 return resultobj;
3274 fail:
3275 return NULL;
3276}
3277
3278
3279static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3282 wxColour *arg2 = 0 ;
3283 wxColour temp2 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "c", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 {
3293 arg2 = &temp2;
3294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3295 }
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 (arg1)->SetFgColour((wxColour const &)*arg2);
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 Py_INCREF(Py_None); resultobj = Py_None;
3304 return resultobj;
3305 fail:
3306 return NULL;
3307}
3308
3309
3310static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3313 wxColour *result;
3314 PyObject * obj0 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 {
3324 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3325 result = (wxColour *) &_result_ref;
3326 }
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3332 return resultobj;
3333 fail:
3334 return NULL;
3335}
3336
3337
3338static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject *resultobj;
3340 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3341 wxColour *arg2 = 0 ;
3342 wxColour temp2 ;
3343 PyObject * obj0 = 0 ;
3344 PyObject * obj1 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self",(char *) "c", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 arg2 = &temp2;
3353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3354 }
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 (arg1)->SetBgColour((wxColour const &)*arg2);
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 Py_INCREF(Py_None); resultobj = Py_None;
3363 return resultobj;
3364 fail:
3365 return NULL;
3366}
3367
3368
3369static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3372 wxColour *result;
3373 PyObject * obj0 = 0 ;
3374 char *kwnames[] = {
3375 (char *) "self", NULL
3376 };
3377
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 {
3383 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3384 result = (wxColour *) &_result_ref;
3385 }
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3391 return resultobj;
3392 fail:
3393 return NULL;
3394}
3395
3396
3397static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3398 PyObject *obj;
3399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3400 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3401 Py_INCREF(obj);
3402 return Py_BuildValue((char *)"");
3403}
3404static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj;
3406 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3407 wxColour *arg2 = 0 ;
3408 wxColour result;
3409 wxColour temp2 ;
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "clr", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 {
3419 arg2 = &temp2;
3420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3421 }
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 {
3430 wxColour * resultptr;
3431 resultptr = new wxColour((wxColour &) result);
3432 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3433 }
3434 return resultobj;
3435 fail:
3436 return NULL;
3437}
3438
3439
3440static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3443 wxColour *arg2 = 0 ;
3444 wxColour result;
3445 wxColour temp2 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "clr", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 {
3455 arg2 = &temp2;
3456 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3457 }
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 {
3466 wxColour * resultptr;
3467 resultptr = new wxColour((wxColour &) result);
3468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3469 }
3470 return resultobj;
3471 fail:
3472 return NULL;
3473}
3474
3475
3476static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3477 PyObject *obj;
3478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3479 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3480 Py_INCREF(obj);
3481 return Py_BuildValue((char *)"");
3482}
3483static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3486 wxColour *arg2 = 0 ;
3487 wxColour result;
3488 wxColour temp2 ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj1 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "clr", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3497 {
3498 arg2 = &temp2;
3499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3500 }
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 {
3509 wxColour * resultptr;
3510 resultptr = new wxColour((wxColour &) result);
3511 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516}
3517
3518
3519static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3522 wxColour *arg2 = 0 ;
3523 wxColour result;
3524 wxColour temp2 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self",(char *) "clr", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3533 {
3534 arg2 = &temp2;
3535 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3536 }
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
3544 {
3545 wxColour * resultptr;
3546 resultptr = new wxColour((wxColour &) result);
3547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3548 }
3549 return resultobj;
3550 fail:
3551 return NULL;
3552}
3553
3554
3555static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3556 PyObject *obj;
3557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3558 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3559 Py_INCREF(obj);
3560 return Py_BuildValue((char *)"");
3561}
3562static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxHtmlRenderingInfo *result;
3565 char *kwnames[] = {
3566 NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3578 return resultobj;
3579 fail:
3580 return NULL;
3581}
3582
3583
3584static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3587 PyObject * obj0 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 delete arg1;
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 Py_INCREF(Py_None); resultobj = Py_None;
3602 return resultobj;
3603 fail:
3604 return NULL;
3605}
3606
3607
3608static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3611 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "s", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 (arg1)->SetSelection(arg2);
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 Py_INCREF(Py_None); resultobj = Py_None;
3629 return resultobj;
3630 fail:
3631 return NULL;
3632}
3633
3634
3635static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3638 wxHtmlSelection *result;
3639 PyObject * obj0 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0);
3654 return resultobj;
3655 fail:
3656 return NULL;
3657}
3658
3659
3660static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3663 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3664 PyObject * obj0 = 0 ;
3665 PyObject * obj1 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self",(char *) "style", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 (arg1)->SetStyle(arg2);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 Py_INCREF(Py_None); resultobj = Py_None;
3681 return resultobj;
3682 fail:
3683 return NULL;
3684}
3685
3686
3687static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3690 wxHtmlRenderingStyle *result;
3691 PyObject * obj0 = 0 ;
3692 char *kwnames[] = {
3693 (char *) "self", NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 {
3701 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3702 result = (wxHtmlRenderingStyle *) &_result_ref;
3703 }
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3709 return resultobj;
3710 fail:
3711 return NULL;
3712}
3713
3714
3715static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3718 wxHtmlRenderingState *result;
3719 PyObject * obj0 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 {
3729 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3730 result = (wxHtmlRenderingState *) &_result_ref;
3731 }
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0);
3737 return resultobj;
3738 fail:
3739 return NULL;
3740}
3741
3742
3743static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3744 PyObject *obj;
3745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3746 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3747 Py_INCREF(obj);
3748 return Py_BuildValue((char *)"");
3749}
3750static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxHtmlCell *result;
3753 char *kwnames[] = {
3754 NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 result = (wxHtmlCell *)new wxHtmlCell();
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
3765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1);
3766 return resultobj;
3767 fail:
3768 return NULL;
3769}
3770
3771
3772static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3775 int result;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (int)(arg1)->GetPosX();
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
994141e6 3790 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3791 return resultobj;
3792 fail:
3793 return NULL;
3794}
3795
3796
3797static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3800 int result;
3801 PyObject * obj0 = 0 ;
3802 char *kwnames[] = {
3803 (char *) "self", NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
3807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (int)(arg1)->GetPosY();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
994141e6 3815 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3816 return resultobj;
3817 fail:
3818 return NULL;
3819}
3820
3821
3822static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3825 int result;
3826 PyObject * obj0 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
3832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (int)(arg1)->GetWidth();
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
994141e6 3840 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3841 return resultobj;
3842 fail:
3843 return NULL;
3844}
3845
3846
3847static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3850 int result;
3851 PyObject * obj0 = 0 ;
3852 char *kwnames[] = {
3853 (char *) "self", NULL
3854 };
3855
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
3857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (int)(arg1)->GetHeight();
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
994141e6 3865 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3866 return resultobj;
3867 fail:
3868 return NULL;
3869}
3870
3871
3872static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3875 int result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (int)(arg1)->GetDescent();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
994141e6 3890 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3891 return resultobj;
3892 fail:
3893 return NULL;
3894}
3895
3896
39f61e25
RD
3897static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3900 wxString *result;
3901 PyObject * obj0 = 0 ;
3902 char *kwnames[] = {
3903 (char *) "self", NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
3907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 {
3911 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
3912 result = (wxString *) &_result_ref;
3913 }
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919#if wxUSE_UNICODE
3920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3921#else
3922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3923#endif
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928}
3929
3930
3931static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3934 wxString *arg2 = 0 ;
3935 bool temp2 = False ;
3936 PyObject * obj0 = 0 ;
3937 PyObject * obj1 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "self",(char *) "id", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
3943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944 {
3945 arg2 = wxString_in_helper(obj1);
3946 if (arg2 == NULL) SWIG_fail;
3947 temp2 = True;
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 (arg1)->SetId((wxString const &)*arg2);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 {
3958 if (temp2)
3959 delete arg2;
3960 }
3961 return resultobj;
3962 fail:
3963 {
3964 if (temp2)
3965 delete arg2;
3966 }
3967 return NULL;
3968}
3969
3970
d14a1e28
RD
3971static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3972 PyObject *resultobj;
3973 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3974 int arg2 = (int) 0 ;
3975 int arg3 = (int) 0 ;
3976 wxHtmlLinkInfo *result;
3977 PyObject * obj0 = 0 ;
994141e6
RD
3978 PyObject * obj1 = 0 ;
3979 PyObject * obj2 = 0 ;
d14a1e28
RD
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "x",(char *) "y", NULL
3982 };
3983
994141e6 3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
3986 if (obj1) {
3987 {
3988 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 }
3992 if (obj2) {
3993 {
3994 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 }
d14a1e28
RD
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0);
4006 return resultobj;
4007 fail:
4008 return NULL;
4009}
4010
4011
4012static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4015 wxHtmlCell *result;
4016 PyObject * obj0 = 0 ;
4017 char *kwnames[] = {
4018 (char *) "self", NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (wxHtmlCell *)(arg1)->GetNext();
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
4037static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4040 wxHtmlContainerCell *result;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
4056 return resultobj;
4057 fail:
4058 return NULL;
4059}
4060
4061
4062static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4065 wxHtmlCell *result;
4066 PyObject * obj0 = 0 ;
4067 char *kwnames[] = {
4068 (char *) "self", NULL
4069 };
4070
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
4087static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4090 wxCursor result;
4091 PyObject * obj0 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = ((wxHtmlCell const *)arg1)->GetCursor();
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 {
4106 wxCursor * resultptr;
4107 resultptr = new wxCursor((wxCursor &) result);
4108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1);
4109 }
4110 return resultobj;
4111 fail:
4112 return NULL;
4113}
4114
4115
4116static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4119 bool result;
4120 PyObject * obj0 = 0 ;
4121 char *kwnames[] = {
4122 (char *) "self", NULL
4123 };
4124
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4d5c3d91 4134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4135 return resultobj;
4136 fail:
4137 return NULL;
4138}
4139
4140
4141static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4142 PyObject *resultobj;
4143 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4144 wxHtmlLinkInfo *arg2 = 0 ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj1 = 0 ;
4147 char *kwnames[] = {
4148 (char *) "self",(char *) "link", NULL
4149 };
4150
4151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4154 if (arg2 == NULL) {
4155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 Py_INCREF(Py_None); resultobj = Py_None;
4165 return resultobj;
4166 fail:
4167 return NULL;
4168}
4169
4170
4171static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4172 PyObject *resultobj;
4173 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4174 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "cell", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 (arg1)->SetNext(arg2);
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 return resultobj;
4193 fail:
4194 return NULL;
4195}
4196
4197
4198static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4201 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4202 PyObject * obj0 = 0 ;
4203 PyObject * obj1 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "self",(char *) "p", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 (arg1)->SetParent(arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222}
4223
4224
4225static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4228 int arg2 ;
4229 int arg3 ;
4230 PyObject * obj0 = 0 ;
994141e6
RD
4231 PyObject * obj1 = 0 ;
4232 PyObject * obj2 = 0 ;
d14a1e28
RD
4233 char *kwnames[] = {
4234 (char *) "self",(char *) "x",(char *) "y", NULL
4235 };
4236
994141e6 4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4239 {
4240 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 {
4244 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
d14a1e28
RD
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetPos(arg2,arg3);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258}
4259
4260
4261static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4264 int arg2 ;
4265 PyObject * obj0 = 0 ;
994141e6 4266 PyObject * obj1 = 0 ;
d14a1e28
RD
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "w", NULL
4269 };
4270
994141e6 4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4273 {
4274 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
d14a1e28
RD
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 (arg1)->Layout(arg2);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 Py_INCREF(Py_None); resultobj = Py_None;
4285 return resultobj;
4286 fail:
4287 return NULL;
4288}
4289
4290
4291static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4294 wxDC *arg2 = 0 ;
4295 int arg3 ;
4296 int arg4 ;
4297 int arg5 ;
4298 int arg6 ;
4299 wxHtmlRenderingInfo *arg7 = 0 ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
994141e6
RD
4302 PyObject * obj2 = 0 ;
4303 PyObject * obj3 = 0 ;
4304 PyObject * obj4 = 0 ;
4305 PyObject * obj5 = 0 ;
d14a1e28
RD
4306 PyObject * obj6 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4309 };
4310
994141e6 4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
4312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 if (arg2 == NULL) {
4315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4316 }
994141e6
RD
4317 {
4318 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 {
4322 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 {
4326 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 {
4330 arg6 = (int) SWIG_PyObj_AsInt(obj5);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
d14a1e28
RD
4333 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4334 if (arg7 == NULL) {
4335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 return resultobj;
4346 fail:
4347 return NULL;
4348}
4349
4350
4351static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4354 wxDC *arg2 = 0 ;
4355 int arg3 ;
4356 int arg4 ;
4357 wxHtmlRenderingInfo *arg5 = 0 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
994141e6
RD
4360 PyObject * obj2 = 0 ;
4361 PyObject * obj3 = 0 ;
d14a1e28
RD
4362 PyObject * obj4 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4365 };
4366
994141e6 4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if (arg2 == NULL) {
4371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4372 }
994141e6
RD
4373 {
4374 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 {
4378 arg4 = (int) SWIG_PyObj_AsInt(obj3);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
d14a1e28
RD
4381 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4382 if (arg5 == NULL) {
4383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4384 }
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 Py_INCREF(Py_None); resultobj = Py_None;
4393 return resultobj;
4394 fail:
4395 return NULL;
4396}
4397
4398
4399static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4402 int arg2 ;
4403 void *arg3 = (void *) 0 ;
4404 wxHtmlCell *result;
4405 PyObject * obj0 = 0 ;
994141e6 4406 PyObject * obj1 = 0 ;
d14a1e28
RD
4407 PyObject * obj2 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self",(char *) "condition",(char *) "param", NULL
4410 };
4411
994141e6 4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4414 {
4415 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
d14a1e28
RD
4418 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4427 return resultobj;
4428 fail:
4429 return NULL;
4430}
4431
4432
4433static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4436 int *arg2 = (int *) 0 ;
4437 bool result;
4438 int temp2 ;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "INOUT", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 temp2 = PyInt_AsLong(obj1);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 arg2 = &temp2;
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (bool)(arg1)->AdjustPagebreak(arg2);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4d5c3d91 4459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4460 {
4461 PyObject *o = PyInt_FromLong((long) (*arg2));
4462 resultobj = t_output_helper(resultobj,o);
4463 }
4464 return resultobj;
4465 fail:
4466 return NULL;
4467}
4468
4469
4470static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4473 bool arg2 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "can", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 4482 {
994141e6 4483 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
d14a1e28
RD
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 (arg1)->SetCanLiveOnPagebreak(arg2);
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 Py_INCREF(Py_None); resultobj = Py_None;
4494 return resultobj;
4495 fail:
4496 return NULL;
4497}
4498
4499
4500static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj;
4502 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4503 bool result;
4504 PyObject * obj0 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4d5c3d91 4518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4528 bool result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4d5c3d91 4543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4544 return resultobj;
4545 fail:
4546 return NULL;
4547}
4548
4549
4550static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj;
4552 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e811c8ce
RD
4553 int arg2 ;
4554 int arg3 ;
d14a1e28
RD
4555 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4556 wxHtmlCell *result;
4557 PyObject * obj0 = 0 ;
994141e6
RD
4558 PyObject * obj1 = 0 ;
4559 PyObject * obj2 = 0 ;
d14a1e28
RD
4560 PyObject * obj3 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4563 };
4564
994141e6 4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4567 {
4568 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 {
4572 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
d14a1e28 4575 if (obj3) {
a41e16b6 4576 {
994141e6 4577 arg4 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj3);
a41e16b6
RD
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
d14a1e28
RD
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4589 return resultobj;
4590 fail:
4591 return NULL;
4592}
4593
4594
4595static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4598 wxPoint result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 {
4614 wxPoint * resultptr;
4615 resultptr = new wxPoint((wxPoint &) result);
4616 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
4624static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4627 wxHtmlCell *result;
4628 PyObject * obj0 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4643 return resultobj;
4644 fail:
4645 return NULL;
4646}
4647
4648
4649static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4652 wxHtmlCell *result;
4653 PyObject * obj0 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "self", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
4674static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4677 unsigned int result;
4678 PyObject * obj0 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
994141e6 4692 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
4693 return resultobj;
4694 fail:
4695 return NULL;
4696}
4697
4698
4699static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4702 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4703 bool result;
4704 PyObject * obj0 = 0 ;
4705 PyObject * obj1 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self",(char *) "cell", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4d5c3d91 4720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
4727static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4730 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4731 wxString result;
4732 PyObject * obj0 = 0 ;
4733 PyObject * obj1 = 0 ;
4734 char *kwnames[] = {
4735 (char *) "self",(char *) "sel", NULL
4736 };
4737
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
4739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4741 {
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
4743 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
4744
4745 wxPyEndAllowThreads(__tstate);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 }
4748 {
4749#if wxUSE_UNICODE
4750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4751#else
4752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4753#endif
4754 }
4755 return resultobj;
4756 fail:
4757 return NULL;
4758}
4759
4760
4761static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
4762 PyObject *obj;
4763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4764 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
4765 Py_INCREF(obj);
4766 return Py_BuildValue((char *)"");
4767}
4768static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxString *arg1 = 0 ;
4771 wxDC *arg2 = 0 ;
4772 wxHtmlWordCell *result;
e811c8ce 4773 bool temp1 = False ;
d14a1e28
RD
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "word",(char *) "dc", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
4781 {
4782 arg1 = wxString_in_helper(obj0);
4783 if (arg1 == NULL) SWIG_fail;
e811c8ce 4784 temp1 = True;
d14a1e28
RD
4785 }
4786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4787 if (arg2 == NULL) {
4788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1);
4798 {
4799 if (temp1)
4800 delete arg1;
4801 }
4802 return resultobj;
4803 fail:
4804 {
4805 if (temp1)
4806 delete arg1;
4807 }
4808 return NULL;
4809}
4810
4811
4812static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
4813 PyObject *obj;
4814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
4816 Py_INCREF(obj);
4817 return Py_BuildValue((char *)"");
4818}
4819static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4822 wxHtmlContainerCell *result;
4823 PyObject * obj0 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "parent", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1);
4838 return resultobj;
4839 fail:
4840 return NULL;
4841}
4842
4843
4844static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4847 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4848 PyObject * obj0 = 0 ;
4849 PyObject * obj1 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self",(char *) "cell", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 (arg1)->InsertCell(arg2);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 Py_INCREF(Py_None); resultobj = Py_None;
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
4871static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4874 int arg2 ;
4875 PyObject * obj0 = 0 ;
994141e6 4876 PyObject * obj1 = 0 ;
d14a1e28
RD
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "al", NULL
4879 };
4880
994141e6 4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4883 {
4884 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
d14a1e28
RD
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetAlignHor(arg2);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 return resultobj;
4896 fail:
4897 return NULL;
4898}
4899
4900
4901static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4904 int result;
4905 PyObject * obj0 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (int)(arg1)->GetAlignHor();
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
994141e6 4919 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4920 return resultobj;
4921 fail:
4922 return NULL;
4923}
4924
4925
4926static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4929 int arg2 ;
4930 PyObject * obj0 = 0 ;
994141e6 4931 PyObject * obj1 = 0 ;
d14a1e28
RD
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "al", NULL
4934 };
4935
994141e6 4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4938 {
4939 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
d14a1e28
RD
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->SetAlignVer(arg2);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 Py_INCREF(Py_None); resultobj = Py_None;
4950 return resultobj;
4951 fail:
4952 return NULL;
4953}
4954
4955
4956static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 result = (int)(arg1)->GetAlignVer();
4970
4971 wxPyEndAllowThreads(__tstate);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
994141e6 4974 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4975 return resultobj;
4976 fail:
4977 return NULL;
4978}
4979
4980
4981static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4982 PyObject *resultobj;
4983 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4984 int arg2 ;
4985 int arg3 ;
4986 int arg4 = (int) wxHTML_UNITS_PIXELS ;
4987 PyObject * obj0 = 0 ;
994141e6
RD
4988 PyObject * obj1 = 0 ;
4989 PyObject * obj2 = 0 ;
4990 PyObject * obj3 = 0 ;
d14a1e28
RD
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
4993 };
4994
994141e6 4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4997 {
4998 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 if (obj3) {
5006 {
5007 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 }
d14a1e28
RD
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->SetIndent(arg2,arg3,arg4);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 Py_INCREF(Py_None); resultobj = Py_None;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022}
5023
5024
5025static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5028 int arg2 ;
5029 int result;
5030 PyObject * obj0 = 0 ;
994141e6 5031 PyObject * obj1 = 0 ;
d14a1e28
RD
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "ind", NULL
5034 };
5035
994141e6 5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5038 {
5039 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
d14a1e28
RD
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (int)(arg1)->GetIndent(arg2);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
994141e6 5049 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5050 return resultobj;
5051 fail:
5052 return NULL;
5053}
5054
5055
5056static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5059 int arg2 ;
5060 int result;
5061 PyObject * obj0 = 0 ;
994141e6 5062 PyObject * obj1 = 0 ;
d14a1e28
RD
5063 char *kwnames[] = {
5064 (char *) "self",(char *) "ind", NULL
5065 };
5066
994141e6 5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5069 {
5070 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
d14a1e28
RD
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 result = (int)(arg1)->GetIndentUnits(arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
994141e6 5080 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5081 return resultobj;
5082 fail:
5083 return NULL;
5084}
5085
5086
5087static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5090 wxHtmlTag *arg2 = 0 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self",(char *) "tag", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 if (arg2 == NULL) {
5101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5102 }
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114}
5115
5116
5117static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5120 int arg2 ;
5121 int arg3 ;
5122 PyObject * obj0 = 0 ;
994141e6
RD
5123 PyObject * obj1 = 0 ;
5124 PyObject * obj2 = 0 ;
d14a1e28
RD
5125 char *kwnames[] = {
5126 (char *) "self",(char *) "w",(char *) "units", NULL
5127 };
5128
994141e6 5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 5130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5131 {
5132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 {
5136 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
d14a1e28
RD
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->SetWidthFloat(arg2,arg3);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150}
5151
5152
5153static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5156 wxHtmlTag *arg2 = 0 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self",(char *) "tag", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 if (arg2 == NULL) {
5167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 return resultobj;
5178 fail:
5179 return NULL;
5180}
5181
5182
5183static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5186 int arg2 ;
5187 int arg3 = (int) wxHTML_ALIGN_TOP ;
5188 PyObject * obj0 = 0 ;
994141e6
RD
5189 PyObject * obj1 = 0 ;
5190 PyObject * obj2 = 0 ;
d14a1e28
RD
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "h",(char *) "align", NULL
5193 };
5194
994141e6 5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 5196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5197 {
5198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 if (obj2) {
5202 {
5203 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 }
d14a1e28
RD
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 (arg1)->SetMinHeight(arg2,arg3);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 Py_INCREF(Py_None); resultobj = Py_None;
5215 return resultobj;
5216 fail:
5217 return NULL;
5218}
5219
5220
5221static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5224 wxColour *arg2 = 0 ;
5225 wxColour temp2 ;
5226 PyObject * obj0 = 0 ;
5227 PyObject * obj1 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self",(char *) "clr", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5234 {
5235 arg2 = &temp2;
5236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5237 }
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 Py_INCREF(Py_None); resultobj = Py_None;
5246 return resultobj;
5247 fail:
5248 return NULL;
5249}
5250
5251
5252static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5253 PyObject *resultobj;
5254 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5255 wxColour result;
5256 PyObject * obj0 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "self", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = (arg1)->GetBackgroundColour();
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 {
5271 wxColour * resultptr;
5272 resultptr = new wxColour((wxColour &) result);
5273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
5274 }
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5284 wxColour *arg2 = 0 ;
5285 wxColour *arg3 = 0 ;
5286 wxColour temp2 ;
5287 wxColour temp3 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 PyObject * obj2 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5297 {
5298 arg2 = &temp2;
5299 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5300 }
5301 {
5302 arg3 = &temp3;
5303 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5304 }
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 Py_INCREF(Py_None); resultobj = Py_None;
5313 return resultobj;
5314 fail:
5315 return NULL;
5316}
5317
5318
5319static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5322 wxHtmlCell *result;
5323 PyObject * obj0 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
5338 return resultobj;
5339 fail:
5340 return NULL;
5341}
5342
5343
5344static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5345 PyObject *obj;
5346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5347 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5348 Py_INCREF(obj);
5349 return Py_BuildValue((char *)"");
5350}
5351static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject *resultobj;
5353 wxColour arg1 ;
5354 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5355 wxHtmlColourCell *result;
5356 wxColour *argp1 ;
5357 PyObject * obj0 = 0 ;
994141e6 5358 PyObject * obj1 = 0 ;
d14a1e28
RD
5359 char *kwnames[] = {
5360 (char *) "clr",(char *) "flags", NULL
5361 };
5362
994141e6 5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
5364 if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5365 arg1 = *argp1;
994141e6
RD
5366 if (obj1) {
5367 {
5368 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 }
d14a1e28
RD
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1);
5380 return resultobj;
5381 fail:
5382 return NULL;
5383}
5384
5385
5386static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5387 PyObject *obj;
5388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5389 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5390 Py_INCREF(obj);
5391 return Py_BuildValue((char *)"");
5392}
5393static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxFont *arg1 = (wxFont *) 0 ;
5396 wxHtmlFontCell *result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "font", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1);
5412 return resultobj;
5413 fail:
5414 return NULL;
5415}
5416
5417
5418static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5419 PyObject *obj;
5420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5422 Py_INCREF(obj);
5423 return Py_BuildValue((char *)"");
5424}
5425static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxWindow *arg1 = (wxWindow *) 0 ;
5428 int arg2 = (int) 0 ;
5429 wxHtmlWidgetCell *result;
5430 PyObject * obj0 = 0 ;
994141e6 5431 PyObject * obj1 = 0 ;
d14a1e28
RD
5432 char *kwnames[] = {
5433 (char *) "wnd",(char *) "w", NULL
5434 };
5435
994141e6 5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5438 if (obj1) {
5439 {
5440 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 }
d14a1e28
RD
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1);
5452 return resultobj;
5453 fail:
5454 return NULL;
5455}
5456
5457
5458static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5459 PyObject *obj;
5460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5461 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5462 Py_INCREF(obj);
5463 return Py_BuildValue((char *)"");
5464}
5465static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj;
5467 wxPyHtmlFilter *result;
5468 char *kwnames[] = {
5469 NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1);
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
5487static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5490 PyObject *arg2 = (PyObject *) 0 ;
5491 PyObject *arg3 = (PyObject *) 0 ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 PyObject * obj2 = 0 ;
5495 char *kwnames[] = {
5496 (char *) "self",(char *) "self",(char *) "_class", NULL
5497 };
5498
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5501 arg2 = obj1;
5502 arg3 = obj2;
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 (arg1)->_setCallbackInfo(arg2,arg3);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 Py_INCREF(Py_None); resultobj = Py_None;
5511 return resultobj;
5512 fail:
5513 return NULL;
5514}
5515
5516
5517static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5518 PyObject *obj;
5519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5520 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5521 Py_INCREF(obj);
5522 return Py_BuildValue((char *)"");
5523}
5524static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxWindow *arg1 = (wxWindow *) 0 ;
5527 int arg2 = (int) -1 ;
5528 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5529 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5530 wxSize const &arg4_defvalue = wxDefaultSize ;
5531 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5532 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5533 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5534 wxString *arg6 = (wxString *) &arg6_defvalue ;
5535 wxPyHtmlWindow *result;
5536 wxPoint temp3 ;
5537 wxSize temp4 ;
e811c8ce 5538 bool temp6 = False ;
d14a1e28 5539 PyObject * obj0 = 0 ;
994141e6 5540 PyObject * obj1 = 0 ;
d14a1e28
RD
5541 PyObject * obj2 = 0 ;
5542 PyObject * obj3 = 0 ;
994141e6 5543 PyObject * obj4 = 0 ;
d14a1e28
RD
5544 PyObject * obj5 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5547 };
5548
994141e6 5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 5550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5551 if (obj1) {
5552 {
5553 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 }
d14a1e28
RD
5557 if (obj2) {
5558 {
5559 arg3 = &temp3;
5560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5561 }
5562 }
5563 if (obj3) {
5564 {
5565 arg4 = &temp4;
5566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5567 }
5568 }
994141e6
RD
5569 if (obj4) {
5570 {
5571 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 }
d14a1e28
RD
5575 if (obj5) {
5576 {
5577 arg6 = wxString_in_helper(obj5);
5578 if (arg6 == NULL) SWIG_fail;
e811c8ce 5579 temp6 = True;
d14a1e28
RD
5580 }
5581 }
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 {
5590 resultobj = wxPyMake_wxObject(result);
5591 }
5592 {
5593 if (temp6)
5594 delete arg6;
5595 }
5596 return resultobj;
5597 fail:
5598 {
5599 if (temp6)
5600 delete arg6;
5601 }
5602 return NULL;
5603}
5604
5605
5606static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxPyHtmlWindow *result;
5609 char *kwnames[] = {
5610 NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 resultobj = wxPyMake_wxObject(result);
5623 }
5624 return resultobj;
5625 fail:
5626 return NULL;
5627}
5628
5629
5630static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5633 wxWindow *arg2 = (wxWindow *) 0 ;
5634 int arg3 = (int) -1 ;
5635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5637 wxSize const &arg5_defvalue = wxDefaultSize ;
5638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5639 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5640 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5641 wxString *arg7 = (wxString *) &arg7_defvalue ;
5642 bool result;
5643 wxPoint temp4 ;
5644 wxSize temp5 ;
e811c8ce 5645 bool temp7 = False ;
d14a1e28
RD
5646 PyObject * obj0 = 0 ;
5647 PyObject * obj1 = 0 ;
994141e6 5648 PyObject * obj2 = 0 ;
d14a1e28
RD
5649 PyObject * obj3 = 0 ;
5650 PyObject * obj4 = 0 ;
994141e6 5651 PyObject * obj5 = 0 ;
d14a1e28
RD
5652 PyObject * obj6 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5655 };
5656
994141e6 5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
5658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5660 if (obj2) {
5661 {
5662 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 }
d14a1e28
RD
5666 if (obj3) {
5667 {
5668 arg4 = &temp4;
5669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5670 }
5671 }
5672 if (obj4) {
5673 {
5674 arg5 = &temp5;
5675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5676 }
5677 }
994141e6
RD
5678 if (obj5) {
5679 {
5680 arg6 = (int) SWIG_PyObj_AsInt(obj5);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 }
d14a1e28
RD
5684 if (obj6) {
5685 {
5686 arg7 = wxString_in_helper(obj6);
5687 if (arg7 == NULL) SWIG_fail;
e811c8ce 5688 temp7 = True;
d14a1e28
RD
5689 }
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
4d5c3d91 5698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5699 {
5700 if (temp7)
5701 delete arg7;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (temp7)
5707 delete arg7;
5708 }
5709 return NULL;
5710}
5711
5712
5713static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5716 PyObject *arg2 = (PyObject *) 0 ;
5717 PyObject *arg3 = (PyObject *) 0 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 PyObject * obj2 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "self",(char *) "_class", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 arg2 = obj1;
5728 arg3 = obj2;
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->_setCallbackInfo(arg2,arg3);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740}
5741
5742
5743static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj;
5745 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5746 wxString *arg2 = 0 ;
5747 bool result;
e811c8ce 5748 bool temp2 = False ;
d14a1e28
RD
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "source", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 arg2 = wxString_in_helper(obj1);
5759 if (arg2 == NULL) SWIG_fail;
e811c8ce 5760 temp2 = True;
d14a1e28
RD
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
4d5c3d91 5769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5770 {
5771 if (temp2)
5772 delete arg2;
5773 }
5774 return resultobj;
5775 fail:
5776 {
5777 if (temp2)
5778 delete arg2;
5779 }
5780 return NULL;
5781}
5782
5783
5784static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5787 wxString *arg2 = 0 ;
5788 bool result;
e811c8ce 5789 bool temp2 = False ;
d14a1e28
RD
5790 PyObject * obj0 = 0 ;
5791 PyObject * obj1 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "location", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
5797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5798 {
5799 arg2 = wxString_in_helper(obj1);
5800 if (arg2 == NULL) SWIG_fail;
e811c8ce 5801 temp2 = True;
d14a1e28
RD
5802 }
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
4d5c3d91 5810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5811 {
5812 if (temp2)
5813 delete arg2;
5814 }
5815 return resultobj;
5816 fail:
5817 {
5818 if (temp2)
5819 delete arg2;
5820 }
5821 return NULL;
5822}
5823
5824
5825static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5828 wxString *arg2 = 0 ;
5829 bool result;
e811c8ce 5830 bool temp2 = False ;
d14a1e28
RD
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self",(char *) "filename", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 arg2 = wxString_in_helper(obj1);
5841 if (arg2 == NULL) SWIG_fail;
e811c8ce 5842 temp2 = True;
d14a1e28
RD
5843 }
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
4d5c3d91 5851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5852 {
5853 if (temp2)
5854 delete arg2;
5855 }
5856 return resultobj;
5857 fail:
5858 {
5859 if (temp2)
5860 delete arg2;
5861 }
5862 return NULL;
5863}
5864
5865
5866static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5869 wxString *arg2 = 0 ;
5870 bool result;
e811c8ce 5871 bool temp2 = False ;
d14a1e28
RD
5872 PyObject * obj0 = 0 ;
5873 PyObject * obj1 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self",(char *) "source", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 arg2 = wxString_in_helper(obj1);
5882 if (arg2 == NULL) SWIG_fail;
e811c8ce 5883 temp2 = True;
d14a1e28
RD
5884 }
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
4d5c3d91 5892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5893 {
5894 if (temp2)
5895 delete arg2;
5896 }
5897 return resultobj;
5898 fail:
5899 {
5900 if (temp2)
5901 delete arg2;
5902 }
5903 return NULL;
5904}
5905
5906
5907static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5910 wxString result;
5911 PyObject * obj0 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
5917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (arg1)->GetOpenedPage();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926#if wxUSE_UNICODE
5927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5928#else
5929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5930#endif
5931 }
5932 return resultobj;
5933 fail:
5934 return NULL;
5935}
5936
5937
5938static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5939 PyObject *resultobj;
5940 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5941 wxString result;
5942 PyObject * obj0 = 0 ;
5943 char *kwnames[] = {
5944 (char *) "self", NULL
5945 };
5946
5947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
5948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (arg1)->GetOpenedAnchor();
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 {
5957#if wxUSE_UNICODE
5958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5959#else
5960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5961#endif
5962 }
5963 return resultobj;
5964 fail:
5965 return NULL;
5966}
5967
5968
5969static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5972 wxString result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (arg1)->GetOpenedPageTitle();
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 {
5988#if wxUSE_UNICODE
5989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5990#else
5991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5992#endif
5993 }
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
6000static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6003 wxFrame *arg2 = (wxFrame *) 0 ;
6004 wxString *arg3 = 0 ;
e811c8ce 6005 bool temp3 = False ;
d14a1e28
RD
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 PyObject * obj2 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "self",(char *) "frame",(char *) "format", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 {
6017 arg3 = wxString_in_helper(obj2);
6018 if (arg3 == NULL) SWIG_fail;
e811c8ce 6019 temp3 = True;
d14a1e28
RD
6020 }
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 {
6030 if (temp3)
6031 delete arg3;
6032 }
6033 return resultobj;
6034 fail:
6035 {
6036 if (temp3)
6037 delete arg3;
6038 }
6039 return NULL;
6040}
6041
6042
6043static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6046 wxFrame *result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (wxFrame *)(arg1)->GetRelatedFrame();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 {
6062 resultobj = wxPyMake_wxObject(result);
6063 }
6064 return resultobj;
6065 fail:
6066 return NULL;
6067}
6068
6069
6070static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6073 int arg2 ;
6074 PyObject * obj0 = 0 ;
994141e6 6075 PyObject * obj1 = 0 ;
d14a1e28
RD
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "bar", NULL
6078 };
6079
994141e6 6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6082 {
6083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
d14a1e28
RD
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->SetRelatedStatusBar(arg2);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097}
6098
6099
6100static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6103 wxString arg2 ;
6104 wxString arg3 ;
6105 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 PyObject * obj2 = 0 ;
6109 PyObject * obj3 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce
RD
6116 {
6117 wxString* sptr = wxString_in_helper(obj1);
6118 if (sptr == NULL) SWIG_fail;
6119 arg2 = *sptr;
6120 delete sptr;
6121 }
6122 {
6123 wxString* sptr = wxString_in_helper(obj2);
6124 if (sptr == NULL) SWIG_fail;
6125 arg3 = *sptr;
6126 delete sptr;
6127 }
d14a1e28
RD
6128 if (obj3) {
6129 arg4 = obj3;
6130 }
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 Py_INCREF(Py_None); resultobj = Py_None;
6139 return resultobj;
6140 fail:
6141 return NULL;
6142}
6143
6144
6145static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6148 wxString *arg2 = 0 ;
e811c8ce 6149 bool temp2 = False ;
d14a1e28
RD
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self",(char *) "title", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 {
6159 arg2 = wxString_in_helper(obj1);
6160 if (arg2 == NULL) SWIG_fail;
e811c8ce 6161 temp2 = True;
d14a1e28
RD
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetTitle((wxString const &)*arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 {
6172 if (temp2)
6173 delete arg2;
6174 }
6175 return resultobj;
6176 fail:
6177 {
6178 if (temp2)
6179 delete arg2;
6180 }
6181 return NULL;
6182}
6183
6184
6185static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6188 int arg2 ;
6189 PyObject * obj0 = 0 ;
994141e6 6190 PyObject * obj1 = 0 ;
d14a1e28
RD
6191 char *kwnames[] = {
6192 (char *) "self",(char *) "b", NULL
6193 };
6194
994141e6 6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6197 {
6198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
d14a1e28
RD
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 (arg1)->SetBorders(arg2);
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 Py_INCREF(Py_None); resultobj = Py_None;
6209 return resultobj;
6210 fail:
6211 return NULL;
6212}
6213
6214
6215static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6218 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6219 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
6220 PyObject * obj0 = 0 ;
6221 PyObject * obj1 = 0 ;
6222 PyObject * obj2 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "self",(char *) "cfg",(char *) "path", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 if (obj2) {
e811c8ce
RD
6231 {
6232 wxString* sptr = wxString_in_helper(obj2);
6233 if (sptr == NULL) SWIG_fail;
6234 arg3 = *sptr;
6235 delete sptr;
6236 }
d14a1e28
RD
6237 }
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 (arg1)->ReadCustomization(arg2,arg3);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 Py_INCREF(Py_None); resultobj = Py_None;
6246 return resultobj;
6247 fail:
6248 return NULL;
6249}
6250
6251
6252static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6255 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6256 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "cfg",(char *) "path", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6267 if (obj2) {
e811c8ce
RD
6268 {
6269 wxString* sptr = wxString_in_helper(obj2);
6270 if (sptr == NULL) SWIG_fail;
6271 arg3 = *sptr;
6272 delete sptr;
6273 }
d14a1e28
RD
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->WriteCustomization(arg2,arg3);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 return resultobj;
6284 fail:
6285 return NULL;
6286}
6287
6288
6289static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6292 bool result;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (bool)(arg1)->HistoryBack();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
4d5c3d91 6307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
6314static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6317 bool result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (bool)(arg1)->HistoryForward();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
4d5c3d91 6332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6333 return resultobj;
6334 fail:
6335 return NULL;
6336}
6337
6338
6339static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6342 bool result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 result = (bool)(arg1)->HistoryCanBack();
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
4d5c3d91 6357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6358 return resultobj;
6359 fail:
6360 return NULL;
6361}
6362
6363
6364static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6367 bool result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (bool)(arg1)->HistoryCanForward();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
4d5c3d91 6382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 (arg1)->HistoryClear();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 Py_INCREF(Py_None); resultobj = Py_None;
6407 return resultobj;
6408 fail:
6409 return NULL;
6410}
6411
6412
6413static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6416 wxHtmlContainerCell *result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
6438static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6441 wxHtmlWinParser *result;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = (wxHtmlWinParser *)(arg1)->GetParser();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
6463static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6466 wxString *arg2 = 0 ;
6467 bool result;
e811c8ce 6468 bool temp2 = False ;
d14a1e28
RD
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "anchor", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6477 {
6478 arg2 = wxString_in_helper(obj1);
6479 if (arg2 == NULL) SWIG_fail;
e811c8ce 6480 temp2 = True;
d14a1e28
RD
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
4d5c3d91 6489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6490 {
6491 if (temp2)
6492 delete arg2;
6493 }
6494 return resultobj;
6495 fail:
6496 {
6497 if (temp2)
6498 delete arg2;
6499 }
6500 return NULL;
6501}
6502
6503
6504static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6507 wxString *arg2 = 0 ;
6508 bool result;
e811c8ce 6509 bool temp2 = False ;
d14a1e28
RD
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self",(char *) "anchor", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 {
6519 arg2 = wxString_in_helper(obj1);
6520 if (arg2 == NULL) SWIG_fail;
e811c8ce 6521 temp2 = True;
d14a1e28
RD
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
4d5c3d91 6530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6531 {
6532 if (temp2)
6533 delete arg2;
6534 }
6535 return resultobj;
6536 fail:
6537 {
6538 if (temp2)
6539 delete arg2;
6540 }
6541 return NULL;
6542}
6543
6544
6545static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6548 PyObject * obj0 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "filter", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 wxPyHtmlWindow::AddFilter(arg1);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6572 wxHtmlLinkInfo *arg2 = 0 ;
6573 PyObject * obj0 = 0 ;
6574 PyObject * obj1 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "link", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6582 if (arg2 == NULL) {
6583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6584 }
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 Py_INCREF(Py_None); resultobj = Py_None;
6593 return resultobj;
6594 fail:
6595 return NULL;
6596}
6597
6598
6599static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6602 wxString *arg2 = 0 ;
e811c8ce 6603 bool temp2 = False ;
d14a1e28
RD
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self",(char *) "title", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6612 {
6613 arg2 = wxString_in_helper(obj1);
6614 if (arg2 == NULL) SWIG_fail;
e811c8ce 6615 temp2 = True;
d14a1e28
RD
6616 }
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 (arg1)->base_OnSetTitle((wxString const &)*arg2);
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 Py_INCREF(Py_None); resultobj = Py_None;
6625 {
6626 if (temp2)
6627 delete arg2;
6628 }
6629 return resultobj;
6630 fail:
6631 {
6632 if (temp2)
6633 delete arg2;
6634 }
6635 return NULL;
6636}
6637
6638
6639static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6642 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
6643 int arg3 ;
6644 int arg4 ;
d14a1e28
RD
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
994141e6
RD
6647 PyObject * obj2 = 0 ;
6648 PyObject * obj3 = 0 ;
d14a1e28
RD
6649 char *kwnames[] = {
6650 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6651 };
6652
994141e6 6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
6654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6656 {
6657 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
d14a1e28
RD
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 Py_INCREF(Py_None); resultobj = Py_None;
6672 return resultobj;
6673 fail:
6674 return NULL;
6675}
6676
6677
6678static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6679 PyObject *resultobj;
6680 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6681 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
e811c8ce
RD
6682 int arg3 ;
6683 int arg4 ;
d14a1e28
RD
6684 wxMouseEvent *arg5 = 0 ;
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
994141e6
RD
6687 PyObject * obj2 = 0 ;
6688 PyObject * obj3 = 0 ;
d14a1e28
RD
6689 PyObject * obj4 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6692 };
6693
994141e6 6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
6695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6697 {
6698 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
d14a1e28
RD
6705 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706 if (arg5 == NULL) {
6707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 Py_INCREF(Py_None); resultobj = Py_None;
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
6723static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
6724 PyObject *obj;
6725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6726 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
6727 Py_INCREF(obj);
6728 return Py_BuildValue((char *)"");
6729}
6730static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxHtmlDCRenderer *result;
6733 char *kwnames[] = {
6734 NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1);
6746 return resultobj;
6747 fail:
6748 return NULL;
6749}
6750
6751
6752static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6755 PyObject * obj0 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 delete arg1;
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 Py_INCREF(Py_None); resultobj = Py_None;
6770 return resultobj;
6771 fail:
6772 return NULL;
6773}
6774
6775
6776static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj;
6778 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6779 wxDC *arg2 = (wxDC *) 0 ;
6780 int arg3 ;
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
994141e6 6783 PyObject * obj2 = 0 ;
d14a1e28
RD
6784 char *kwnames[] = {
6785 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6786 };
6787
994141e6 6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6791 {
6792 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
d14a1e28
RD
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 (arg1)->SetDC(arg2,arg3);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 Py_INCREF(Py_None); resultobj = Py_None;
6803 return resultobj;
6804 fail:
6805 return NULL;
6806}
6807
6808
6809static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject *resultobj;
6811 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6812 int arg2 ;
6813 int arg3 ;
6814 PyObject * obj0 = 0 ;
994141e6
RD
6815 PyObject * obj1 = 0 ;
6816 PyObject * obj2 = 0 ;
d14a1e28
RD
6817 char *kwnames[] = {
6818 (char *) "self",(char *) "width",(char *) "height", NULL
6819 };
6820
994141e6 6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6823 {
6824 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 {
6828 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
d14a1e28
RD
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 (arg1)->SetSize(arg2,arg3);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 Py_INCREF(Py_None); resultobj = Py_None;
6839 return resultobj;
6840 fail:
6841 return NULL;
6842}
6843
6844
6845static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6848 wxString *arg2 = 0 ;
6849 wxString const &arg3_defvalue = wxPyEmptyString ;
6850 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce
RD
6851 bool arg4 = (bool) True ;
6852 bool temp2 = False ;
6853 bool temp3 = False ;
d14a1e28
RD
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 PyObject * obj2 = 0 ;
6857 PyObject * obj3 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 {
6865 arg2 = wxString_in_helper(obj1);
6866 if (arg2 == NULL) SWIG_fail;
e811c8ce 6867 temp2 = True;
d14a1e28
RD
6868 }
6869 if (obj2) {
6870 {
6871 arg3 = wxString_in_helper(obj2);
6872 if (arg3 == NULL) SWIG_fail;
e811c8ce 6873 temp3 = True;
d14a1e28
RD
6874 }
6875 }
6876 if (obj3) {
a41e16b6 6877 {
994141e6 6878 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
a41e16b6
RD
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
d14a1e28
RD
6881 }
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 Py_INCREF(Py_None); resultobj = Py_None;
6890 {
6891 if (temp2)
6892 delete arg2;
6893 }
6894 {
6895 if (temp3)
6896 delete arg3;
6897 }
6898 return resultobj;
6899 fail:
6900 {
6901 if (temp2)
6902 delete arg2;
6903 }
6904 {
6905 if (temp3)
6906 delete arg3;
6907 }
6908 return NULL;
6909}
6910
6911
6912static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj;
6914 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6915 wxString arg2 ;
6916 wxString arg3 ;
6917 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
6918 PyObject * obj0 = 0 ;
6919 PyObject * obj1 = 0 ;
6920 PyObject * obj2 = 0 ;
6921 PyObject * obj3 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce
RD
6928 {
6929 wxString* sptr = wxString_in_helper(obj1);
6930 if (sptr == NULL) SWIG_fail;
6931 arg2 = *sptr;
6932 delete sptr;
6933 }
6934 {
6935 wxString* sptr = wxString_in_helper(obj2);
6936 if (sptr == NULL) SWIG_fail;
6937 arg3 = *sptr;
6938 delete sptr;
6939 }
d14a1e28
RD
6940 if (obj3) {
6941 arg4 = obj3;
6942 }
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
6946
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 Py_INCREF(Py_None); resultobj = Py_None;
6951 return resultobj;
6952 fail:
6953 return NULL;
6954}
6955
6956
6957static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6960 int arg2 ;
6961 int arg3 ;
6962 int arg4 = (int) 0 ;
e811c8ce 6963 int arg5 = (int) False ;
d14a1e28
RD
6964 int arg6 = (int) INT_MAX ;
6965 int *arg7 = (int *) NULL ;
6966 int arg8 = (int) 0 ;
6967 int result;
6968 PyObject * obj0 = 0 ;
994141e6
RD
6969 PyObject * obj1 = 0 ;
6970 PyObject * obj2 = 0 ;
6971 PyObject * obj3 = 0 ;
6972 PyObject * obj4 = 0 ;
6973 PyObject * obj5 = 0 ;
d14a1e28 6974 PyObject * obj6 = 0 ;
994141e6 6975 PyObject * obj7 = 0 ;
d14a1e28
RD
6976 char *kwnames[] = {
6977 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
6978 };
6979
994141e6 6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28 6981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6982 {
6983 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 {
6987 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 if (obj3) {
6991 {
6992 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 }
6996 if (obj4) {
6997 {
6998 arg5 = (int) SWIG_PyObj_AsInt(obj4);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 }
7002 if (obj5) {
7003 {
7004 arg6 = (int) SWIG_PyObj_AsInt(obj5);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 }
d14a1e28
RD
7008 if (obj6) {
7009 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7010 }
994141e6
RD
7011 if (obj7) {
7012 {
7013 arg8 = (int) SWIG_PyObj_AsInt(obj7);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 }
d14a1e28
RD
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
994141e6 7024 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7025 return resultobj;
7026 fail:
7027 return NULL;
7028}
7029
7030
7031static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7032 PyObject *resultobj;
7033 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7034 int result;
7035 PyObject * obj0 = 0 ;
7036 char *kwnames[] = {
7037 (char *) "self", NULL
7038 };
7039
7040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 result = (int)(arg1)->GetTotalHeight();
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
994141e6 7049 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
7056static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7057 PyObject *obj;
7058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7060 Py_INCREF(obj);
7061 return Py_BuildValue((char *)"");
7062}
7063static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7066 wxString *arg1 = (wxString *) &arg1_defvalue ;
7067 wxHtmlPrintout *result;
e811c8ce 7068 bool temp1 = False ;
d14a1e28
RD
7069 PyObject * obj0 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "title", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7075 if (obj0) {
7076 {
7077 arg1 = wxString_in_helper(obj0);
7078 if (arg1 == NULL) SWIG_fail;
e811c8ce 7079 temp1 = True;
d14a1e28
RD
7080 }
7081 }
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1);
7090 {
7091 if (temp1)
7092 delete arg1;
7093 }
7094 return resultobj;
7095 fail:
7096 {
7097 if (temp1)
7098 delete arg1;
7099 }
7100 return NULL;
7101}
7102
7103
7104static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7107 wxString *arg2 = 0 ;
7108 wxString const &arg3_defvalue = wxPyEmptyString ;
7109 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce
RD
7110 bool arg4 = (bool) True ;
7111 bool temp2 = False ;
7112 bool temp3 = False ;
d14a1e28
RD
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj1 = 0 ;
7115 PyObject * obj2 = 0 ;
7116 PyObject * obj3 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 {
7124 arg2 = wxString_in_helper(obj1);
7125 if (arg2 == NULL) SWIG_fail;
e811c8ce 7126 temp2 = True;
d14a1e28
RD
7127 }
7128 if (obj2) {
7129 {
7130 arg3 = wxString_in_helper(obj2);
7131 if (arg3 == NULL) SWIG_fail;
e811c8ce 7132 temp3 = True;
d14a1e28
RD
7133 }
7134 }
7135 if (obj3) {
a41e16b6 7136 {
994141e6 7137 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
a41e16b6
RD
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
d14a1e28
RD
7140 }
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 {
7150 if (temp2)
7151 delete arg2;
7152 }
7153 {
7154 if (temp3)
7155 delete arg3;
7156 }
7157 return resultobj;
7158 fail:
7159 {
7160 if (temp2)
7161 delete arg2;
7162 }
7163 {
7164 if (temp3)
7165 delete arg3;
7166 }
7167 return NULL;
7168}
7169
7170
7171static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7172 PyObject *resultobj;
7173 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7174 wxString *arg2 = 0 ;
e811c8ce 7175 bool temp2 = False ;
d14a1e28
RD
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "htmlfile", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7184 {
7185 arg2 = wxString_in_helper(obj1);
7186 if (arg2 == NULL) SWIG_fail;
e811c8ce 7187 temp2 = True;
d14a1e28
RD
7188 }
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 (arg1)->SetHtmlFile((wxString const &)*arg2);
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 Py_INCREF(Py_None); resultobj = Py_None;
7197 {
7198 if (temp2)
7199 delete arg2;
7200 }
7201 return resultobj;
7202 fail:
7203 {
7204 if (temp2)
7205 delete arg2;
7206 }
7207 return NULL;
7208}
7209
7210
7211static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7214 wxString *arg2 = 0 ;
7215 int arg3 = (int) wxPAGE_ALL ;
e811c8ce 7216 bool temp2 = False ;
d14a1e28
RD
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
994141e6 7219 PyObject * obj2 = 0 ;
d14a1e28
RD
7220 char *kwnames[] = {
7221 (char *) "self",(char *) "header",(char *) "pg", NULL
7222 };
7223
994141e6 7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7226 {
7227 arg2 = wxString_in_helper(obj1);
7228 if (arg2 == NULL) SWIG_fail;
e811c8ce 7229 temp2 = True;
d14a1e28 7230 }
994141e6
RD
7231 if (obj2) {
7232 {
7233 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 }
d14a1e28
RD
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 Py_INCREF(Py_None); resultobj = Py_None;
7245 {
7246 if (temp2)
7247 delete arg2;
7248 }
7249 return resultobj;
7250 fail:
7251 {
7252 if (temp2)
7253 delete arg2;
7254 }
7255 return NULL;
7256}
7257
7258
7259static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7262 wxString *arg2 = 0 ;
7263 int arg3 = (int) wxPAGE_ALL ;
e811c8ce 7264 bool temp2 = False ;
d14a1e28
RD
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
994141e6 7267 PyObject * obj2 = 0 ;
d14a1e28
RD
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "footer",(char *) "pg", NULL
7270 };
7271
994141e6 7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7274 {
7275 arg2 = wxString_in_helper(obj1);
7276 if (arg2 == NULL) SWIG_fail;
e811c8ce 7277 temp2 = True;
d14a1e28 7278 }
994141e6
RD
7279 if (obj2) {
7280 {
7281 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 }
d14a1e28
RD
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 Py_INCREF(Py_None); resultobj = Py_None;
7293 {
7294 if (temp2)
7295 delete arg2;
7296 }
7297 return resultobj;
7298 fail:
7299 {
7300 if (temp2)
7301 delete arg2;
7302 }
7303 return NULL;
7304}
7305
7306
7307static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7310 wxString arg2 ;
7311 wxString arg3 ;
7312 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 PyObject * obj2 = 0 ;
7316 PyObject * obj3 = 0 ;
7317 char *kwnames[] = {
7318 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7319 };
7320
7321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce
RD
7323 {
7324 wxString* sptr = wxString_in_helper(obj1);
7325 if (sptr == NULL) SWIG_fail;
7326 arg2 = *sptr;
7327 delete sptr;
7328 }
7329 {
7330 wxString* sptr = wxString_in_helper(obj2);
7331 if (sptr == NULL) SWIG_fail;
7332 arg3 = *sptr;
7333 delete sptr;
7334 }
d14a1e28
RD
7335 if (obj3) {
7336 arg4 = obj3;
7337 }
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 Py_INCREF(Py_None); resultobj = Py_None;
7346 return resultobj;
7347 fail:
7348 return NULL;
7349}
7350
7351
7352static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject *resultobj;
7354 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7355 float arg2 = (float) 25.2 ;
7356 float arg3 = (float) 25.2 ;
7357 float arg4 = (float) 25.2 ;
7358 float arg5 = (float) 25.2 ;
7359 float arg6 = (float) 5 ;
7360 PyObject * obj0 = 0 ;
994141e6
RD
7361 PyObject * obj1 = 0 ;
7362 PyObject * obj2 = 0 ;
7363 PyObject * obj3 = 0 ;
7364 PyObject * obj4 = 0 ;
7365 PyObject * obj5 = 0 ;
d14a1e28
RD
7366 char *kwnames[] = {
7367 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7368 };
7369
994141e6 7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
7372 if (obj1) {
7373 {
7374 arg2 = (float) SWIG_PyObj_AsFloat(obj1);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 }
7378 if (obj2) {
7379 {
7380 arg3 = (float) SWIG_PyObj_AsFloat(obj2);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 }
7384 if (obj3) {
7385 {
7386 arg4 = (float) SWIG_PyObj_AsFloat(obj3);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 }
7390 if (obj4) {
7391 {
7392 arg5 = (float) SWIG_PyObj_AsFloat(obj4);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 }
7396 if (obj5) {
7397 {
7398 arg6 = (float) SWIG_PyObj_AsFloat(obj5);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 }
d14a1e28
RD
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 Py_INCREF(Py_None); resultobj = Py_None;
7410 return resultobj;
7411 fail:
7412 return NULL;
7413}
7414
7415
7416static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7419 PyObject * obj0 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "filter", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 wxHtmlPrintout::AddFilter(arg1);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 Py_INCREF(Py_None); resultobj = Py_None;
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
7440static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 char *kwnames[] = {
7443 NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7447 {
7448 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449 wxHtmlPrintout::CleanUpStatics();
7450
7451 wxPyEndAllowThreads(__tstate);
7452 if (PyErr_Occurred()) SWIG_fail;
7453 }
7454 Py_INCREF(Py_None); resultobj = Py_None;
7455 return resultobj;
7456 fail:
7457 return NULL;
7458}
7459
7460
7461static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7462 PyObject *obj;
7463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7464 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7465 Py_INCREF(obj);
7466 return Py_BuildValue((char *)"");
7467}
7468static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7471 wxString *arg1 = (wxString *) &arg1_defvalue ;
7472 wxWindow *arg2 = (wxWindow *) NULL ;
7473 wxHtmlEasyPrinting *result;
e811c8ce 7474 bool temp1 = False ;
d14a1e28
RD
7475 PyObject * obj0 = 0 ;
7476 PyObject * obj1 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "name",(char *) "parentWindow", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7482 if (obj0) {
7483 {
7484 arg1 = wxString_in_helper(obj0);
7485 if (arg1 == NULL) SWIG_fail;
e811c8ce 7486 temp1 = True;
d14a1e28
RD
7487 }
7488 }
7489 if (obj1) {
7490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 }
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1);
7500 {
7501 if (temp1)
7502 delete arg1;
7503 }
7504 return resultobj;
7505 fail:
7506 {
7507 if (temp1)
7508 delete arg1;
7509 }
7510 return NULL;
7511}
7512
7513
7514static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 delete arg1;
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 Py_INCREF(Py_None); resultobj = Py_None;
7532 return resultobj;
7533 fail:
7534 return NULL;
7535}
7536
7537
7538static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7541 wxString *arg2 = 0 ;
e811c8ce 7542 bool temp2 = False ;
d14a1e28
RD
7543 PyObject * obj0 = 0 ;
7544 PyObject * obj1 = 0 ;
7545 char *kwnames[] = {
7546 (char *) "self",(char *) "htmlfile", NULL
7547 };
7548
7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
7550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7551 {
7552 arg2 = wxString_in_helper(obj1);
7553 if (arg2 == NULL) SWIG_fail;
e811c8ce 7554 temp2 = True;
d14a1e28
RD
7555 }
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 (arg1)->PreviewFile((wxString const &)*arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 Py_INCREF(Py_None); resultobj = Py_None;
7564 {
7565 if (temp2)
7566 delete arg2;
7567 }
7568 return resultobj;
7569 fail:
7570 {
7571 if (temp2)
7572 delete arg2;
7573 }
7574 return NULL;
7575}
7576
7577
7578static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7581 wxString *arg2 = 0 ;
7582 wxString const &arg3_defvalue = wxPyEmptyString ;
7583 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce
RD
7584 bool temp2 = False ;
7585 bool temp3 = False ;
d14a1e28
RD
7586 PyObject * obj0 = 0 ;
7587 PyObject * obj1 = 0 ;
7588 PyObject * obj2 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7595 {
7596 arg2 = wxString_in_helper(obj1);
7597 if (arg2 == NULL) SWIG_fail;
e811c8ce 7598 temp2 = True;
d14a1e28
RD
7599 }
7600 if (obj2) {
7601 {
7602 arg3 = wxString_in_helper(obj2);
7603 if (arg3 == NULL) SWIG_fail;
e811c8ce 7604 temp3 = True;
d14a1e28
RD
7605 }
7606 }
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 Py_INCREF(Py_None); resultobj = Py_None;
7615 {
7616 if (temp2)
7617 delete arg2;
7618 }
7619 {
7620 if (temp3)
7621 delete arg3;
7622 }
7623 return resultobj;
7624 fail:
7625 {
7626 if (temp2)
7627 delete arg2;
7628 }
7629 {
7630 if (temp3)
7631 delete arg3;
7632 }
7633 return NULL;
7634}
7635
7636
7637static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7640 wxString *arg2 = 0 ;
e811c8ce 7641 bool temp2 = False ;
d14a1e28
RD
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char *kwnames[] = {
7645 (char *) "self",(char *) "htmlfile", NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
7649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7650 {
7651 arg2 = wxString_in_helper(obj1);
7652 if (arg2 == NULL) SWIG_fail;
e811c8ce 7653 temp2 = True;
d14a1e28
RD
7654 }
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->PrintFile((wxString const &)*arg2);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 {
7664 if (temp2)
7665 delete arg2;
7666 }
7667 return resultobj;
7668 fail:
7669 {
7670 if (temp2)
7671 delete arg2;
7672 }
7673 return NULL;
7674}
7675
7676
7677static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7680 wxString *arg2 = 0 ;
7681 wxString const &arg3_defvalue = wxPyEmptyString ;
7682 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce
RD
7683 bool temp2 = False ;
7684 bool temp3 = False ;
d14a1e28
RD
7685 PyObject * obj0 = 0 ;
7686 PyObject * obj1 = 0 ;
7687 PyObject * obj2 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7694 {
7695 arg2 = wxString_in_helper(obj1);
7696 if (arg2 == NULL) SWIG_fail;
e811c8ce 7697 temp2 = True;
d14a1e28
RD
7698 }
7699 if (obj2) {
7700 {
7701 arg3 = wxString_in_helper(obj2);
7702 if (arg3 == NULL) SWIG_fail;
e811c8ce 7703 temp3 = True;
d14a1e28
RD
7704 }
7705 }
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 Py_INCREF(Py_None); resultobj = Py_None;
7714 {
7715 if (temp2)
7716 delete arg2;
7717 }
7718 {
7719 if (temp3)
7720 delete arg3;
7721 }
7722 return resultobj;
7723 fail:
7724 {
7725 if (temp2)
7726 delete arg2;
7727 }
7728 {
7729 if (temp3)
7730 delete arg3;
7731 }
7732 return NULL;
7733}
7734
7735
7736static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7739 PyObject * obj0 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->PrinterSetup();
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 Py_INCREF(Py_None); resultobj = Py_None;
7754 return resultobj;
7755 fail:
7756 return NULL;
7757}
7758
7759
7760static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj;
7762 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 (arg1)->PageSetup();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 Py_INCREF(Py_None); resultobj = Py_None;
7778 return resultobj;
7779 fail:
7780 return NULL;
7781}
7782
7783
7784static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7787 wxString *arg2 = 0 ;
7788 int arg3 = (int) wxPAGE_ALL ;
e811c8ce 7789 bool temp2 = False ;
d14a1e28
RD
7790 PyObject * obj0 = 0 ;
7791 PyObject * obj1 = 0 ;
994141e6 7792 PyObject * obj2 = 0 ;
d14a1e28
RD
7793 char *kwnames[] = {
7794 (char *) "self",(char *) "header",(char *) "pg", NULL
7795 };
7796
994141e6 7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7799 {
7800 arg2 = wxString_in_helper(obj1);
7801 if (arg2 == NULL) SWIG_fail;
e811c8ce 7802 temp2 = True;
d14a1e28 7803 }
994141e6
RD
7804 if (obj2) {
7805 {
7806 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 }
d14a1e28
RD
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 Py_INCREF(Py_None); resultobj = Py_None;
7818 {
7819 if (temp2)
7820 delete arg2;
7821 }
7822 return resultobj;
7823 fail:
7824 {
7825 if (temp2)
7826 delete arg2;
7827 }
7828 return NULL;
7829}
7830
7831
7832static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7835 wxString *arg2 = 0 ;
7836 int arg3 = (int) wxPAGE_ALL ;
e811c8ce 7837 bool temp2 = False ;
d14a1e28
RD
7838 PyObject * obj0 = 0 ;
7839 PyObject * obj1 = 0 ;
994141e6 7840 PyObject * obj2 = 0 ;
d14a1e28
RD
7841 char *kwnames[] = {
7842 (char *) "self",(char *) "footer",(char *) "pg", NULL
7843 };
7844
994141e6 7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7847 {
7848 arg2 = wxString_in_helper(obj1);
7849 if (arg2 == NULL) SWIG_fail;
e811c8ce 7850 temp2 = True;
d14a1e28 7851 }
994141e6
RD
7852 if (obj2) {
7853 {
7854 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 }
d14a1e28
RD
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 Py_INCREF(Py_None); resultobj = Py_None;
7866 {
7867 if (temp2)
7868 delete arg2;
7869 }
7870 return resultobj;
7871 fail:
7872 {
7873 if (temp2)
7874 delete arg2;
7875 }
7876 return NULL;
7877}
7878
7879
7880static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7883 wxString arg2 ;
7884 wxString arg3 ;
7885 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7886 PyObject * obj0 = 0 ;
7887 PyObject * obj1 = 0 ;
7888 PyObject * obj2 = 0 ;
7889 PyObject * obj3 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
e811c8ce
RD
7896 {
7897 wxString* sptr = wxString_in_helper(obj1);
7898 if (sptr == NULL) SWIG_fail;
7899 arg2 = *sptr;
7900 delete sptr;
7901 }
7902 {
7903 wxString* sptr = wxString_in_helper(obj2);
7904 if (sptr == NULL) SWIG_fail;
7905 arg3 = *sptr;
7906 delete sptr;
7907 }
d14a1e28
RD
7908 if (obj3) {
7909 arg4 = obj3;
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 Py_INCREF(Py_None); resultobj = Py_None;
7919 return resultobj;
7920 fail:
7921 return NULL;
7922}
7923
7924
7925static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7928 wxPrintData *result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = (wxPrintData *)(arg1)->GetPrintData();
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
7944 return resultobj;
7945 fail:
7946 return NULL;
7947}
7948
7949
7950static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7953 wxPageSetupDialogData *result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
7960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
7969 return resultobj;
7970 fail:
7971 return NULL;
7972}
7973
7974
7975static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
7976 PyObject *obj;
7977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7978 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
7979 Py_INCREF(obj);
7980 return Py_BuildValue((char *)"");
7981}
7982static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxString *arg1 = 0 ;
7985 wxString *arg2 = 0 ;
7986 wxString *arg3 = 0 ;
7987 wxString *arg4 = 0 ;
7988 wxHtmlBookRecord *result;
e811c8ce
RD
7989 bool temp1 = False ;
7990 bool temp2 = False ;
7991 bool temp3 = False ;
7992 bool temp4 = False ;
d14a1e28
RD
7993 PyObject * obj0 = 0 ;
7994 PyObject * obj1 = 0 ;
7995 PyObject * obj2 = 0 ;
7996 PyObject * obj3 = 0 ;
7997 char *kwnames[] = {
7998 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
7999 };
8000
8001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8002 {
8003 arg1 = wxString_in_helper(obj0);
8004 if (arg1 == NULL) SWIG_fail;
e811c8ce 8005 temp1 = True;
d14a1e28
RD
8006 }
8007 {
8008 arg2 = wxString_in_helper(obj1);
8009 if (arg2 == NULL) SWIG_fail;
e811c8ce 8010 temp2 = True;
d14a1e28
RD
8011 }
8012 {
8013 arg3 = wxString_in_helper(obj2);
8014 if (arg3 == NULL) SWIG_fail;
e811c8ce 8015 temp3 = True;
d14a1e28
RD
8016 }
8017 {
8018 arg4 = wxString_in_helper(obj3);
8019 if (arg4 == NULL) SWIG_fail;
e811c8ce 8020 temp4 = True;
d14a1e28
RD
8021 }
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1);
8030 {
8031 if (temp1)
8032 delete arg1;
8033 }
8034 {
8035 if (temp2)
8036 delete arg2;
8037 }
8038 {
8039 if (temp3)
8040 delete arg3;
8041 }
8042 {
8043 if (temp4)
8044 delete arg4;
8045 }
8046 return resultobj;
8047 fail:
8048 {
8049 if (temp1)
8050 delete arg1;
8051 }
8052 {
8053 if (temp2)
8054 delete arg2;
8055 }
8056 {
8057 if (temp3)
8058 delete arg3;
8059 }
8060 {
8061 if (temp4)
8062 delete arg4;
8063 }
8064 return NULL;
8065}
8066
8067
8068static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8071 wxString result;
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 result = (arg1)->GetBookFile();
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 {
8087#if wxUSE_UNICODE
8088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8089#else
8090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8091#endif
8092 }
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
8099static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8102 wxString result;
8103 PyObject * obj0 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (arg1)->GetTitle();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 {
8118#if wxUSE_UNICODE
8119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8120#else
8121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8122#endif
8123 }
8124 return resultobj;
8125 fail:
8126 return NULL;
8127}
8128
8129
8130static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8133 wxString result;
8134 PyObject * obj0 = 0 ;
8135 char *kwnames[] = {
8136 (char *) "self", NULL
8137 };
8138
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 result = (arg1)->GetStart();
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 {
8149#if wxUSE_UNICODE
8150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8151#else
8152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8153#endif
8154 }
8155 return resultobj;
8156 fail:
8157 return NULL;
8158}
8159
8160
8161static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8164 wxString result;
8165 PyObject * obj0 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 result = (arg1)->GetBasePath();
8175
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 {
8180#if wxUSE_UNICODE
8181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8182#else
8183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8184#endif
8185 }
8186 return resultobj;
8187 fail:
8188 return NULL;
8189}
8190
8191
8192static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8195 int arg2 ;
8196 int arg3 ;
8197 PyObject * obj0 = 0 ;
994141e6
RD
8198 PyObject * obj1 = 0 ;
8199 PyObject * obj2 = 0 ;
d14a1e28
RD
8200 char *kwnames[] = {
8201 (char *) "self",(char *) "start",(char *) "end", NULL
8202 };
8203
994141e6 8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8206 {
8207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 {
8211 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
d14a1e28
RD
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 (arg1)->SetContentsRange(arg2,arg3);
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 Py_INCREF(Py_None); resultobj = Py_None;
8222 return resultobj;
8223 fail:
8224 return NULL;
8225}
8226
8227
8228static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject *resultobj;
8230 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8231 int result;
8232 PyObject * obj0 = 0 ;
8233 char *kwnames[] = {
8234 (char *) "self", NULL
8235 };
8236
8237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (int)(arg1)->GetContentsStart();
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
994141e6 8246 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8247 return resultobj;
8248 fail:
8249 return NULL;
8250}
8251
8252
8253static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8256 int result;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 result = (int)(arg1)->GetContentsEnd();
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
994141e6 8271 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8272 return resultobj;
8273 fail:
8274 return NULL;
8275}
8276
8277
8278static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8281 wxString *arg2 = 0 ;
e811c8ce 8282 bool temp2 = False ;
d14a1e28
RD
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 char *kwnames[] = {
8286 (char *) "self",(char *) "title", NULL
8287 };
8288
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8291 {
8292 arg2 = wxString_in_helper(obj1);
8293 if (arg2 == NULL) SWIG_fail;
e811c8ce 8294 temp2 = True;
d14a1e28
RD
8295 }
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 (arg1)->SetTitle((wxString const &)*arg2);
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 Py_INCREF(Py_None); resultobj = Py_None;
8304 {
8305 if (temp2)
8306 delete arg2;
8307 }
8308 return resultobj;
8309 fail:
8310 {
8311 if (temp2)
8312 delete arg2;
8313 }
8314 return NULL;
8315}
8316
8317
8318static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8321 wxString *arg2 = 0 ;
e811c8ce 8322 bool temp2 = False ;
d14a1e28
RD
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj1 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self",(char *) "path", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8331 {
8332 arg2 = wxString_in_helper(obj1);
8333 if (arg2 == NULL) SWIG_fail;
e811c8ce 8334 temp2 = True;
d14a1e28
RD
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 (arg1)->SetBasePath((wxString const &)*arg2);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 {
8345 if (temp2)
8346 delete arg2;
8347 }
8348 return resultobj;
8349 fail:
8350 {
8351 if (temp2)
8352 delete arg2;
8353 }
8354 return NULL;
8355}
8356
8357
8358static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8361 wxString *arg2 = 0 ;
e811c8ce 8362 bool temp2 = False ;
d14a1e28
RD
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self",(char *) "start", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 {
8372 arg2 = wxString_in_helper(obj1);
8373 if (arg2 == NULL) SWIG_fail;
e811c8ce 8374 temp2 = True;
d14a1e28
RD
8375 }
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 (arg1)->SetStart((wxString const &)*arg2);
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 Py_INCREF(Py_None); resultobj = Py_None;
8384 {
8385 if (temp2)
8386 delete arg2;
8387 }
8388 return resultobj;
8389 fail:
8390 {
8391 if (temp2)
8392 delete arg2;
8393 }
8394 return NULL;
8395}
8396
8397
8398static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8401 wxString *arg2 = 0 ;
8402 wxString result;
e811c8ce 8403 bool temp2 = False ;
d14a1e28
RD
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self",(char *) "page", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8412 {
8413 arg2 = wxString_in_helper(obj1);
8414 if (arg2 == NULL) SWIG_fail;
e811c8ce 8415 temp2 = True;
d14a1e28
RD
8416 }
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425#if wxUSE_UNICODE
8426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8427#else
8428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8429#endif
8430 }
8431 {
8432 if (temp2)
8433 delete arg2;
8434 }
8435 return resultobj;
8436 fail:
8437 {
8438 if (temp2)
8439 delete arg2;
8440 }
8441 return NULL;
8442}
8443
8444
8445static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8446 PyObject *obj;
8447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8449 Py_INCREF(obj);
8450 return Py_BuildValue((char *)"");
8451}
8452static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8453 PyObject *resultobj;
8454 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8455 int result;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8466
8467 wxPyEndAllowThreads(__tstate);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
994141e6 8470 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
8477static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8480 int result;
8481 PyObject * obj0 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "self", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (int)wxHtmlContentsItem_GetID(arg1);
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
994141e6 8495 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8496 return resultobj;
8497 fail:
8498 return NULL;
8499}
8500
8501
8502static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8505 wxString result;
8506 PyObject * obj0 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 result = wxHtmlContentsItem_GetName(arg1);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 {
8521#if wxUSE_UNICODE
8522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8523#else
8524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8525#endif
8526 }
8527 return resultobj;
8528 fail:
8529 return NULL;
8530}
8531
8532
8533static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8536 wxString result;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "self", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
8543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = wxHtmlContentsItem_GetPage(arg1);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 {
8552#if wxUSE_UNICODE
8553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8554#else
8555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8556#endif
8557 }
8558 return resultobj;
8559 fail:
8560 return NULL;
8561}
8562
8563
8564static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8567 wxHtmlBookRecord *result;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0);
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
8589static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
8590 PyObject *obj;
8591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8592 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
8593 Py_INCREF(obj);
8594 return Py_BuildValue((char *)"");
8595}
8596static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj;
8598 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8599 bool result;
8600 PyObject * obj0 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "self", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
8606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 result = (bool)(arg1)->Search();
8610
8611 wxPyEndAllowThreads(__tstate);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
4d5c3d91 8614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8615 return resultobj;
8616 fail:
8617 return NULL;
8618}
8619
8620
8621static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj;
8623 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8624 bool result;
8625 PyObject * obj0 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
8631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (bool)(arg1)->IsActive();
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
4d5c3d91 8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8640 return resultobj;
8641 fail:
8642 return NULL;
8643}
8644
8645
8646static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8649 int result;
8650 PyObject * obj0 = 0 ;
8651 char *kwnames[] = {
8652 (char *) "self", NULL
8653 };
8654
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
8656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (int)(arg1)->GetCurIndex();
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
994141e6 8664 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8665 return resultobj;
8666 fail:
8667 return NULL;
8668}
8669
8670
8671static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8674 int result;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (int)(arg1)->GetMaxIndex();
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
994141e6 8689 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8690 return resultobj;
8691 fail:
8692 return NULL;
8693}
8694
8695
8696static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8699 wxString *result;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 {
8710 wxString const &_result_ref = (arg1)->GetName();
8711 result = (wxString *) &_result_ref;
8712 }
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
cc6dd355
RD
8717 {
8718#if wxUSE_UNICODE
8719 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8720#else
8721 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8722#endif
8723 }
d14a1e28
RD
8724 return resultobj;
8725 fail:
8726 return NULL;
8727}
8728
8729
8730static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj;
8732 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8733 wxHtmlContentsItem *result;
8734 PyObject * obj0 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
8749 return resultobj;
8750 fail:
8751 return NULL;
8752}
8753
8754
8755static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
8756 PyObject *obj;
8757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8758 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
8759 Py_INCREF(obj);
8760 return Py_BuildValue((char *)"");
8761}
8762static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxHtmlHelpData *result;
8765 char *kwnames[] = {
8766 NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (wxHtmlHelpData *)new wxHtmlHelpData();
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1);
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
8784static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8787 PyObject * obj0 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "self", NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
8793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 delete arg1;
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 return resultobj;
8803 fail:
8804 return NULL;
8805}
8806
8807
8808static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8811 wxString *arg2 = 0 ;
e811c8ce 8812 bool temp2 = False ;
d14a1e28
RD
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self",(char *) "path", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8821 {
8822 arg2 = wxString_in_helper(obj1);
8823 if (arg2 == NULL) SWIG_fail;
e811c8ce 8824 temp2 = True;
d14a1e28
RD
8825 }
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->SetTempDir((wxString const &)*arg2);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 {
8835 if (temp2)
8836 delete arg2;
8837 }
8838 return resultobj;
8839 fail:
8840 {
8841 if (temp2)
8842 delete arg2;
8843 }
8844 return NULL;
8845}
8846
8847
8848static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8851 wxString *arg2 = 0 ;
8852 bool result;
e811c8ce 8853 bool temp2 = False ;
d14a1e28
RD
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 char *kwnames[] = {
8857 (char *) "self",(char *) "book", NULL
8858 };
8859
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
8861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8862 {
8863 arg2 = wxString_in_helper(obj1);
8864 if (arg2 == NULL) SWIG_fail;
e811c8ce 8865 temp2 = True;
d14a1e28
RD
8866 }
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
4d5c3d91 8874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8875 {
8876 if (temp2)
8877 delete arg2;
8878 }
8879 return resultobj;
8880 fail:
8881 {
8882 if (temp2)
8883 delete arg2;
8884 }
8885 return NULL;
8886}
8887
8888
8889static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8892 wxString *arg2 = 0 ;
8893 wxString result;
e811c8ce 8894 bool temp2 = False ;
d14a1e28
RD
8895 PyObject * obj0 = 0 ;
8896 PyObject * obj1 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self",(char *) "page", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8903 {
8904 arg2 = wxString_in_helper(obj1);
8905 if (arg2 == NULL) SWIG_fail;
e811c8ce 8906 temp2 = True;
d14a1e28
RD
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 result = (arg1)->FindPageByName((wxString const &)*arg2);
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 {
8916#if wxUSE_UNICODE
8917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8918#else
8919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8920#endif
8921 }
8922 {
8923 if (temp2)
8924 delete arg2;
8925 }
8926 return resultobj;
8927 fail:
8928 {
8929 if (temp2)
8930 delete arg2;
8931 }
8932 return NULL;
8933}
8934
8935
8936static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
8937 PyObject *resultobj;
8938 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8939 int arg2 ;
8940 wxString result;
8941 PyObject * obj0 = 0 ;
994141e6 8942 PyObject * obj1 = 0 ;
d14a1e28
RD
8943 char *kwnames[] = {
8944 (char *) "self",(char *) "id", NULL
8945 };
8946
994141e6 8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8949 {
8950 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
d14a1e28
RD
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 result = (arg1)->FindPageById(arg2);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 {
8961#if wxUSE_UNICODE
8962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8963#else
8964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8965#endif
8966 }
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8976 wxHtmlBookRecArray *result;
8977 PyObject * obj0 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
8983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 {
8987 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
8988 result = (wxHtmlBookRecArray *) &_result_ref;
8989 }
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0);
8995 return resultobj;
8996 fail:
8997 return NULL;
8998}
8999
9000
9001static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9004 wxHtmlContentsItem *result;
9005 PyObject * obj0 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
9020 return resultobj;
9021 fail:
9022 return NULL;
9023}
9024
9025
9026static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9029 int result;
9030 PyObject * obj0 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = (int)(arg1)->GetContentsCnt();
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
994141e6 9044 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9045 return resultobj;
9046 fail:
9047 return NULL;
9048}
9049
9050
9051static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9054 wxHtmlContentsItem *result;
9055 PyObject * obj0 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
9070 return resultobj;
9071 fail:
9072 return NULL;
9073}
9074
9075
9076static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj;
9078 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9079 int result;
9080 PyObject * obj0 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 result = (int)(arg1)->GetIndexCnt();
9090
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
994141e6 9094 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9095 return resultobj;
9096 fail:
9097 return NULL;
9098}
9099
9100
9101static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9102 PyObject *obj;
9103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9104 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9105 Py_INCREF(obj);
9106 return Py_BuildValue((char *)"");
9107}
9108static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxWindow *arg1 = (wxWindow *) 0 ;
9111 int arg2 ;
9112 wxString const &arg3_defvalue = wxPyEmptyString ;
9113 wxString *arg3 = (wxString *) &arg3_defvalue ;
9114 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9115 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9116 wxHtmlHelpFrame *result;
e811c8ce 9117 bool temp3 = False ;
d14a1e28 9118 PyObject * obj0 = 0 ;
994141e6 9119 PyObject * obj1 = 0 ;
d14a1e28 9120 PyObject * obj2 = 0 ;
994141e6 9121 PyObject * obj3 = 0 ;
d14a1e28
RD
9122 PyObject * obj4 = 0 ;
9123 char *kwnames[] = {
e811c8ce 9124 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
9125 };
9126
994141e6 9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 9128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
9129 {
9130 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
d14a1e28
RD
9133 if (obj2) {
9134 {
9135 arg3 = wxString_in_helper(obj2);
9136 if (arg3 == NULL) SWIG_fail;
e811c8ce 9137 temp3 = True;
d14a1e28
RD
9138 }
9139 }
994141e6
RD
9140 if (obj3) {
9141 {
9142 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 }
d14a1e28
RD
9146 if (obj4) {
9147 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1);
9157 {
9158 if (temp3)
9159 delete arg3;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (temp3)
9165 delete arg3;
9166 }
9167 return NULL;
9168}
9169
9170
9171static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9174 wxHtmlHelpData *result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (wxHtmlHelpData *)(arg1)->GetData();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0);
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
9196static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9199 wxString *arg2 = 0 ;
e811c8ce 9200 bool temp2 = False ;
d14a1e28
RD
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "format", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9209 {
9210 arg2 = wxString_in_helper(obj1);
9211 if (arg2 == NULL) SWIG_fail;
e811c8ce 9212 temp2 = True;
d14a1e28
RD
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 (arg1)->SetTitleFormat((wxString const &)*arg2);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 Py_INCREF(Py_None); resultobj = Py_None;
9222 {
9223 if (temp2)
9224 delete arg2;
9225 }
9226 return resultobj;
9227 fail:
9228 {
9229 if (temp2)
9230 delete arg2;
9231 }
9232 return NULL;
9233}
9234
9235
9236static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9239 wxString *arg2 = 0 ;
e811c8ce 9240 bool temp2 = False ;
d14a1e28
RD
9241 PyObject * obj0 = 0 ;
9242 PyObject * obj1 = 0 ;
9243 char *kwnames[] = {
9244 (char *) "self",(char *) "x", NULL
9245 };
9246
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9249 {
9250 arg2 = wxString_in_helper(obj1);
9251 if (arg2 == NULL) SWIG_fail;
e811c8ce 9252 temp2 = True;
d14a1e28
RD
9253 }
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 (arg1)->Display((wxString const &)*arg2);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 Py_INCREF(Py_None); resultobj = Py_None;
9262 {
9263 if (temp2)
9264 delete arg2;
9265 }
9266 return resultobj;
9267 fail:
9268 {
9269 if (temp2)
9270 delete arg2;
9271 }
9272 return NULL;
9273}
9274
9275
9276static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9279 int arg2 ;
9280 PyObject * obj0 = 0 ;
994141e6 9281 PyObject * obj1 = 0 ;
d14a1e28
RD
9282 char *kwnames[] = {
9283 (char *) "self",(char *) "id", NULL
9284 };
9285
994141e6 9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
9288 {
9289 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
d14a1e28
RD
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->Display(arg2);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 Py_INCREF(Py_None); resultobj = Py_None;
9300 return resultobj;
9301 fail:
9302 return NULL;
9303}
9304
9305
9306static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj;
9308 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9309 PyObject * obj0 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 (arg1)->DisplayContents();
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 Py_INCREF(Py_None); resultobj = Py_None;
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
9330static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9333 PyObject * obj0 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 (arg1)->DisplayIndex();
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 return resultobj;
9349 fail:
9350 return NULL;
9351}
9352
9353
9354static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9357 wxString *arg2 = 0 ;
9358 bool result;
e811c8ce 9359 bool temp2 = False ;
d14a1e28
RD
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
9362 char *kwnames[] = {
9363 (char *) "self",(char *) "keyword", NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9368 {
9369 arg2 = wxString_in_helper(obj1);
9370 if (arg2 == NULL) SWIG_fail;
e811c8ce 9371 temp2 = True;
d14a1e28
RD
9372 }
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
4d5c3d91 9380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9381 {
9382 if (temp2)
9383 delete arg2;
9384 }
9385 return resultobj;
9386 fail:
9387 {
9388 if (temp2)
9389 delete arg2;
9390 }
9391 return NULL;
9392}
9393
9394
9395static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9398 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9399 wxString const &arg3_defvalue = wxPyEmptyString ;
9400 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 9401 bool temp3 = False ;
d14a1e28
RD
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 PyObject * obj2 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9412 if (obj2) {
9413 {
9414 arg3 = wxString_in_helper(obj2);
9415 if (arg3 == NULL) SWIG_fail;
e811c8ce 9416 temp3 = True;
d14a1e28
RD
9417 }
9418 }
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 {
9428 if (temp3)
9429 delete arg3;
9430 }
9431 return resultobj;
9432 fail:
9433 {
9434 if (temp3)
9435 delete arg3;
9436 }
9437 return NULL;
9438}
9439
9440
9441static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject *resultobj;
9443 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9444 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9445 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 PyObject * obj2 = 0 ;
9449 char *kwnames[] = {
9450 (char *) "self",(char *) "cfg",(char *) "path", NULL
9451 };
9452
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 if (obj2) {
e811c8ce
RD
9457 {
9458 wxString* sptr = wxString_in_helper(obj2);
9459 if (sptr == NULL) SWIG_fail;
9460 arg3 = *sptr;
9461 delete sptr;
9462 }
d14a1e28
RD
9463 }
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
9466 (arg1)->ReadCustomization(arg2,arg3);
9467
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
9471 Py_INCREF(Py_None); resultobj = Py_None;
9472 return resultobj;
9473 fail:
9474 return NULL;
9475}
9476
9477
9478static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9481 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9482 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9483 PyObject * obj0 = 0 ;
9484 PyObject * obj1 = 0 ;
9485 PyObject * obj2 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self",(char *) "cfg",(char *) "path", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493 if (obj2) {
e811c8ce
RD
9494 {
9495 wxString* sptr = wxString_in_helper(obj2);
9496 if (sptr == NULL) SWIG_fail;
9497 arg3 = *sptr;
9498 delete sptr;
9499 }
d14a1e28
RD
9500 }
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 (arg1)->WriteCustomization(arg2,arg3);
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 Py_INCREF(Py_None); resultobj = Py_None;
9509 return resultobj;
9510 fail:
9511 return NULL;
9512}
9513
9514
9515static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
9516 PyObject *obj;
9517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9518 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
9519 Py_INCREF(obj);
9520 return Py_BuildValue((char *)"");
9521}
9522static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 int arg1 = (int) wxHF_DEFAULTSTYLE ;
9525 wxHtmlHelpController *result;
994141e6 9526 PyObject * obj0 = 0 ;
d14a1e28
RD
9527 char *kwnames[] = {
9528 (char *) "style", NULL
9529 };
9530
994141e6
RD
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
9532 if (obj0) {
9533 {
9534 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 }
d14a1e28
RD
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
9545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1);
9546 return resultobj;
9547 fail:
9548 return NULL;
9549}
9550
9551
9552static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 delete arg1;
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 Py_INCREF(Py_None); resultobj = Py_None;
9570 return resultobj;
9571 fail:
9572 return NULL;
9573}
9574
9575
9576static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9579 wxString *arg2 = 0 ;
e811c8ce 9580 bool temp2 = False ;
d14a1e28
RD
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "self",(char *) "format", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9589 {
9590 arg2 = wxString_in_helper(obj1);
9591 if (arg2 == NULL) SWIG_fail;
e811c8ce 9592 temp2 = True;
d14a1e28
RD
9593 }
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 (arg1)->SetTitleFormat((wxString const &)*arg2);
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 Py_INCREF(Py_None); resultobj = Py_None;
9602 {
9603 if (temp2)
9604 delete arg2;
9605 }
9606 return resultobj;
9607 fail:
9608 {
9609 if (temp2)
9610 delete arg2;
9611 }
9612 return NULL;
9613}
9614
9615
9616static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9619 wxString *arg2 = 0 ;
e811c8ce 9620 bool temp2 = False ;
d14a1e28
RD
9621 PyObject * obj0 = 0 ;
9622 PyObject * obj1 = 0 ;
9623 char *kwnames[] = {
9624 (char *) "self",(char *) "path", NULL
9625 };
9626
9627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9629 {
9630 arg2 = wxString_in_helper(obj1);
9631 if (arg2 == NULL) SWIG_fail;
e811c8ce 9632 temp2 = True;
d14a1e28
RD
9633 }
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 (arg1)->SetTempDir((wxString const &)*arg2);
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 Py_INCREF(Py_None); resultobj = Py_None;
9642 {
9643 if (temp2)
9644 delete arg2;
9645 }
9646 return resultobj;
9647 fail:
9648 {
9649 if (temp2)
9650 delete arg2;
9651 }
9652 return NULL;
9653}
9654
9655
9656static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj;
9658 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9659 wxString *arg2 = 0 ;
e811c8ce 9660 int arg3 = (int) False ;
d14a1e28 9661 bool result;
e811c8ce 9662 bool temp2 = False ;
d14a1e28
RD
9663 PyObject * obj0 = 0 ;
9664 PyObject * obj1 = 0 ;
994141e6 9665 PyObject * obj2 = 0 ;
d14a1e28
RD
9666 char *kwnames[] = {
9667 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9668 };
9669
994141e6 9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 arg2 = wxString_in_helper(obj1);
9674 if (arg2 == NULL) SWIG_fail;
e811c8ce 9675 temp2 = True;
d14a1e28 9676 }
994141e6
RD
9677 if (obj2) {
9678 {
9679 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 }
d14a1e28
RD
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
4d5c3d91 9690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9691 {
9692 if (temp2)
9693 delete arg2;
9694 }
9695 return resultobj;
9696 fail:
9697 {
9698 if (temp2)
9699 delete arg2;
9700 }
9701 return NULL;
9702}
9703
9704
9705static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9708 wxString *arg2 = 0 ;
e811c8ce 9709 bool temp2 = False ;
d14a1e28
RD
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "x", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
9717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9718 {
9719 arg2 = wxString_in_helper(obj1);
9720 if (arg2 == NULL) SWIG_fail;
e811c8ce 9721 temp2 = True;
d14a1e28
RD
9722 }
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 (arg1)->Display((wxString const &)*arg2);
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 Py_INCREF(Py_None); resultobj = Py_None;
9731 {
9732 if (temp2)
9733 delete arg2;
9734 }
9735 return resultobj;
9736 fail:
9737 {
9738 if (temp2)
9739 delete arg2;
9740 }
9741 return NULL;
9742}
9743
9744
9745static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9748 int arg2 ;
9749 PyObject * obj0 = 0 ;
994141e6 9750 PyObject * obj1 = 0 ;
d14a1e28
RD
9751 char *kwnames[] = {
9752 (char *) "self",(char *) "id", NULL
9753 };
9754
994141e6 9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
9757 {
9758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
d14a1e28
RD
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 (arg1)->Display(arg2);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 Py_INCREF(Py_None); resultobj = Py_None;
9769 return resultobj;
9770 fail:
9771 return NULL;
9772}
9773
9774
9775static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
9784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 (arg1)->DisplayContents();
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 Py_INCREF(Py_None); resultobj = Py_None;
9793 return resultobj;
9794 fail:
9795 return NULL;
9796}
9797
9798
9799static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj;
9801 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9802 PyObject * obj0 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 (arg1)->DisplayIndex();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 Py_INCREF(Py_None); resultobj = Py_None;
9817 return resultobj;
9818 fail:
9819 return NULL;
9820}
9821
9822
9823static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9826 wxString *arg2 = 0 ;
9827 bool result;
e811c8ce 9828 bool temp2 = False ;
d14a1e28
RD
9829 PyObject * obj0 = 0 ;
9830 PyObject * obj1 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self",(char *) "keyword", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9837 {
9838 arg2 = wxString_in_helper(obj1);
9839 if (arg2 == NULL) SWIG_fail;
e811c8ce 9840 temp2 = True;
d14a1e28
RD
9841 }
9842 {
9843 PyThreadState* __tstate = wxPyBeginAllowThreads();
9844 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9845
9846 wxPyEndAllowThreads(__tstate);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
4d5c3d91 9849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9850 {
9851 if (temp2)
9852 delete arg2;
9853 }
9854 return resultobj;
9855 fail:
9856 {
9857 if (temp2)
9858 delete arg2;
9859 }
9860 return NULL;
9861}
9862
9863
9864static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9867 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9868 wxString const &arg3_defvalue = wxPyEmptyString ;
9869 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 9870 bool temp3 = False ;
d14a1e28
RD
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 PyObject * obj2 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 if (obj2) {
9882 {
9883 arg3 = wxString_in_helper(obj2);
9884 if (arg3 == NULL) SWIG_fail;
e811c8ce 9885 temp3 = True;
d14a1e28
RD
9886 }
9887 }
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 {
9897 if (temp3)
9898 delete arg3;
9899 }
9900 return resultobj;
9901 fail:
9902 {
9903 if (temp3)
9904 delete arg3;
9905 }
9906 return NULL;
9907}
9908
9909
9910static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9913 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9914 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 PyObject * obj2 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self",(char *) "cfg",(char *) "path", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925 if (obj2) {
e811c8ce
RD
9926 {
9927 wxString* sptr = wxString_in_helper(obj2);
9928 if (sptr == NULL) SWIG_fail;
9929 arg3 = *sptr;
9930 delete sptr;
9931 }
d14a1e28
RD
9932 }
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 (arg1)->ReadCustomization(arg2,arg3);
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 Py_INCREF(Py_None); resultobj = Py_None;
9941 return resultobj;
9942 fail:
9943 return NULL;
9944}
9945
9946
9947static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9950 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9951 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9952 PyObject * obj0 = 0 ;
9953 PyObject * obj1 = 0 ;
9954 PyObject * obj2 = 0 ;
9955 char *kwnames[] = {
9956 (char *) "self",(char *) "cfg",(char *) "path", NULL
9957 };
9958
9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9962 if (obj2) {
e811c8ce
RD
9963 {
9964 wxString* sptr = wxString_in_helper(obj2);
9965 if (sptr == NULL) SWIG_fail;
9966 arg3 = *sptr;
9967 delete sptr;
9968 }
d14a1e28
RD
9969 }
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 (arg1)->WriteCustomization(arg2,arg3);
9973
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 Py_INCREF(Py_None); resultobj = Py_None;
9978 return resultobj;
9979 fail:
9980 return NULL;
9981}
9982
9983
9984static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj;
9986 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9987 wxHtmlHelpFrame *result;
9988 PyObject * obj0 = 0 ;
9989 char *kwnames[] = {
9990 (char *) "self", NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
9994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0);
10003 return resultobj;
10004 fail:
10005 return NULL;
10006}
10007
10008
10009static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10010 PyObject *obj;
10011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10012 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10013 Py_INCREF(obj);
10014 return Py_BuildValue((char *)"");
10015}
10016static PyMethodDef SwigMethods[] = {
10017 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10018 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10019 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10020 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10021 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10022 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10023 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10024 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10025 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10026 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10027 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10028 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10029 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10030 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10031 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10032 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10033 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10034 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10035 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10036 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10037 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10038 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10039 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10040 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10041 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10042 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10043 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10044 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10045 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10046 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10047 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10048 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10049 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10050 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10051 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10052 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10053 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10054 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10055 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10056 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10057 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10058 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10059 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10060 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10061 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10062 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10063 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10064 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10065 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10066 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10067 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10068 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10069 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10070 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10071 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10072 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10073 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10074 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10075 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10076 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10077 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10078 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10079 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10080 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10081 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10082 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10083 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10084 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10085 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10086 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10087 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10088 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10089 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10090 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10091 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10092 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10093 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10094 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10095 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10096 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10097 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10098 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10099 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10100 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10101 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10102 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10103 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10104 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10105 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10106 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10107 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10108 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10109 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10110 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10111 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10112 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10113 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10114 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10115 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10116 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10117 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10118 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10119 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10120 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10121 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10122 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10123 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10124 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10125 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10126 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10127 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10128 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10129 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10130 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10131 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10132 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10133 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
39f61e25
RD
10134 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10135 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
10136 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10137 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10138 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10139 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10140 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10141 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10142 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10143 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10144 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10145 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10146 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10147 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10148 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10149 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10150 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10151 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10152 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10153 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10154 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10155 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10156 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10157 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10158 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10159 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10160 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10161 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10162 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10163 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10164 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10165 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10166 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10167 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10168 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10169 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10170 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10171 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10172 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10173 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10174 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10175 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10176 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10177 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10178 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10179 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10180 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10181 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10182 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10183 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10184 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10185 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10186 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10187 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10188 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10189 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10190 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10191 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10192 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10193 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10194 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10195 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10196 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10197 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10198 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10199 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10200 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10201 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10202 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10203 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10204 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10205 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10206 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10207 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10208 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10209 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10210 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10211 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10212 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10213 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10214 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10215 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10216 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10217 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10218 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10219 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10220 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10221 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10222 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10223 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10224 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10225 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10226 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10227 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10228 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10229 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10230 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10231 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10232 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10233 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10234 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10235 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10236 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10237 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10238 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10239 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10240 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10241 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10242 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10243 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10244 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10245 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10246 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10247 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10248 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10249 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10250 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10251 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10252 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10253 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10254 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10255 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10256 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10257 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10258 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10259 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10260 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10261 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10262 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10263 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10264 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10265 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10266 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10267 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10268 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10269 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10270 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10271 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10272 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10273 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10274 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10275 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10276 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10277 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10278 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10279 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10280 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10281 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10282 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10283 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10284 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10285 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10286 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10287 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10288 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10289 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10290 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10291 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10292 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10293 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10294 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10295 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10296 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10297 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10298 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10299 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10300 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10301 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10302 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10303 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10304 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10305 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10306 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10307 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10308 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10309 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10310 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10311 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10312 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10313 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10314 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10315 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10316 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10317 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10318 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10319 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10320 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10321 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10322 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10323 { NULL, NULL }
10324};
10325
10326
10327/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10328
10329static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10330 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10331}
10332static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10333 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10334}
10335static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10336 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10337}
10338static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10339 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10340}
10341static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10342 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10343}
10344static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10345 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10346}
10347static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10348 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10349}
10350static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10351 return (void *)((wxPanel *) ((wxPyPanel *) x));
10352}
10353static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10354 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10355}
10356static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10357 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10358}
10359static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10360 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10361}
10362static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10363 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10364}
10365static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10366 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10367}
10368static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10369 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10370}
10371static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10372 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10373}
10374static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10375 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10376}
10377static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10378 return (void *)((wxWindow *) ((wxMenuBar *) x));
10379}
10380static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10382}
10383static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10384 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10385}
10386static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10387 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10388}
10389static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10391}
10392static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10394}
10395static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10397}
10398static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10400}
10401static void *_p_wxPanelTo_p_wxWindow(void *x) {
10402 return (void *)((wxWindow *) ((wxPanel *) x));
10403}
10404static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10405 return (void *)((wxWindow *) ((wxStatusBar *) x));
10406}
10407static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10408 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10409}
10410static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10411 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10412}
10413static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10414 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10415}
10416static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10417 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10418}
10419static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10420 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10421}
10422static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10423 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10424}
10425static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10426 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10427}
10428static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10429 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10430}
10431static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10432 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10433}
10434static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10435 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10436}
10437static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10438 return (void *)((wxWindow *) ((wxSashWindow *) x));
10439}
10440static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10441 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10442}
10443static void *_p_wxControlTo_p_wxWindow(void *x) {
10444 return (void *)((wxWindow *) ((wxControl *) x));
10445}
10446static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10447 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10448}
10449static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10450 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10451}
10452static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10453 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10454}
10455static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10456 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10457}
10458static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10459 return (void *)((wxWindow *) ((wxPyWindow *) x));
10460}
10461static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10462 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10463}
10464static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10465 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10466}
10467static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10468 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10469}
10470static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10471 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10472}
10473static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10474 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10475}
10476static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
10477 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10478}
10479static void *_p_wxFrameTo_p_wxWindow(void *x) {
10480 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10481}
10482static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10483 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10484}
10485static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10486 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10487}
10488static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10489 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10490}
10491static void *_p_wxDialogTo_p_wxWindow(void *x) {
10492 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10493}
10494static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
10495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10496}
10497static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
10498 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10499}
10500static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10501 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10502}
10503static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10504 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10505}
10506static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10507 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10508}
10509static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10510 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10511}
10512static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10513 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10514}
10515static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10516 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10517}
10518static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10519 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10520}
10521static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
10522 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
10523}
10524static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
10525 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
10526}
10527static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10528 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10529}
10530static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10531 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10532}
10533static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10534 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10535}
10536static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10537 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10538}
10539static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10540 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10541}
10542static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10543 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10544}
10545static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10546 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10547}
10548static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10549 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10550}
10551static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10552 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10553}
10554static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10555 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10556}
10557static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
10558 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
10559}
10560static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10561 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10562}
10563static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10564 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10565}
10566static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10567 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10568}
10569static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10570 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10571}
10572static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10574}
10575static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10577}
10578static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10579 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10580}
10581static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10582 return (void *)((wxObject *) ((wxSizerItem *) x));
10583}
10584static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10585 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10586}
10587static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
10588 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
10589}
10590static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
10591 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
10592}
10593static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10594 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10595}
10596static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10597 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10598}
10599static void *_p_wxSizerTo_p_wxObject(void *x) {
10600 return (void *)((wxObject *) ((wxSizer *) x));
10601}
10602static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10603 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10604}
10605static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
10606 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
10607}
10608static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
10609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
10610}
10611static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10613}
10614static void *_p_wxEventTo_p_wxObject(void *x) {
10615 return (void *)((wxObject *) ((wxEvent *) x));
10616}
10617static void *_p_wxFontDataTo_p_wxObject(void *x) {
10618 return (void *)((wxObject *) ((wxFontData *) x));
10619}
10620static void *_p_wxPrintDataTo_p_wxObject(void *x) {
10621 return (void *)((wxObject *) ((wxPrintData *) x));
10622}
10623static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
10624 return (void *)((wxObject *) ((wxHtmlTag *) x));
10625}
10626static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
10627 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
10628}
10629static void *_p_wxGridSizerTo_p_wxObject(void *x) {
10630 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
10631}
10632static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
10633 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
10634}
10635static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
10636 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
10637}
10638static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
10639 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
10640}
10641static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
10642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
10643}
10644static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
10645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10646}
10647static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
10648 return (void *)((wxObject *) ((wxHtmlCell *) x));
10649}
10650static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10651 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10652}
10653static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10654 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10655}
10656static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10657 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10658}
10659static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10660 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10661}
10662static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10663 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10664}
10665static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10666 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10667}
10668static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
10669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10670}
10671static void *_p_wxControlTo_p_wxObject(void *x) {
10672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
10673}
10674static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10675 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10676}
10677static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10679}
10680static void *_p_wxFSFileTo_p_wxObject(void *x) {
10681 return (void *)((wxObject *) ((wxFSFile *) x));
10682}
10683static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
10684 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
10685}
10686static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
10687 return (void *)((wxObject *) ((wxFindReplaceData *) x));
10688}
10689static void *_p_wxPySizerTo_p_wxObject(void *x) {
10690 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
10691}
10692static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
10693 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
10694}
10695static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
10696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10697}
10698static void *_p_wxColourDataTo_p_wxObject(void *x) {
10699 return (void *)((wxObject *) ((wxColourData *) x));
10700}
10701static void *_p_wxPyEventTo_p_wxObject(void *x) {
10702 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10703}
10704static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10706}
10707static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10709}
10710static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10712}
10713static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10715}
10716static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10718}
10719static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10721}
10722static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10724}
10725static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10727}
10728static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10730}
10731static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10733}
10734static void *_p_wxShowEventTo_p_wxObject(void *x) {
10735 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10736}
10737static void *_p_wxPrinterTo_p_wxObject(void *x) {
10738 return (void *)((wxObject *) ((wxPrinter *) x));
10739}
10740static void *_p_wxMenuItemTo_p_wxObject(void *x) {
10741 return (void *)((wxObject *) ((wxMenuItem *) x));
10742}
10743static void *_p_wxIdleEventTo_p_wxObject(void *x) {
10744 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
10745}
10746static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
10747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
10748}
10749static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
10750 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
10751}
10752static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
10753 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
10754}
10755static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
10756 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
10757}
10758static void *_p_wxSizeEventTo_p_wxObject(void *x) {
10759 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
10760}
10761static void *_p_wxMoveEventTo_p_wxObject(void *x) {
10762 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
10763}
10764static void *_p_wxActivateEventTo_p_wxObject(void *x) {
10765 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
10766}
10767static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
10768 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
10769}
10770static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10771 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10772}
10773static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10774 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10775}
10776static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10777 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10778}
10779static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10780 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10781}
10782static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10783 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10784}
10785static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10786 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10787}
10788static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10789 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10790}
10791static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10792 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10793}
10794static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10795 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10796}
10797static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10798 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10799}
10800static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10801 return (void *)((wxObject *) ((wxImageHandler *) x));
10802}
10803static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10804 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10805}
10806static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10807 return (void *)((wxObject *) ((wxEvtHandler *) x));
10808}
10809static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
10810 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
10811}
10812static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
10813 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
10814}
10815static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
10816 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
10817}
10818static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
10819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10820}
10821static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
10822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10823}
10824static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
10825 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
10826}
10827static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
10828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10829}
10830static void *_p_wxImageTo_p_wxObject(void *x) {
10831 return (void *)((wxObject *) ((wxImage *) x));
10832}
10833static void *_p_wxFrameTo_p_wxObject(void *x) {
10834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10835}
10836static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
10837 return (void *)((wxObject *) ((wxPyPrintout *) x));
10838}
10839static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
10840 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
10841}
10842static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10843 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10844}
10845static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10846 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10847}
10848static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10850}
10851static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
10852 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
10853}
10854static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
10855 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
10856}
10857static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10859}
10860static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
10861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10862}
10863static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
10864 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
10865}
10866static void *_p_wxKeyEventTo_p_wxObject(void *x) {
10867 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
10868}
d14a1e28
RD
10869static void *_p_wxWindowTo_p_wxObject(void *x) {
10870 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10871}
10872static void *_p_wxMenuTo_p_wxObject(void *x) {
10873 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10874}
10875static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10877}
0df68c9f
RD
10878static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10880}
d14a1e28
RD
10881static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10883}
10884static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10886}
10887static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10889}
10890static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10892}
10893static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10895}
10896static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10898}
10899static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10901}
10902static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10904}
10905static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10907}
10908static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10910}
10911static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
10912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10913}
10914static void *_p_wxSashEventTo_p_wxObject(void *x) {
10915 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
10916}
10917static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
10918 return (void *)((wxObject *) ((wxPrintPreview *) x));
10919}
10920static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
10921 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
10922}
10923static void *_p_wxPanelTo_p_wxObject(void *x) {
10924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10925}
10926static void *_p_wxDialogTo_p_wxObject(void *x) {
10927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10928}
10929static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10931}
10932static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10934}
10935static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10937}
10938static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10940}
10941static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10943}
10944static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
10945 return (void *)((wxObject *) ((wxHtmlParser *) x));
10946}
10947static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
10948 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
10949}
10950static void *_p_wxFileSystemTo_p_wxObject(void *x) {
10951 return (void *)((wxObject *) ((wxFileSystem *) x));
10952}
10953static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10954 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10955}
10956static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10957 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10958}
10959static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
10960 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
10961}
10962static void *_p_wxPyAppTo_p_wxObject(void *x) {
10963 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
10964}
10965static void *_p_wxCloseEventTo_p_wxObject(void *x) {
10966 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
10967}
10968static void *_p_wxMouseEventTo_p_wxObject(void *x) {
10969 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
10970}
10971static void *_p_wxEraseEventTo_p_wxObject(void *x) {
10972 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
10973}
10974static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10976}
10977static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10978 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10979}
10980static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
10981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10982}
10983static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
10984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10985}
10986static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
10987 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
10988}
10989static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10990 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10991}
10992static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10993 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10994}
10995static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10997}
10998static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
10999 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11000}
11001static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11003}
11004static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11005 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11006}
11007static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11008 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11009}
11010static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11011 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11012}
11013static void *_p_wxValidatorTo_p_wxObject(void *x) {
11014 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11015}
11016static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11017 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11018}
11019static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11021}
11022static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11024}
11025static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11026 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11027}
11028static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11029 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11030}
11031static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11032 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11033}
11034static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11035 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11036}
11037static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11038 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11039}
11040static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11042}
11043static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11044 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11045}
11046static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11048}
11049static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11050 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11051}
11052static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11053 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11054}
11055static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11057}
11058static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11060}
11061static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11062 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11063}
11064static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11065 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11066}
11067static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11068 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11069}
11070static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11071 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11072}
11073static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11074 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11075}
11076static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11077 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11078}
11079static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11080 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11081}
11082static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11083 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11084}
11085static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11086 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11087}
11088static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11089 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11090}
11091static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11092 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11093}
11094static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11095 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11096}
11097static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11099}
11100static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11101 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11102}
11103static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11104 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11105}
11106static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11107 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11108}
11109static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11111}
11112static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11113 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11114}
11115static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11116 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11117}
11118static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11119 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11120}
11121static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11123}
11124static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11125 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11126}
11127static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11128 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11129}
11130static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11131 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11132}
11133static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11134 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11135}
11136static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11137 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11138}
11139static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11140 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11141}
11142static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11143 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11144}
11145static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11146 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11147}
11148static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11150}
11151static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11153}
11154static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11156}
11157static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11158 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11159}
11160static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11161 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11162}
11163static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11165}
11166static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11168}
11169static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11170 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11171}
11172static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11173 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11174}
11175static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11176 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11177}
11178static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11179 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11180}
11181static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11182 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11183}
11184static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11185 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11186}
11187static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11188 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11189}
11190static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11191 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11192}
11193static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11194 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11195}
11196static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11197 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11198}
11199static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11200 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11201}
11202static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11203 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11204}
11205static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11206 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11207}
11208static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11209 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11210}
11211static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11212 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11213}
11214static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11215 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11216}
11217static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
11218static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11219static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
11220static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11221static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
11222static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}};
11223static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
11224static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
11225static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
994141e6 11226static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
d14a1e28
RD
11227static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
11228static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}};
11229static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
d14a1e28
RD
11230static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11231static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
11232static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
11233static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
11234static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
11235static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
994141e6 11236static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
d14a1e28
RD
11237static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
11238static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
11239static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
11240static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
11241static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
11242static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11243static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
11244static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
11245static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}};
11246static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
11247static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11248static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
11249static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
11250static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
11251static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
11252static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}};
11253static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
11254static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
11255static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
11256static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
11257static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
11258static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
11259static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
11260static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
11261static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
11262static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
11263static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0},{"_p_wxHtmlCell"},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell},{0}};
11264static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
11265static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
11266static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
11267static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11268static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
11269
11270static swig_type_info *swig_types_initial[] = {
11271_swigt__p_wxHtmlDCRenderer,
11272_swigt__p_wxColour,
11273_swigt__p_wxPageSetupDialogData,
11274_swigt__p_wxDC,
11275_swigt__p_wxDefaultHtmlRenderingStyle,
11276_swigt__p_wxHtmlRenderingStyle,
11277_swigt__p_wxMouseEvent,
11278_swigt__p_wxHtmlWordCell,
11279_swigt__p_wxHtmlHelpData,
994141e6 11280_swigt__p_char,
d14a1e28
RD
11281_swigt__p_wxHtmlWinParser,
11282_swigt__p_wxHtmlParser,
11283_swigt__p_wxPanel,
d14a1e28
RD
11284_swigt__p_wxFont,
11285_swigt__p_wxHtmlColourCell,
11286_swigt__p_wxPyHtmlWindow,
11287_swigt__p_wxScrolledWindow,
11288_swigt__p_wxWindow,
11289_swigt__p_wxTopLevelWindow,
994141e6 11290_swigt__p_wxHtmlFontCell,
d14a1e28
RD
11291_swigt__p_wxHtmlEasyPrinting,
11292_swigt__p_wxHtmlSelection,
11293_swigt__p_wxHtmlRenderingInfo,
11294_swigt__p_wxHtmlWidgetCell,
11295_swigt__p_wxObject,
11296_swigt__p_wxString,
11297_swigt__p_wxPyHtmlWinTagHandler,
11298_swigt__p_wxHtmlTagHandler,
11299_swigt__p_wxPyHtmlTagHandler,
11300_swigt__p_wxEvtHandler,
11301_swigt__p_wxPoint,
11302_swigt__p_wxHtmlHelpController,
11303_swigt__p_wxCursor,
11304_swigt__p_wxFileSystem,
11305_swigt__p_wxHtmlBookRecArray,
11306_swigt__p_wxPyPrintout,
11307_swigt__p_wxHtmlPrintout,
11308_swigt__p_wxHtmlSearchStatus,
11309_swigt__p_wxHtmlContentsItem,
11310_swigt__p_wxConfigBase,
11311_swigt__p_wxPrintData,
11312_swigt__p_wxHtmlHelpFrame,
11313_swigt__p_wxHtmlRenderingState,
11314_swigt__p_wxFrame,
11315_swigt__p_wxPyHtmlFilter,
11316_swigt__p_wxHtmlFilter,
11317_swigt__p_wxHtmlCell,
11318_swigt__p_wxHtmlContainerCell,
11319_swigt__p_wxHtmlTag,
11320_swigt__p_wxHtmlLinkInfo,
11321_swigt__p_int,
11322_swigt__p_wxHtmlBookRecord,
113230
11324};
11325
11326
11327/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11328
11329static swig_const_info swig_const_table[] = {
d14a1e28
RD
11330{0}};
11331
11332#ifdef __cplusplus
11333}
11334#endif
11335
11336#ifdef __cplusplus
11337extern "C"
11338#endif
11339SWIGEXPORT(void) SWIG_init(void) {
11340 static PyObject *SWIG_globals = 0;
11341 static int typeinit = 0;
11342 PyObject *m, *d;
11343 int i;
11344 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11345 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11346 d = PyModule_GetDict(m);
11347
11348 if (!typeinit) {
11349 for (i = 0; swig_types_initial[i]; i++) {
11350 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11351 }
11352 typeinit = 1;
11353 }
11354 SWIG_InstallConstants(d,swig_const_table);
11355
b2dc1044
RD
11356 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11357 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11358 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11359 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
994141e6
RD
11360 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_LEFT));
11361 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_CENTER));
11362 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_RIGHT));
11363 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_BOTTOM));
11364 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxHTML_ALIGN_TOP));
11365 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_FOREGROUND));
11366 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_PyObj_FromInt((int)wxHTML_CLR_BACKGROUND));
11367 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PIXELS));
11368 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_PyObj_FromInt((int)wxHTML_UNITS_PERCENT));
11369 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_LEFT));
11370 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_PyObj_FromInt((int)wxHTML_INDENT_RIGHT));
11371 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_PyObj_FromInt((int)wxHTML_INDENT_TOP));
11372 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_PyObj_FromInt((int)wxHTML_INDENT_BOTTOM));
11373 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11374 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_VERTICAL));
11375 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_PyObj_FromInt((int)wxHTML_INDENT_ALL));
11376 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_PyObj_FromInt((int)wxHTML_COND_ISANCHOR));
11377 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_PyObj_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11378 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_PyObj_FromInt((int)wxHTML_COND_USER));
11379 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_1));
11380 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_2));
11381 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_3));
11382 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_4));
11383 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_5));
11384 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_6));
11385 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_PyObj_FromInt((int)wxHTML_FONT_SIZE_7));
11386 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_NEVER));
11387 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_PyObj_FromInt((int)wxHW_SCROLLBAR_AUTO));
11388 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_PyObj_FromInt((int)wxHW_NO_SELECTION));
11389 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxHW_DEFAULT_STYLE));
11390 PyDict_SetItemString(d,"HTML_OPEN", SWIG_PyObj_FromInt((int)wxHTML_OPEN));
11391 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_PyObj_FromInt((int)wxHTML_BLOCK));
11392 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_PyObj_FromInt((int)wxHTML_REDIRECT));
11393 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_PAGE));
11394 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_PyObj_FromInt((int)wxHTML_URL_IMAGE));
11395 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_PyObj_FromInt((int)wxHTML_URL_OTHER));
11396 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_PyObj_FromInt((int)wxHTML_SEL_OUT));
11397 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_PyObj_FromInt((int)wxHTML_SEL_IN));
11398 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_PyObj_FromInt((int)wxHTML_SEL_CHANGING));
11399 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_PyObj_FromInt((int)wxHTML_FIND_EXACT));
11400 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11401 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_PyObj_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11402 PyDict_SetItemString(d,"PAGE_ODD", SWIG_PyObj_FromInt((int)wxPAGE_ODD));
11403 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_PyObj_FromInt((int)wxPAGE_EVEN));
11404 PyDict_SetItemString(d,"PAGE_ALL", SWIG_PyObj_FromInt((int)wxPAGE_ALL));
11405 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_PyObj_FromInt((int)wxHF_TOOLBAR));
11406 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_PyObj_FromInt((int)wxHF_FLATTOOLBAR));
11407 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_PyObj_FromInt((int)wxHF_CONTENTS));
11408 PyDict_SetItemString(d,"HF_INDEX", SWIG_PyObj_FromInt((int)wxHF_INDEX));
11409 PyDict_SetItemString(d,"HF_SEARCH", SWIG_PyObj_FromInt((int)wxHF_SEARCH));
11410 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_PyObj_FromInt((int)wxHF_BOOKMARKS));
11411 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_PyObj_FromInt((int)wxHF_OPENFILES));
11412 PyDict_SetItemString(d,"HF_PRINT", SWIG_PyObj_FromInt((int)wxHF_PRINT));
11413 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_PyObj_FromInt((int)wxHF_DEFAULTSTYLE));
d14a1e28
RD
11414
11415 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11416 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11417 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11418 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11419
11420}
11421