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