]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/html_wrap.cpp
Applied patch [ 845171 ] Use transparancy mask in wxBitmapShape
[wxWidgets.git] / wxPython / src / msw / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
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
f0983263
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
d14a1e28
RD
50
51/***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61#include <string.h>
62
f0983263
RD
63#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64# if defined(_MSC_VER) || defined(__GNUC__)
65# if defined(STATIC_LINKED)
66# define SWIGEXPORT(a) a
67# define SWIGIMPORT(a) extern a
68# else
69# define SWIGEXPORT(a) __declspec(dllexport) a
70# define SWIGIMPORT(a) extern a
71# endif
72# else
73# if defined(__BORLANDC__)
74# define SWIGEXPORT(a) a _export
75# define SWIGIMPORT(a) a _export
76# else
77# define SWIGEXPORT(a) a
78# define SWIGIMPORT(a) a
79# endif
80# endif
d14a1e28 81#else
f0983263
RD
82# define SWIGEXPORT(a) a
83# define SWIGIMPORT(a) a
d14a1e28
RD
84#endif
85
86#ifdef SWIG_GLOBAL
f0983263 87# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 88#else
f0983263 89# define SWIGRUNTIME(a) static a
d14a1e28
RD
90#endif
91
d14a1e28
RD
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
f0983263 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
f0983263 103 void *clientdata;
d14a1e28
RD
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
117SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
119
120
121#ifdef __cplusplus
122}
423f194a 123
d14a1e28
RD
124#endif
125
f0983263 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)
174
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
187
f0983263
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198
199/* Contract support */
200
423f194a 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
208
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
212#define SWIGTYPE_p_wxColour swig_types[1]
213#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
214#define SWIGTYPE_p_wxDC swig_types[3]
215#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
216#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
217#define SWIGTYPE_p_wxMouseEvent swig_types[6]
218#define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
219#define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
220#define SWIGTYPE_p_wxHtmlWinParser swig_types[9]
221#define SWIGTYPE_p_wxHtmlParser swig_types[10]
222#define SWIGTYPE_p_wxPanel swig_types[11]
223#define SWIGTYPE_p_wxHtmlFontCell swig_types[12]
224#define SWIGTYPE_p_wxFont swig_types[13]
225#define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
226#define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
227#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
228#define SWIGTYPE_p_wxWindow swig_types[17]
229#define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
230#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[19]
231#define SWIGTYPE_p_wxHtmlSelection swig_types[20]
232#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[21]
233#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[22]
234#define SWIGTYPE_p_wxObject swig_types[23]
235#define SWIGTYPE_p_wxString swig_types[24]
236#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[25]
237#define SWIGTYPE_p_wxHtmlTagHandler swig_types[26]
238#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[27]
239#define SWIGTYPE_p_wxEvtHandler swig_types[28]
240#define SWIGTYPE_p_wxPoint swig_types[29]
241#define SWIGTYPE_p_wxHtmlHelpController swig_types[30]
242#define SWIGTYPE_p_wxCursor swig_types[31]
243#define SWIGTYPE_p_wxFileSystem swig_types[32]
244#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[33]
245#define SWIGTYPE_p_wxPyPrintout swig_types[34]
246#define SWIGTYPE_p_wxHtmlPrintout swig_types[35]
247#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[36]
248#define SWIGTYPE_p_wxHtmlContentsItem swig_types[37]
249#define SWIGTYPE_p_wxConfigBase swig_types[38]
250#define SWIGTYPE_p_wxPrintData swig_types[39]
251#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[40]
252#define SWIGTYPE_p_wxHtmlRenderingState swig_types[41]
253#define SWIGTYPE_p_wxFrame swig_types[42]
254#define SWIGTYPE_p_wxPyHtmlFilter swig_types[43]
255#define SWIGTYPE_p_wxHtmlFilter swig_types[44]
256#define SWIGTYPE_p_wxHtmlCell swig_types[45]
257#define SWIGTYPE_p_wxHtmlContainerCell swig_types[46]
258#define SWIGTYPE_p_wxHtmlTag swig_types[47]
259#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[48]
260#define SWIGTYPE_p_int swig_types[49]
261#define SWIGTYPE_p_wxHtmlBookRecord swig_types[50]
262static swig_type_info *swig_types[52];
263
264/* -------- TYPES TABLE (END) -------- */
265
266
267/*-----------------------------------------------
268 @(target):= _html.so
269 ------------------------------------------------*/
270#define SWIG_init init_html
271
272#define SWIG_name "_html"
273
274#include "wx/wxPython/wxPython.h"
275#include "wx/wxPython/pyclasses.h"
276#include "wx/wxPython/pyistream.h"
277#include "wx/wxPython/printfw.h"
278
279#include <wx/html/htmlwin.h>
280#include <wx/html/htmprint.h>
281#include <wx/html/helpctrl.h>
282
283
284 DECLARE_DEF_STRING(EmptyString);
285 static const wxChar* wxHtmlWindowNameStr = wxT("htmlWindow");
286 DECLARE_DEF_STRING(HtmlWindowNameStr);
287 static const wxChar* wxHtmlPrintoutTitleStr = wxT("Printout");
288 DECLARE_DEF_STRING(HtmlPrintoutTitleStr);
289 static const wxChar* wxHtmlPrintingTitleStr = wxT("Printing");
290 DECLARE_DEF_STRING(HtmlPrintingTitleStr);
291
292
293void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
294 int* temp = NULL;
295 if (sizes) temp = int_LIST_helper(sizes);
296 self->SetFonts(normal_face, fixed_face, temp);
297 if (temp)
298 delete [] temp;
299 }
300
301class wxPyHtmlTagHandler : public wxHtmlTagHandler {
302 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
303public:
304 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
305
306 wxHtmlParser* GetParser() { return m_Parser; }
307 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
308
309 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
310 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
311
312 PYPRIVATE;
313};
314
315IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
316
317IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
318IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
319
320
321class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
322 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
323public:
324 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
325
326 wxHtmlWinParser* GetParser() { return m_WParser; }
327 void ParseInner(const wxHtmlTag& tag)
328 { wxHtmlWinTagHandler::ParseInner(tag); }
329
330 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
331 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
332
333 PYPRIVATE;
334};
335
336IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
337
338IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
339IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
340
341
342
343class wxPyHtmlTagsModule : public wxHtmlTagsModule {
344public:
345 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
346 m_tagHandlerClass = thc;
347 Py_INCREF(m_tagHandlerClass);
348 RegisterModule(this);
349 wxHtmlWinParser::AddModule(this);
350 }
351
352 void OnExit() {
353 wxPyBeginBlockThreads();
354 Py_DECREF(m_tagHandlerClass);
355 m_tagHandlerClass = NULL;
356 for (size_t x=0; x < m_objArray.GetCount(); x++) {
357 PyObject* obj = (PyObject*)m_objArray.Item(x);
358 Py_DECREF(obj);
359 }
360 wxPyEndBlockThreads();
361 };
362
363 void FillHandlersTable(wxHtmlWinParser *parser) {
364 // Wave our magic wand... (if it works it's a miracle! ;-)
365
366 // First, make a new instance of the tag handler
367 wxPyBeginBlockThreads();
fb757066
RD
368 PyObject* arg = PyTuple_New(0);
369 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 370 Py_DECREF(arg);
fb757066 371
d14a1e28
RD
372 // now figure out where it's C++ object is...
373 wxPyHtmlWinTagHandler* thPtr;
fb757066
RD
374 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
375 wxPyEndBlockThreads();
d14a1e28 376 return;
fb757066
RD
377 }
378 wxPyEndBlockThreads();
d14a1e28
RD
379
380 // add it,
381 parser->AddTagHandler(thPtr);
382
383 // and track it.
384 m_objArray.Add(obj);
385 }
386
387private:
388 PyObject* m_tagHandlerClass;
389 wxArrayPtrVoid m_objArray;
390
391};
392
393
394 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
395 // Dynamically create a new wxModule. Refcounts tagHandlerClass
396 // and adds itself to the wxModules list and to the wxHtmlWinParser.
397 new wxPyHtmlTagsModule(tagHandlerClass);
398 }
399
400
401static PyObject* t_output_helper(PyObject* target, PyObject* o) {
402 PyObject* o2;
403 PyObject* o3;
404
405 if (!target) {
406 target = o;
407 } else if (target == Py_None) {
408 Py_DECREF(Py_None);
409 target = o;
410 } else {
411 if (!PyTuple_Check(target)) {
412 o2 = target;
413 target = PyTuple_New(1);
414 PyTuple_SetItem(target, 0, o2);
415 }
416 o3 = PyTuple_New(1);
417 PyTuple_SetItem(o3, 0, o);
418
419 o2 = target;
420 target = PySequence_Concat(o2, o3);
421 Py_DECREF(o2);
422 Py_DECREF(o3);
423 }
424 return target;
425}
426
427 // here's the C++ version
428class wxPyHtmlFilter : public wxHtmlFilter {
429 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
430public:
431 wxPyHtmlFilter() : wxHtmlFilter() {}
432
423f194a 433 // returns True if this filter is able to open&read given file
d14a1e28 434 virtual bool CanRead(const wxFSFile& file) const {
423f194a 435 bool rval = False;
d14a1e28
RD
436 bool found;
437 wxPyBeginBlockThreads();
438 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
439 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
440 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
441 Py_DECREF(obj);
442 }
443 wxPyEndBlockThreads();
444 return rval;
445 }
446
447
448 // Reads given file and returns HTML document.
449 // Returns empty string if opening failed
450 virtual wxString ReadFile(const wxFSFile& file) const {
451 wxString rval;
452 bool found;
453 wxPyBeginBlockThreads();
454 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
455 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
456 PyObject* ro;
457 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
458 Py_DECREF(obj);
459 if (ro) {
460 rval = Py2wxString(ro);
461 Py_DECREF(ro);
462 }
463 }
464 wxPyEndBlockThreads();
465 return rval;
466 }
467
468 PYPRIVATE;
469};
470
471IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
472
473
474class wxPyHtmlWindow : public wxHtmlWindow {
475 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
476public:
477 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
478 const wxPoint& pos = wxDefaultPosition,
479 const wxSize& size = wxDefaultSize,
480 long style = wxHW_DEFAULT_STYLE,
481 const wxString& name = wxPyHtmlWindowNameStr)
482 : wxHtmlWindow(parent, id, pos, size, style, name) {};
483 wxPyHtmlWindow() : wxHtmlWindow() {};
484
485 bool ScrollToAnchor(const wxString& anchor) {
486 return wxHtmlWindow::ScrollToAnchor(anchor);
487 }
488
489 bool HasAnchor(const wxString& anchor) {
490 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
491 return c!=NULL;
492 }
493
494 void OnLinkClicked(const wxHtmlLinkInfo& link);
495 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
496
497 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
498 const wxString& url,
499 wxString *redirect) const;
500
501 DEC_PYCALLBACK__STRING(OnSetTitle);
502 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
503 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
504 PYPRIVATE;
505};
506
507IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
508IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
509IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
510IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
511
512
513void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
514 bool found;
515 wxPyBeginBlockThreads();
516 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
517 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
518 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
519 Py_DECREF(obj);
520 }
521 wxPyEndBlockThreads();
522 if (! found)
523 wxHtmlWindow::OnLinkClicked(link);
524}
525void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
526 wxHtmlWindow::OnLinkClicked(link);
527}
528
529
530wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
531 const wxString& url,
532 wxString *redirect) const {
533 bool found;
534 wxHtmlOpeningStatus rval;
535 wxPyBeginBlockThreads();
536 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
537 PyObject* ro;
538 PyObject* s = wx2PyString(url);
539 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
540 Py_DECREF(s);
541 if (PyString_Check(ro)
542#if PYTHON_API_VERSION >= 1009
543 || PyUnicode_Check(ro)
544#endif
545 ) {
546 *redirect = Py2wxString(ro);
547 rval = wxHTML_REDIRECT;
548 }
549 else {
550 PyObject* num = PyNumber_Int(ro);
551 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
552 Py_DECREF(num);
553 }
554 Py_DECREF(ro);
555 }
556 wxPyEndBlockThreads();
557 if (! found)
558 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
559 return rval;
560}
561
562
563
564void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
565 int* temp = NULL;
566 if (sizes) temp = int_LIST_helper(sizes);
567 self->SetFonts(normal_face, fixed_face, temp);
568 if (temp)
569 delete [] temp;
570 }
571void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
572 int* temp = NULL;
573 if (sizes) temp = int_LIST_helper(sizes);
574 self->SetFonts(normal_face, fixed_face, temp);
575 if (temp)
576 delete [] temp;
577 }
578void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
579 int* temp = NULL;
580 if (sizes) temp = int_LIST_helper(sizes);
581 self->SetFonts(normal_face, fixed_face, temp);
582 if (temp)
583 delete [] temp;
584 }
585void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
586 int* temp = NULL;
587 if (sizes) temp = int_LIST_helper(sizes);
588 self->SetFonts(normal_face, fixed_face, temp);
589 if (temp)
590 delete [] temp;
591 }
592int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
593int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
594wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
595wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
596wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
597#ifdef __cplusplus
598extern "C" {
599#endif
600static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
601 PyObject *resultobj;
602 wxString *arg1 = 0 ;
603 wxString const &arg2_defvalue = wxPyEmptyString ;
604 wxString *arg2 = (wxString *) &arg2_defvalue ;
605 wxHtmlLinkInfo *result;
423f194a
RD
606 bool temp1 = False ;
607 bool temp2 = False ;
d14a1e28
RD
608 PyObject * obj0 = 0 ;
609 PyObject * obj1 = 0 ;
610 char *kwnames[] = {
611 (char *) "href",(char *) "target", NULL
612 };
613
614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
615 {
616 arg1 = wxString_in_helper(obj0);
617 if (arg1 == NULL) SWIG_fail;
423f194a 618 temp1 = True;
d14a1e28
RD
619 }
620 if (obj1) {
621 {
622 arg2 = wxString_in_helper(obj1);
623 if (arg2 == NULL) SWIG_fail;
423f194a 624 temp2 = True;
d14a1e28
RD
625 }
626 }
627 {
628 PyThreadState* __tstate = wxPyBeginAllowThreads();
629 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
630
631 wxPyEndAllowThreads(__tstate);
632 if (PyErr_Occurred()) SWIG_fail;
633 }
634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1);
635 {
636 if (temp1)
637 delete arg1;
638 }
639 {
640 if (temp2)
641 delete arg2;
642 }
643 return resultobj;
644 fail:
645 {
646 if (temp1)
647 delete arg1;
648 }
649 {
650 if (temp2)
651 delete arg2;
652 }
653 return NULL;
654}
655
656
657static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
658 PyObject *resultobj;
659 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
660 wxString result;
661 PyObject * obj0 = 0 ;
662 char *kwnames[] = {
663 (char *) "self", NULL
664 };
665
666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
668 {
669 PyThreadState* __tstate = wxPyBeginAllowThreads();
670 result = (arg1)->GetHref();
671
672 wxPyEndAllowThreads(__tstate);
673 if (PyErr_Occurred()) SWIG_fail;
674 }
675 {
676#if wxUSE_UNICODE
677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
678#else
679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
680#endif
681 }
682 return resultobj;
683 fail:
684 return NULL;
685}
686
687
688static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
689 PyObject *resultobj;
690 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
691 wxString result;
692 PyObject * obj0 = 0 ;
693 char *kwnames[] = {
694 (char *) "self", NULL
695 };
696
697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
699 {
700 PyThreadState* __tstate = wxPyBeginAllowThreads();
701 result = (arg1)->GetTarget();
702
703 wxPyEndAllowThreads(__tstate);
704 if (PyErr_Occurred()) SWIG_fail;
705 }
706 {
707#if wxUSE_UNICODE
708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
709#else
710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
711#endif
712 }
713 return resultobj;
714 fail:
715 return NULL;
716}
717
718
719static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
720 PyObject *resultobj;
721 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
722 wxMouseEvent *result;
723 PyObject * obj0 = 0 ;
724 char *kwnames[] = {
725 (char *) "self", NULL
726 };
727
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
730 {
731 PyThreadState* __tstate = wxPyBeginAllowThreads();
732 result = (wxMouseEvent *)(arg1)->GetEvent();
733
734 wxPyEndAllowThreads(__tstate);
735 if (PyErr_Occurred()) SWIG_fail;
736 }
737 {
738 resultobj = wxPyMake_wxObject(result);
739 }
740 return resultobj;
741 fail:
742 return NULL;
743}
744
745
746static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
747 PyObject *resultobj;
748 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
749 wxHtmlCell *result;
750 PyObject * obj0 = 0 ;
751 char *kwnames[] = {
752 (char *) "self", NULL
753 };
754
755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
757 {
758 PyThreadState* __tstate = wxPyBeginAllowThreads();
759 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
760
761 wxPyEndAllowThreads(__tstate);
762 if (PyErr_Occurred()) SWIG_fail;
763 }
764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
765 return resultobj;
766 fail:
767 return NULL;
768}
769
770
771static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
772 PyObject *resultobj;
773 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
774 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
775 PyObject * obj0 = 0 ;
776 PyObject * obj1 = 0 ;
777 char *kwnames[] = {
778 (char *) "self",(char *) "e", NULL
779 };
780
781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
784 {
785 PyThreadState* __tstate = wxPyBeginAllowThreads();
786 (arg1)->SetEvent((wxMouseEvent const *)arg2);
787
788 wxPyEndAllowThreads(__tstate);
789 if (PyErr_Occurred()) SWIG_fail;
790 }
791 Py_INCREF(Py_None); resultobj = Py_None;
792 return resultobj;
793 fail:
794 return NULL;
795}
796
797
798static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
799 PyObject *resultobj;
800 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
801 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
802 PyObject * obj0 = 0 ;
803 PyObject * obj1 = 0 ;
804 char *kwnames[] = {
805 (char *) "self",(char *) "e", NULL
806 };
807
808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
811 {
812 PyThreadState* __tstate = wxPyBeginAllowThreads();
813 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
814
815 wxPyEndAllowThreads(__tstate);
816 if (PyErr_Occurred()) SWIG_fail;
817 }
818 Py_INCREF(Py_None); resultobj = Py_None;
819 return resultobj;
820 fail:
821 return NULL;
822}
823
824
825static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
826 PyObject *obj;
827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
828 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
829 Py_INCREF(obj);
830 return Py_BuildValue((char *)"");
831}
832static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
833 PyObject *resultobj;
834 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
835 wxString result;
836 PyObject * obj0 = 0 ;
837 char *kwnames[] = {
838 (char *) "self", NULL
839 };
840
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
843 {
844 PyThreadState* __tstate = wxPyBeginAllowThreads();
845 result = (arg1)->GetName();
846
847 wxPyEndAllowThreads(__tstate);
848 if (PyErr_Occurred()) SWIG_fail;
849 }
850 {
851#if wxUSE_UNICODE
852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
853#else
854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
855#endif
856 }
857 return resultobj;
858 fail:
859 return NULL;
860}
861
862
863static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
864 PyObject *resultobj;
865 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
866 wxString *arg2 = 0 ;
867 bool result;
423f194a 868 bool temp2 = False ;
d14a1e28
RD
869 PyObject * obj0 = 0 ;
870 PyObject * obj1 = 0 ;
871 char *kwnames[] = {
872 (char *) "self",(char *) "par", NULL
873 };
874
875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
877 {
878 arg2 = wxString_in_helper(obj1);
879 if (arg2 == NULL) SWIG_fail;
423f194a 880 temp2 = True;
d14a1e28
RD
881 }
882 {
883 PyThreadState* __tstate = wxPyBeginAllowThreads();
884 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
885
886 wxPyEndAllowThreads(__tstate);
887 if (PyErr_Occurred()) SWIG_fail;
888 }
889 resultobj = PyInt_FromLong((long)result);
890 {
891 if (temp2)
892 delete arg2;
893 }
894 return resultobj;
895 fail:
896 {
897 if (temp2)
898 delete arg2;
899 }
900 return NULL;
901}
902
903
904static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject *resultobj;
906 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
907 wxString *arg2 = 0 ;
423f194a 908 int arg3 = (int) False ;
d14a1e28 909 wxString result;
423f194a 910 bool temp2 = False ;
d14a1e28
RD
911 PyObject * obj0 = 0 ;
912 PyObject * obj1 = 0 ;
913 char *kwnames[] = {
914 (char *) "self",(char *) "par",(char *) "with_commas", NULL
915 };
916
917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlTag_GetParam",kwnames,&obj0,&obj1,&arg3)) goto fail;
918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
919 {
920 arg2 = wxString_in_helper(obj1);
921 if (arg2 == NULL) SWIG_fail;
423f194a 922 temp2 = True;
d14a1e28
RD
923 }
924 {
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
926 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
927
928 wxPyEndAllowThreads(__tstate);
929 if (PyErr_Occurred()) SWIG_fail;
930 }
931 {
932#if wxUSE_UNICODE
933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
934#else
935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
936#endif
937 }
938 {
939 if (temp2)
940 delete arg2;
941 }
942 return resultobj;
943 fail:
944 {
945 if (temp2)
946 delete arg2;
947 }
948 return NULL;
949}
950
951
952static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
953 PyObject *resultobj;
954 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
955 wxString result;
956 PyObject * obj0 = 0 ;
957 char *kwnames[] = {
958 (char *) "self", NULL
959 };
960
961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
963 {
964 PyThreadState* __tstate = wxPyBeginAllowThreads();
965 result = (arg1)->GetAllParams();
966
967 wxPyEndAllowThreads(__tstate);
968 if (PyErr_Occurred()) SWIG_fail;
969 }
970 {
971#if wxUSE_UNICODE
972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
973#else
974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
975#endif
976 }
977 return resultobj;
978 fail:
979 return NULL;
980}
981
982
983static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
984 PyObject *resultobj;
985 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
986 bool result;
987 PyObject * obj0 = 0 ;
988 char *kwnames[] = {
989 (char *) "self", NULL
990 };
991
992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994 {
995 PyThreadState* __tstate = wxPyBeginAllowThreads();
996 result = (bool)(arg1)->HasEnding();
997
998 wxPyEndAllowThreads(__tstate);
999 if (PyErr_Occurred()) SWIG_fail;
1000 }
1001 resultobj = PyInt_FromLong((long)result);
1002 return resultobj;
1003 fail:
1004 return NULL;
1005}
1006
1007
1008static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1009 PyObject *resultobj;
1010 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1011 int result;
1012 PyObject * obj0 = 0 ;
1013 char *kwnames[] = {
1014 (char *) "self", NULL
1015 };
1016
1017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 result = (int)(arg1)->GetBeginPos();
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 resultobj = PyInt_FromLong((long)result);
1027 return resultobj;
1028 fail:
1029 return NULL;
1030}
1031
1032
1033static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject *resultobj;
1035 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1036 int result;
1037 PyObject * obj0 = 0 ;
1038 char *kwnames[] = {
1039 (char *) "self", NULL
1040 };
1041
1042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 result = (int)(arg1)->GetEndPos1();
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 resultobj = PyInt_FromLong((long)result);
1052 return resultobj;
1053 fail:
1054 return NULL;
1055}
1056
1057
1058static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject *resultobj;
1060 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1061 int result;
1062 PyObject * obj0 = 0 ;
1063 char *kwnames[] = {
1064 (char *) "self", NULL
1065 };
1066
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1069 {
1070 PyThreadState* __tstate = wxPyBeginAllowThreads();
1071 result = (int)(arg1)->GetEndPos2();
1072
1073 wxPyEndAllowThreads(__tstate);
1074 if (PyErr_Occurred()) SWIG_fail;
1075 }
1076 resultobj = PyInt_FromLong((long)result);
1077 return resultobj;
1078 fail:
1079 return NULL;
1080}
1081
1082
1083static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1084 PyObject *obj;
1085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1086 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1087 Py_INCREF(obj);
1088 return Py_BuildValue((char *)"");
1089}
1090static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject *resultobj;
1092 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1093 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1094 PyObject * obj0 = 0 ;
1095 PyObject * obj1 = 0 ;
1096 char *kwnames[] = {
1097 (char *) "self",(char *) "fs", NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1103 {
1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
1105 (arg1)->SetFS(arg2);
1106
1107 wxPyEndAllowThreads(__tstate);
1108 if (PyErr_Occurred()) SWIG_fail;
1109 }
1110 Py_INCREF(Py_None); resultobj = Py_None;
1111 return resultobj;
1112 fail:
1113 return NULL;
1114}
1115
1116
1117static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1118 PyObject *resultobj;
1119 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1120 wxFileSystem *result;
1121 PyObject * obj0 = 0 ;
1122 char *kwnames[] = {
1123 (char *) "self", NULL
1124 };
1125
1126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 result = (wxFileSystem *)(arg1)->GetFS();
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 {
1136 resultobj = wxPyMake_wxObject(result);
1137 }
1138 return resultobj;
1139 fail:
1140 return NULL;
1141}
1142
1143
1144static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject *resultobj;
1146 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1147 wxString *arg2 = 0 ;
1148 wxObject *result;
423f194a 1149 bool temp2 = False ;
d14a1e28
RD
1150 PyObject * obj0 = 0 ;
1151 PyObject * obj1 = 0 ;
1152 char *kwnames[] = {
1153 (char *) "self",(char *) "source", NULL
1154 };
1155
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1158 {
1159 arg2 = wxString_in_helper(obj1);
1160 if (arg2 == NULL) SWIG_fail;
423f194a 1161 temp2 = True;
d14a1e28
RD
1162 }
1163 {
1164 PyThreadState* __tstate = wxPyBeginAllowThreads();
1165 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1166
1167 wxPyEndAllowThreads(__tstate);
1168 if (PyErr_Occurred()) SWIG_fail;
1169 }
1170 {
1171 resultobj = wxPyMake_wxObject(result);
1172 }
1173 {
1174 if (temp2)
1175 delete arg2;
1176 }
1177 return resultobj;
1178 fail:
1179 {
1180 if (temp2)
1181 delete arg2;
1182 }
1183 return NULL;
1184}
1185
1186
1187static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1190 wxString *arg2 = 0 ;
423f194a 1191 bool temp2 = False ;
d14a1e28
RD
1192 PyObject * obj0 = 0 ;
1193 PyObject * obj1 = 0 ;
1194 char *kwnames[] = {
1195 (char *) "self",(char *) "source", NULL
1196 };
1197
1198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1200 {
1201 arg2 = wxString_in_helper(obj1);
1202 if (arg2 == NULL) SWIG_fail;
423f194a 1203 temp2 = True;
d14a1e28
RD
1204 }
1205 {
1206 PyThreadState* __tstate = wxPyBeginAllowThreads();
1207 (arg1)->InitParser((wxString const &)*arg2);
1208
1209 wxPyEndAllowThreads(__tstate);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 Py_INCREF(Py_None); resultobj = Py_None;
1213 {
1214 if (temp2)
1215 delete arg2;
1216 }
1217 return resultobj;
1218 fail:
1219 {
1220 if (temp2)
1221 delete arg2;
1222 }
1223 return NULL;
1224}
1225
1226
1227static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1228 PyObject *resultobj;
1229 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1230 PyObject * obj0 = 0 ;
1231 char *kwnames[] = {
1232 (char *) "self", NULL
1233 };
1234
1235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 (arg1)->DoneParser();
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 Py_INCREF(Py_None); resultobj = Py_None;
1245 return resultobj;
1246 fail:
1247 return NULL;
1248}
1249
1250
1251static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1254 int arg2 ;
1255 int arg3 ;
1256 PyObject * obj0 = 0 ;
1257 char *kwnames[] = {
1258 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1259 };
1260
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlParser_DoParsing",kwnames,&obj0,&arg2,&arg3)) goto fail;
1262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1263 {
1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1265 (arg1)->DoParsing(arg2,arg3);
1266
1267 wxPyEndAllowThreads(__tstate);
1268 if (PyErr_Occurred()) SWIG_fail;
1269 }
1270 Py_INCREF(Py_None); resultobj = Py_None;
1271 return resultobj;
1272 fail:
1273 return NULL;
1274}
1275
1276
1277static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1278 PyObject *resultobj;
1279 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1280 PyObject * obj0 = 0 ;
1281 char *kwnames[] = {
1282 (char *) "self", NULL
1283 };
1284
1285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1287 {
1288 PyThreadState* __tstate = wxPyBeginAllowThreads();
1289 (arg1)->StopParsing();
1290
1291 wxPyEndAllowThreads(__tstate);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
1294 Py_INCREF(Py_None); resultobj = Py_None;
1295 return resultobj;
1296 fail:
1297 return NULL;
1298}
1299
1300
1301static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject *resultobj;
1303 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1304 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1305 PyObject * obj0 = 0 ;
1306 PyObject * obj1 = 0 ;
1307 char *kwnames[] = {
1308 (char *) "self",(char *) "handler", NULL
1309 };
1310
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 (arg1)->AddTagHandler(arg2);
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 Py_INCREF(Py_None); resultobj = Py_None;
1322 return resultobj;
1323 fail:
1324 return NULL;
1325}
1326
1327
1328static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject *resultobj;
1330 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1331 wxString *result;
1332 PyObject * obj0 = 0 ;
1333 char *kwnames[] = {
1334 (char *) "self", NULL
1335 };
1336
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1339 {
1340 PyThreadState* __tstate = wxPyBeginAllowThreads();
1341 result = (wxString *)(arg1)->GetSource();
1342
1343 wxPyEndAllowThreads(__tstate);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
1346 {
1347#if wxUSE_UNICODE
1348 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1349#else
1350 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1351#endif
1352 }
1353 return resultobj;
1354 fail:
1355 return NULL;
1356}
1357
1358
1359static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject *resultobj;
1361 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1362 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1363 wxString arg3 ;
d14a1e28
RD
1364 PyObject * obj0 = 0 ;
1365 PyObject * obj1 = 0 ;
1366 PyObject * obj2 = 0 ;
1367 char *kwnames[] = {
1368 (char *) "self",(char *) "handler",(char *) "tags", NULL
1369 };
1370
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
1374 {
1375 wxString* sptr = wxString_in_helper(obj2);
1376 if (sptr == NULL) SWIG_fail;
1377 arg3 = *sptr;
1378 delete sptr;
1379 }
d14a1e28
RD
1380 {
1381 PyThreadState* __tstate = wxPyBeginAllowThreads();
1382 (arg1)->PushTagHandler(arg2,arg3);
1383
1384 wxPyEndAllowThreads(__tstate);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 Py_INCREF(Py_None); resultobj = Py_None;
1388 return resultobj;
1389 fail:
1390 return NULL;
1391}
1392
1393
1394static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject *resultobj;
1396 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1397 PyObject * obj0 = 0 ;
1398 char *kwnames[] = {
1399 (char *) "self", NULL
1400 };
1401
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1404 {
1405 PyThreadState* __tstate = wxPyBeginAllowThreads();
1406 (arg1)->PopTagHandler();
1407
1408 wxPyEndAllowThreads(__tstate);
1409 if (PyErr_Occurred()) SWIG_fail;
1410 }
1411 Py_INCREF(Py_None); resultobj = Py_None;
1412 return resultobj;
1413 fail:
1414 return NULL;
1415}
1416
1417
1418static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1419 PyObject *obj;
1420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1422 Py_INCREF(obj);
1423 return Py_BuildValue((char *)"");
1424}
1425static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1426 PyObject *resultobj;
1427 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1428 wxHtmlWinParser *result;
1429 PyObject * obj0 = 0 ;
1430 char *kwnames[] = {
1431 (char *) "wnd", NULL
1432 };
1433
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1435 if (obj0) {
1436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1437 }
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1);
1446 return resultobj;
1447 fail:
1448 return NULL;
1449}
1450
1451
1452static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject *resultobj;
1454 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1455 wxDC *arg2 = (wxDC *) 0 ;
1456 PyObject * obj0 = 0 ;
1457 PyObject * obj1 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self",(char *) "dc", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 (arg1)->SetDC(arg2);
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 Py_INCREF(Py_None); resultobj = Py_None;
1473 return resultobj;
1474 fail:
1475 return NULL;
1476}
1477
1478
1479static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1482 wxDC *result;
1483 PyObject * obj0 = 0 ;
1484 char *kwnames[] = {
1485 (char *) "self", NULL
1486 };
1487
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 result = (wxDC *)(arg1)->GetDC();
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 {
1498 resultobj = wxPyMake_wxObject(result);
1499 }
1500 return resultobj;
1501 fail:
1502 return NULL;
1503}
1504
1505
1506static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject *resultobj;
1508 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1509 int result;
1510 PyObject * obj0 = 0 ;
1511 char *kwnames[] = {
1512 (char *) "self", NULL
1513 };
1514
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 result = (int)(arg1)->GetCharHeight();
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 resultobj = PyInt_FromLong((long)result);
1525 return resultobj;
1526 fail:
1527 return NULL;
1528}
1529
1530
1531static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1534 int result;
1535 PyObject * obj0 = 0 ;
1536 char *kwnames[] = {
1537 (char *) "self", NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1542 {
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 result = (int)(arg1)->GetCharWidth();
1545
1546 wxPyEndAllowThreads(__tstate);
1547 if (PyErr_Occurred()) SWIG_fail;
1548 }
1549 resultobj = PyInt_FromLong((long)result);
1550 return resultobj;
1551 fail:
1552 return NULL;
1553}
1554
1555
1556static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1559 wxPyHtmlWindow *result;
1560 PyObject * obj0 = 0 ;
1561 char *kwnames[] = {
1562 (char *) "self", NULL
1563 };
1564
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1567 {
1568 PyThreadState* __tstate = wxPyBeginAllowThreads();
1569 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1570
1571 wxPyEndAllowThreads(__tstate);
1572 if (PyErr_Occurred()) SWIG_fail;
1573 }
1574 {
1575 resultobj = wxPyMake_wxObject(result);
1576 }
1577 return resultobj;
1578 fail:
1579 return NULL;
1580}
1581
1582
1583static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1586 wxString arg2 ;
1587 wxString arg3 ;
1588 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
1589 PyObject * obj0 = 0 ;
1590 PyObject * obj1 = 0 ;
1591 PyObject * obj2 = 0 ;
1592 PyObject * obj3 = 0 ;
1593 char *kwnames[] = {
1594 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1595 };
1596
1597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
1599 {
1600 wxString* sptr = wxString_in_helper(obj1);
1601 if (sptr == NULL) SWIG_fail;
1602 arg2 = *sptr;
1603 delete sptr;
1604 }
1605 {
1606 wxString* sptr = wxString_in_helper(obj2);
1607 if (sptr == NULL) SWIG_fail;
1608 arg3 = *sptr;
1609 delete sptr;
1610 }
d14a1e28
RD
1611 if (obj3) {
1612 arg4 = obj3;
1613 }
1614 {
1615 PyThreadState* __tstate = wxPyBeginAllowThreads();
1616 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1617
1618 wxPyEndAllowThreads(__tstate);
1619 if (PyErr_Occurred()) SWIG_fail;
1620 }
1621 Py_INCREF(Py_None); resultobj = Py_None;
1622 return resultobj;
1623 fail:
1624 return NULL;
1625}
1626
1627
1628static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1629 PyObject *resultobj;
1630 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1631 wxHtmlContainerCell *result;
1632 PyObject * obj0 = 0 ;
1633 char *kwnames[] = {
1634 (char *) "self", NULL
1635 };
1636
1637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
1638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1639 {
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
1642
1643 wxPyEndAllowThreads(__tstate);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
1646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1647 return resultobj;
1648 fail:
1649 return NULL;
1650}
1651
1652
1653static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1654 PyObject *resultobj;
1655 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1656 wxHtmlContainerCell *result;
1657 PyObject * obj0 = 0 ;
1658 char *kwnames[] = {
1659 (char *) "self", NULL
1660 };
1661
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
1663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 {
1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
1666 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
1667
1668 wxPyEndAllowThreads(__tstate);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1672 return resultobj;
1673 fail:
1674 return NULL;
1675}
1676
1677
1678static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject *resultobj;
1680 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1681 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
1682 wxHtmlContainerCell *result;
1683 PyObject * obj0 = 0 ;
1684 PyObject * obj1 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self",(char *) "c", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1700 return resultobj;
1701 fail:
1702 return NULL;
1703}
1704
1705
1706static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1709 wxHtmlContainerCell *result;
1710 PyObject * obj0 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "self", NULL
1713 };
1714
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
1716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
1725 return resultobj;
1726 fail:
1727 return NULL;
1728}
1729
1730
1731static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1732 PyObject *resultobj;
1733 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1734 int result;
1735 PyObject * obj0 = 0 ;
1736 char *kwnames[] = {
1737 (char *) "self", NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
1741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1742 {
1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
1744 result = (int)(arg1)->GetFontSize();
1745
1746 wxPyEndAllowThreads(__tstate);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 }
1749 resultobj = PyInt_FromLong((long)result);
1750 return resultobj;
1751 fail:
1752 return NULL;
1753}
1754
1755
1756static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject *resultobj;
1758 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1759 int arg2 ;
1760 PyObject * obj0 = 0 ;
1761 char *kwnames[] = {
1762 (char *) "self",(char *) "s", NULL
1763 };
1764
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames,&obj0,&arg2)) goto fail;
1766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 (arg1)->SetFontSize(arg2);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 Py_INCREF(Py_None); resultobj = Py_None;
1775 return resultobj;
1776 fail:
1777 return NULL;
1778}
1779
1780
1781static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject *resultobj;
1783 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1784 int result;
1785 PyObject * obj0 = 0 ;
1786 char *kwnames[] = {
1787 (char *) "self", NULL
1788 };
1789
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
1791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 result = (int)(arg1)->GetFontBold();
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 resultobj = PyInt_FromLong((long)result);
1800 return resultobj;
1801 fail:
1802 return NULL;
1803}
1804
1805
1806static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject *resultobj;
1808 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1809 int arg2 ;
1810 PyObject * obj0 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "x", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames,&obj0,&arg2)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->SetFontBold(arg2);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828}
1829
1830
1831static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1834 int result;
1835 PyObject * obj0 = 0 ;
1836 char *kwnames[] = {
1837 (char *) "self", NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
1841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 result = (int)(arg1)->GetFontItalic();
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 resultobj = PyInt_FromLong((long)result);
1850 return resultobj;
1851 fail:
1852 return NULL;
1853}
1854
1855
1856static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject *resultobj;
1858 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1859 int arg2 ;
1860 PyObject * obj0 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self",(char *) "x", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames,&obj0,&arg2)) goto fail;
1866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 (arg1)->SetFontItalic(arg2);
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) SWIG_fail;
1873 }
1874 Py_INCREF(Py_None); resultobj = Py_None;
1875 return resultobj;
1876 fail:
1877 return NULL;
1878}
1879
1880
1881static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1884 int result;
1885 PyObject * obj0 = 0 ;
1886 char *kwnames[] = {
1887 (char *) "self", NULL
1888 };
1889
1890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
1891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1892 {
1893 PyThreadState* __tstate = wxPyBeginAllowThreads();
1894 result = (int)(arg1)->GetFontUnderlined();
1895
1896 wxPyEndAllowThreads(__tstate);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 }
1899 resultobj = PyInt_FromLong((long)result);
1900 return resultobj;
1901 fail:
1902 return NULL;
1903}
1904
1905
1906static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1909 int arg2 ;
1910 PyObject * obj0 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "self",(char *) "x", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&arg2)) goto fail;
1916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1917 {
1918 PyThreadState* __tstate = wxPyBeginAllowThreads();
1919 (arg1)->SetFontUnderlined(arg2);
1920
1921 wxPyEndAllowThreads(__tstate);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 }
1924 Py_INCREF(Py_None); resultobj = Py_None;
1925 return resultobj;
1926 fail:
1927 return NULL;
1928}
1929
1930
1931static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject *resultobj;
1933 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1934 int result;
1935 PyObject * obj0 = 0 ;
1936 char *kwnames[] = {
1937 (char *) "self", NULL
1938 };
1939
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
1941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 {
1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
1944 result = (int)(arg1)->GetFontFixed();
1945
1946 wxPyEndAllowThreads(__tstate);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 }
1949 resultobj = PyInt_FromLong((long)result);
1950 return resultobj;
1951 fail:
1952 return NULL;
1953}
1954
1955
1956static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject *resultobj;
1958 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1959 int arg2 ;
1960 PyObject * obj0 = 0 ;
1961 char *kwnames[] = {
1962 (char *) "self",(char *) "x", NULL
1963 };
1964
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames,&obj0,&arg2)) goto fail;
1966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 (arg1)->SetFontFixed(arg2);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 Py_INCREF(Py_None); resultobj = Py_None;
1975 return resultobj;
1976 fail:
1977 return NULL;
1978}
1979
1980
1981static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1984 int result;
1985 PyObject * obj0 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 result = (int)(arg1)->GetAlign();
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 resultobj = PyInt_FromLong((long)result);
2000 return resultobj;
2001 fail:
2002 return NULL;
2003}
2004
2005
2006static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2009 int arg2 ;
2010 PyObject * obj0 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self",(char *) "a", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetAlign",kwnames,&obj0,&arg2)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 (arg1)->SetAlign(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_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2034 wxColour result;
2035 PyObject * obj0 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",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 = (arg1)->GetLinkColor();
2045
2046 wxPyEndAllowThreads(__tstate);
2047 if (PyErr_Occurred()) SWIG_fail;
2048 }
2049 {
2050 wxColour * resultptr;
2051 resultptr = new wxColour((wxColour &) result);
2052 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2053 }
2054 return resultobj;
2055 fail:
2056 return NULL;
2057}
2058
2059
2060static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2061 PyObject *resultobj;
2062 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2063 wxColour *arg2 = 0 ;
2064 wxColour temp2 ;
2065 PyObject * obj0 = 0 ;
2066 PyObject * obj1 = 0 ;
2067 char *kwnames[] = {
2068 (char *) "self",(char *) "clr", NULL
2069 };
2070
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2073 {
2074 arg2 = &temp2;
2075 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2076 }
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 (arg1)->SetLinkColor((wxColour const &)*arg2);
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
2084 Py_INCREF(Py_None); resultobj = Py_None;
2085 return resultobj;
2086 fail:
2087 return NULL;
2088}
2089
2090
2091static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject *resultobj;
2093 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2094 wxColour result;
2095 PyObject * obj0 = 0 ;
2096 char *kwnames[] = {
2097 (char *) "self", NULL
2098 };
2099
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 result = (arg1)->GetActualColor();
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 {
2110 wxColour * resultptr;
2111 resultptr = new wxColour((wxColour &) result);
2112 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2113 }
2114 return resultobj;
2115 fail:
2116 return NULL;
2117}
2118
2119
2120static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2123 wxColour *arg2 = 0 ;
2124 wxColour temp2 ;
2125 PyObject * obj0 = 0 ;
2126 PyObject * obj1 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self",(char *) "clr", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 {
2134 arg2 = &temp2;
2135 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2136 }
2137 {
2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
2139 (arg1)->SetActualColor((wxColour const &)*arg2);
2140
2141 wxPyEndAllowThreads(__tstate);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 }
2144 Py_INCREF(Py_None); resultobj = Py_None;
2145 return resultobj;
2146 fail:
2147 return NULL;
2148}
2149
2150
2151static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2154 wxString *arg2 = 0 ;
423f194a 2155 bool temp2 = False ;
d14a1e28
RD
2156 PyObject * obj0 = 0 ;
2157 PyObject * obj1 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self",(char *) "link", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2164 {
2165 arg2 = wxString_in_helper(obj1);
2166 if (arg2 == NULL) SWIG_fail;
423f194a 2167 temp2 = True;
d14a1e28
RD
2168 }
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 (arg1)->SetLink((wxString const &)*arg2);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 Py_INCREF(Py_None); resultobj = Py_None;
2177 {
2178 if (temp2)
2179 delete arg2;
2180 }
2181 return resultobj;
2182 fail:
2183 {
2184 if (temp2)
2185 delete arg2;
2186 }
2187 return NULL;
2188}
2189
2190
2191static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2194 wxFont *result;
2195 PyObject * obj0 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "self", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (wxFont *)(arg1)->CreateCurrentFont();
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
2210 return resultobj;
2211 fail:
2212 return NULL;
2213}
2214
2215
2216static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2217 PyObject *resultobj;
2218 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2219 SwigValueWrapper< wxHtmlLinkInfo > result;
2220 PyObject * obj0 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2227 {
2228 PyThreadState* __tstate = wxPyBeginAllowThreads();
2229 result = (arg1)->GetLink();
2230
2231 wxPyEndAllowThreads(__tstate);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 }
2234 {
2235 wxHtmlLinkInfo * resultptr;
2236 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1);
2238 }
2239 return resultobj;
2240 fail:
2241 return NULL;
2242}
2243
2244
2245static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2246 PyObject *obj;
2247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2248 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2249 Py_INCREF(obj);
2250 return Py_BuildValue((char *)"");
2251}
2252static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject *resultobj;
2254 wxPyHtmlTagHandler *result;
2255 char *kwnames[] = {
2256 NULL
2257 };
2258
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2260 {
2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
2262 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2263
2264 wxPyEndAllowThreads(__tstate);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 }
2267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2268 return resultobj;
2269 fail:
2270 return NULL;
2271}
2272
2273
2274static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2275 PyObject *resultobj;
2276 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2277 PyObject *arg2 = (PyObject *) 0 ;
2278 PyObject *arg3 = (PyObject *) 0 ;
2279 PyObject * obj0 = 0 ;
2280 PyObject * obj1 = 0 ;
2281 PyObject * obj2 = 0 ;
2282 char *kwnames[] = {
2283 (char *) "self",(char *) "self",(char *) "_class", NULL
2284 };
2285
2286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2288 arg2 = obj1;
2289 arg3 = obj2;
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 (arg1)->_setCallbackInfo(arg2,arg3);
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2297 Py_INCREF(Py_None); resultobj = Py_None;
2298 return resultobj;
2299 fail:
2300 return NULL;
2301}
2302
2303
2304static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2305 PyObject *resultobj;
2306 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2307 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2308 PyObject * obj0 = 0 ;
2309 PyObject * obj1 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self",(char *) "parser", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 (arg1)->SetParser(arg2);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 Py_INCREF(Py_None); resultobj = Py_None;
2325 return resultobj;
2326 fail:
2327 return NULL;
2328}
2329
2330
2331static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2334 wxHtmlParser *result;
2335 PyObject * obj0 = 0 ;
2336 char *kwnames[] = {
2337 (char *) "self", NULL
2338 };
2339
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (wxHtmlParser *)(arg1)->GetParser();
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
2349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0);
2350 return resultobj;
2351 fail:
2352 return NULL;
2353}
2354
2355
2356static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2357 PyObject *resultobj;
2358 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2359 wxHtmlTag *arg2 = 0 ;
2360 PyObject * obj0 = 0 ;
2361 PyObject * obj1 = 0 ;
2362 char *kwnames[] = {
2363 (char *) "self",(char *) "tag", NULL
2364 };
2365
2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2369 if (arg2 == NULL) {
2370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2371 }
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 Py_INCREF(Py_None); resultobj = Py_None;
2380 return resultobj;
2381 fail:
2382 return NULL;
2383}
2384
2385
2386static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2387 PyObject *obj;
2388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2389 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2390 Py_INCREF(obj);
2391 return Py_BuildValue((char *)"");
2392}
2393static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxPyHtmlWinTagHandler *result;
2396 char *kwnames[] = {
2397 NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2409 return resultobj;
2410 fail:
2411 return NULL;
2412}
2413
2414
2415static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2416 PyObject *resultobj;
2417 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2418 PyObject *arg2 = (PyObject *) 0 ;
2419 PyObject *arg3 = (PyObject *) 0 ;
2420 PyObject * obj0 = 0 ;
2421 PyObject * obj1 = 0 ;
2422 PyObject * obj2 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "self",(char *) "self",(char *) "_class", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2429 arg2 = obj1;
2430 arg3 = obj2;
2431 {
2432 PyThreadState* __tstate = wxPyBeginAllowThreads();
2433 (arg1)->_setCallbackInfo(arg2,arg3);
2434
2435 wxPyEndAllowThreads(__tstate);
2436 if (PyErr_Occurred()) SWIG_fail;
2437 }
2438 Py_INCREF(Py_None); resultobj = Py_None;
2439 return resultobj;
2440 fail:
2441 return NULL;
2442}
2443
2444
2445static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject *resultobj;
2447 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2448 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2449 PyObject * obj0 = 0 ;
2450 PyObject * obj1 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self",(char *) "parser", NULL
2453 };
2454
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 (arg1)->SetParser(arg2);
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 Py_INCREF(Py_None); resultobj = Py_None;
2466 return resultobj;
2467 fail:
2468 return NULL;
2469}
2470
2471
2472static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2475 wxHtmlWinParser *result;
2476 PyObject * obj0 = 0 ;
2477 char *kwnames[] = {
2478 (char *) "self", NULL
2479 };
2480
2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (wxHtmlWinParser *)(arg1)->GetParser();
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
2490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
2491 return resultobj;
2492 fail:
2493 return NULL;
2494}
2495
2496
2497static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject *resultobj;
2499 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2500 wxHtmlTag *arg2 = 0 ;
2501 PyObject * obj0 = 0 ;
2502 PyObject * obj1 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self",(char *) "tag", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2510 if (arg2 == NULL) {
2511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2512 }
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 Py_INCREF(Py_None); resultobj = Py_None;
2521 return resultobj;
2522 fail:
2523 return NULL;
2524}
2525
2526
2527static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2528 PyObject *obj;
2529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2530 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2531 Py_INCREF(obj);
2532 return Py_BuildValue((char *)"");
2533}
2534static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject *resultobj;
2536 PyObject *arg1 = (PyObject *) 0 ;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "tagHandlerClass", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2543 arg1 = obj0;
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 wxHtmlWinParser_AddTagHandler(arg1);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 Py_INCREF(Py_None); resultobj = Py_None;
2552 return resultobj;
2553 fail:
2554 return NULL;
2555}
2556
2557
2558static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxHtmlSelection *result;
2561 char *kwnames[] = {
2562 NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 result = (wxHtmlSelection *)new wxHtmlSelection();
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1);
2574 return resultobj;
2575 fail:
2576 return NULL;
2577}
2578
2579
2580static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2583 PyObject * obj0 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "self", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
2589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 delete arg1;
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 Py_INCREF(Py_None); resultobj = Py_None;
2598 return resultobj;
2599 fail:
2600 return NULL;
2601}
2602
2603
2604static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2607 wxPoint *arg2 = 0 ;
2608 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2609 wxPoint *arg4 = 0 ;
2610 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
2611 wxPoint temp2 ;
2612 wxPoint temp4 ;
2613 PyObject * obj0 = 0 ;
2614 PyObject * obj1 = 0 ;
2615 PyObject * obj2 = 0 ;
2616 PyObject * obj3 = 0 ;
2617 PyObject * obj4 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 {
2625 arg2 = &temp2;
2626 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2627 }
2628 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2629 {
2630 arg4 = &temp4;
2631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2632 }
2633 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 Py_INCREF(Py_None); resultobj = Py_None;
2642 return resultobj;
2643 fail:
2644 return NULL;
2645}
2646
2647
2648static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2651 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
2652 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 PyObject * obj2 = 0 ;
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
2658 };
2659
2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
2661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2663 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2664 {
2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
2666 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
2667
2668 wxPyEndAllowThreads(__tstate);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 Py_INCREF(Py_None); resultobj = Py_None;
2672 return resultobj;
2673 fail:
2674 return NULL;
2675}
2676
2677
2678static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2681 wxHtmlCell *result;
2682 PyObject * obj0 = 0 ;
2683 char *kwnames[] = {
2684 (char *) "self", NULL
2685 };
2686
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
2688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2697 return resultobj;
2698 fail:
2699 return NULL;
2700}
2701
2702
2703static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2704 PyObject *resultobj;
2705 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2706 wxHtmlCell *result;
2707 PyObject * obj0 = 0 ;
2708 char *kwnames[] = {
2709 (char *) "self", NULL
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
2713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
2722 return resultobj;
2723 fail:
2724 return NULL;
2725}
2726
2727
2728static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2731 wxPoint *result;
2732 PyObject * obj0 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "self", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 {
2742 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
2743 result = (wxPoint *) &_result_ref;
2744 }
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2750 return resultobj;
2751 fail:
2752 return NULL;
2753}
2754
2755
2756static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2759 wxPoint *result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 {
2770 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
2771 result = (wxPoint *) &_result_ref;
2772 }
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2778 return resultobj;
2779 fail:
2780 return NULL;
2781}
2782
2783
2784static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2787 wxPoint *result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 {
2798 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
2799 result = (wxPoint *) &_result_ref;
2800 }
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2806 return resultobj;
2807 fail:
2808 return NULL;
2809}
2810
2811
2812static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2815 wxPoint *result;
2816 PyObject * obj0 = 0 ;
2817 char *kwnames[] = {
2818 (char *) "self", NULL
2819 };
2820
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
2822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 {
2826 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
2827 result = (wxPoint *) &_result_ref;
2828 }
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2834 return resultobj;
2835 fail:
2836 return NULL;
2837}
2838
2839
2840static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2843 wxPoint *arg2 = 0 ;
2844 wxPoint temp2 ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self",(char *) "pos", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 {
2854 arg2 = &temp2;
2855 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868}
2869
2870
2871static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2874 wxPoint *arg2 = 0 ;
2875 wxPoint temp2 ;
2876 PyObject * obj0 = 0 ;
2877 PyObject * obj1 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "self",(char *) "pos", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
2883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2884 {
2885 arg2 = &temp2;
2886 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2887 }
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899}
2900
2901
2902static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2905 PyObject * obj0 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->ClearPrivPos();
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923}
2924
2925
2926static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
2929 bool result;
2930 PyObject * obj0 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "self", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
2936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 resultobj = PyInt_FromLong((long)result);
2945 return resultobj;
2946 fail:
2947 return NULL;
2948}
2949
2950
2951static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
2952 PyObject *obj;
2953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2954 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
2955 Py_INCREF(obj);
2956 return Py_BuildValue((char *)"");
2957}
2958static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
2959 PyObject *resultobj;
2960 wxHtmlRenderingState *result;
2961 char *kwnames[] = {
2962 NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1);
2974 return resultobj;
2975 fail:
2976 return NULL;
2977}
2978
2979
2980static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject *resultobj;
2982 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
2983 PyObject * obj0 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
2989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 delete arg1;
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 return resultobj;
2999 fail:
3000 return NULL;
3001}
3002
3003
3004static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3007 int arg2 ;
3008 PyObject * obj0 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self",(char *) "s", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&arg2)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 Py_INCREF(Py_None); resultobj = Py_None;
3023 return resultobj;
3024 fail:
3025 return NULL;
3026}
3027
3028
3029static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3032 int result;
3033 PyObject * obj0 = 0 ;
3034 char *kwnames[] = {
3035 (char *) "self", NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 resultobj = PyInt_FromLong((long)result);
3048 return resultobj;
3049 fail:
3050 return NULL;
3051}
3052
3053
3054static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3055 PyObject *resultobj;
3056 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3057 wxColour *arg2 = 0 ;
3058 wxColour temp2 ;
3059 PyObject * obj0 = 0 ;
3060 PyObject * obj1 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "c", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 {
3068 arg2 = &temp2;
3069 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 (arg1)->SetFgColour((wxColour const &)*arg2);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 Py_INCREF(Py_None); resultobj = Py_None;
3079 return resultobj;
3080 fail:
3081 return NULL;
3082}
3083
3084
3085static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3088 wxColour *result;
3089 PyObject * obj0 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 {
3099 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3100 result = (wxColour *) &_result_ref;
3101 }
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3107 return resultobj;
3108 fail:
3109 return NULL;
3110}
3111
3112
3113static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3114 PyObject *resultobj;
3115 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3116 wxColour *arg2 = 0 ;
3117 wxColour temp2 ;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "c", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 {
3127 arg2 = &temp2;
3128 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3129 }
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 (arg1)->SetBgColour((wxColour const &)*arg2);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 Py_INCREF(Py_None); resultobj = Py_None;
3138 return resultobj;
3139 fail:
3140 return NULL;
3141}
3142
3143
3144static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3147 wxColour *result;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3155 {
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 {
3158 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3159 result = (wxColour *) &_result_ref;
3160 }
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
3166 return resultobj;
3167 fail:
3168 return NULL;
3169}
3170
3171
3172static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3173 PyObject *obj;
3174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3175 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3176 Py_INCREF(obj);
3177 return Py_BuildValue((char *)"");
3178}
3179static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3180 PyObject *resultobj;
3181 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3182 wxColour *arg2 = 0 ;
3183 wxColour result;
3184 wxColour temp2 ;
3185 PyObject * obj0 = 0 ;
3186 PyObject * obj1 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self",(char *) "clr", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3193 {
3194 arg2 = &temp2;
3195 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3196 }
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 {
3205 wxColour * resultptr;
3206 resultptr = new wxColour((wxColour &) result);
3207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3208 }
3209 return resultobj;
3210 fail:
3211 return NULL;
3212}
3213
3214
3215static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3218 wxColour *arg2 = 0 ;
3219 wxColour result;
3220 wxColour temp2 ;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3223 char *kwnames[] = {
3224 (char *) "self",(char *) "clr", NULL
3225 };
3226
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3229 {
3230 arg2 = &temp2;
3231 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3232 }
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 {
3241 wxColour * resultptr;
3242 resultptr = new wxColour((wxColour &) result);
3243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3244 }
3245 return resultobj;
3246 fail:
3247 return NULL;
3248}
3249
3250
3251static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3252 PyObject *obj;
3253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3254 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3255 Py_INCREF(obj);
3256 return Py_BuildValue((char *)"");
3257}
3258static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3261 wxColour *arg2 = 0 ;
3262 wxColour result;
3263 wxColour temp2 ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "clr", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 {
3273 arg2 = &temp2;
3274 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3275 }
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 {
3284 wxColour * resultptr;
3285 resultptr = new wxColour((wxColour &) result);
3286 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3287 }
3288 return resultobj;
3289 fail:
3290 return NULL;
3291}
3292
3293
3294static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3297 wxColour *arg2 = 0 ;
3298 wxColour result;
3299 wxColour temp2 ;
3300 PyObject * obj0 = 0 ;
3301 PyObject * obj1 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "clr", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 {
3309 arg2 = &temp2;
3310 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3311 }
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 {
3320 wxColour * resultptr;
3321 resultptr = new wxColour((wxColour &) result);
3322 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3323 }
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3331 PyObject *obj;
3332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3333 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3334 Py_INCREF(obj);
3335 return Py_BuildValue((char *)"");
3336}
3337static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxHtmlRenderingInfo *result;
3340 char *kwnames[] = {
3341 NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3353 return resultobj;
3354 fail:
3355 return NULL;
3356}
3357
3358
3359static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject *resultobj;
3361 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3362 PyObject * obj0 = 0 ;
3363 char *kwnames[] = {
3364 (char *) "self", NULL
3365 };
3366
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 delete arg1;
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380}
3381
3382
3383static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3386 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3387 PyObject * obj0 = 0 ;
3388 PyObject * obj1 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self",(char *) "s", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 (arg1)->SetSelection(arg2);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 Py_INCREF(Py_None); resultobj = Py_None;
3404 return resultobj;
3405 fail:
3406 return NULL;
3407}
3408
3409
3410static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3413 wxHtmlSelection *result;
3414 PyObject * obj0 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
3428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0);
3429 return resultobj;
3430 fail:
3431 return NULL;
3432}
3433
3434
3435static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3436 PyObject *resultobj;
3437 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3438 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3439 PyObject * obj0 = 0 ;
3440 PyObject * obj1 = 0 ;
3441 char *kwnames[] = {
3442 (char *) "self",(char *) "style", NULL
3443 };
3444
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3448 {
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 (arg1)->SetStyle(arg2);
3451
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 Py_INCREF(Py_None); resultobj = Py_None;
3456 return resultobj;
3457 fail:
3458 return NULL;
3459}
3460
3461
3462static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj;
3464 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3465 wxHtmlRenderingStyle *result;
3466 PyObject * obj0 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 {
3476 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3477 result = (wxHtmlRenderingStyle *) &_result_ref;
3478 }
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3484 return resultobj;
3485 fail:
3486 return NULL;
3487}
3488
3489
3490static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3493 wxHtmlRenderingState *result;
3494 PyObject * obj0 = 0 ;
3495 char *kwnames[] = {
3496 (char *) "self", NULL
3497 };
3498
3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 {
3504 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3505 result = (wxHtmlRenderingState *) &_result_ref;
3506 }
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0);
3512 return resultobj;
3513 fail:
3514 return NULL;
3515}
3516
3517
3518static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3519 PyObject *obj;
3520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3521 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3522 Py_INCREF(obj);
3523 return Py_BuildValue((char *)"");
3524}
3525static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxHtmlCell *result;
3528 char *kwnames[] = {
3529 NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
3533 {
3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
3535 result = (wxHtmlCell *)new wxHtmlCell();
3536
3537 wxPyEndAllowThreads(__tstate);
3538 if (PyErr_Occurred()) SWIG_fail;
3539 }
3540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1);
3541 return resultobj;
3542 fail:
3543 return NULL;
3544}
3545
3546
3547static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
3548 PyObject *resultobj;
3549 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3550 int result;
3551 PyObject * obj0 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self", NULL
3554 };
3555
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
3557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3558 {
3559 PyThreadState* __tstate = wxPyBeginAllowThreads();
3560 result = (int)(arg1)->GetPosX();
3561
3562 wxPyEndAllowThreads(__tstate);
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 resultobj = PyInt_FromLong((long)result);
3566 return resultobj;
3567 fail:
3568 return NULL;
3569}
3570
3571
3572static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3575 int result;
3576 PyObject * obj0 = 0 ;
3577 char *kwnames[] = {
3578 (char *) "self", NULL
3579 };
3580
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
3582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (int)(arg1)->GetPosY();
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 resultobj = PyInt_FromLong((long)result);
3591 return resultobj;
3592 fail:
3593 return NULL;
3594}
3595
3596
3597static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3600 int result;
3601 PyObject * obj0 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 result = (int)(arg1)->GetWidth();
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 resultobj = PyInt_FromLong((long)result);
3616 return resultobj;
3617 fail:
3618 return NULL;
3619}
3620
3621
3622static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject *resultobj;
3624 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3625 int result;
3626 PyObject * obj0 = 0 ;
3627 char *kwnames[] = {
3628 (char *) "self", NULL
3629 };
3630
3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 result = (int)(arg1)->GetHeight();
3636
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 resultobj = PyInt_FromLong((long)result);
3641 return resultobj;
3642 fail:
3643 return NULL;
3644}
3645
3646
3647static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj;
3649 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3650 int result;
3651 PyObject * obj0 = 0 ;
3652 char *kwnames[] = {
3653 (char *) "self", NULL
3654 };
3655
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
3657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (int)(arg1)->GetDescent();
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 resultobj = PyInt_FromLong((long)result);
3666 return resultobj;
3667 fail:
3668 return NULL;
3669}
3670
3671
3672static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3675 int arg2 = (int) 0 ;
3676 int arg3 = (int) 0 ;
3677 wxHtmlLinkInfo *result;
3678 PyObject * obj0 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "x",(char *) "y", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:HtmlCell_GetLink",kwnames,&obj0,&arg2,&arg3)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0);
3693 return resultobj;
3694 fail:
3695 return NULL;
3696}
3697
3698
3699static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3702 wxHtmlCell *result;
3703 PyObject * obj0 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 result = (wxHtmlCell *)(arg1)->GetNext();
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
3718 return resultobj;
3719 fail:
3720 return NULL;
3721}
3722
3723
3724static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3727 wxHtmlContainerCell *result;
3728 PyObject * obj0 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
3734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 result = (wxHtmlContainerCell *)(arg1)->GetParent();
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
3743 return resultobj;
3744 fail:
3745 return NULL;
3746}
3747
3748
3749static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3752 wxHtmlCell *result;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
3774static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3777 wxCursor result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = ((wxHtmlCell const *)arg1)->GetCursor();
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 {
3793 wxCursor * resultptr;
3794 resultptr = new wxCursor((wxCursor &) result);
3795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1);
3796 }
3797 return resultobj;
3798 fail:
3799 return NULL;
3800}
3801
3802
3803static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3806 bool result;
3807 PyObject * obj0 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
3813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
3817
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 resultobj = PyInt_FromLong((long)result);
3822 return resultobj;
3823 fail:
3824 return NULL;
3825}
3826
3827
3828static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj;
3830 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3831 wxHtmlLinkInfo *arg2 = 0 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "link", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3841 if (arg2 == NULL) {
3842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3843 }
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 Py_INCREF(Py_None); resultobj = Py_None;
3852 return resultobj;
3853 fail:
3854 return NULL;
3855}
3856
3857
3858static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3861 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "cell", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 (arg1)->SetNext(arg2);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
3879 return resultobj;
3880 fail:
3881 return NULL;
3882}
3883
3884
3885static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3888 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "p", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
3896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 (arg1)->SetParent(arg2);
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
3912static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3915 int arg2 ;
3916 int arg3 ;
3917 PyObject * obj0 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self",(char *) "x",(char *) "y", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlCell_SetPos",kwnames,&obj0,&arg2,&arg3)) goto fail;
3923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 (arg1)->SetPos(arg2,arg3);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 Py_INCREF(Py_None); resultobj = Py_None;
3932 return resultobj;
3933 fail:
3934 return NULL;
3935}
3936
3937
3938static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3941 int arg2 ;
3942 PyObject * obj0 = 0 ;
3943 char *kwnames[] = {
3944 (char *) "self",(char *) "w", NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlCell_Layout",kwnames,&obj0,&arg2)) goto fail;
3948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 (arg1)->Layout(arg2);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
3966 wxDC *arg2 = 0 ;
3967 int arg3 ;
3968 int arg4 ;
3969 int arg5 ;
3970 int arg6 ;
3971 wxHtmlRenderingInfo *arg7 = 0 ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3974 PyObject * obj6 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiiiO:HtmlCell_Draw",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail;
3980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3982 if (arg2 == NULL) {
3983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3984 }
3985 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 if (arg7 == NULL) {
3987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3988 }
3989 {
3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
3991 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
3992
3993 wxPyEndAllowThreads(__tstate);
3994 if (PyErr_Occurred()) SWIG_fail;
3995 }
3996 Py_INCREF(Py_None); resultobj = Py_None;
3997 return resultobj;
3998 fail:
3999 return NULL;
4000}
4001
4002
4003static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj;
4005 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4006 wxDC *arg2 = 0 ;
4007 int arg3 ;
4008 int arg4 ;
4009 wxHtmlRenderingInfo *arg5 = 0 ;
4010 PyObject * obj0 = 0 ;
4011 PyObject * obj1 = 0 ;
4012 PyObject * obj4 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4020 if (arg2 == NULL) {
4021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4022 }
4023 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4024 if (arg5 == NULL) {
4025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4026 }
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4030
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 Py_INCREF(Py_None); resultobj = Py_None;
4035 return resultobj;
4036 fail:
4037 return NULL;
4038}
4039
4040
4041static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4042 PyObject *resultobj;
4043 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4044 int arg2 ;
4045 void *arg3 = (void *) 0 ;
4046 wxHtmlCell *result;
4047 PyObject * obj0 = 0 ;
4048 PyObject * obj2 = 0 ;
4049 char *kwnames[] = {
4050 (char *) "self",(char *) "condition",(char *) "param", NULL
4051 };
4052
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HtmlCell_Find",kwnames,&obj0,&arg2,&obj2)) goto fail;
4054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4055 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4064 return resultobj;
4065 fail:
4066 return NULL;
4067}
4068
4069
4070static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject *resultobj;
4072 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4073 int *arg2 = (int *) 0 ;
4074 bool result;
4075 int temp2 ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self",(char *) "INOUT", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4084 {
4085 temp2 = PyInt_AsLong(obj1);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 arg2 = &temp2;
4088 }
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 result = (bool)(arg1)->AdjustPagebreak(arg2);
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = PyInt_FromLong((long)result);
4097 {
4098 PyObject *o = PyInt_FromLong((long) (*arg2));
4099 resultobj = t_output_helper(resultobj,o);
4100 }
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
4107static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4110 bool arg2 ;
4111 PyObject * obj0 = 0 ;
4112 PyObject * obj1 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "can", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4119 arg2 = PyInt_AsLong(obj1) ? true : false;
4120 if (PyErr_Occurred()) SWIG_fail;
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->SetCanLiveOnPagebreak(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132}
4133
4134
4135static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4138 bool result;
4139 PyObject * obj0 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 resultobj = PyInt_FromLong((long)result);
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
4160static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4163 bool result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4174
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 resultobj = PyInt_FromLong((long)result);
4179 return resultobj;
4180 fail:
4181 return NULL;
4182}
4183
4184
4185static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
423f194a
RD
4188 int arg2 ;
4189 int arg3 ;
d14a1e28
RD
4190 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4191 wxHtmlCell *result;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj3 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4200 if (obj3) {
4201 arg4 = (unsigned int) PyInt_AsLong(obj3);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4221 wxPoint result;
4222 PyObject * obj0 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 {
4237 wxPoint * resultptr;
4238 resultptr = new wxPoint((wxPoint &) result);
4239 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4240 }
4241 return resultobj;
4242 fail:
4243 return NULL;
4244}
4245
4246
4247static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4250 wxHtmlCell *result;
4251 PyObject * obj0 = 0 ;
4252 char *kwnames[] = {
4253 (char *) "self", NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
4272static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4275 wxHtmlCell *result;
4276 PyObject * obj0 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4286
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4291 return resultobj;
4292 fail:
4293 return NULL;
4294}
4295
4296
4297static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4300 unsigned int result;
4301 PyObject * obj0 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 resultobj = PyInt_FromLong((long)result);
4316 return resultobj;
4317 fail:
4318 return NULL;
4319}
4320
4321
4322static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj;
4324 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4325 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4326 bool result;
4327 PyObject * obj0 = 0 ;
4328 PyObject * obj1 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self",(char *) "cell", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 resultobj = PyInt_FromLong((long)result);
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
4350static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4353 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
4354 wxString result;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 char *kwnames[] = {
4358 (char *) "self",(char *) "sel", NULL
4359 };
4360
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
4362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 {
4372#if wxUSE_UNICODE
4373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4374#else
4375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4376#endif
4377 }
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
4384static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
4385 PyObject *obj;
4386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4387 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
4388 Py_INCREF(obj);
4389 return Py_BuildValue((char *)"");
4390}
4391static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj;
4393 wxString *arg1 = 0 ;
4394 wxDC *arg2 = 0 ;
4395 wxHtmlWordCell *result;
423f194a 4396 bool temp1 = False ;
d14a1e28
RD
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "word",(char *) "dc", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
4404 {
4405 arg1 = wxString_in_helper(obj0);
4406 if (arg1 == NULL) SWIG_fail;
423f194a 4407 temp1 = True;
d14a1e28
RD
4408 }
4409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 if (arg2 == NULL) {
4411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4412 }
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1);
4421 {
4422 if (temp1)
4423 delete arg1;
4424 }
4425 return resultobj;
4426 fail:
4427 {
4428 if (temp1)
4429 delete arg1;
4430 }
4431 return NULL;
4432}
4433
4434
4435static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
4436 PyObject *obj;
4437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4438 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
4439 Py_INCREF(obj);
4440 return Py_BuildValue((char *)"");
4441}
4442static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4445 wxHtmlContainerCell *result;
4446 PyObject * obj0 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "parent", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1);
4461 return resultobj;
4462 fail:
4463 return NULL;
4464}
4465
4466
4467static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj;
4469 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4470 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "cell", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
4478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 (arg1)->InsertCell(arg2);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 Py_INCREF(Py_None); resultobj = Py_None;
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
4494static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4497 int arg2 ;
4498 PyObject * obj0 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self",(char *) "al", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&arg2)) goto fail;
4504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->SetAlignHor(arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4522 int result;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (int)(arg1)->GetAlignHor();
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 resultobj = PyInt_FromLong((long)result);
4538 return resultobj;
4539 fail:
4540 return NULL;
4541}
4542
4543
4544static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4547 int arg2 ;
4548 PyObject * obj0 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self",(char *) "al", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&arg2)) goto fail;
4554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 (arg1)->SetAlignVer(arg2);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 Py_INCREF(Py_None); resultobj = Py_None;
4563 return resultobj;
4564 fail:
4565 return NULL;
4566}
4567
4568
4569static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4572 int result;
4573 PyObject * obj0 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 result = (int)(arg1)->GetAlignVer();
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 resultobj = PyInt_FromLong((long)result);
4588 return resultobj;
4589 fail:
4590 return NULL;
4591}
4592
4593
4594static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4595 PyObject *resultobj;
4596 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4597 int arg2 ;
4598 int arg3 ;
4599 int arg4 = (int) wxHTML_UNITS_PIXELS ;
4600 PyObject * obj0 = 0 ;
4601 char *kwnames[] = {
4602 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
4603 };
4604
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
4606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->SetIndent(arg2,arg3,arg4);
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 Py_INCREF(Py_None); resultobj = Py_None;
4615 return resultobj;
4616 fail:
4617 return NULL;
4618}
4619
4620
4621static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4624 int arg2 ;
4625 int result;
4626 PyObject * obj0 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "ind", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames,&obj0,&arg2)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = (int)(arg1)->GetIndent(arg2);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 resultobj = PyInt_FromLong((long)result);
4641 return resultobj;
4642 fail:
4643 return NULL;
4644}
4645
4646
4647static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4650 int arg2 ;
4651 int result;
4652 PyObject * obj0 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self",(char *) "ind", NULL
4655 };
4656
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&arg2)) goto fail;
4658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = (int)(arg1)->GetIndentUnits(arg2);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 resultobj = PyInt_FromLong((long)result);
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
4673static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4676 wxHtmlTag *arg2 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self",(char *) "tag", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4686 if (arg2 == NULL) {
4687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4688 }
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
4692
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 Py_INCREF(Py_None); resultobj = Py_None;
4697 return resultobj;
4698 fail:
4699 return NULL;
4700}
4701
4702
4703static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
4704 PyObject *resultobj;
4705 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4706 int arg2 ;
4707 int arg3 ;
4708 PyObject * obj0 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "self",(char *) "w",(char *) "units", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&arg2,&arg3)) goto fail;
4714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 (arg1)->SetWidthFloat(arg2,arg3);
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 Py_INCREF(Py_None); resultobj = Py_None;
4723 return resultobj;
4724 fail:
4725 return NULL;
4726}
4727
4728
4729static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj;
4731 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4732 wxHtmlTag *arg2 = 0 ;
4733 PyObject * obj0 = 0 ;
4734 PyObject * obj1 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self",(char *) "tag", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
4740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4742 if (arg2 == NULL) {
4743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4744 }
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 Py_INCREF(Py_None); resultobj = Py_None;
4753 return resultobj;
4754 fail:
4755 return NULL;
4756}
4757
4758
4759static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4760 PyObject *resultobj;
4761 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4762 int arg2 ;
4763 int arg3 = (int) wxHTML_ALIGN_TOP ;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self",(char *) "h",(char *) "align", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&arg2,&arg3)) goto fail;
4770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4771 {
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 (arg1)->SetMinHeight(arg2,arg3);
4774
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 Py_INCREF(Py_None); resultobj = Py_None;
4779 return resultobj;
4780 fail:
4781 return NULL;
4782}
4783
4784
4785static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject *resultobj;
4787 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4788 wxColour *arg2 = 0 ;
4789 wxColour temp2 ;
4790 PyObject * obj0 = 0 ;
4791 PyObject * obj1 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self",(char *) "clr", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
4797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4798 {
4799 arg2 = &temp2;
4800 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4801 }
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 Py_INCREF(Py_None); resultobj = Py_None;
4810 return resultobj;
4811 fail:
4812 return NULL;
4813}
4814
4815
4816static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4817 PyObject *resultobj;
4818 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4819 wxColour result;
4820 PyObject * obj0 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self", NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
4826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (arg1)->GetBackgroundColour();
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 {
4835 wxColour * resultptr;
4836 resultptr = new wxColour((wxColour &) result);
4837 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4838 }
4839 return resultobj;
4840 fail:
4841 return NULL;
4842}
4843
4844
4845static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4848 wxColour *arg2 = 0 ;
4849 wxColour *arg3 = 0 ;
4850 wxColour temp2 ;
4851 wxColour temp3 ;
4852 PyObject * obj0 = 0 ;
4853 PyObject * obj1 = 0 ;
4854 PyObject * obj2 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 arg2 = &temp2;
4863 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4864 }
4865 {
4866 arg3 = &temp3;
4867 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4868 }
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 Py_INCREF(Py_None); resultobj = Py_None;
4877 return resultobj;
4878 fail:
4879 return NULL;
4880}
4881
4882
4883static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
4886 wxHtmlCell *result;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
4893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (wxHtmlCell *)(arg1)->GetFirstChild();
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0);
4902 return resultobj;
4903 fail:
4904 return NULL;
4905}
4906
4907
4908static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
4909 PyObject *obj;
4910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4911 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
4912 Py_INCREF(obj);
4913 return Py_BuildValue((char *)"");
4914}
4915static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxColour arg1 ;
4918 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
4919 wxHtmlColourCell *result;
4920 wxColour *argp1 ;
4921 PyObject * obj0 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "clr",(char *) "flags", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlColourCell",kwnames,&obj0,&arg2)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4928 arg1 = *argp1;
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1);
4937 return resultobj;
4938 fail:
4939 return NULL;
4940}
4941
4942
4943static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
4944 PyObject *obj;
4945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4946 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
4947 Py_INCREF(obj);
4948 return Py_BuildValue((char *)"");
4949}
4950static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject *resultobj;
4952 wxFont *arg1 = (wxFont *) 0 ;
4953 wxHtmlFontCell *result;
4954 PyObject * obj0 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "font", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
4960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1);
4969 return resultobj;
4970 fail:
4971 return NULL;
4972}
4973
4974
4975static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
4976 PyObject *obj;
4977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4978 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
4979 Py_INCREF(obj);
4980 return Py_BuildValue((char *)"");
4981}
4982static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject *resultobj;
4984 wxWindow *arg1 = (wxWindow *) 0 ;
4985 int arg2 = (int) 0 ;
4986 wxHtmlWidgetCell *result;
4987 PyObject * obj0 = 0 ;
4988 char *kwnames[] = {
4989 (char *) "wnd",(char *) "w", NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlWidgetCell",kwnames,&obj0,&arg2)) goto fail;
4993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1);
5002 return resultobj;
5003 fail:
5004 return NULL;
5005}
5006
5007
5008static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5009 PyObject *obj;
5010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5011 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5012 Py_INCREF(obj);
5013 return Py_BuildValue((char *)"");
5014}
5015static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject *resultobj;
5017 wxPyHtmlFilter *result;
5018 char *kwnames[] = {
5019 NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1);
5031 return resultobj;
5032 fail:
5033 return NULL;
5034}
5035
5036
5037static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj;
5039 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5040 PyObject *arg2 = (PyObject *) 0 ;
5041 PyObject *arg3 = (PyObject *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 PyObject * obj2 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "self",(char *) "_class", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 arg2 = obj1;
5052 arg3 = obj2;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 (arg1)->_setCallbackInfo(arg2,arg3);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 Py_INCREF(Py_None); resultobj = Py_None;
5061 return resultobj;
5062 fail:
5063 return NULL;
5064}
5065
5066
5067static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5068 PyObject *obj;
5069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5070 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5071 Py_INCREF(obj);
5072 return Py_BuildValue((char *)"");
5073}
5074static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxWindow *arg1 = (wxWindow *) 0 ;
5077 int arg2 = (int) -1 ;
5078 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5079 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5080 wxSize const &arg4_defvalue = wxDefaultSize ;
5081 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5082 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5083 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5084 wxString *arg6 = (wxString *) &arg6_defvalue ;
5085 wxPyHtmlWindow *result;
5086 wxPoint temp3 ;
5087 wxSize temp4 ;
423f194a 5088 bool temp6 = False ;
d14a1e28
RD
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj2 = 0 ;
5091 PyObject * obj3 = 0 ;
5092 PyObject * obj5 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOiO:new_HtmlWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5099 if (obj2) {
5100 {
5101 arg3 = &temp3;
5102 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5103 }
5104 }
5105 if (obj3) {
5106 {
5107 arg4 = &temp4;
5108 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5109 }
5110 }
5111 if (obj5) {
5112 {
5113 arg6 = wxString_in_helper(obj5);
5114 if (arg6 == NULL) SWIG_fail;
423f194a 5115 temp6 = True;
d14a1e28
RD
5116 }
5117 }
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 {
5126 resultobj = wxPyMake_wxObject(result);
5127 }
5128 {
5129 if (temp6)
5130 delete arg6;
5131 }
5132 return resultobj;
5133 fail:
5134 {
5135 if (temp6)
5136 delete arg6;
5137 }
5138 return NULL;
5139}
5140
5141
5142static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxPyHtmlWindow *result;
5145 char *kwnames[] = {
5146 NULL
5147 };
5148
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 {
5158 resultobj = wxPyMake_wxObject(result);
5159 }
5160 return resultobj;
5161 fail:
5162 return NULL;
5163}
5164
5165
5166static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5167 PyObject *resultobj;
5168 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5169 wxWindow *arg2 = (wxWindow *) 0 ;
5170 int arg3 = (int) -1 ;
5171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5173 wxSize const &arg5_defvalue = wxDefaultSize ;
5174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5175 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5176 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5177 wxString *arg7 = (wxString *) &arg7_defvalue ;
5178 bool result;
5179 wxPoint temp4 ;
5180 wxSize temp5 ;
423f194a 5181 bool temp7 = False ;
d14a1e28
RD
5182 PyObject * obj0 = 0 ;
5183 PyObject * obj1 = 0 ;
5184 PyObject * obj3 = 0 ;
5185 PyObject * obj4 = 0 ;
5186 PyObject * obj6 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5194 if (obj3) {
5195 {
5196 arg4 = &temp4;
5197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5198 }
5199 }
5200 if (obj4) {
5201 {
5202 arg5 = &temp5;
5203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5204 }
5205 }
5206 if (obj6) {
5207 {
5208 arg7 = wxString_in_helper(obj6);
5209 if (arg7 == NULL) SWIG_fail;
423f194a 5210 temp7 = True;
d14a1e28
RD
5211 }
5212 }
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 resultobj = PyInt_FromLong((long)result);
5221 {
5222 if (temp7)
5223 delete arg7;
5224 }
5225 return resultobj;
5226 fail:
5227 {
5228 if (temp7)
5229 delete arg7;
5230 }
5231 return NULL;
5232}
5233
5234
5235static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5238 PyObject *arg2 = (PyObject *) 0 ;
5239 PyObject *arg3 = (PyObject *) 0 ;
5240 PyObject * obj0 = 0 ;
5241 PyObject * obj1 = 0 ;
5242 PyObject * obj2 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self",(char *) "self",(char *) "_class", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5249 arg2 = obj1;
5250 arg3 = obj2;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->_setCallbackInfo(arg2,arg3);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262}
5263
5264
5265static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5268 wxString *arg2 = 0 ;
5269 bool result;
423f194a 5270 bool temp2 = False ;
d14a1e28
RD
5271 PyObject * obj0 = 0 ;
5272 PyObject * obj1 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "source", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
5278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5279 {
5280 arg2 = wxString_in_helper(obj1);
5281 if (arg2 == NULL) SWIG_fail;
423f194a 5282 temp2 = True;
d14a1e28
RD
5283 }
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 resultobj = PyInt_FromLong((long)result);
5292 {
5293 if (temp2)
5294 delete arg2;
5295 }
5296 return resultobj;
5297 fail:
5298 {
5299 if (temp2)
5300 delete arg2;
5301 }
5302 return NULL;
5303}
5304
5305
5306static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5309 wxString *arg2 = 0 ;
5310 bool result;
423f194a 5311 bool temp2 = False ;
d14a1e28
RD
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "location", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5320 {
5321 arg2 = wxString_in_helper(obj1);
5322 if (arg2 == NULL) SWIG_fail;
423f194a 5323 temp2 = True;
d14a1e28
RD
5324 }
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 resultobj = PyInt_FromLong((long)result);
5333 {
5334 if (temp2)
5335 delete arg2;
5336 }
5337 return resultobj;
5338 fail:
5339 {
5340 if (temp2)
5341 delete arg2;
5342 }
5343 return NULL;
5344}
5345
5346
5347static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5350 wxString *arg2 = 0 ;
5351 bool result;
423f194a 5352 bool temp2 = False ;
d14a1e28
RD
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "filename", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 {
5362 arg2 = wxString_in_helper(obj1);
5363 if (arg2 == NULL) SWIG_fail;
423f194a 5364 temp2 = True;
d14a1e28
RD
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 resultobj = PyInt_FromLong((long)result);
5374 {
5375 if (temp2)
5376 delete arg2;
5377 }
5378 return resultobj;
5379 fail:
5380 {
5381 if (temp2)
5382 delete arg2;
5383 }
5384 return NULL;
5385}
5386
5387
5388static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5389 PyObject *resultobj;
5390 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5391 wxString *arg2 = 0 ;
5392 bool result;
423f194a 5393 bool temp2 = False ;
d14a1e28
RD
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "source", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 {
5403 arg2 = wxString_in_helper(obj1);
5404 if (arg2 == NULL) SWIG_fail;
423f194a 5405 temp2 = True;
d14a1e28
RD
5406 }
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = PyInt_FromLong((long)result);
5415 {
5416 if (temp2)
5417 delete arg2;
5418 }
5419 return resultobj;
5420 fail:
5421 {
5422 if (temp2)
5423 delete arg2;
5424 }
5425 return NULL;
5426}
5427
5428
5429static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject *resultobj;
5431 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5432 wxString result;
5433 PyObject * obj0 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5440 {
5441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5442 result = (arg1)->GetOpenedPage();
5443
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 {
5448#if wxUSE_UNICODE
5449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5450#else
5451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5452#endif
5453 }
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
5460static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5463 wxString result;
5464 PyObject * obj0 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
5470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (arg1)->GetOpenedAnchor();
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 {
5479#if wxUSE_UNICODE
5480 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5481#else
5482 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5483#endif
5484 }
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
5491static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5494 wxString result;
5495 PyObject * obj0 = 0 ;
5496 char *kwnames[] = {
5497 (char *) "self", NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
5501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (arg1)->GetOpenedPageTitle();
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510#if wxUSE_UNICODE
5511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5512#else
5513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5514#endif
5515 }
5516 return resultobj;
5517 fail:
5518 return NULL;
5519}
5520
5521
5522static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5523 PyObject *resultobj;
5524 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5525 wxFrame *arg2 = (wxFrame *) 0 ;
5526 wxString *arg3 = 0 ;
423f194a 5527 bool temp3 = False ;
d14a1e28
RD
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 PyObject * obj2 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "self",(char *) "frame",(char *) "format", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
5536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5538 {
5539 arg3 = wxString_in_helper(obj2);
5540 if (arg3 == NULL) SWIG_fail;
423f194a 5541 temp3 = True;
d14a1e28
RD
5542 }
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 Py_INCREF(Py_None); resultobj = Py_None;
5551 {
5552 if (temp3)
5553 delete arg3;
5554 }
5555 return resultobj;
5556 fail:
5557 {
5558 if (temp3)
5559 delete arg3;
5560 }
5561 return NULL;
5562}
5563
5564
5565static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj;
5567 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5568 wxFrame *result;
5569 PyObject * obj0 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5576 {
5577 PyThreadState* __tstate = wxPyBeginAllowThreads();
5578 result = (wxFrame *)(arg1)->GetRelatedFrame();
5579
5580 wxPyEndAllowThreads(__tstate);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 {
5584 resultobj = wxPyMake_wxObject(result);
5585 }
5586 return resultobj;
5587 fail:
5588 return NULL;
5589}
5590
5591
5592static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj;
5594 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5595 int arg2 ;
5596 PyObject * obj0 = 0 ;
5597 char *kwnames[] = {
5598 (char *) "self",(char *) "bar", NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&arg2)) goto fail;
5602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 (arg1)->SetRelatedStatusBar(arg2);
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 Py_INCREF(Py_None); resultobj = Py_None;
5611 return resultobj;
5612 fail:
5613 return NULL;
5614}
5615
5616
5617static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject *resultobj;
5619 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5620 wxString arg2 ;
5621 wxString arg3 ;
5622 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 PyObject * obj2 = 0 ;
5626 PyObject * obj3 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
5633 {
5634 wxString* sptr = wxString_in_helper(obj1);
5635 if (sptr == NULL) SWIG_fail;
5636 arg2 = *sptr;
5637 delete sptr;
5638 }
5639 {
5640 wxString* sptr = wxString_in_helper(obj2);
5641 if (sptr == NULL) SWIG_fail;
5642 arg3 = *sptr;
5643 delete sptr;
5644 }
d14a1e28
RD
5645 if (obj3) {
5646 arg4 = obj3;
5647 }
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 Py_INCREF(Py_None); resultobj = Py_None;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
5662static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5665 wxString *arg2 = 0 ;
423f194a 5666 bool temp2 = False ;
d14a1e28
RD
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "title", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 {
5676 arg2 = wxString_in_helper(obj1);
5677 if (arg2 == NULL) SWIG_fail;
423f194a 5678 temp2 = True;
d14a1e28
RD
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 (arg1)->SetTitle((wxString const &)*arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 Py_INCREF(Py_None); resultobj = Py_None;
5688 {
5689 if (temp2)
5690 delete arg2;
5691 }
5692 return resultobj;
5693 fail:
5694 {
5695 if (temp2)
5696 delete arg2;
5697 }
5698 return NULL;
5699}
5700
5701
5702static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5705 int arg2 ;
5706 PyObject * obj0 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "b", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetBorders",kwnames,&obj0,&arg2)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetBorders(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724}
5725
5726
5727static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5730 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
5731 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
5732 PyObject * obj0 = 0 ;
5733 PyObject * obj1 = 0 ;
5734 PyObject * obj2 = 0 ;
5735 char *kwnames[] = {
5736 (char *) "self",(char *) "cfg",(char *) "path", NULL
5737 };
5738
5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
5740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5742 if (obj2) {
423f194a
RD
5743 {
5744 wxString* sptr = wxString_in_helper(obj2);
5745 if (sptr == NULL) SWIG_fail;
5746 arg3 = *sptr;
5747 delete sptr;
5748 }
d14a1e28
RD
5749 }
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 (arg1)->ReadCustomization(arg2,arg3);
5753
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 Py_INCREF(Py_None); resultobj = Py_None;
5758 return resultobj;
5759 fail:
5760 return NULL;
5761}
5762
5763
5764static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj;
5766 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5767 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
5768 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 PyObject * obj2 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "cfg",(char *) "path", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 if (obj2) {
423f194a
RD
5780 {
5781 wxString* sptr = wxString_in_helper(obj2);
5782 if (sptr == NULL) SWIG_fail;
5783 arg3 = *sptr;
5784 delete sptr;
5785 }
d14a1e28
RD
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 (arg1)->WriteCustomization(arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 Py_INCREF(Py_None); resultobj = Py_None;
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
5801static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5804 bool result;
5805 PyObject * obj0 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (bool)(arg1)->HistoryBack();
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 resultobj = PyInt_FromLong((long)result);
5820 return resultobj;
5821 fail:
5822 return NULL;
5823}
5824
5825
5826static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5829 bool result;
5830 PyObject * obj0 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
5836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 result = (bool)(arg1)->HistoryForward();
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 resultobj = PyInt_FromLong((long)result);
5845 return resultobj;
5846 fail:
5847 return NULL;
5848}
5849
5850
5851static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5854 bool result;
5855 PyObject * obj0 = 0 ;
5856 char *kwnames[] = {
5857 (char *) "self", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
5861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = (bool)(arg1)->HistoryCanBack();
5865
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 resultobj = PyInt_FromLong((long)result);
5870 return resultobj;
5871 fail:
5872 return NULL;
5873}
5874
5875
5876static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj;
5878 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5879 bool result;
5880 PyObject * obj0 = 0 ;
5881 char *kwnames[] = {
5882 (char *) "self", NULL
5883 };
5884
5885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
5886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 result = (bool)(arg1)->HistoryCanForward();
5890
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 resultobj = PyInt_FromLong((long)result);
5895 return resultobj;
5896 fail:
5897 return NULL;
5898}
5899
5900
5901static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
5902 PyObject *resultobj;
5903 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5904 PyObject * obj0 = 0 ;
5905 char *kwnames[] = {
5906 (char *) "self", NULL
5907 };
5908
5909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
5910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 (arg1)->HistoryClear();
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 Py_INCREF(Py_None); resultobj = Py_None;
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
5925static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5928 wxHtmlContainerCell *result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0);
5944 return resultobj;
5945 fail:
5946 return NULL;
5947}
5948
5949
5950static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj;
5952 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5953 wxHtmlWinParser *result;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (wxHtmlWinParser *)(arg1)->GetParser();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0);
5969 return resultobj;
5970 fail:
5971 return NULL;
5972}
5973
5974
5975static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5978 wxString *arg2 = 0 ;
5979 bool result;
423f194a 5980 bool temp2 = False ;
d14a1e28
RD
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "anchor", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5989 {
5990 arg2 = wxString_in_helper(obj1);
5991 if (arg2 == NULL) SWIG_fail;
423f194a 5992 temp2 = True;
d14a1e28
RD
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 resultobj = PyInt_FromLong((long)result);
6002 {
6003 if (temp2)
6004 delete arg2;
6005 }
6006 return resultobj;
6007 fail:
6008 {
6009 if (temp2)
6010 delete arg2;
6011 }
6012 return NULL;
6013}
6014
6015
6016static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6019 wxString *arg2 = 0 ;
6020 bool result;
423f194a 6021 bool temp2 = False ;
d14a1e28
RD
6022 PyObject * obj0 = 0 ;
6023 PyObject * obj1 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "self",(char *) "anchor", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 {
6031 arg2 = wxString_in_helper(obj1);
6032 if (arg2 == NULL) SWIG_fail;
423f194a 6033 temp2 = True;
d14a1e28
RD
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 resultobj = PyInt_FromLong((long)result);
6043 {
6044 if (temp2)
6045 delete arg2;
6046 }
6047 return resultobj;
6048 fail:
6049 {
6050 if (temp2)
6051 delete arg2;
6052 }
6053 return NULL;
6054}
6055
6056
6057static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6060 PyObject * obj0 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "filter", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 wxPyHtmlWindow::AddFilter(arg1);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 Py_INCREF(Py_None); resultobj = Py_None;
6075 return resultobj;
6076 fail:
6077 return NULL;
6078}
6079
6080
6081static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6084 wxHtmlLinkInfo *arg2 = 0 ;
6085 PyObject * obj0 = 0 ;
6086 PyObject * obj1 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "self",(char *) "link", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
6092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6094 if (arg2 == NULL) {
6095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6096 }
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 Py_INCREF(Py_None); resultobj = Py_None;
6105 return resultobj;
6106 fail:
6107 return NULL;
6108}
6109
6110
6111static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6112 PyObject *resultobj;
6113 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6114 wxString *arg2 = 0 ;
423f194a 6115 bool temp2 = False ;
d14a1e28
RD
6116 PyObject * obj0 = 0 ;
6117 PyObject * obj1 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self",(char *) "title", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6124 {
6125 arg2 = wxString_in_helper(obj1);
6126 if (arg2 == NULL) SWIG_fail;
423f194a 6127 temp2 = True;
d14a1e28
RD
6128 }
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 (arg1)->base_OnSetTitle((wxString const &)*arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 Py_INCREF(Py_None); resultobj = Py_None;
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return resultobj;
6142 fail:
6143 {
6144 if (temp2)
6145 delete arg2;
6146 }
6147 return NULL;
6148}
6149
6150
6151static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6154 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
6155 int arg3 ;
6156 int arg4 ;
d14a1e28
RD
6157 PyObject * obj0 = 0 ;
6158 PyObject * obj1 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
6164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 Py_INCREF(Py_None); resultobj = Py_None;
6174 return resultobj;
6175 fail:
6176 return NULL;
6177}
6178
6179
6180static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6183 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
423f194a
RD
6184 int arg3 ;
6185 int arg4 ;
d14a1e28
RD
6186 wxMouseEvent *arg5 = 0 ;
6187 PyObject * obj0 = 0 ;
6188 PyObject * obj1 = 0 ;
6189 PyObject * obj4 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198 if (arg5 == NULL) {
6199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
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 * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
6216 PyObject *obj;
6217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6218 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
6219 Py_INCREF(obj);
6220 return Py_BuildValue((char *)"");
6221}
6222static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxHtmlDCRenderer *result;
6225 char *kwnames[] = {
6226 NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1);
6238 return resultobj;
6239 fail:
6240 return NULL;
6241}
6242
6243
6244static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6247 PyObject * obj0 = 0 ;
6248 char *kwnames[] = {
6249 (char *) "self", NULL
6250 };
6251
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
6253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 delete arg1;
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 Py_INCREF(Py_None); resultobj = Py_None;
6262 return resultobj;
6263 fail:
6264 return NULL;
6265}
6266
6267
6268static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6271 wxDC *arg2 = (wxDC *) 0 ;
6272 int arg3 ;
6273 PyObject * obj0 = 0 ;
6274 PyObject * obj1 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
6280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 (arg1)->SetDC(arg2,arg3);
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 Py_INCREF(Py_None); resultobj = Py_None;
6290 return resultobj;
6291 fail:
6292 return NULL;
6293}
6294
6295
6296static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6297 PyObject *resultobj;
6298 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6299 int arg2 ;
6300 int arg3 ;
6301 PyObject * obj0 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "self",(char *) "width",(char *) "height", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
6307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 (arg1)->SetSize(arg2,arg3);
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 Py_INCREF(Py_None); resultobj = Py_None;
6316 return resultobj;
6317 fail:
6318 return NULL;
6319}
6320
6321
6322static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6325 wxString *arg2 = 0 ;
6326 wxString const &arg3_defvalue = wxPyEmptyString ;
6327 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
6328 bool arg4 = (bool) True ;
6329 bool temp2 = False ;
6330 bool temp3 = False ;
d14a1e28
RD
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 PyObject * obj2 = 0 ;
6334 PyObject * obj3 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 {
6342 arg2 = wxString_in_helper(obj1);
6343 if (arg2 == NULL) SWIG_fail;
423f194a 6344 temp2 = True;
d14a1e28
RD
6345 }
6346 if (obj2) {
6347 {
6348 arg3 = wxString_in_helper(obj2);
6349 if (arg3 == NULL) SWIG_fail;
423f194a 6350 temp3 = True;
d14a1e28
RD
6351 }
6352 }
6353 if (obj3) {
6354 arg4 = PyInt_AsLong(obj3) ? true : false;
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 Py_INCREF(Py_None); resultobj = Py_None;
6365 {
6366 if (temp2)
6367 delete arg2;
6368 }
6369 {
6370 if (temp3)
6371 delete arg3;
6372 }
6373 return resultobj;
6374 fail:
6375 {
6376 if (temp2)
6377 delete arg2;
6378 }
6379 {
6380 if (temp3)
6381 delete arg3;
6382 }
6383 return NULL;
6384}
6385
6386
6387static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6388 PyObject *resultobj;
6389 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6390 wxString arg2 ;
6391 wxString arg3 ;
6392 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 PyObject * obj2 = 0 ;
6396 PyObject * obj3 = 0 ;
6397 char *kwnames[] = {
6398 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6399 };
6400
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
6403 {
6404 wxString* sptr = wxString_in_helper(obj1);
6405 if (sptr == NULL) SWIG_fail;
6406 arg2 = *sptr;
6407 delete sptr;
6408 }
6409 {
6410 wxString* sptr = wxString_in_helper(obj2);
6411 if (sptr == NULL) SWIG_fail;
6412 arg3 = *sptr;
6413 delete sptr;
6414 }
d14a1e28
RD
6415 if (obj3) {
6416 arg4 = obj3;
6417 }
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 Py_INCREF(Py_None); resultobj = Py_None;
6426 return resultobj;
6427 fail:
6428 return NULL;
6429}
6430
6431
6432static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6435 int arg2 ;
6436 int arg3 ;
6437 int arg4 = (int) 0 ;
423f194a 6438 int arg5 = (int) False ;
d14a1e28
RD
6439 int arg6 = (int) INT_MAX ;
6440 int *arg7 = (int *) NULL ;
6441 int arg8 = (int) 0 ;
6442 int result;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj6 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&obj6,&arg8)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 if (obj6) {
6452 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 resultobj = PyInt_FromLong((long)result);
6462 return resultobj;
6463 fail:
6464 return NULL;
6465}
6466
6467
6468static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
6471 int result;
6472 PyObject * obj0 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
6478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 result = (int)(arg1)->GetTotalHeight();
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 resultobj = PyInt_FromLong((long)result);
6487 return resultobj;
6488 fail:
6489 return NULL;
6490}
6491
6492
6493static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
6494 PyObject *obj;
6495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6496 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
6497 Py_INCREF(obj);
6498 return Py_BuildValue((char *)"");
6499}
6500static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj;
6502 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
6503 wxString *arg1 = (wxString *) &arg1_defvalue ;
6504 wxHtmlPrintout *result;
423f194a 6505 bool temp1 = False ;
d14a1e28
RD
6506 PyObject * obj0 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "title", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
6512 if (obj0) {
6513 {
6514 arg1 = wxString_in_helper(obj0);
6515 if (arg1 == NULL) SWIG_fail;
423f194a 6516 temp1 = True;
d14a1e28
RD
6517 }
6518 }
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1);
6527 {
6528 if (temp1)
6529 delete arg1;
6530 }
6531 return resultobj;
6532 fail:
6533 {
6534 if (temp1)
6535 delete arg1;
6536 }
6537 return NULL;
6538}
6539
6540
6541static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
6544 wxString *arg2 = 0 ;
6545 wxString const &arg3_defvalue = wxPyEmptyString ;
6546 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
6547 bool arg4 = (bool) True ;
6548 bool temp2 = False ;
6549 bool temp3 = False ;
d14a1e28
RD
6550 PyObject * obj0 = 0 ;
6551 PyObject * obj1 = 0 ;
6552 PyObject * obj2 = 0 ;
6553 PyObject * obj3 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6560 {
6561 arg2 = wxString_in_helper(obj1);
6562 if (arg2 == NULL) SWIG_fail;
423f194a 6563 temp2 = True;
d14a1e28
RD
6564 }
6565 if (obj2) {
6566 {
6567 arg3 = wxString_in_helper(obj2);
6568 if (arg3 == NULL) SWIG_fail;
423f194a 6569 temp3 = True;
d14a1e28
RD
6570 }
6571 }
6572 if (obj3) {
6573 arg4 = PyInt_AsLong(obj3) ? true : false;
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 {
6585 if (temp2)
6586 delete arg2;
6587 }
6588 {
6589 if (temp3)
6590 delete arg3;
6591 }
6592 return resultobj;
6593 fail:
6594 {
6595 if (temp2)
6596 delete arg2;
6597 }
6598 {
6599 if (temp3)
6600 delete arg3;
6601 }
6602 return NULL;
6603}
6604
6605
6606static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
6609 wxString *arg2 = 0 ;
423f194a 6610 bool temp2 = False ;
d14a1e28
RD
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "htmlfile", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6619 {
6620 arg2 = wxString_in_helper(obj1);
6621 if (arg2 == NULL) SWIG_fail;
423f194a 6622 temp2 = True;
d14a1e28
RD
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->SetHtmlFile((wxString const &)*arg2);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 {
6633 if (temp2)
6634 delete arg2;
6635 }
6636 return resultobj;
6637 fail:
6638 {
6639 if (temp2)
6640 delete arg2;
6641 }
6642 return NULL;
6643}
6644
6645
6646static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
6649 wxString *arg2 = 0 ;
6650 int arg3 = (int) wxPAGE_ALL ;
423f194a 6651 bool temp2 = False ;
d14a1e28
RD
6652 PyObject * obj0 = 0 ;
6653 PyObject * obj1 = 0 ;
6654 char *kwnames[] = {
6655 (char *) "self",(char *) "header",(char *) "pg", NULL
6656 };
6657
6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6660 {
6661 arg2 = wxString_in_helper(obj1);
6662 if (arg2 == NULL) SWIG_fail;
423f194a 6663 temp2 = True;
d14a1e28
RD
6664 }
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 (arg1)->SetHeader((wxString const &)*arg2,arg3);
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 Py_INCREF(Py_None); resultobj = Py_None;
6673 {
6674 if (temp2)
6675 delete arg2;
6676 }
6677 return resultobj;
6678 fail:
6679 {
6680 if (temp2)
6681 delete arg2;
6682 }
6683 return NULL;
6684}
6685
6686
6687static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
6690 wxString *arg2 = 0 ;
6691 int arg3 = (int) wxPAGE_ALL ;
423f194a 6692 bool temp2 = False ;
d14a1e28
RD
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 char *kwnames[] = {
6696 (char *) "self",(char *) "footer",(char *) "pg", NULL
6697 };
6698
6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail;
6700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6701 {
6702 arg2 = wxString_in_helper(obj1);
6703 if (arg2 == NULL) SWIG_fail;
423f194a 6704 temp2 = True;
d14a1e28
RD
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 (arg1)->SetFooter((wxString const &)*arg2,arg3);
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 Py_INCREF(Py_None); resultobj = Py_None;
6714 {
6715 if (temp2)
6716 delete arg2;
6717 }
6718 return resultobj;
6719 fail:
6720 {
6721 if (temp2)
6722 delete arg2;
6723 }
6724 return NULL;
6725}
6726
6727
6728static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
6731 wxString arg2 ;
6732 wxString arg3 ;
6733 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 PyObject * obj2 = 0 ;
6737 PyObject * obj3 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
6744 {
6745 wxString* sptr = wxString_in_helper(obj1);
6746 if (sptr == NULL) SWIG_fail;
6747 arg2 = *sptr;
6748 delete sptr;
6749 }
6750 {
6751 wxString* sptr = wxString_in_helper(obj2);
6752 if (sptr == NULL) SWIG_fail;
6753 arg3 = *sptr;
6754 delete sptr;
6755 }
d14a1e28
RD
6756 if (obj3) {
6757 arg4 = obj3;
6758 }
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 Py_INCREF(Py_None); resultobj = Py_None;
6767 return resultobj;
6768 fail:
6769 return NULL;
6770}
6771
6772
6773static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj;
6775 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
6776 float arg2 = (float) 25.2 ;
6777 float arg3 = (float) 25.2 ;
6778 float arg4 = (float) 25.2 ;
6779 float arg5 = (float) 25.2 ;
6780 float arg6 = (float) 5 ;
6781 PyObject * obj0 = 0 ;
6782 char *kwnames[] = {
6783 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
6784 };
6785
6786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
6787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 Py_INCREF(Py_None); resultobj = Py_None;
6796 return resultobj;
6797 fail:
6798 return NULL;
6799}
6800
6801
6802static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6803 PyObject *resultobj;
6804 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "filter", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 wxHtmlPrintout::AddFilter(arg1);
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 Py_INCREF(Py_None); resultobj = Py_None;
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
6826static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 char *kwnames[] = {
6829 NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 wxHtmlPrintout::CleanUpStatics();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
6847static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
6848 PyObject *obj;
6849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6850 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
6851 Py_INCREF(obj);
6852 return Py_BuildValue((char *)"");
6853}
6854static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
6857 wxString *arg1 = (wxString *) &arg1_defvalue ;
6858 wxWindow *arg2 = (wxWindow *) NULL ;
6859 wxHtmlEasyPrinting *result;
423f194a 6860 bool temp1 = False ;
d14a1e28
RD
6861 PyObject * obj0 = 0 ;
6862 PyObject * obj1 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "name",(char *) "parentWindow", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
6868 if (obj0) {
6869 {
6870 arg1 = wxString_in_helper(obj0);
6871 if (arg1 == NULL) SWIG_fail;
423f194a 6872 temp1 = True;
d14a1e28
RD
6873 }
6874 }
6875 if (obj1) {
6876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1);
6886 {
6887 if (temp1)
6888 delete arg1;
6889 }
6890 return resultobj;
6891 fail:
6892 {
6893 if (temp1)
6894 delete arg1;
6895 }
6896 return NULL;
6897}
6898
6899
6900static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
6903 PyObject * obj0 = 0 ;
6904 char *kwnames[] = {
6905 (char *) "self", NULL
6906 };
6907
6908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
6909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 delete arg1;
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 Py_INCREF(Py_None); resultobj = Py_None;
6918 return resultobj;
6919 fail:
6920 return NULL;
6921}
6922
6923
6924static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6925 PyObject *resultobj;
6926 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
6927 wxString *arg2 = 0 ;
423f194a 6928 bool temp2 = False ;
d14a1e28
RD
6929 PyObject * obj0 = 0 ;
6930 PyObject * obj1 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self",(char *) "htmlfile", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 {
6938 arg2 = wxString_in_helper(obj1);
6939 if (arg2 == NULL) SWIG_fail;
423f194a 6940 temp2 = True;
d14a1e28
RD
6941 }
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 (arg1)->PreviewFile((wxString const &)*arg2);
6945
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 Py_INCREF(Py_None); resultobj = Py_None;
6950 {
6951 if (temp2)
6952 delete arg2;
6953 }
6954 return resultobj;
6955 fail:
6956 {
6957 if (temp2)
6958 delete arg2;
6959 }
6960 return NULL;
6961}
6962
6963
6964static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
6967 wxString *arg2 = 0 ;
6968 wxString const &arg3_defvalue = wxPyEmptyString ;
6969 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
6970 bool temp2 = False ;
6971 bool temp3 = False ;
d14a1e28
RD
6972 PyObject * obj0 = 0 ;
6973 PyObject * obj1 = 0 ;
6974 PyObject * obj2 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 {
6982 arg2 = wxString_in_helper(obj1);
6983 if (arg2 == NULL) SWIG_fail;
423f194a 6984 temp2 = True;
d14a1e28
RD
6985 }
6986 if (obj2) {
6987 {
6988 arg3 = wxString_in_helper(obj2);
6989 if (arg3 == NULL) SWIG_fail;
423f194a 6990 temp3 = True;
d14a1e28
RD
6991 }
6992 }
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 Py_INCREF(Py_None); resultobj = Py_None;
7001 {
7002 if (temp2)
7003 delete arg2;
7004 }
7005 {
7006 if (temp3)
7007 delete arg3;
7008 }
7009 return resultobj;
7010 fail:
7011 {
7012 if (temp2)
7013 delete arg2;
7014 }
7015 {
7016 if (temp3)
7017 delete arg3;
7018 }
7019 return NULL;
7020}
7021
7022
7023static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7026 wxString *arg2 = 0 ;
423f194a 7027 bool temp2 = False ;
d14a1e28
RD
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "htmlfile", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036 {
7037 arg2 = wxString_in_helper(obj1);
7038 if (arg2 == NULL) SWIG_fail;
423f194a 7039 temp2 = True;
d14a1e28
RD
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->PrintFile((wxString const &)*arg2);
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 Py_INCREF(Py_None); resultobj = Py_None;
7049 {
7050 if (temp2)
7051 delete arg2;
7052 }
7053 return resultobj;
7054 fail:
7055 {
7056 if (temp2)
7057 delete arg2;
7058 }
7059 return NULL;
7060}
7061
7062
7063static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7066 wxString *arg2 = 0 ;
7067 wxString const &arg3_defvalue = wxPyEmptyString ;
7068 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a
RD
7069 bool temp2 = False ;
7070 bool temp3 = False ;
d14a1e28
RD
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj2 = 0 ;
7074 char *kwnames[] = {
7075 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7080 {
7081 arg2 = wxString_in_helper(obj1);
7082 if (arg2 == NULL) SWIG_fail;
423f194a 7083 temp2 = True;
d14a1e28
RD
7084 }
7085 if (obj2) {
7086 {
7087 arg3 = wxString_in_helper(obj2);
7088 if (arg3 == NULL) SWIG_fail;
423f194a 7089 temp3 = True;
d14a1e28
RD
7090 }
7091 }
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
7095
7096 wxPyEndAllowThreads(__tstate);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 Py_INCREF(Py_None); resultobj = Py_None;
7100 {
7101 if (temp2)
7102 delete arg2;
7103 }
7104 {
7105 if (temp3)
7106 delete arg3;
7107 }
7108 return resultobj;
7109 fail:
7110 {
7111 if (temp2)
7112 delete arg2;
7113 }
7114 {
7115 if (temp3)
7116 delete arg3;
7117 }
7118 return NULL;
7119}
7120
7121
7122static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7125 PyObject * obj0 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 (arg1)->PrinterSetup();
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 Py_INCREF(Py_None); resultobj = Py_None;
7140 return resultobj;
7141 fail:
7142 return NULL;
7143}
7144
7145
7146static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj;
7148 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7149 PyObject * obj0 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
7155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->PageSetup();
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 return resultobj;
7165 fail:
7166 return NULL;
7167}
7168
7169
7170static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj;
7172 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7173 wxString *arg2 = 0 ;
7174 int arg3 = (int) wxPAGE_ALL ;
423f194a 7175 bool temp2 = False ;
d14a1e28
RD
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "header",(char *) "pg", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7184 {
7185 arg2 = wxString_in_helper(obj1);
7186 if (arg2 == NULL) SWIG_fail;
423f194a 7187 temp2 = True;
d14a1e28
RD
7188 }
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 (arg1)->SetHeader((wxString const &)*arg2,arg3);
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_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7214 wxString *arg2 = 0 ;
7215 int arg3 = (int) wxPAGE_ALL ;
423f194a 7216 bool temp2 = False ;
d14a1e28
RD
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "footer",(char *) "pg", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail;
7224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7225 {
7226 arg2 = wxString_in_helper(obj1);
7227 if (arg2 == NULL) SWIG_fail;
423f194a 7228 temp2 = True;
d14a1e28
RD
7229 }
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 {
7239 if (temp2)
7240 delete arg2;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp2)
7246 delete arg2;
7247 }
7248 return NULL;
7249}
7250
7251
7252static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7255 wxString arg2 ;
7256 wxString arg3 ;
7257 PyObject *arg4 = (PyObject *) NULL ;
d14a1e28
RD
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj2 = 0 ;
7261 PyObject * obj3 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
7268 {
7269 wxString* sptr = wxString_in_helper(obj1);
7270 if (sptr == NULL) SWIG_fail;
7271 arg2 = *sptr;
7272 delete sptr;
7273 }
7274 {
7275 wxString* sptr = wxString_in_helper(obj2);
7276 if (sptr == NULL) SWIG_fail;
7277 arg3 = *sptr;
7278 delete sptr;
7279 }
d14a1e28
RD
7280 if (obj3) {
7281 arg4 = obj3;
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294}
7295
7296
7297static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7300 wxPrintData *result;
7301 PyObject * obj0 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
7307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 result = (wxPrintData *)(arg1)->GetPrintData();
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
7322static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7325 wxPageSetupDialogData *result;
7326 PyObject * obj0 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
7341 return resultobj;
7342 fail:
7343 return NULL;
7344}
7345
7346
7347static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
7348 PyObject *obj;
7349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7350 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
7351 Py_INCREF(obj);
7352 return Py_BuildValue((char *)"");
7353}
7354static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj;
7356 wxString *arg1 = 0 ;
7357 wxString *arg2 = 0 ;
7358 wxString *arg3 = 0 ;
7359 wxString *arg4 = 0 ;
7360 wxHtmlBookRecord *result;
423f194a
RD
7361 bool temp1 = False ;
7362 bool temp2 = False ;
7363 bool temp3 = False ;
7364 bool temp4 = False ;
d14a1e28
RD
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 PyObject * obj2 = 0 ;
7368 PyObject * obj3 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7374 {
7375 arg1 = wxString_in_helper(obj0);
7376 if (arg1 == NULL) SWIG_fail;
423f194a 7377 temp1 = True;
d14a1e28
RD
7378 }
7379 {
7380 arg2 = wxString_in_helper(obj1);
7381 if (arg2 == NULL) SWIG_fail;
423f194a 7382 temp2 = True;
d14a1e28
RD
7383 }
7384 {
7385 arg3 = wxString_in_helper(obj2);
7386 if (arg3 == NULL) SWIG_fail;
423f194a 7387 temp3 = True;
d14a1e28
RD
7388 }
7389 {
7390 arg4 = wxString_in_helper(obj3);
7391 if (arg4 == NULL) SWIG_fail;
423f194a 7392 temp4 = True;
d14a1e28
RD
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1);
7402 {
7403 if (temp1)
7404 delete arg1;
7405 }
7406 {
7407 if (temp2)
7408 delete arg2;
7409 }
7410 {
7411 if (temp3)
7412 delete arg3;
7413 }
7414 {
7415 if (temp4)
7416 delete arg4;
7417 }
7418 return resultobj;
7419 fail:
7420 {
7421 if (temp1)
7422 delete arg1;
7423 }
7424 {
7425 if (temp2)
7426 delete arg2;
7427 }
7428 {
7429 if (temp3)
7430 delete arg3;
7431 }
7432 {
7433 if (temp4)
7434 delete arg4;
7435 }
7436 return NULL;
7437}
7438
7439
7440static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7443 wxString result;
7444 PyObject * obj0 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (arg1)->GetBookFile();
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 {
7459#if wxUSE_UNICODE
7460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7461#else
7462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7463#endif
7464 }
7465 return resultobj;
7466 fail:
7467 return NULL;
7468}
7469
7470
7471static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7474 wxString result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (arg1)->GetTitle();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 {
7490#if wxUSE_UNICODE
7491 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7492#else
7493 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7494#endif
7495 }
7496 return resultobj;
7497 fail:
7498 return NULL;
7499}
7500
7501
7502static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7505 wxString result;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (arg1)->GetStart();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 {
7521#if wxUSE_UNICODE
7522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7523#else
7524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7525#endif
7526 }
7527 return resultobj;
7528 fail:
7529 return NULL;
7530}
7531
7532
7533static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7536 wxString result;
7537 PyObject * obj0 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
7543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (arg1)->GetBasePath();
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 {
7552#if wxUSE_UNICODE
7553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7554#else
7555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7556#endif
7557 }
7558 return resultobj;
7559 fail:
7560 return NULL;
7561}
7562
7563
7564static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj;
7566 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7567 int arg2 ;
7568 int arg3 ;
7569 PyObject * obj0 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self",(char *) "start",(char *) "end", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 (arg1)->SetContentsRange(arg2,arg3);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 Py_INCREF(Py_None); resultobj = Py_None;
7584 return resultobj;
7585 fail:
7586 return NULL;
7587}
7588
7589
7590static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7593 int result;
7594 PyObject * obj0 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
7600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (int)(arg1)->GetContentsStart();
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = PyInt_FromLong((long)result);
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
7615static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7618 int result;
7619 PyObject * obj0 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (int)(arg1)->GetContentsEnd();
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 resultobj = PyInt_FromLong((long)result);
7634 return resultobj;
7635 fail:
7636 return NULL;
7637}
7638
7639
7640static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7643 wxString *arg2 = 0 ;
423f194a 7644 bool temp2 = False ;
d14a1e28
RD
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "title", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7653 {
7654 arg2 = wxString_in_helper(obj1);
7655 if (arg2 == NULL) SWIG_fail;
423f194a 7656 temp2 = True;
d14a1e28
RD
7657 }
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 (arg1)->SetTitle((wxString const &)*arg2);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 Py_INCREF(Py_None); resultobj = Py_None;
7666 {
7667 if (temp2)
7668 delete arg2;
7669 }
7670 return resultobj;
7671 fail:
7672 {
7673 if (temp2)
7674 delete arg2;
7675 }
7676 return NULL;
7677}
7678
7679
7680static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
7681 PyObject *resultobj;
7682 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7683 wxString *arg2 = 0 ;
423f194a 7684 bool temp2 = False ;
d14a1e28
RD
7685 PyObject * obj0 = 0 ;
7686 PyObject * obj1 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "path", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
7692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7693 {
7694 arg2 = wxString_in_helper(obj1);
7695 if (arg2 == NULL) SWIG_fail;
423f194a 7696 temp2 = True;
d14a1e28
RD
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->SetBasePath((wxString const &)*arg2);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 {
7707 if (temp2)
7708 delete arg2;
7709 }
7710 return resultobj;
7711 fail:
7712 {
7713 if (temp2)
7714 delete arg2;
7715 }
7716 return NULL;
7717}
7718
7719
7720static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7723 wxString *arg2 = 0 ;
423f194a 7724 bool temp2 = False ;
d14a1e28
RD
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self",(char *) "start", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
7732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7733 {
7734 arg2 = wxString_in_helper(obj1);
7735 if (arg2 == NULL) SWIG_fail;
423f194a 7736 temp2 = True;
d14a1e28
RD
7737 }
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 (arg1)->SetStart((wxString const &)*arg2);
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 Py_INCREF(Py_None); resultobj = Py_None;
7746 {
7747 if (temp2)
7748 delete arg2;
7749 }
7750 return resultobj;
7751 fail:
7752 {
7753 if (temp2)
7754 delete arg2;
7755 }
7756 return NULL;
7757}
7758
7759
7760static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj;
7762 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
7763 wxString *arg2 = 0 ;
7764 wxString result;
423f194a 7765 bool temp2 = False ;
d14a1e28
RD
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
7768 char *kwnames[] = {
7769 (char *) "self",(char *) "page", NULL
7770 };
7771
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
7773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7774 {
7775 arg2 = wxString_in_helper(obj1);
7776 if (arg2 == NULL) SWIG_fail;
423f194a 7777 temp2 = True;
d14a1e28
RD
7778 }
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 {
7787#if wxUSE_UNICODE
7788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7789#else
7790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7791#endif
7792 }
7793 {
7794 if (temp2)
7795 delete arg2;
7796 }
7797 return resultobj;
7798 fail:
7799 {
7800 if (temp2)
7801 delete arg2;
7802 }
7803 return NULL;
7804}
7805
7806
7807static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
7808 PyObject *obj;
7809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7810 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
7811 Py_INCREF(obj);
7812 return Py_BuildValue((char *)"");
7813}
7814static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
7817 int result;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "self", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
7824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (int)wxHtmlContentsItem_GetLevel(arg1);
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 resultobj = PyInt_FromLong((long)result);
7833 return resultobj;
7834 fail:
7835 return NULL;
7836}
7837
7838
7839static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
7842 int result;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (int)wxHtmlContentsItem_GetID(arg1);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = PyInt_FromLong((long)result);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
7864static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
7867 wxString result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
7874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = wxHtmlContentsItem_GetName(arg1);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 {
7883#if wxUSE_UNICODE
7884 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7885#else
7886 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7887#endif
7888 }
7889 return resultobj;
7890 fail:
7891 return NULL;
7892}
7893
7894
7895static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
7898 wxString result;
7899 PyObject * obj0 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
7905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = wxHtmlContentsItem_GetPage(arg1);
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
7914#if wxUSE_UNICODE
7915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7916#else
7917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7918#endif
7919 }
7920 return resultobj;
7921 fail:
7922 return NULL;
7923}
7924
7925
7926static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
7929 wxHtmlBookRecord *result;
7930 PyObject * obj0 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0);
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
7951static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
7952 PyObject *obj;
7953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
7955 Py_INCREF(obj);
7956 return Py_BuildValue((char *)"");
7957}
7958static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject *resultobj;
7960 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
7961 bool result;
7962 PyObject * obj0 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (bool)(arg1)->Search();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 resultobj = PyInt_FromLong((long)result);
7977 return resultobj;
7978 fail:
7979 return NULL;
7980}
7981
7982
7983static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
7986 bool result;
7987 PyObject * obj0 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
7993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (bool)(arg1)->IsActive();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 resultobj = PyInt_FromLong((long)result);
8002 return resultobj;
8003 fail:
8004 return NULL;
8005}
8006
8007
8008static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8011 int result;
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (int)(arg1)->GetCurIndex();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 resultobj = PyInt_FromLong((long)result);
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
8033static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8036 int result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
8043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = (int)(arg1)->GetMaxIndex();
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = PyInt_FromLong((long)result);
8052 return resultobj;
8053 fail:
8054 return NULL;
8055}
8056
8057
8058static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj;
8060 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8061 wxString *result;
8062 PyObject * obj0 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 {
8072 wxString const &_result_ref = (arg1)->GetName();
8073 result = (wxString *) &_result_ref;
8074 }
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
f0983263
RD
8079 {
8080#if wxUSE_UNICODE
8081 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8082#else
8083 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8084#endif
8085 }
d14a1e28
RD
8086 return resultobj;
8087 fail:
8088 return NULL;
8089}
8090
8091
8092static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject *resultobj;
8094 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
8095 wxHtmlContentsItem *result;
8096 PyObject * obj0 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "self", NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
8102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
8111 return resultobj;
8112 fail:
8113 return NULL;
8114}
8115
8116
8117static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
8118 PyObject *obj;
8119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8120 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
8121 Py_INCREF(obj);
8122 return Py_BuildValue((char *)"");
8123}
8124static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxHtmlHelpData *result;
8127 char *kwnames[] = {
8128 NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxHtmlHelpData *)new wxHtmlHelpData();
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1);
8140 return resultobj;
8141 fail:
8142 return NULL;
8143}
8144
8145
8146static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8149 PyObject * obj0 = 0 ;
8150 char *kwnames[] = {
8151 (char *) "self", NULL
8152 };
8153
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
8155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 delete arg1;
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 Py_INCREF(Py_None); resultobj = Py_None;
8164 return resultobj;
8165 fail:
8166 return NULL;
8167}
8168
8169
8170static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8173 wxString *arg2 = 0 ;
423f194a 8174 bool temp2 = False ;
d14a1e28
RD
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self",(char *) "path", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
8182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8183 {
8184 arg2 = wxString_in_helper(obj1);
8185 if (arg2 == NULL) SWIG_fail;
423f194a 8186 temp2 = True;
d14a1e28
RD
8187 }
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 (arg1)->SetTempDir((wxString const &)*arg2);
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 Py_INCREF(Py_None); resultobj = Py_None;
8196 {
8197 if (temp2)
8198 delete arg2;
8199 }
8200 return resultobj;
8201 fail:
8202 {
8203 if (temp2)
8204 delete arg2;
8205 }
8206 return NULL;
8207}
8208
8209
8210static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8213 wxString *arg2 = 0 ;
8214 bool result;
423f194a 8215 bool temp2 = False ;
d14a1e28
RD
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "book", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 {
8225 arg2 = wxString_in_helper(obj1);
8226 if (arg2 == NULL) SWIG_fail;
423f194a 8227 temp2 = True;
d14a1e28
RD
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = PyInt_FromLong((long)result);
8237 {
8238 if (temp2)
8239 delete arg2;
8240 }
8241 return resultobj;
8242 fail:
8243 {
8244 if (temp2)
8245 delete arg2;
8246 }
8247 return NULL;
8248}
8249
8250
8251static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8254 wxString *arg2 = 0 ;
8255 wxString result;
423f194a 8256 bool temp2 = False ;
d14a1e28
RD
8257 PyObject * obj0 = 0 ;
8258 PyObject * obj1 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self",(char *) "page", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 {
8266 arg2 = wxString_in_helper(obj1);
8267 if (arg2 == NULL) SWIG_fail;
423f194a 8268 temp2 = True;
d14a1e28
RD
8269 }
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = (arg1)->FindPageByName((wxString const &)*arg2);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 {
8278#if wxUSE_UNICODE
8279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8280#else
8281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8282#endif
8283 }
8284 {
8285 if (temp2)
8286 delete arg2;
8287 }
8288 return resultobj;
8289 fail:
8290 {
8291 if (temp2)
8292 delete arg2;
8293 }
8294 return NULL;
8295}
8296
8297
8298static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj;
8300 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8301 int arg2 ;
8302 wxString result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "id", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpData_FindPageById",kwnames,&obj0,&arg2)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (arg1)->FindPageById(arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 {
8318#if wxUSE_UNICODE
8319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8320#else
8321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8322#endif
8323 }
8324 return resultobj;
8325 fail:
8326 return NULL;
8327}
8328
8329
8330static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
8331 PyObject *resultobj;
8332 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8333 wxHtmlBookRecArray *result;
8334 PyObject * obj0 = 0 ;
8335 char *kwnames[] = {
8336 (char *) "self", NULL
8337 };
8338
8339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
8340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 {
8344 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
8345 result = (wxHtmlBookRecArray *) &_result_ref;
8346 }
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0);
8352 return resultobj;
8353 fail:
8354 return NULL;
8355}
8356
8357
8358static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8361 wxHtmlContentsItem *result;
8362 PyObject * obj0 = 0 ;
8363 char *kwnames[] = {
8364 (char *) "self", NULL
8365 };
8366
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
8368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 result = (wxHtmlContentsItem *)(arg1)->GetContents();
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
8377 return resultobj;
8378 fail:
8379 return NULL;
8380}
8381
8382
8383static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
8384 PyObject *resultobj;
8385 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8386 int result;
8387 PyObject * obj0 = 0 ;
8388 char *kwnames[] = {
8389 (char *) "self", NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
8393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (int)(arg1)->GetContentsCnt();
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 resultobj = PyInt_FromLong((long)result);
8402 return resultobj;
8403 fail:
8404 return NULL;
8405}
8406
8407
8408static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8411 wxHtmlContentsItem *result;
8412 PyObject * obj0 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0);
8427 return resultobj;
8428 fail:
8429 return NULL;
8430}
8431
8432
8433static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj;
8435 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
8436 int result;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
8443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (int)(arg1)->GetIndexCnt();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = PyInt_FromLong((long)result);
8452 return resultobj;
8453 fail:
8454 return NULL;
8455}
8456
8457
8458static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
8459 PyObject *obj;
8460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8461 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
8462 Py_INCREF(obj);
8463 return Py_BuildValue((char *)"");
8464}
8465static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxWindow *arg1 = (wxWindow *) 0 ;
8468 int arg2 ;
8469 wxString const &arg3_defvalue = wxPyEmptyString ;
8470 wxString *arg3 = (wxString *) &arg3_defvalue ;
8471 int arg4 = (int) wxHF_DEFAULTSTYLE ;
8472 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
8473 wxHtmlHelpFrame *result;
423f194a 8474 bool temp3 = False ;
d14a1e28
RD
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj2 = 0 ;
8477 PyObject * obj4 = 0 ;
8478 char *kwnames[] = {
423f194a 8479 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
d14a1e28
RD
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail;
8483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8484 if (obj2) {
8485 {
8486 arg3 = wxString_in_helper(obj2);
8487 if (arg3 == NULL) SWIG_fail;
423f194a 8488 temp3 = True;
d14a1e28
RD
8489 }
8490 }
8491 if (obj4) {
8492 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8493 }
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1);
8502 {
8503 if (temp3)
8504 delete arg3;
8505 }
8506 return resultobj;
8507 fail:
8508 {
8509 if (temp3)
8510 delete arg3;
8511 }
8512 return NULL;
8513}
8514
8515
8516static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj;
8518 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8519 wxHtmlHelpData *result;
8520 PyObject * obj0 = 0 ;
8521 char *kwnames[] = {
8522 (char *) "self", NULL
8523 };
8524
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
8526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 result = (wxHtmlHelpData *)(arg1)->GetData();
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0);
8535 return resultobj;
8536 fail:
8537 return NULL;
8538}
8539
8540
8541static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj;
8543 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8544 wxString *arg2 = 0 ;
423f194a 8545 bool temp2 = False ;
d14a1e28
RD
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "format", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
8553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8554 {
8555 arg2 = wxString_in_helper(obj1);
8556 if (arg2 == NULL) SWIG_fail;
423f194a 8557 temp2 = True;
d14a1e28
RD
8558 }
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 (arg1)->SetTitleFormat((wxString const &)*arg2);
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 Py_INCREF(Py_None); resultobj = Py_None;
8567 {
8568 if (temp2)
8569 delete arg2;
8570 }
8571 return resultobj;
8572 fail:
8573 {
8574 if (temp2)
8575 delete arg2;
8576 }
8577 return NULL;
8578}
8579
8580
8581static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8584 wxString *arg2 = 0 ;
423f194a 8585 bool temp2 = False ;
d14a1e28
RD
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "x", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 {
8595 arg2 = wxString_in_helper(obj1);
8596 if (arg2 == NULL) SWIG_fail;
423f194a 8597 temp2 = True;
d14a1e28
RD
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 (arg1)->Display((wxString const &)*arg2);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 Py_INCREF(Py_None); resultobj = Py_None;
8607 {
8608 if (temp2)
8609 delete arg2;
8610 }
8611 return resultobj;
8612 fail:
8613 {
8614 if (temp2)
8615 delete arg2;
8616 }
8617 return NULL;
8618}
8619
8620
8621static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj;
8623 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8624 int arg2 ;
8625 PyObject * obj0 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "id", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpFrame_DisplayID",kwnames,&obj0,&arg2)) goto fail;
8631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 (arg1)->Display(arg2);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 Py_INCREF(Py_None); resultobj = Py_None;
8640 return resultobj;
8641 fail:
8642 return NULL;
8643}
8644
8645
8646static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8649 PyObject * obj0 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
8655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 (arg1)->DisplayContents();
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 Py_INCREF(Py_None); resultobj = Py_None;
8664 return resultobj;
8665 fail:
8666 return NULL;
8667}
8668
8669
8670static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8673 PyObject * obj0 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
8679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 (arg1)->DisplayIndex();
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
8688 return resultobj;
8689 fail:
8690 return NULL;
8691}
8692
8693
8694static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8697 wxString *arg2 = 0 ;
8698 bool result;
423f194a 8699 bool temp2 = False ;
d14a1e28
RD
8700 PyObject * obj0 = 0 ;
8701 PyObject * obj1 = 0 ;
8702 char *kwnames[] = {
8703 (char *) "self",(char *) "keyword", NULL
8704 };
8705
8706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
8707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8708 {
8709 arg2 = wxString_in_helper(obj1);
8710 if (arg2 == NULL) SWIG_fail;
423f194a 8711 temp2 = True;
d14a1e28
RD
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 resultobj = PyInt_FromLong((long)result);
8721 {
8722 if (temp2)
8723 delete arg2;
8724 }
8725 return resultobj;
8726 fail:
8727 {
8728 if (temp2)
8729 delete arg2;
8730 }
8731 return NULL;
8732}
8733
8734
8735static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj;
8737 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8738 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8739 wxString const &arg3_defvalue = wxPyEmptyString ;
8740 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 8741 bool temp3 = False ;
d14a1e28
RD
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 PyObject * obj2 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self",(char *) "config",(char *) "rootpath", NULL
8747 };
8748
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8752 if (obj2) {
8753 {
8754 arg3 = wxString_in_helper(obj2);
8755 if (arg3 == NULL) SWIG_fail;
423f194a 8756 temp3 = True;
d14a1e28
RD
8757 }
8758 }
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 Py_INCREF(Py_None); resultobj = Py_None;
8767 {
8768 if (temp3)
8769 delete arg3;
8770 }
8771 return resultobj;
8772 fail:
8773 {
8774 if (temp3)
8775 delete arg3;
8776 }
8777 return NULL;
8778}
8779
8780
8781static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8784 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8785 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 PyObject * obj2 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "cfg",(char *) "path", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8796 if (obj2) {
423f194a
RD
8797 {
8798 wxString* sptr = wxString_in_helper(obj2);
8799 if (sptr == NULL) SWIG_fail;
8800 arg3 = *sptr;
8801 delete sptr;
8802 }
d14a1e28
RD
8803 }
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 (arg1)->ReadCustomization(arg2,arg3);
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 Py_INCREF(Py_None); resultobj = Py_None;
8812 return resultobj;
8813 fail:
8814 return NULL;
8815}
8816
8817
8818static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject *resultobj;
8820 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
8821 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
8822 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
8823 PyObject * obj0 = 0 ;
8824 PyObject * obj1 = 0 ;
8825 PyObject * obj2 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self",(char *) "cfg",(char *) "path", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
8831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8833 if (obj2) {
423f194a
RD
8834 {
8835 wxString* sptr = wxString_in_helper(obj2);
8836 if (sptr == NULL) SWIG_fail;
8837 arg3 = *sptr;
8838 delete sptr;
8839 }
d14a1e28
RD
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 (arg1)->WriteCustomization(arg2,arg3);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 Py_INCREF(Py_None); resultobj = Py_None;
8849 return resultobj;
8850 fail:
8851 return NULL;
8852}
8853
8854
8855static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
8856 PyObject *obj;
8857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8858 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
8859 Py_INCREF(obj);
8860 return Py_BuildValue((char *)"");
8861}
8862static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 int arg1 = (int) wxHF_DEFAULTSTYLE ;
8865 wxHtmlHelpController *result;
8866 char *kwnames[] = {
8867 (char *) "style", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_HtmlHelpController",kwnames,&arg1)) goto fail;
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1);
8879 return resultobj;
8880 fail:
8881 return NULL;
8882}
8883
8884
8885static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
8888 PyObject * obj0 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 delete arg1;
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906}
8907
8908
8909static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
8912 wxString *arg2 = 0 ;
423f194a 8913 bool temp2 = False ;
d14a1e28
RD
8914 PyObject * obj0 = 0 ;
8915 PyObject * obj1 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self",(char *) "format", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
8921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8922 {
8923 arg2 = wxString_in_helper(obj1);
8924 if (arg2 == NULL) SWIG_fail;
423f194a 8925 temp2 = True;
d14a1e28
RD
8926 }
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->SetTitleFormat((wxString const &)*arg2);
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 {
8936 if (temp2)
8937 delete arg2;
8938 }
8939 return resultobj;
8940 fail:
8941 {
8942 if (temp2)
8943 delete arg2;
8944 }
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
8952 wxString *arg2 = 0 ;
423f194a 8953 bool temp2 = False ;
d14a1e28
RD
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "path", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8962 {
8963 arg2 = wxString_in_helper(obj1);
8964 if (arg2 == NULL) SWIG_fail;
423f194a 8965 temp2 = True;
d14a1e28
RD
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 (arg1)->SetTempDir((wxString const &)*arg2);
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 Py_INCREF(Py_None); resultobj = Py_None;
8975 {
8976 if (temp2)
8977 delete arg2;
8978 }
8979 return resultobj;
8980 fail:
8981 {
8982 if (temp2)
8983 delete arg2;
8984 }
8985 return NULL;
8986}
8987
8988
8989static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
8992 wxString *arg2 = 0 ;
423f194a 8993 int arg3 = (int) False ;
d14a1e28 8994 bool result;
423f194a 8995 bool temp2 = False ;
d14a1e28
RD
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&arg3)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 {
9005 arg2 = wxString_in_helper(obj1);
9006 if (arg2 == NULL) SWIG_fail;
423f194a 9007 temp2 = True;
d14a1e28
RD
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 resultobj = PyInt_FromLong((long)result);
9017 {
9018 if (temp2)
9019 delete arg2;
9020 }
9021 return resultobj;
9022 fail:
9023 {
9024 if (temp2)
9025 delete arg2;
9026 }
9027 return NULL;
9028}
9029
9030
9031static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9034 wxString *arg2 = 0 ;
423f194a 9035 bool temp2 = False ;
d14a1e28
RD
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "x", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9044 {
9045 arg2 = wxString_in_helper(obj1);
9046 if (arg2 == NULL) SWIG_fail;
423f194a 9047 temp2 = True;
d14a1e28
RD
9048 }
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 (arg1)->Display((wxString const &)*arg2);
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 Py_INCREF(Py_None); resultobj = Py_None;
9057 {
9058 if (temp2)
9059 delete arg2;
9060 }
9061 return resultobj;
9062 fail:
9063 {
9064 if (temp2)
9065 delete arg2;
9066 }
9067 return NULL;
9068}
9069
9070
9071static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9072 PyObject *resultobj;
9073 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9074 int arg2 ;
9075 PyObject * obj0 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self",(char *) "id", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpController_DisplayID",kwnames,&obj0,&arg2)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->Display(arg2);
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 Py_INCREF(Py_None); resultobj = Py_None;
9090 return resultobj;
9091 fail:
9092 return NULL;
9093}
9094
9095
9096static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
9105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 (arg1)->DisplayContents();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 Py_INCREF(Py_None); resultobj = Py_None;
9114 return resultobj;
9115 fail:
9116 return NULL;
9117}
9118
9119
9120static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9121 PyObject *resultobj;
9122 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9123 PyObject * obj0 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "self", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
9129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 (arg1)->DisplayIndex();
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 Py_INCREF(Py_None); resultobj = Py_None;
9138 return resultobj;
9139 fail:
9140 return NULL;
9141}
9142
9143
9144static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9147 wxString *arg2 = 0 ;
9148 bool result;
423f194a 9149 bool temp2 = False ;
d14a1e28
RD
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 char *kwnames[] = {
9153 (char *) "self",(char *) "keyword", NULL
9154 };
9155
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9158 {
9159 arg2 = wxString_in_helper(obj1);
9160 if (arg2 == NULL) SWIG_fail;
423f194a 9161 temp2 = True;
d14a1e28
RD
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 resultobj = PyInt_FromLong((long)result);
9171 {
9172 if (temp2)
9173 delete arg2;
9174 }
9175 return resultobj;
9176 fail:
9177 {
9178 if (temp2)
9179 delete arg2;
9180 }
9181 return NULL;
9182}
9183
9184
9185static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9188 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9189 wxString const &arg3_defvalue = wxPyEmptyString ;
9190 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 9191 bool temp3 = False ;
d14a1e28
RD
9192 PyObject * obj0 = 0 ;
9193 PyObject * obj1 = 0 ;
9194 PyObject * obj2 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9202 if (obj2) {
9203 {
9204 arg3 = wxString_in_helper(obj2);
9205 if (arg3 == NULL) SWIG_fail;
423f194a 9206 temp3 = True;
d14a1e28
RD
9207 }
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 Py_INCREF(Py_None); resultobj = Py_None;
9217 {
9218 if (temp3)
9219 delete arg3;
9220 }
9221 return resultobj;
9222 fail:
9223 {
9224 if (temp3)
9225 delete arg3;
9226 }
9227 return NULL;
9228}
9229
9230
9231static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj;
9233 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9234 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9235 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 PyObject * obj2 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self",(char *) "cfg",(char *) "path", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9246 if (obj2) {
423f194a
RD
9247 {
9248 wxString* sptr = wxString_in_helper(obj2);
9249 if (sptr == NULL) SWIG_fail;
9250 arg3 = *sptr;
9251 delete sptr;
9252 }
d14a1e28
RD
9253 }
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 (arg1)->ReadCustomization(arg2,arg3);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 Py_INCREF(Py_None); resultobj = Py_None;
9262 return resultobj;
9263 fail:
9264 return NULL;
9265}
9266
9267
9268static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj;
9270 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9271 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9272 wxString arg3 = (wxString) wxPyEmptyString ;
d14a1e28
RD
9273 PyObject * obj0 = 0 ;
9274 PyObject * obj1 = 0 ;
9275 PyObject * obj2 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self",(char *) "cfg",(char *) "path", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9283 if (obj2) {
423f194a
RD
9284 {
9285 wxString* sptr = wxString_in_helper(obj2);
9286 if (sptr == NULL) SWIG_fail;
9287 arg3 = *sptr;
9288 delete sptr;
9289 }
d14a1e28
RD
9290 }
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 (arg1)->WriteCustomization(arg2,arg3);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 Py_INCREF(Py_None); resultobj = Py_None;
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
9305static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9308 wxHtmlHelpFrame *result;
9309 PyObject * obj0 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0);
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
9330static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
9331 PyObject *obj;
9332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9333 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
9334 Py_INCREF(obj);
9335 return Py_BuildValue((char *)"");
9336}
9337static PyMethodDef SwigMethods[] = {
9338 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
9339 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
9340 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
9341 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
9342 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
9343 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
9344 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
9345 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
9346 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
9347 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
9348 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
9349 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
9350 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
9351 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
9352 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
9353 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
9354 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
9355 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
9356 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
9357 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
9358 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
9359 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
9360 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
9361 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
9362 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
9363 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
9364 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
9365 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
9366 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
9367 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
9368 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
9369 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
9370 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
9371 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
9372 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
9373 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
9374 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
9375 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
9376 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
9377 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
9378 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
9379 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
9380 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
9381 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
9382 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
9383 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
9384 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
9385 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
9386 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
9387 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
9388 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
9389 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
9390 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
9391 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
9392 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
9393 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
9394 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
9395 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
9396 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
9397 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
9398 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
9399 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9400 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
9401 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
9402 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
9403 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
9404 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
9405 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9406 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
9407 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
9408 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
9409 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
9410 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
9411 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
9412 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
9413 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
9414 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
9415 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
9416 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
9417 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
9418 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
9419 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
9420 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
9421 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
9422 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
9423 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
9424 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
9425 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
9426 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
9427 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
9428 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
9429 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
9430 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
9431 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
9432 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
9433 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
9434 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
9435 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
9436 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
9437 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
9438 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
9439 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
9440 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
9441 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
9442 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
9443 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
9444 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
9445 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
9446 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
9447 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
9448 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
9449 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
9450 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
9451 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
9452 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
9453 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
9454 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
9455 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
9456 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
9457 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
9458 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
9459 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
9460 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
9461 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
9462 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
9463 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
9464 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
9465 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
9466 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
9467 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
9468 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
9469 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
9470 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
9471 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
9472 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
9473 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
9474 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
9475 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
9476 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
9477 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
9478 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
9479 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
9480 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
9481 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
9482 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
9483 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
9484 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
9485 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
9486 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
9487 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
9488 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
9489 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
9490 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
9491 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
9492 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
9493 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
9494 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
9495 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
9496 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9497 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
9498 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
9499 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
9500 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
9501 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
9502 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
9503 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
9504 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
9505 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
9506 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
9507 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
9508 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9509 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
9510 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
9511 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
9512 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
9513 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
9514 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
9515 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
9516 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
9517 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
9518 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
9519 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
9520 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
9521 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
9522 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
9523 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
9524 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
9525 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
9526 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
9527 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
9528 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
9529 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
9530 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
9531 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
9532 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
9533 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
9534 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
9535 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
9536 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
9537 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
9538 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
9539 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
9540 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
9541 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
9542 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
9543 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
9544 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
9545 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
9546 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
9547 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
9548 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
9549 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
9550 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
9551 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
9552 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
9553 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
9554 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
9555 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
9556 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
9557 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
9558 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
9559 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
9560 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
9561 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
9562 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
9563 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
9564 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
9565 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
9566 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
9567 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
9568 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
9569 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
9570 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
9571 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
9572 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
9573 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
9574 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
9575 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
9576 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
9577 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
9578 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
9579 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
9580 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
9581 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
9582 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
9583 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
9584 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
9585 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
9586 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
9587 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
9588 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
9589 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
9590 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
9591 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
9592 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
9593 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
9594 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
9595 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
9596 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
9597 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
9598 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
9599 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
9600 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
9601 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
9602 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
9603 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
9604 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
9605 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
9606 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
9607 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
9608 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
9609 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
9610 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
9611 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
9612 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
9613 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
9614 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
9615 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
9616 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
9617 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
9618 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
9619 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
9620 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
9621 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
9622 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
9623 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
9624 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
9625 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
9626 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
9627 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
9628 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
9629 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
9630 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
9631 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
9632 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
9633 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
9634 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
9635 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
9636 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
9637 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
9638 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
9639 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
9640 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
9641 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
9642 { NULL, NULL }
9643};
9644
9645
9646/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9647
9648static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
9649 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
9650}
9651static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
9652 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
9653}
9654static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
9655 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
9656}
9657static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
9658 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
9659}
9660static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
9661 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
9662}
9663static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
9664 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9665}
9666static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
9667 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9668}
9669static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
9670 return (void *)((wxPanel *) ((wxPyPanel *) x));
9671}
9672static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
9673 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
9674}
9675static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
9676 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
9677}
9678static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
9679 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9680}
9681static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
9682 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
9683}
9684static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9685 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9686}
9687static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
9688 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9689}
9690static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9691 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9692}
9693static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
9694 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
9695}
9696static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9697 return (void *)((wxWindow *) ((wxMenuBar *) x));
9698}
9699static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
9700 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9701}
9702static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
9703 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9704}
9705static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
9706 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9707}
9708static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
9709 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9710}
9711static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
9712 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9713}
9714static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
9715 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9716}
9717static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
9718 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9719}
9720static void *_p_wxPanelTo_p_wxWindow(void *x) {
9721 return (void *)((wxWindow *) ((wxPanel *) x));
9722}
9723static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9724 return (void *)((wxWindow *) ((wxStatusBar *) x));
9725}
9726static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9727 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9728}
9729static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9730 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9731}
9732static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9733 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
9734}
9735static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9736 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9737}
9738static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9739 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9740}
9741static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9742 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9743}
9744static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9745 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9746}
9747static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9748 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9749}
9750static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9751 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9752}
9753static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9754 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9755}
9756static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9757 return (void *)((wxWindow *) ((wxSashWindow *) x));
9758}
9759static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
9760 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
9761}
9762static void *_p_wxControlTo_p_wxWindow(void *x) {
9763 return (void *)((wxWindow *) ((wxControl *) x));
9764}
9765static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
9766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9767}
9768static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
9769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9770}
9771static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
9772 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9773}
9774static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9775 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9776}
9777static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
9778 return (void *)((wxWindow *) ((wxPyWindow *) x));
9779}
9780static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
9781 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9782}
9783static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9784 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9785}
9786static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9787 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9788}
9789static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9790 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9791}
9792static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9793 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9794}
9795static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
9796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
9797}
9798static void *_p_wxFrameTo_p_wxWindow(void *x) {
9799 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9800}
9801static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9802 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9803}
9804static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9805 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9806}
9807static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9808 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9809}
9810static void *_p_wxDialogTo_p_wxWindow(void *x) {
9811 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9812}
9813static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
9814 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
9815}
9816static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
9817 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
9818}
9819static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9820 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9821}
9822static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
9823 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
9824}
9825static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
9826 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
9827}
9828static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
9829 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
9830}
9831static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
9832 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
9833}
9834static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
9835 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
9836}
9837static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
9838 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
9839}
9840static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
9841 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
9842}
9843static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
9844 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
9845}
9846static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
9847 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
9848}
9849static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
9850 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
9851}
9852static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
9853 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
9854}
9855static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
9856 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
9857}
9858static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
9859 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
9860}
9861static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
9862 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
9863}
9864static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
9865 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
9866}
9867static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
9868 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
9869}
9870static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
9871 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
9872}
9873static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
9874 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
9875}
9876static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
9877 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
9878}
9879static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
9880 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
9881}
9882static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
9883 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9884}
9885static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
9886 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
9887}
9888static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
9889 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9890}
9891static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9893}
9894static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9896}
9897static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
9898 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
9899}
9900static void *_p_wxSizerItemTo_p_wxObject(void *x) {
9901 return (void *)((wxObject *) ((wxSizerItem *) x));
9902}
9903static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9905}
9906static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9907 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9908}
9909static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
9910 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
9911}
9912static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
9913 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
9914}
9915static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
9916 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
9917}
9918static void *_p_wxSizerTo_p_wxObject(void *x) {
9919 return (void *)((wxObject *) ((wxSizer *) x));
9920}
9921static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
9922 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
9923}
9924static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
9925 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
9926}
9927static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9929}
9930static void *_p_wxPyPanelTo_p_wxObject(void *x) {
9931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9932}
9933static void *_p_wxEventTo_p_wxObject(void *x) {
9934 return (void *)((wxObject *) ((wxEvent *) x));
9935}
9936static void *_p_wxFontDataTo_p_wxObject(void *x) {
9937 return (void *)((wxObject *) ((wxFontData *) x));
9938}
9939static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9940 return (void *)((wxObject *) ((wxPrintData *) x));
9941}
9942static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
9943 return (void *)((wxObject *) ((wxHtmlTag *) x));
9944}
9945static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9946 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9947}
9948static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9949 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9950}
9951static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9952 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9953}
9954static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9955 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9956}
9957static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
9958 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
9959}
9960static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9961 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9962}
9963static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
9964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
9965}
9966static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
9967 return (void *)((wxObject *) ((wxHtmlCell *) x));
9968}
9969static void *_p_wxPaintEventTo_p_wxObject(void *x) {
9970 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
9971}
9972static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
9973 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
9974}
9975static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
9976 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
9977}
9978static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
9979 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
9980}
9981static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
9982 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9983}
9984static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
9985 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
9986}
9987static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9989}
9990static void *_p_wxControlTo_p_wxObject(void *x) {
9991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9992}
9993static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
9994 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
9995}
9996static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
9997 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9998}
9999static void *_p_wxFSFileTo_p_wxObject(void *x) {
10000 return (void *)((wxObject *) ((wxFSFile *) x));
10001}
10002static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
10003 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
10004}
10005static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
10006 return (void *)((wxObject *) ((wxFindReplaceData *) x));
10007}
10008static void *_p_wxPySizerTo_p_wxObject(void *x) {
10009 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
10010}
10011static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
10012 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
10013}
10014static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
10015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10016}
10017static void *_p_wxColourDataTo_p_wxObject(void *x) {
10018 return (void *)((wxObject *) ((wxColourData *) x));
10019}
10020static void *_p_wxPyEventTo_p_wxObject(void *x) {
10021 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10022}
10023static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10024 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10025}
10026static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10028}
10029static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10031}
10032static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10034}
10035static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10037}
10038static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10040}
10041static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10043}
10044static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10046}
10047static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10049}
10050static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10052}
10053static void *_p_wxShowEventTo_p_wxObject(void *x) {
10054 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10055}
10056static void *_p_wxPrinterTo_p_wxObject(void *x) {
10057 return (void *)((wxObject *) ((wxPrinter *) x));
10058}
10059static void *_p_wxMenuItemTo_p_wxObject(void *x) {
10060 return (void *)((wxObject *) ((wxMenuItem *) x));
10061}
10062static void *_p_wxIdleEventTo_p_wxObject(void *x) {
10063 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
10064}
10065static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
10066 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
10067}
10068static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
10069 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
10070}
10071static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
10072 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
10073}
10074static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
10075 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
10076}
10077static void *_p_wxSizeEventTo_p_wxObject(void *x) {
10078 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
10079}
10080static void *_p_wxMoveEventTo_p_wxObject(void *x) {
10081 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
10082}
10083static void *_p_wxActivateEventTo_p_wxObject(void *x) {
10084 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
10085}
10086static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
10087 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
10088}
10089static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10090 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10091}
10092static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10093 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10094}
10095static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10096 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10097}
10098static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10099 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10100}
10101static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10102 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10103}
10104static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10105 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10106}
10107static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10108 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10109}
10110static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10111 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10112}
10113static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10114 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10115}
10116static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10117 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10118}
10119static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10120 return (void *)((wxObject *) ((wxImageHandler *) x));
10121}
10122static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10123 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10124}
10125static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10126 return (void *)((wxObject *) ((wxEvtHandler *) x));
10127}
10128static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
10129 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
10130}
10131static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
10132 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
10133}
10134static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
10135 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
10136}
10137static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
10138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10139}
10140static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
10141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10142}
10143static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
10144 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
10145}
10146static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
10147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10148}
10149static void *_p_wxImageTo_p_wxObject(void *x) {
10150 return (void *)((wxObject *) ((wxImage *) x));
10151}
10152static void *_p_wxFrameTo_p_wxObject(void *x) {
10153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10154}
10155static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
10156 return (void *)((wxObject *) ((wxPyPrintout *) x));
10157}
10158static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
10159 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
10160}
10161static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10162 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10163}
10164static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10165 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10166}
10167static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10169}
10170static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
10171 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
10172}
10173static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
10174 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
10175}
10176static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10178}
10179static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
10180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10181}
10182static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
10183 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
10184}
10185static void *_p_wxKeyEventTo_p_wxObject(void *x) {
10186 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
10187}
d14a1e28
RD
10188static void *_p_wxWindowTo_p_wxObject(void *x) {
10189 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10190}
10191static void *_p_wxMenuTo_p_wxObject(void *x) {
10192 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10193}
10194static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10196}
41f1cec7
RD
10197static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10199}
d14a1e28
RD
10200static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10202}
10203static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10205}
10206static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10208}
10209static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10211}
10212static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10214}
10215static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10217}
10218static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10220}
10221static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10223}
10224static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10226}
10227static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10229}
10230static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
10231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10232}
10233static void *_p_wxSashEventTo_p_wxObject(void *x) {
10234 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
10235}
10236static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
10237 return (void *)((wxObject *) ((wxPrintPreview *) x));
10238}
10239static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
10240 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
10241}
10242static void *_p_wxPanelTo_p_wxObject(void *x) {
10243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10244}
10245static void *_p_wxDialogTo_p_wxObject(void *x) {
10246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10247}
10248static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10250}
10251static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10253}
10254static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10256}
10257static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10259}
10260static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10262}
10263static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
10264 return (void *)((wxObject *) ((wxHtmlParser *) x));
10265}
10266static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
10267 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
10268}
10269static void *_p_wxFileSystemTo_p_wxObject(void *x) {
10270 return (void *)((wxObject *) ((wxFileSystem *) x));
10271}
10272static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10273 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10274}
10275static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10276 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10277}
10278static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
10279 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
10280}
10281static void *_p_wxPyAppTo_p_wxObject(void *x) {
10282 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
10283}
10284static void *_p_wxCloseEventTo_p_wxObject(void *x) {
10285 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
10286}
10287static void *_p_wxMouseEventTo_p_wxObject(void *x) {
10288 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
10289}
10290static void *_p_wxEraseEventTo_p_wxObject(void *x) {
10291 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
10292}
10293static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10294 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10295}
10296static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10297 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10298}
10299static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
10300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10301}
10302static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
10303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10304}
10305static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
10306 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
10307}
10308static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10309 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10310}
10311static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10312 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10313}
10314static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10315 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10316}
10317static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
10318 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
10319}
10320static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
10321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10322}
10323static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
10324 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
10325}
10326static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
10327 return (void *)((wxObject *) ((wxPrintDialogData *) x));
10328}
10329static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
10330 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
10331}
10332static void *_p_wxValidatorTo_p_wxObject(void *x) {
10333 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
10334}
10335static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
10336 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
10337}
10338static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10340}
10341static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10343}
10344static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10345 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10346}
10347static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10348 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10349}
10350static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10351 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10352}
10353static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10354 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10355}
10356static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10357 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10358}
10359static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10360 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10361}
10362static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10363 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10364}
10365static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10366 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10367}
10368static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10369 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10370}
10371static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10372 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10373}
10374static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10375 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10376}
10377static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10378 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10379}
10380static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10381 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10382}
10383static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10384 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10385}
10386static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10387 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10388}
10389static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10390 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10391}
10392static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10393 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10394}
10395static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10396 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10397}
10398static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10399 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10400}
10401static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10402 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10403}
10404static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10405 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10406}
10407static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10408 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10409}
10410static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10411 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10412}
10413static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10414 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10415}
10416static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10418}
10419static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10420 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10421}
10422static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
10423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10424}
10425static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10426 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10427}
10428static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10430}
10431static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10433}
10434static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10436}
10437static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10438 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10439}
10440static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10441 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10442}
10443static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10444 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10445}
10446static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10447 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10448}
10449static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
10450 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
10451}
10452static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10454}
10455static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10456 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10457}
10458static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10460}
10461static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10462 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10463}
10464static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
10465 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
10466}
10467static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
10468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10469}
10470static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10472}
10473static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10475}
10476static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10478}
10479static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10481}
10482static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10484}
10485static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
10486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10487}
10488static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
10489 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10490}
10491static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10492 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10493}
10494static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
10495 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
10496}
10497static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
10498 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
10499}
10500static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
10501 return (void *)((wxFrame *) ((wxProgressDialog *) x));
10502}
10503static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
10504 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
10505}
10506static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
10507 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10508}
10509static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
10510 return (void *)((wxFrame *) ((wxMiniFrame *) x));
10511}
10512static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
10513 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
10514}
10515static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
10516 return (void *)((wxFrame *) ((wxSplashScreen *) x));
10517}
10518static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
10519 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
10520}
10521static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
10522 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
10523}
10524static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
10525 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
10526}
10527static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
10528 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
10529}
10530static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
10531 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
10532}
10533static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
10534 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
10535}
10536static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}};
10537static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
10538static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
10539static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
10540static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}};
10541static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}};
10542static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
10543static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}};
10544static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}};
10545static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}};
10546static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}};
10547static 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}};
10548static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}};
10549static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
10550static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}};
10551static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}};
10552static 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}};
10553static 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}};
10554static 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}};
10555static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}};
10556static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}};
10557static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}};
10558static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}};
10559static 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}};
10560static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
10561static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}};
10562static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}};
10563static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}};
10564static 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}};
10565static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
10566static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}};
10567static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
10568static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
10569static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}};
10570static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}};
10571static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}};
10572static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}};
10573static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}};
10574static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
10575static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
10576static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}};
10577static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}};
10578static 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}};
10579static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}};
10580static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}};
10581static 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}};
10582static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}};
10583static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}};
10584static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}};
10585static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
10586static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}};
10587
10588static swig_type_info *swig_types_initial[] = {
10589_swigt__p_wxHtmlDCRenderer,
10590_swigt__p_wxColour,
10591_swigt__p_wxPageSetupDialogData,
10592_swigt__p_wxDC,
10593_swigt__p_wxDefaultHtmlRenderingStyle,
10594_swigt__p_wxHtmlRenderingStyle,
10595_swigt__p_wxMouseEvent,
10596_swigt__p_wxHtmlWordCell,
10597_swigt__p_wxHtmlHelpData,
10598_swigt__p_wxHtmlWinParser,
10599_swigt__p_wxHtmlParser,
10600_swigt__p_wxPanel,
10601_swigt__p_wxHtmlFontCell,
10602_swigt__p_wxFont,
10603_swigt__p_wxHtmlColourCell,
10604_swigt__p_wxPyHtmlWindow,
10605_swigt__p_wxScrolledWindow,
10606_swigt__p_wxWindow,
10607_swigt__p_wxTopLevelWindow,
10608_swigt__p_wxHtmlEasyPrinting,
10609_swigt__p_wxHtmlSelection,
10610_swigt__p_wxHtmlRenderingInfo,
10611_swigt__p_wxHtmlWidgetCell,
10612_swigt__p_wxObject,
10613_swigt__p_wxString,
10614_swigt__p_wxPyHtmlWinTagHandler,
10615_swigt__p_wxHtmlTagHandler,
10616_swigt__p_wxPyHtmlTagHandler,
10617_swigt__p_wxEvtHandler,
10618_swigt__p_wxPoint,
10619_swigt__p_wxHtmlHelpController,
10620_swigt__p_wxCursor,
10621_swigt__p_wxFileSystem,
10622_swigt__p_wxHtmlBookRecArray,
10623_swigt__p_wxPyPrintout,
10624_swigt__p_wxHtmlPrintout,
10625_swigt__p_wxHtmlSearchStatus,
10626_swigt__p_wxHtmlContentsItem,
10627_swigt__p_wxConfigBase,
10628_swigt__p_wxPrintData,
10629_swigt__p_wxHtmlHelpFrame,
10630_swigt__p_wxHtmlRenderingState,
10631_swigt__p_wxFrame,
10632_swigt__p_wxPyHtmlFilter,
10633_swigt__p_wxHtmlFilter,
10634_swigt__p_wxHtmlCell,
10635_swigt__p_wxHtmlContainerCell,
10636_swigt__p_wxHtmlTag,
10637_swigt__p_wxHtmlLinkInfo,
10638_swigt__p_int,
10639_swigt__p_wxHtmlBookRecord,
106400
10641};
10642
10643
10644/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
10645
10646static swig_const_info swig_const_table[] = {
10647{ SWIG_PY_INT, (char *)"HTML_ALIGN_LEFT", (long) wxHTML_ALIGN_LEFT, 0, 0, 0},
10648{ SWIG_PY_INT, (char *)"HTML_ALIGN_CENTER", (long) wxHTML_ALIGN_CENTER, 0, 0, 0},
10649{ SWIG_PY_INT, (char *)"HTML_ALIGN_RIGHT", (long) wxHTML_ALIGN_RIGHT, 0, 0, 0},
10650{ SWIG_PY_INT, (char *)"HTML_ALIGN_BOTTOM", (long) wxHTML_ALIGN_BOTTOM, 0, 0, 0},
10651{ SWIG_PY_INT, (char *)"HTML_ALIGN_TOP", (long) wxHTML_ALIGN_TOP, 0, 0, 0},
10652{ SWIG_PY_INT, (char *)"HTML_CLR_FOREGROUND", (long) wxHTML_CLR_FOREGROUND, 0, 0, 0},
10653{ SWIG_PY_INT, (char *)"HTML_CLR_BACKGROUND", (long) wxHTML_CLR_BACKGROUND, 0, 0, 0},
10654{ SWIG_PY_INT, (char *)"HTML_UNITS_PIXELS", (long) wxHTML_UNITS_PIXELS, 0, 0, 0},
10655{ SWIG_PY_INT, (char *)"HTML_UNITS_PERCENT", (long) wxHTML_UNITS_PERCENT, 0, 0, 0},
10656{ SWIG_PY_INT, (char *)"HTML_INDENT_LEFT", (long) wxHTML_INDENT_LEFT, 0, 0, 0},
10657{ SWIG_PY_INT, (char *)"HTML_INDENT_RIGHT", (long) wxHTML_INDENT_RIGHT, 0, 0, 0},
10658{ SWIG_PY_INT, (char *)"HTML_INDENT_TOP", (long) wxHTML_INDENT_TOP, 0, 0, 0},
10659{ SWIG_PY_INT, (char *)"HTML_INDENT_BOTTOM", (long) wxHTML_INDENT_BOTTOM, 0, 0, 0},
10660{ SWIG_PY_INT, (char *)"HTML_INDENT_HORIZONTAL", (long) wxHTML_INDENT_HORIZONTAL, 0, 0, 0},
10661{ SWIG_PY_INT, (char *)"HTML_INDENT_VERTICAL", (long) wxHTML_INDENT_VERTICAL, 0, 0, 0},
10662{ SWIG_PY_INT, (char *)"HTML_INDENT_ALL", (long) wxHTML_INDENT_ALL, 0, 0, 0},
10663{ SWIG_PY_INT, (char *)"HTML_COND_ISANCHOR", (long) wxHTML_COND_ISANCHOR, 0, 0, 0},
10664{ SWIG_PY_INT, (char *)"HTML_COND_ISIMAGEMAP", (long) wxHTML_COND_ISIMAGEMAP, 0, 0, 0},
10665{ SWIG_PY_INT, (char *)"HTML_COND_USER", (long) wxHTML_COND_USER, 0, 0, 0},
44127b65
RD
10666{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_1", (long) wxHTML_FONT_SIZE_1, 0, 0, 0},
10667{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_2", (long) wxHTML_FONT_SIZE_2, 0, 0, 0},
10668{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_3", (long) wxHTML_FONT_SIZE_3, 0, 0, 0},
10669{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_4", (long) wxHTML_FONT_SIZE_4, 0, 0, 0},
10670{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_5", (long) wxHTML_FONT_SIZE_5, 0, 0, 0},
10671{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_6", (long) wxHTML_FONT_SIZE_6, 0, 0, 0},
10672{ SWIG_PY_INT, (char *)"HTML_FONT_SIZE_7", (long) wxHTML_FONT_SIZE_7, 0, 0, 0},
d14a1e28
RD
10673{ SWIG_PY_INT, (char *)"HW_SCROLLBAR_NEVER", (long) wxHW_SCROLLBAR_NEVER, 0, 0, 0},
10674{ SWIG_PY_INT, (char *)"HW_SCROLLBAR_AUTO", (long) wxHW_SCROLLBAR_AUTO, 0, 0, 0},
10675{ SWIG_PY_INT, (char *)"HW_NO_SELECTION", (long) wxHW_NO_SELECTION, 0, 0, 0},
10676{ SWIG_PY_INT, (char *)"HW_DEFAULT_STYLE", (long) wxHW_DEFAULT_STYLE, 0, 0, 0},
10677{ SWIG_PY_INT, (char *)"HTML_OPEN", (long) wxHTML_OPEN, 0, 0, 0},
10678{ SWIG_PY_INT, (char *)"HTML_BLOCK", (long) wxHTML_BLOCK, 0, 0, 0},
10679{ SWIG_PY_INT, (char *)"HTML_REDIRECT", (long) wxHTML_REDIRECT, 0, 0, 0},
10680{ SWIG_PY_INT, (char *)"HTML_URL_PAGE", (long) wxHTML_URL_PAGE, 0, 0, 0},
10681{ SWIG_PY_INT, (char *)"HTML_URL_IMAGE", (long) wxHTML_URL_IMAGE, 0, 0, 0},
10682{ SWIG_PY_INT, (char *)"HTML_URL_OTHER", (long) wxHTML_URL_OTHER, 0, 0, 0},
10683{ SWIG_PY_INT, (char *)"HTML_SEL_OUT", (long) wxHTML_SEL_OUT, 0, 0, 0},
10684{ SWIG_PY_INT, (char *)"HTML_SEL_IN", (long) wxHTML_SEL_IN, 0, 0, 0},
10685{ SWIG_PY_INT, (char *)"HTML_SEL_CHANGING", (long) wxHTML_SEL_CHANGING, 0, 0, 0},
10686{ SWIG_PY_INT, (char *)"HTML_FIND_EXACT", (long) wxHTML_FIND_EXACT, 0, 0, 0},
10687{ SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_BEFORE", (long) wxHTML_FIND_NEAREST_BEFORE, 0, 0, 0},
10688{ SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_AFTER", (long) wxHTML_FIND_NEAREST_AFTER, 0, 0, 0},
10689{ SWIG_PY_INT, (char *)"PAGE_ODD", (long) wxPAGE_ODD, 0, 0, 0},
10690{ SWIG_PY_INT, (char *)"PAGE_EVEN", (long) wxPAGE_EVEN, 0, 0, 0},
10691{ SWIG_PY_INT, (char *)"PAGE_ALL", (long) wxPAGE_ALL, 0, 0, 0},
10692{ SWIG_PY_INT, (char *)"HF_TOOLBAR", (long) wxHF_TOOLBAR, 0, 0, 0},
10693{ SWIG_PY_INT, (char *)"HF_FLATTOOLBAR", (long) wxHF_FLATTOOLBAR, 0, 0, 0},
10694{ SWIG_PY_INT, (char *)"HF_CONTENTS", (long) wxHF_CONTENTS, 0, 0, 0},
10695{ SWIG_PY_INT, (char *)"HF_INDEX", (long) wxHF_INDEX, 0, 0, 0},
10696{ SWIG_PY_INT, (char *)"HF_SEARCH", (long) wxHF_SEARCH, 0, 0, 0},
10697{ SWIG_PY_INT, (char *)"HF_BOOKMARKS", (long) wxHF_BOOKMARKS, 0, 0, 0},
10698{ SWIG_PY_INT, (char *)"HF_OPENFILES", (long) wxHF_OPENFILES, 0, 0, 0},
10699{ SWIG_PY_INT, (char *)"HF_PRINT", (long) wxHF_PRINT, 0, 0, 0},
10700{ SWIG_PY_INT, (char *)"HF_DEFAULTSTYLE", (long) wxHF_DEFAULTSTYLE, 0, 0, 0},
10701{0}};
10702
10703#ifdef __cplusplus
10704}
10705#endif
10706
10707#ifdef __cplusplus
10708extern "C"
10709#endif
10710SWIGEXPORT(void) SWIG_init(void) {
10711 static PyObject *SWIG_globals = 0;
10712 static int typeinit = 0;
10713 PyObject *m, *d;
10714 int i;
10715 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
10716 m = Py_InitModule((char *) SWIG_name, SwigMethods);
10717 d = PyModule_GetDict(m);
10718
10719 if (!typeinit) {
10720 for (i = 0; swig_types_initial[i]; i++) {
10721 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
10722 }
10723 typeinit = 1;
10724 }
10725 SWIG_InstallConstants(d,swig_const_table);
10726
10727
10728 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
10729 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
10730 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
10731 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
10732
10733}
10734