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