]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html_wrap.cpp
Added note about wx.TaskbarIcon
[wxWidgets.git] / wxPython / src / msw / 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 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
210 #define SWIGTYPE_p_wxColour swig_types[1]
211 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
214 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
215 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
216 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
217 #define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
218 #define SWIGTYPE_p_char swig_types[9]
219 #define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
220 #define SWIGTYPE_p_wxHtmlParser swig_types[11]
221 #define SWIGTYPE_p_wxPanel swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
224 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
225 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
226 #define SWIGTYPE_p_wxWindow swig_types[17]
227 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
228 #define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
229 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
230 #define SWIGTYPE_p_wxHtmlSelection swig_types[21]
231 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
232 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
233 #define SWIGTYPE_p_wxObject swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
236 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
237 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
238 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
239 #define SWIGTYPE_p_wxPoint swig_types[30]
240 #define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
241 #define SWIGTYPE_p_wxCursor swig_types[32]
242 #define SWIGTYPE_p_wxFileSystem swig_types[33]
243 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
244 #define SWIGTYPE_p_wxPyPrintout swig_types[35]
245 #define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
246 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
247 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
248 #define SWIGTYPE_p_wxConfigBase swig_types[39]
249 #define SWIGTYPE_p_wxPrintData swig_types[40]
250 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
251 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
254 #define SWIGTYPE_p_wxHtmlFilter swig_types[45]
255 #define SWIGTYPE_p_wxHtmlCell swig_types[46]
256 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
257 #define SWIGTYPE_p_wxHtmlTag swig_types[48]
258 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
261 static swig_type_info *swig_types[53];
262
263 /* -------- TYPES TABLE (END) -------- */
264
265
266 /*-----------------------------------------------
267 @(target):= _html.so
268 ------------------------------------------------*/
269 #define SWIG_init init_html
270
271 #define SWIG_name "_html"
272
273 /* Auxiliar swig macros */
274
275 #ifdef __cplusplus
276 #define SWIGSTATICINLINE(a) static inline a
277 #define SWIGSTATIC(a) static a
278 #define swig_new_array(type, size) (new type[(size)])
279 #define swig_delete_array(cptr) delete[] cptr
280 #define swig_const_cast(type,a) const_cast<type>(a)
281 #define swig_static_cast(type,a) static_cast<type>(a)
282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
283
284 #ifdef HAVE_NUMERIC_CAST
285 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
286 #else
287 #define swig_numeric_cast(type,a) static_cast<type>(a)
288 #endif
289
290 #else /* C case */
291
292 #define SWIGSTATICINLINE(a) static a
293 #define SWIGSTATIC(a) static a
294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295 #define swig_delete_array(cptr) free((char*)cptr)
296 #define swig_const_cast(type,a) (type)(a)
297 #define swig_static_cast(type,a) (type)(a)
298 #define swig_reinterpret_cast(type,a) (type)(a)
299 #define swig_numeric_cast(type,a) (type)(a)
300
301 #endif /* __cplusplus */
302
303
304 #define SWIG_FromSignedChar PyInt_FromLong
305 #define SWIG_FromUnsignedChar PyInt_FromLong
306 #define SWIG_FromShort PyInt_FromLong
307 #define SWIG_FromUnsignedShort PyInt_FromLong
308 #define SWIG_FromInt PyInt_FromLong
309 #define SWIG_FromLong PyInt_FromLong
310 #define SWIG_FromFloat PyFloat_FromDouble
311 #define SWIG_FromDouble PyFloat_FromDouble
312 #define SWIG_FromFloat PyFloat_FromDouble
313 #define SWIG_FromDouble PyFloat_FromDouble
314
315
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318 #include "wx/wxPython/pyistream.h"
319 #include "wx/wxPython/printfw.h"
320
321 #include <wx/html/htmlwin.h>
322 #include <wx/html/htmprint.h>
323 #include <wx/html/helpctrl.h>
324
325
326 static const wxString wxPyEmptyString(wxEmptyString);
327 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
328 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
329 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
330
331 #include <limits.h>
332
333
334 SWIGSTATICINLINE(long)
335 SWIG_CheckLongInRange(long value, const char* type,
336 long min_value, long max_value)
337 {
338 if (!PyErr_Occurred()) {
339 if (value < min_value) {
340 PyObject *err =
341 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
342 value, type, min_value);
343
344 PyErr_SetObject(PyExc_OverflowError, err);
345 Py_DECREF(err);
346 } else if (value > max_value) {
347 PyObject *err =
348 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
349 value, type, max_value);
350 PyErr_SetObject(PyExc_OverflowError, err);
351 Py_DECREF(err);
352 }
353 }
354 return value;
355 }
356
357
358 SWIGSTATICINLINE(long)
359 SWIG_AsLong(PyObject * obj)
360 {
361 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
362 }
363
364
365 #if INT_MAX != LONG_MAX
366 SWIGSTATICINLINE(int)
367 SWIG_AsInt(PyObject *obj)
368 {
369 return swig_numeric_cast(int,
370 SWIG_CheckLongInRange(SWIG_AsLong(obj),
371 "int", INT_MIN, INT_MAX));
372 }
373 #else
374 #define SWIG_AsInt SWIG_AsLong
375 #endif
376
377
378 SWIGSTATICINLINE(int)
379 SWIG_CheckInt(PyObject* obj)
380 {
381 SWIG_AsInt(obj);
382 if (PyErr_Occurred()) {
383 PyErr_Clear();
384 return 0;
385 } else {
386 return 1;
387 }
388 }
389
390 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
391 int* temp = NULL;
392 if (sizes) temp = int_LIST_helper(sizes);
393 self->SetFonts(normal_face, fixed_face, temp);
394 if (temp)
395 delete [] temp;
396 }
397
398 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
399 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
400 public:
401 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
402
403 wxHtmlParser* GetParser() { return m_Parser; }
404 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
405
406 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
407 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
408
409 PYPRIVATE;
410 };
411
412 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
413
414 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
415 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
416
417
418 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
419 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
420 public:
421 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
422
423 wxHtmlWinParser* GetParser() { return m_WParser; }
424 void ParseInner(const wxHtmlTag& tag)
425 { wxHtmlWinTagHandler::ParseInner(tag); }
426
427 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
428 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
429
430 PYPRIVATE;
431 };
432
433 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
434
435 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
436 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
437
438
439
440 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
441 public:
442 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
443 m_tagHandlerClass = thc;
444 Py_INCREF(m_tagHandlerClass);
445 RegisterModule(this);
446 wxHtmlWinParser::AddModule(this);
447 }
448
449 void OnExit() {
450 bool blocked = wxPyBeginBlockThreads();
451 Py_DECREF(m_tagHandlerClass);
452 m_tagHandlerClass = NULL;
453 for (size_t x=0; x < m_objArray.GetCount(); x++) {
454 PyObject* obj = (PyObject*)m_objArray.Item(x);
455 Py_DECREF(obj);
456 }
457 wxPyEndBlockThreads(blocked);
458 };
459
460 void FillHandlersTable(wxHtmlWinParser *parser) {
461 // Wave our magic wand... (if it works it's a miracle! ;-)
462
463 // First, make a new instance of the tag handler
464 bool blocked = wxPyBeginBlockThreads();
465 PyObject* arg = PyTuple_New(0);
466 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
467 Py_DECREF(arg);
468
469 // now figure out where it's C++ object is...
470 wxPyHtmlWinTagHandler* thPtr;
471 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
472 wxPyEndBlockThreads(blocked);
473 return;
474 }
475 wxPyEndBlockThreads(blocked);
476
477 // add it,
478 parser->AddTagHandler(thPtr);
479
480 // and track it.
481 m_objArray.Add(obj);
482 }
483
484 private:
485 PyObject* m_tagHandlerClass;
486 wxArrayPtrVoid m_objArray;
487
488 };
489
490
491 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
492 // Dynamically create a new wxModule. Refcounts tagHandlerClass
493 // and adds itself to the wxModules list and to the wxHtmlWinParser.
494 new wxPyHtmlTagsModule(tagHandlerClass);
495 }
496
497
498 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
499 PyObject* o2;
500 PyObject* o3;
501
502 if (!target) {
503 target = o;
504 } else if (target == Py_None) {
505 Py_DECREF(Py_None);
506 target = o;
507 } else {
508 if (!PyTuple_Check(target)) {
509 o2 = target;
510 target = PyTuple_New(1);
511 PyTuple_SetItem(target, 0, o2);
512 }
513 o3 = PyTuple_New(1);
514 PyTuple_SetItem(o3, 0, o);
515
516 o2 = target;
517 target = PySequence_Concat(o2, o3);
518 Py_DECREF(o2);
519 Py_DECREF(o3);
520 }
521 return target;
522 }
523
524
525 SWIGSTATICINLINE(bool)
526 SWIG_AsBool(PyObject *obj)
527 {
528 return PyObject_IsTrue(obj) ? true : false;
529 }
530
531
532 SWIGSTATICINLINE(int)
533 SWIG_CheckBool(PyObject* obj)
534 {
535 SWIG_AsBool(obj);
536 if (PyErr_Occurred()) {
537 PyErr_Clear();
538 return 0;
539 } else {
540 return 1;
541 }
542 }
543
544
545 SWIGSTATICINLINE(unsigned long)
546 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
547 unsigned long max_value)
548 {
549 if (!PyErr_Occurred()) {
550 if (value > max_value) {
551 PyObject *err =
552 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
553 value, type, max_value);
554 PyErr_SetObject(PyExc_OverflowError, err);
555 Py_DECREF(err);
556 }
557 }
558 return value;
559 }
560
561
562 SWIGSTATICINLINE(unsigned long)
563 SWIG_AsUnsignedLong(PyObject * obj)
564 {
565 if (PyLong_Check(obj)) {
566 return PyLong_AsUnsignedLong(obj);
567 } else {
568 long i = PyInt_AsLong(obj);
569 if ( !PyErr_Occurred() && (i < 0)) {
570 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
571 }
572 return i;
573 }
574 }
575
576
577 #if UINT_MAX != ULONG_MAX
578 SWIGSTATICINLINE(unsigned int)
579 SWIG_AsUnsignedInt(PyObject *obj)
580 {
581 return swig_numeric_cast(unsigned int,
582 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
583 "unsigned int", UINT_MAX));
584 }
585 #else
586 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
587 #endif
588
589
590 SWIGSTATICINLINE(int)
591 SWIG_CheckUnsignedInt(PyObject* obj)
592 {
593 SWIG_AsUnsignedInt(obj);
594 if (PyErr_Occurred()) {
595 PyErr_Clear();
596 return 0;
597 } else {
598 return 1;
599 }
600 }
601
602
603 SWIGSTATICINLINE(PyObject* )
604 SWIG_FromUnsignedLong(unsigned long value)
605 {
606 return (value > LONG_MAX) ?
607 PyLong_FromUnsignedLong(value)
608 : PyInt_FromLong(swig_numeric_cast(long,value));
609 }
610
611
612 #if UINT_MAX < LONG_MAX
613 #define SWIG_FromUnsignedInt SWIG_FromLong
614 #else
615 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
616 #endif
617
618 // here's the C++ version
619 class wxPyHtmlFilter : public wxHtmlFilter {
620 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
621 public:
622 wxPyHtmlFilter() : wxHtmlFilter() {}
623
624 // returns True if this filter is able to open&read given file
625 virtual bool CanRead(const wxFSFile& file) const {
626 bool rval = False;
627 bool found;
628 bool blocked = wxPyBeginBlockThreads();
629 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
630 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
632 Py_DECREF(obj);
633 }
634 wxPyEndBlockThreads(blocked);
635 return rval;
636 }
637
638
639 // Reads given file and returns HTML document.
640 // Returns empty string if opening failed
641 virtual wxString ReadFile(const wxFSFile& file) const {
642 wxString rval;
643 bool found;
644 bool blocked = wxPyBeginBlockThreads();
645 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
646 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
647 PyObject* ro;
648 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
649 Py_DECREF(obj);
650 if (ro) {
651 rval = Py2wxString(ro);
652 Py_DECREF(ro);
653 }
654 }
655 wxPyEndBlockThreads(blocked);
656 return rval;
657 }
658
659 PYPRIVATE;
660 };
661
662 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
663
664
665 class wxPyHtmlWindow : public wxHtmlWindow {
666 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
667 public:
668 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
669 const wxPoint& pos = wxDefaultPosition,
670 const wxSize& size = wxDefaultSize,
671 long style = wxHW_DEFAULT_STYLE,
672 const wxString& name = wxPyHtmlWindowNameStr)
673 : wxHtmlWindow(parent, id, pos, size, style, name) {};
674 wxPyHtmlWindow() : wxHtmlWindow() {};
675
676 bool ScrollToAnchor(const wxString& anchor) {
677 return wxHtmlWindow::ScrollToAnchor(anchor);
678 }
679
680 bool HasAnchor(const wxString& anchor) {
681 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
682 return c!=NULL;
683 }
684
685 void OnLinkClicked(const wxHtmlLinkInfo& link);
686 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
687
688 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
689 const wxString& url,
690 wxString *redirect) const;
691
692 DEC_PYCALLBACK__STRING(OnSetTitle);
693 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
694 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
695 PYPRIVATE;
696 };
697
698 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
699 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
700 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
701 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
702
703
704 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
705 bool found;
706 bool blocked = wxPyBeginBlockThreads();
707 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
708 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
709 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
710 Py_DECREF(obj);
711 }
712 wxPyEndBlockThreads(blocked);
713 if (! found)
714 wxHtmlWindow::OnLinkClicked(link);
715 }
716 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
717 wxHtmlWindow::OnLinkClicked(link);
718 }
719
720
721 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
722 const wxString& url,
723 wxString *redirect) const {
724 bool found;
725 wxHtmlOpeningStatus rval;
726 bool blocked = wxPyBeginBlockThreads();
727 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
728 PyObject* ro;
729 PyObject* s = wx2PyString(url);
730 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
731 Py_DECREF(s);
732 if (PyString_Check(ro)
733 #if PYTHON_API_VERSION >= 1009
734 || PyUnicode_Check(ro)
735 #endif
736 ) {
737 *redirect = Py2wxString(ro);
738 rval = wxHTML_REDIRECT;
739 }
740 else {
741 PyObject* num = PyNumber_Int(ro);
742 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
743 Py_DECREF(num);
744 }
745 Py_DECREF(ro);
746 }
747 wxPyEndBlockThreads(blocked);
748 if (! found)
749 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
750 return rval;
751 }
752
753
754
755 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
756 int* temp = NULL;
757 if (sizes) temp = int_LIST_helper(sizes);
758 self->SetFonts(normal_face, fixed_face, temp);
759 if (temp)
760 delete [] temp;
761 }
762 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
763 int* temp = NULL;
764 if (sizes) temp = int_LIST_helper(sizes);
765 self->SetFonts(normal_face, fixed_face, temp);
766 if (temp)
767 delete [] temp;
768 }
769 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
770 int* temp = NULL;
771 if (sizes) temp = int_LIST_helper(sizes);
772 self->SetFonts(normal_face, fixed_face, temp);
773 if (temp)
774 delete [] temp;
775 }
776
777 #include <float.h>
778
779 SWIGSTATIC(float)
780 SWIG_FloatCast(double value)
781 {
782 float f = 0;
783 if (!PyErr_Occurred()) {
784 if (value < FLT_MIN) {
785 PyObject *err =
786 PyString_FromFormat("value %g is less than float minimum %g",
787 value, FLT_MIN);
788 PyErr_SetObject(PyExc_OverflowError, err);
789 Py_DECREF(err);
790 } else if (value > FLT_MAX) {
791 PyObject *err =
792 PyString_FromFormat("value %g is greater than float maximum %g",
793 value, FLT_MAX);
794 PyErr_SetObject(PyExc_OverflowError, err);
795 Py_DECREF(err);
796 } else {
797 f = swig_numeric_cast(float, value);
798 }
799 }
800 return f;
801 }
802
803
804 SWIGSTATICINLINE(double)
805 SWIG_AsDouble(PyObject *obj)
806 {
807 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
808 #if HAVE_LONG_LONG
809 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
810 #else
811 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
812 #endif
813 if (PyErr_Occurred()) {
814 PyErr_Clear();
815 PyErr_SetString(PyExc_TypeError, "a double is expected");
816 }
817 return val;
818 }
819
820
821 SWIGSTATICINLINE(float)
822 SWIG_AsFloat(PyObject *obj)
823 {
824 return SWIG_FloatCast(SWIG_AsDouble(obj));
825 }
826
827
828 SWIGSTATICINLINE(int)
829 SWIG_CheckFloat(PyObject* obj)
830 {
831 SWIG_AsFloat(obj);
832 if (PyErr_Occurred()) {
833 PyErr_Clear();
834 return 0;
835 } else {
836 return 1;
837 }
838 }
839
840 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
841 int* temp = NULL;
842 if (sizes) temp = int_LIST_helper(sizes);
843 self->SetFonts(normal_face, fixed_face, temp);
844 if (temp)
845 delete [] temp;
846 }
847 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
848 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
849 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
850 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
851 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
852 #ifdef __cplusplus
853 extern "C" {
854 #endif
855 static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
856 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
857 return 1;
858 }
859
860
861 static PyObject *_wrap_HtmlWindowNameStr_get() {
862 PyObject *pyobj;
863
864 {
865 #if wxUSE_UNICODE
866 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
867 #else
868 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
869 #endif
870 }
871 return pyobj;
872 }
873
874
875 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
876 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
877 return 1;
878 }
879
880
881 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
882 PyObject *pyobj;
883
884 {
885 #if wxUSE_UNICODE
886 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
887 #else
888 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
889 #endif
890 }
891 return pyobj;
892 }
893
894
895 static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
896 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
897 return 1;
898 }
899
900
901 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
902 PyObject *pyobj;
903
904 {
905 #if wxUSE_UNICODE
906 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
907 #else
908 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
909 #endif
910 }
911 return pyobj;
912 }
913
914
915 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
916 PyObject *resultobj;
917 wxString *arg1 = 0 ;
918 wxString const &arg2_defvalue = wxPyEmptyString ;
919 wxString *arg2 = (wxString *) &arg2_defvalue ;
920 wxHtmlLinkInfo *result;
921 bool temp1 = False ;
922 bool temp2 = False ;
923 PyObject * obj0 = 0 ;
924 PyObject * obj1 = 0 ;
925 char *kwnames[] = {
926 (char *) "href",(char *) "target", NULL
927 };
928
929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
930 {
931 arg1 = wxString_in_helper(obj0);
932 if (arg1 == NULL) SWIG_fail;
933 temp1 = True;
934 }
935 if (obj1) {
936 {
937 arg2 = wxString_in_helper(obj1);
938 if (arg2 == NULL) SWIG_fail;
939 temp2 = True;
940 }
941 }
942 {
943 PyThreadState* __tstate = wxPyBeginAllowThreads();
944 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
945
946 wxPyEndAllowThreads(__tstate);
947 if (PyErr_Occurred()) SWIG_fail;
948 }
949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
950 {
951 if (temp1)
952 delete arg1;
953 }
954 {
955 if (temp2)
956 delete arg2;
957 }
958 return resultobj;
959 fail:
960 {
961 if (temp1)
962 delete arg1;
963 }
964 {
965 if (temp2)
966 delete arg2;
967 }
968 return NULL;
969 }
970
971
972 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject *resultobj;
974 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
975 wxString result;
976 PyObject * obj0 = 0 ;
977 char *kwnames[] = {
978 (char *) "self", NULL
979 };
980
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
984 {
985 PyThreadState* __tstate = wxPyBeginAllowThreads();
986 result = (arg1)->GetHref();
987
988 wxPyEndAllowThreads(__tstate);
989 if (PyErr_Occurred()) SWIG_fail;
990 }
991 {
992 #if wxUSE_UNICODE
993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
994 #else
995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
996 #endif
997 }
998 return resultobj;
999 fail:
1000 return NULL;
1001 }
1002
1003
1004 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
1005 PyObject *resultobj;
1006 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1007 wxString result;
1008 PyObject * obj0 = 0 ;
1009 char *kwnames[] = {
1010 (char *) "self", NULL
1011 };
1012
1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
1014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1016 {
1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
1018 result = (arg1)->GetTarget();
1019
1020 wxPyEndAllowThreads(__tstate);
1021 if (PyErr_Occurred()) SWIG_fail;
1022 }
1023 {
1024 #if wxUSE_UNICODE
1025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1026 #else
1027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1028 #endif
1029 }
1030 return resultobj;
1031 fail:
1032 return NULL;
1033 }
1034
1035
1036 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1039 wxMouseEvent *result;
1040 PyObject * obj0 = 0 ;
1041 char *kwnames[] = {
1042 (char *) "self", NULL
1043 };
1044
1045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
1046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1048 {
1049 PyThreadState* __tstate = wxPyBeginAllowThreads();
1050 result = (wxMouseEvent *)(arg1)->GetEvent();
1051
1052 wxPyEndAllowThreads(__tstate);
1053 if (PyErr_Occurred()) SWIG_fail;
1054 }
1055 {
1056 resultobj = wxPyMake_wxObject(result);
1057 }
1058 return resultobj;
1059 fail:
1060 return NULL;
1061 }
1062
1063
1064 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1065 PyObject *resultobj;
1066 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1067 wxHtmlCell *result;
1068 PyObject * obj0 = 0 ;
1069 char *kwnames[] = {
1070 (char *) "self", NULL
1071 };
1072
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
1074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1076 {
1077 PyThreadState* __tstate = wxPyBeginAllowThreads();
1078 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1079
1080 wxPyEndAllowThreads(__tstate);
1081 if (PyErr_Occurred()) SWIG_fail;
1082 }
1083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
1084 return resultobj;
1085 fail:
1086 return NULL;
1087 }
1088
1089
1090 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject *resultobj;
1092 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1093 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1094 PyObject * obj0 = 0 ;
1095 PyObject * obj1 = 0 ;
1096 char *kwnames[] = {
1097 (char *) "self",(char *) "e", NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
1101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1105 {
1106 PyThreadState* __tstate = wxPyBeginAllowThreads();
1107 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1108
1109 wxPyEndAllowThreads(__tstate);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 Py_INCREF(Py_None); resultobj = Py_None;
1113 return resultobj;
1114 fail:
1115 return NULL;
1116 }
1117
1118
1119 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1120 PyObject *resultobj;
1121 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1122 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1123 PyObject * obj0 = 0 ;
1124 PyObject * obj1 = 0 ;
1125 char *kwnames[] = {
1126 (char *) "self",(char *) "e", NULL
1127 };
1128
1129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
1130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 Py_INCREF(Py_None); resultobj = Py_None;
1142 return resultobj;
1143 fail:
1144 return NULL;
1145 }
1146
1147
1148 static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
1149 PyObject *obj;
1150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1151 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1152 Py_INCREF(obj);
1153 return Py_BuildValue((char *)"");
1154 }
1155 static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1156 PyObject *resultobj;
1157 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1158 wxString result;
1159 PyObject * obj0 = 0 ;
1160 char *kwnames[] = {
1161 (char *) "self", NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = (arg1)->GetName();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175 #if wxUSE_UNICODE
1176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1177 #else
1178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1179 #endif
1180 }
1181 return resultobj;
1182 fail:
1183 return NULL;
1184 }
1185
1186
1187 static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1190 wxString *arg2 = 0 ;
1191 bool result;
1192 bool temp2 = False ;
1193 PyObject * obj0 = 0 ;
1194 PyObject * obj1 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "self",(char *) "par", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1202 {
1203 arg2 = wxString_in_helper(obj1);
1204 if (arg2 == NULL) SWIG_fail;
1205 temp2 = True;
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 {
1215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1216 }
1217 {
1218 if (temp2)
1219 delete arg2;
1220 }
1221 return resultobj;
1222 fail:
1223 {
1224 if (temp2)
1225 delete arg2;
1226 }
1227 return NULL;
1228 }
1229
1230
1231 static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject *resultobj;
1233 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1234 wxString *arg2 = 0 ;
1235 int arg3 = (int) False ;
1236 wxString result;
1237 bool temp2 = False ;
1238 PyObject * obj0 = 0 ;
1239 PyObject * obj1 = 0 ;
1240 PyObject * obj2 = 0 ;
1241 char *kwnames[] = {
1242 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1243 };
1244
1245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1248 {
1249 arg2 = wxString_in_helper(obj1);
1250 if (arg2 == NULL) SWIG_fail;
1251 temp2 = True;
1252 }
1253 if (obj2) {
1254 arg3 = (int) SWIG_AsInt(obj2);
1255 if (PyErr_Occurred()) SWIG_fail;
1256 }
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 #if wxUSE_UNICODE
1266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1267 #else
1268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1269 #endif
1270 }
1271 {
1272 if (temp2)
1273 delete arg2;
1274 }
1275 return resultobj;
1276 fail:
1277 {
1278 if (temp2)
1279 delete arg2;
1280 }
1281 return NULL;
1282 }
1283
1284
1285 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject *resultobj;
1287 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1288 wxString result;
1289 PyObject * obj0 = 0 ;
1290 char *kwnames[] = {
1291 (char *) "self", NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 result = (arg1)->GetAllParams();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 {
1305 #if wxUSE_UNICODE
1306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1307 #else
1308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1309 #endif
1310 }
1311 return resultobj;
1312 fail:
1313 return NULL;
1314 }
1315
1316
1317 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1320 bool result;
1321 PyObject * obj0 = 0 ;
1322 char *kwnames[] = {
1323 (char *) "self", NULL
1324 };
1325
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1329 {
1330 PyThreadState* __tstate = wxPyBeginAllowThreads();
1331 result = (bool)(arg1)->HasEnding();
1332
1333 wxPyEndAllowThreads(__tstate);
1334 if (PyErr_Occurred()) SWIG_fail;
1335 }
1336 {
1337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1338 }
1339 return resultobj;
1340 fail:
1341 return NULL;
1342 }
1343
1344
1345 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject *resultobj;
1347 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1348 int result;
1349 PyObject * obj0 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (int)(arg1)->GetBeginPos();
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 resultobj = SWIG_FromInt((int)result);
1365 return resultobj;
1366 fail:
1367 return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1374 int result;
1375 PyObject * obj0 = 0 ;
1376 char *kwnames[] = {
1377 (char *) "self", NULL
1378 };
1379
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 result = (int)(arg1)->GetEndPos1();
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 resultobj = SWIG_FromInt((int)result);
1391 return resultobj;
1392 fail:
1393 return NULL;
1394 }
1395
1396
1397 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1400 int result;
1401 PyObject * obj0 = 0 ;
1402 char *kwnames[] = {
1403 (char *) "self", NULL
1404 };
1405
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1409 {
1410 PyThreadState* __tstate = wxPyBeginAllowThreads();
1411 result = (int)(arg1)->GetEndPos2();
1412
1413 wxPyEndAllowThreads(__tstate);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 resultobj = SWIG_FromInt((int)result);
1417 return resultobj;
1418 fail:
1419 return NULL;
1420 }
1421
1422
1423 static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1424 PyObject *obj;
1425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1426 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1427 Py_INCREF(obj);
1428 return Py_BuildValue((char *)"");
1429 }
1430 static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1433 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1434 PyObject * obj0 = 0 ;
1435 PyObject * obj1 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self",(char *) "fs", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 (arg1)->SetFS(arg2);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 Py_INCREF(Py_None); resultobj = Py_None;
1453 return resultobj;
1454 fail:
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1462 wxFileSystem *result;
1463 PyObject * obj0 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 result = (wxFileSystem *)(arg1)->GetFS();
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 {
1479 resultobj = wxPyMake_wxObject(result);
1480 }
1481 return resultobj;
1482 fail:
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1490 wxString *arg2 = 0 ;
1491 wxObject *result;
1492 bool temp2 = False ;
1493 PyObject * obj0 = 0 ;
1494 PyObject * obj1 = 0 ;
1495 char *kwnames[] = {
1496 (char *) "self",(char *) "source", NULL
1497 };
1498
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1502 {
1503 arg2 = wxString_in_helper(obj1);
1504 if (arg2 == NULL) SWIG_fail;
1505 temp2 = True;
1506 }
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
1509 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
1514 {
1515 resultobj = wxPyMake_wxObject(result);
1516 }
1517 {
1518 if (temp2)
1519 delete arg2;
1520 }
1521 return resultobj;
1522 fail:
1523 {
1524 if (temp2)
1525 delete arg2;
1526 }
1527 return NULL;
1528 }
1529
1530
1531 static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1534 wxString *arg2 = 0 ;
1535 bool temp2 = False ;
1536 PyObject * obj0 = 0 ;
1537 PyObject * obj1 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self",(char *) "source", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1545 {
1546 arg2 = wxString_in_helper(obj1);
1547 if (arg2 == NULL) SWIG_fail;
1548 temp2 = True;
1549 }
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->InitParser((wxString const &)*arg2);
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 {
1559 if (temp2)
1560 delete arg2;
1561 }
1562 return resultobj;
1563 fail:
1564 {
1565 if (temp2)
1566 delete arg2;
1567 }
1568 return NULL;
1569 }
1570
1571
1572 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1573 PyObject *resultobj;
1574 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1575 PyObject * obj0 = 0 ;
1576 char *kwnames[] = {
1577 (char *) "self", NULL
1578 };
1579
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 (arg1)->DoneParser();
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 Py_INCREF(Py_None); resultobj = Py_None;
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1600 int arg2 ;
1601 int arg3 ;
1602 PyObject * obj0 = 0 ;
1603 PyObject * obj1 = 0 ;
1604 PyObject * obj2 = 0 ;
1605 char *kwnames[] = {
1606 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1612 arg2 = (int) SWIG_AsInt(obj1);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 arg3 = (int) SWIG_AsInt(obj2);
1615 if (PyErr_Occurred()) SWIG_fail;
1616 {
1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
1618 (arg1)->DoParsing(arg2,arg3);
1619
1620 wxPyEndAllowThreads(__tstate);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
1623 Py_INCREF(Py_None); resultobj = Py_None;
1624 return resultobj;
1625 fail:
1626 return NULL;
1627 }
1628
1629
1630 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1631 PyObject *resultobj;
1632 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1633 PyObject * obj0 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 (arg1)->StopParsing();
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 Py_INCREF(Py_None); resultobj = Py_None;
1649 return resultobj;
1650 fail:
1651 return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1658 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1659 PyObject * obj0 = 0 ;
1660 PyObject * obj1 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self",(char *) "handler", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 (arg1)->AddTagHandler(arg2);
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 Py_INCREF(Py_None); resultobj = Py_None;
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
1686 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1687 wxString *result;
1688 PyObject * obj0 = 0 ;
1689 char *kwnames[] = {
1690 (char *) "self", NULL
1691 };
1692
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1696 {
1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
1698 result = (wxString *)(arg1)->GetSource();
1699
1700 wxPyEndAllowThreads(__tstate);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 {
1704 #if wxUSE_UNICODE
1705 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1706 #else
1707 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1708 #endif
1709 }
1710 return resultobj;
1711 fail:
1712 return NULL;
1713 }
1714
1715
1716 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1717 PyObject *resultobj;
1718 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1719 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1720 wxString arg3 ;
1721 PyObject * obj0 = 0 ;
1722 PyObject * obj1 = 0 ;
1723 PyObject * obj2 = 0 ;
1724 char *kwnames[] = {
1725 (char *) "self",(char *) "handler",(char *) "tags", NULL
1726 };
1727
1728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1733 {
1734 wxString* sptr = wxString_in_helper(obj2);
1735 if (sptr == NULL) SWIG_fail;
1736 arg3 = *sptr;
1737 delete sptr;
1738 }
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 (arg1)->PushTagHandler(arg2,arg3);
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 Py_INCREF(Py_None); resultobj = Py_None;
1747 return resultobj;
1748 fail:
1749 return NULL;
1750 }
1751
1752
1753 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1756 PyObject * obj0 = 0 ;
1757 char *kwnames[] = {
1758 (char *) "self", NULL
1759 };
1760
1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1764 {
1765 PyThreadState* __tstate = wxPyBeginAllowThreads();
1766 (arg1)->PopTagHandler();
1767
1768 wxPyEndAllowThreads(__tstate);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 }
1771 Py_INCREF(Py_None); resultobj = Py_None;
1772 return resultobj;
1773 fail:
1774 return NULL;
1775 }
1776
1777
1778 static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1779 PyObject *obj;
1780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1781 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1782 Py_INCREF(obj);
1783 return Py_BuildValue((char *)"");
1784 }
1785 static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1788 wxHtmlWinParser *result;
1789 PyObject * obj0 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "wnd", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1795 if (obj0) {
1796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1798 }
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1816 wxDC *arg2 = (wxDC *) 0 ;
1817 PyObject * obj0 = 0 ;
1818 PyObject * obj1 = 0 ;
1819 char *kwnames[] = {
1820 (char *) "self",(char *) "dc", NULL
1821 };
1822
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 (arg1)->SetDC(arg2);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1845 wxDC *result;
1846 PyObject * obj0 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 result = (wxDC *)(arg1)->GetDC();
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 {
1862 resultobj = wxPyMake_wxObject(result);
1863 }
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1873 int result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = (int)(arg1)->GetCharHeight();
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 resultobj = SWIG_FromInt((int)result);
1890 return resultobj;
1891 fail:
1892 return NULL;
1893 }
1894
1895
1896 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1899 int result;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 result = (int)(arg1)->GetCharWidth();
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 resultobj = SWIG_FromInt((int)result);
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1925 wxPyHtmlWindow *result;
1926 PyObject * obj0 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1934 {
1935 PyThreadState* __tstate = wxPyBeginAllowThreads();
1936 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1937
1938 wxPyEndAllowThreads(__tstate);
1939 if (PyErr_Occurred()) SWIG_fail;
1940 }
1941 {
1942 resultobj = wxPyMake_wxObject(result);
1943 }
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1953 wxString arg2 ;
1954 wxString arg3 ;
1955 PyObject *arg4 = (PyObject *) NULL ;
1956 PyObject * obj0 = 0 ;
1957 PyObject * obj1 = 0 ;
1958 PyObject * obj2 = 0 ;
1959 PyObject * obj3 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1967 {
1968 wxString* sptr = wxString_in_helper(obj1);
1969 if (sptr == NULL) SWIG_fail;
1970 arg2 = *sptr;
1971 delete sptr;
1972 }
1973 {
1974 wxString* sptr = wxString_in_helper(obj2);
1975 if (sptr == NULL) SWIG_fail;
1976 arg3 = *sptr;
1977 delete sptr;
1978 }
1979 if (obj3) {
1980 arg4 = obj3;
1981 }
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1999 wxHtmlContainerCell *result;
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "self", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2008 {
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
2010 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 }
2015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2016 return resultobj;
2017 fail:
2018 return NULL;
2019 }
2020
2021
2022 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2023 PyObject *resultobj;
2024 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2025 wxHtmlContainerCell *result;
2026 PyObject * obj0 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "self", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2034 {
2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
2036 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2037
2038 wxPyEndAllowThreads(__tstate);
2039 if (PyErr_Occurred()) SWIG_fail;
2040 }
2041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2042 return resultobj;
2043 fail:
2044 return NULL;
2045 }
2046
2047
2048 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject *resultobj;
2050 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2051 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2052 wxHtmlContainerCell *result;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj1 = 0 ;
2055 char *kwnames[] = {
2056 (char *) "self",(char *) "c", NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject *resultobj;
2080 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2081 wxHtmlContainerCell *result;
2082 PyObject * obj0 = 0 ;
2083 char *kwnames[] = {
2084 (char *) "self", NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2098 return resultobj;
2099 fail:
2100 return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2107 int result;
2108 PyObject * obj0 = 0 ;
2109 char *kwnames[] = {
2110 (char *) "self", NULL
2111 };
2112
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (int)(arg1)->GetFontSize();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 resultobj = SWIG_FromInt((int)result);
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2133 int arg2 ;
2134 PyObject * obj0 = 0 ;
2135 PyObject * obj1 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self",(char *) "s", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2143 arg2 = (int) SWIG_AsInt(obj1);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 (arg1)->SetFontSize(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_GetFontBold(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_GetFontBold",kwnames,&obj0)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (int)(arg1)->GetFontBold();
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 resultobj = SWIG_FromInt((int)result);
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2188 int arg2 ;
2189 PyObject * obj0 = 0 ;
2190 PyObject * obj1 = 0 ;
2191 char *kwnames[] = {
2192 (char *) "self",(char *) "x", NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2198 arg2 = (int) SWIG_AsInt(obj1);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->SetFontBold(arg2);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2217 int result;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = (int)(arg1)->GetFontItalic();
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 resultobj = SWIG_FromInt((int)result);
2234 return resultobj;
2235 fail:
2236 return NULL;
2237 }
2238
2239
2240 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject *resultobj;
2242 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2243 int arg2 ;
2244 PyObject * obj0 = 0 ;
2245 PyObject * obj1 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self",(char *) "x", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2253 arg2 = (int) SWIG_AsInt(obj1);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 (arg1)->SetFontItalic(arg2);
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 Py_INCREF(Py_None); resultobj = Py_None;
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2272 int result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (int)(arg1)->GetFontUnderlined();
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 resultobj = SWIG_FromInt((int)result);
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject *resultobj;
2297 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2298 int arg2 ;
2299 PyObject * obj0 = 0 ;
2300 PyObject * obj1 = 0 ;
2301 char *kwnames[] = {
2302 (char *) "self",(char *) "x", NULL
2303 };
2304
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2308 arg2 = (int) SWIG_AsInt(obj1);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 (arg1)->SetFontUnderlined(arg2);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 Py_INCREF(Py_None); resultobj = Py_None;
2318 return resultobj;
2319 fail:
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2327 int result;
2328 PyObject * obj0 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 result = (int)(arg1)->GetFontFixed();
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 resultobj = SWIG_FromInt((int)result);
2344 return resultobj;
2345 fail:
2346 return NULL;
2347 }
2348
2349
2350 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2351 PyObject *resultobj;
2352 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2353 int arg2 ;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "x", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2363 arg2 = (int) SWIG_AsInt(obj1);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 (arg1)->SetFontFixed(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_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2382 int result;
2383 PyObject * obj0 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 {
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 result = (int)(arg1)->GetAlign();
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 resultobj = SWIG_FromInt((int)result);
2399 return resultobj;
2400 fail:
2401 return NULL;
2402 }
2403
2404
2405 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject *resultobj;
2407 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2408 int arg2 ;
2409 PyObject * obj0 = 0 ;
2410 PyObject * obj1 = 0 ;
2411 char *kwnames[] = {
2412 (char *) "self",(char *) "a", NULL
2413 };
2414
2415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2418 arg2 = (int) SWIG_AsInt(obj1);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 (arg1)->SetAlign(arg2);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 Py_INCREF(Py_None); resultobj = Py_None;
2428 return resultobj;
2429 fail:
2430 return NULL;
2431 }
2432
2433
2434 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2437 wxColour result;
2438 PyObject * obj0 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self", NULL
2441 };
2442
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 result = (arg1)->GetLinkColor();
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
2453 {
2454 wxColour * resultptr;
2455 resultptr = new wxColour((wxColour &) result);
2456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2457 }
2458 return resultobj;
2459 fail:
2460 return NULL;
2461 }
2462
2463
2464 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject *resultobj;
2466 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2467 wxColour *arg2 = 0 ;
2468 wxColour temp2 ;
2469 PyObject * obj0 = 0 ;
2470 PyObject * obj1 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self",(char *) "clr", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2478 {
2479 arg2 = &temp2;
2480 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2481 }
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 (arg1)->SetLinkColor((wxColour const &)*arg2);
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
2489 Py_INCREF(Py_None); resultobj = Py_None;
2490 return resultobj;
2491 fail:
2492 return NULL;
2493 }
2494
2495
2496 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2497 PyObject *resultobj;
2498 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2499 wxColour result;
2500 PyObject * obj0 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 result = (arg1)->GetActualColor();
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 {
2516 wxColour * resultptr;
2517 resultptr = new wxColour((wxColour &) result);
2518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2519 }
2520 return resultobj;
2521 fail:
2522 return NULL;
2523 }
2524
2525
2526 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2529 wxColour *arg2 = 0 ;
2530 wxColour temp2 ;
2531 PyObject * obj0 = 0 ;
2532 PyObject * obj1 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self",(char *) "clr", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2540 {
2541 arg2 = &temp2;
2542 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2543 }
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 (arg1)->SetActualColor((wxColour const &)*arg2);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 Py_INCREF(Py_None); resultobj = Py_None;
2552 return resultobj;
2553 fail:
2554 return NULL;
2555 }
2556
2557
2558 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2561 wxString *arg2 = 0 ;
2562 bool temp2 = False ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "link", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2572 {
2573 arg2 = wxString_in_helper(obj1);
2574 if (arg2 == NULL) SWIG_fail;
2575 temp2 = True;
2576 }
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 (arg1)->SetLink((wxString const &)*arg2);
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 Py_INCREF(Py_None); resultobj = Py_None;
2585 {
2586 if (temp2)
2587 delete arg2;
2588 }
2589 return resultobj;
2590 fail:
2591 {
2592 if (temp2)
2593 delete arg2;
2594 }
2595 return NULL;
2596 }
2597
2598
2599 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2600 PyObject *resultobj;
2601 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2602 wxFont *result;
2603 PyObject * obj0 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "self", NULL
2606 };
2607
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 result = (wxFont *)(arg1)->CreateCurrentFont();
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject *resultobj;
2627 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2628 SwigValueWrapper< wxHtmlLinkInfo > result;
2629 PyObject * obj0 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 result = (arg1)->GetLink();
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 {
2645 wxHtmlLinkInfo * resultptr;
2646 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2648 }
2649 return resultobj;
2650 fail:
2651 return NULL;
2652 }
2653
2654
2655 static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2656 PyObject *obj;
2657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2658 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2659 Py_INCREF(obj);
2660 return Py_BuildValue((char *)"");
2661 }
2662 static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxPyHtmlTagHandler *result;
2665 char *kwnames[] = {
2666 NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2670 {
2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
2672 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2673
2674 wxPyEndAllowThreads(__tstate);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2678 return resultobj;
2679 fail:
2680 return NULL;
2681 }
2682
2683
2684 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2685 PyObject *resultobj;
2686 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2687 PyObject *arg2 = (PyObject *) 0 ;
2688 PyObject *arg3 = (PyObject *) 0 ;
2689 PyObject * obj0 = 0 ;
2690 PyObject * obj1 = 0 ;
2691 PyObject * obj2 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self",(char *) "self",(char *) "_class", NULL
2694 };
2695
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2699 arg2 = obj1;
2700 arg3 = obj2;
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 (arg1)->_setCallbackInfo(arg2,arg3);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 return resultobj;
2710 fail:
2711 return NULL;
2712 }
2713
2714
2715 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2718 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2719 PyObject * obj0 = 0 ;
2720 PyObject * obj1 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self",(char *) "parser", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 (arg1)->SetParser(arg2);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 Py_INCREF(Py_None); resultobj = Py_None;
2738 return resultobj;
2739 fail:
2740 return NULL;
2741 }
2742
2743
2744 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2745 PyObject *resultobj;
2746 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2747 wxHtmlParser *result;
2748 PyObject * obj0 = 0 ;
2749 char *kwnames[] = {
2750 (char *) "self", NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2756 {
2757 PyThreadState* __tstate = wxPyBeginAllowThreads();
2758 result = (wxHtmlParser *)(arg1)->GetParser();
2759
2760 wxPyEndAllowThreads(__tstate);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
2763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
2764 return resultobj;
2765 fail:
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj;
2772 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2773 wxHtmlTag *arg2 = 0 ;
2774 PyObject * obj0 = 0 ;
2775 PyObject * obj1 = 0 ;
2776 char *kwnames[] = {
2777 (char *) "self",(char *) "tag", NULL
2778 };
2779
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2784 SWIG_POINTER_EXCEPTION | 0)) == -1)
2785 SWIG_fail;
2786 if (arg2 == NULL) {
2787 PyErr_SetString(PyExc_TypeError,"null reference");
2788 SWIG_fail;
2789 }
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
2792 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 }
2797 Py_INCREF(Py_None); resultobj = Py_None;
2798 return resultobj;
2799 fail:
2800 return NULL;
2801 }
2802
2803
2804 static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2805 PyObject *obj;
2806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2807 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2808 Py_INCREF(obj);
2809 return Py_BuildValue((char *)"");
2810 }
2811 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxPyHtmlWinTagHandler *result;
2814 char *kwnames[] = {
2815 NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2827 return resultobj;
2828 fail:
2829 return NULL;
2830 }
2831
2832
2833 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2836 PyObject *arg2 = (PyObject *) 0 ;
2837 PyObject *arg3 = (PyObject *) 0 ;
2838 PyObject * obj0 = 0 ;
2839 PyObject * obj1 = 0 ;
2840 PyObject * obj2 = 0 ;
2841 char *kwnames[] = {
2842 (char *) "self",(char *) "self",(char *) "_class", NULL
2843 };
2844
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2848 arg2 = obj1;
2849 arg3 = obj2;
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 (arg1)->_setCallbackInfo(arg2,arg3);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 Py_INCREF(Py_None); resultobj = Py_None;
2858 return resultobj;
2859 fail:
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2867 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2868 PyObject * obj0 = 0 ;
2869 PyObject * obj1 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self",(char *) "parser", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 (arg1)->SetParser(arg2);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 Py_INCREF(Py_None); resultobj = Py_None;
2887 return resultobj;
2888 fail:
2889 return NULL;
2890 }
2891
2892
2893 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject *resultobj;
2895 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2896 wxHtmlWinParser *result;
2897 PyObject * obj0 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "self", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 result = (wxHtmlWinParser *)(arg1)->GetParser();
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
2913 return resultobj;
2914 fail:
2915 return NULL;
2916 }
2917
2918
2919 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2922 wxHtmlTag *arg2 = 0 ;
2923 PyObject * obj0 = 0 ;
2924 PyObject * obj1 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "self",(char *) "tag", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2933 SWIG_POINTER_EXCEPTION | 0)) == -1)
2934 SWIG_fail;
2935 if (arg2 == NULL) {
2936 PyErr_SetString(PyExc_TypeError,"null reference");
2937 SWIG_fail;
2938 }
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 Py_INCREF(Py_None); resultobj = Py_None;
2947 return resultobj;
2948 fail:
2949 return NULL;
2950 }
2951
2952
2953 static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2954 PyObject *obj;
2955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2956 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2957 Py_INCREF(obj);
2958 return Py_BuildValue((char *)"");
2959 }
2960 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj;
2962 PyObject *arg1 = (PyObject *) 0 ;
2963 PyObject * obj0 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "tagHandlerClass", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2969 arg1 = obj0;
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 wxHtmlWinParser_AddTagHandler(arg1);
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxHtmlSelection *result;
2987 char *kwnames[] = {
2988 NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 result = (wxHtmlSelection *)new wxHtmlSelection();
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
3000 return resultobj;
3001 fail:
3002 return NULL;
3003 }
3004
3005
3006 static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3009 PyObject * obj0 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 delete arg1;
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 Py_INCREF(Py_None); resultobj = Py_None;
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3034 wxPoint *arg2 = 0 ;
3035 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3036 wxPoint *arg4 = 0 ;
3037 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3038 wxPoint temp2 ;
3039 wxPoint temp4 ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 PyObject * obj2 = 0 ;
3043 PyObject * obj3 = 0 ;
3044 PyObject * obj4 = 0 ;
3045 char *kwnames[] = {
3046 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3052 {
3053 arg2 = &temp2;
3054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3055 }
3056 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3058 {
3059 arg4 = &temp4;
3060 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3061 }
3062 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 Py_INCREF(Py_None); resultobj = Py_None;
3072 return resultobj;
3073 fail:
3074 return NULL;
3075 }
3076
3077
3078 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj;
3080 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3081 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3082 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3083 PyObject * obj0 = 0 ;
3084 PyObject * obj1 = 0 ;
3085 PyObject * obj2 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3095 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 Py_INCREF(Py_None); resultobj = Py_None;
3105 return resultobj;
3106 fail:
3107 return NULL;
3108 }
3109
3110
3111 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3114 wxHtmlCell *result;
3115 PyObject * obj0 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
3121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3131 return resultobj;
3132 fail:
3133 return NULL;
3134 }
3135
3136
3137 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3140 wxHtmlCell *result;
3141 PyObject * obj0 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3157 return resultobj;
3158 fail:
3159 return NULL;
3160 }
3161
3162
3163 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3166 wxPoint *result;
3167 PyObject * obj0 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
3173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 {
3178 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3179 result = (wxPoint *) &_result_ref;
3180 }
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3186 return resultobj;
3187 fail:
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj;
3194 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3195 wxPoint *result;
3196 PyObject * obj0 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
3202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 {
3207 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3208 result = (wxPoint *) &_result_ref;
3209 }
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3224 wxPoint *result;
3225 PyObject * obj0 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 {
3236 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3237 result = (wxPoint *) &_result_ref;
3238 }
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3253 wxPoint *result;
3254 PyObject * obj0 = 0 ;
3255 char *kwnames[] = {
3256 (char *) "self", NULL
3257 };
3258
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 {
3265 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3266 result = (wxPoint *) &_result_ref;
3267 }
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3282 wxPoint *arg2 = 0 ;
3283 wxPoint temp2 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "pos", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 {
3294 arg2 = &temp2;
3295 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3296 }
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308 }
3309
3310
3311 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3314 wxPoint *arg2 = 0 ;
3315 wxPoint temp2 ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "pos", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 {
3326 arg2 = &temp2;
3327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3346 PyObject * obj0 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->ClearPrivPos();
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3371 bool result;
3372 PyObject * obj0 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 {
3388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3389 }
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3397 PyObject *obj;
3398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3400 Py_INCREF(obj);
3401 return Py_BuildValue((char *)"");
3402 }
3403 static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject *resultobj;
3405 wxHtmlRenderingState *result;
3406 char *kwnames[] = {
3407 NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3428 PyObject * obj0 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 delete arg1;
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3453 int arg2 ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self",(char *) "s", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3463 arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 Py_INCREF(Py_None); resultobj = Py_None;
3473 return resultobj;
3474 fail:
3475 return NULL;
3476 }
3477
3478
3479 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3480 PyObject *resultobj;
3481 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3482 int result;
3483 PyObject * obj0 = 0 ;
3484 char *kwnames[] = {
3485 (char *) "self", NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 resultobj = SWIG_FromInt((int)result);
3499 return resultobj;
3500 fail:
3501 return NULL;
3502 }
3503
3504
3505 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject *resultobj;
3507 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3508 wxColour *arg2 = 0 ;
3509 wxColour temp2 ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self",(char *) "c", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3519 {
3520 arg2 = &temp2;
3521 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3522 }
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 (arg1)->SetFgColour((wxColour const &)*arg2);
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 Py_INCREF(Py_None); resultobj = Py_None;
3531 return resultobj;
3532 fail:
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3540 wxColour *result;
3541 PyObject * obj0 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "self", NULL
3544 };
3545
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 {
3552 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3553 result = (wxColour *) &_result_ref;
3554 }
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
3559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3560 return resultobj;
3561 fail:
3562 return NULL;
3563 }
3564
3565
3566 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3569 wxColour *arg2 = 0 ;
3570 wxColour temp2 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "c", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 {
3581 arg2 = &temp2;
3582 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 (arg1)->SetBgColour((wxColour const &)*arg2);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3601 wxColour *result;
3602 PyObject * obj0 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 {
3613 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3614 result = (wxColour *) &_result_ref;
3615 }
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3628 PyObject *obj;
3629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3630 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3631 Py_INCREF(obj);
3632 return Py_BuildValue((char *)"");
3633 }
3634 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj;
3636 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3637 wxColour *arg2 = 0 ;
3638 wxColour result;
3639 wxColour temp2 ;
3640 PyObject * obj0 = 0 ;
3641 PyObject * obj1 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "self",(char *) "clr", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3649 {
3650 arg2 = &temp2;
3651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 wxColour * resultptr;
3662 resultptr = new wxColour((wxColour &) result);
3663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3664 }
3665 return resultobj;
3666 fail:
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3674 wxColour *arg2 = 0 ;
3675 wxColour result;
3676 wxColour temp2 ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "clr", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3686 {
3687 arg2 = &temp2;
3688 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3689 }
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 {
3698 wxColour * resultptr;
3699 resultptr = new wxColour((wxColour &) result);
3700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3701 }
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3709 PyObject *obj;
3710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3711 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3712 Py_INCREF(obj);
3713 return Py_BuildValue((char *)"");
3714 }
3715 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3718 wxColour *arg2 = 0 ;
3719 wxColour result;
3720 wxColour temp2 ;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 char *kwnames[] = {
3724 (char *) "self",(char *) "clr", NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3730 {
3731 arg2 = &temp2;
3732 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3733 }
3734 {
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 {
3742 wxColour * resultptr;
3743 resultptr = new wxColour((wxColour &) result);
3744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3745 }
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3755 wxColour *arg2 = 0 ;
3756 wxColour result;
3757 wxColour temp2 ;
3758 PyObject * obj0 = 0 ;
3759 PyObject * obj1 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "self",(char *) "clr", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3767 {
3768 arg2 = &temp2;
3769 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3770 }
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 {
3779 wxColour * resultptr;
3780 resultptr = new wxColour((wxColour &) result);
3781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3782 }
3783 return resultobj;
3784 fail:
3785 return NULL;
3786 }
3787
3788
3789 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3790 PyObject *obj;
3791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3792 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3793 Py_INCREF(obj);
3794 return Py_BuildValue((char *)"");
3795 }
3796 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxHtmlRenderingInfo *result;
3799 char *kwnames[] = {
3800 NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3812 return resultobj;
3813 fail:
3814 return NULL;
3815 }
3816
3817
3818 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject *resultobj;
3820 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3821 PyObject * obj0 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 delete arg1;
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 Py_INCREF(Py_None); resultobj = Py_None;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3846 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self",(char *) "s", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
3857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 (arg1)->SetSelection(arg2);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 Py_INCREF(Py_None); resultobj = Py_None;
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3875 wxHtmlSelection *result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3887
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
3892 return resultobj;
3893 fail:
3894 return NULL;
3895 }
3896
3897
3898 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3899 PyObject *resultobj;
3900 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3901 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3902 PyObject * obj0 = 0 ;
3903 PyObject * obj1 = 0 ;
3904 char *kwnames[] = {
3905 (char *) "self",(char *) "style", NULL
3906 };
3907
3908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
3912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 (arg1)->SetStyle(arg2);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 Py_INCREF(Py_None); resultobj = Py_None;
3921 return resultobj;
3922 fail:
3923 return NULL;
3924 }
3925
3926
3927 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3930 wxHtmlRenderingStyle *result;
3931 PyObject * obj0 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 {
3942 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3943 result = (wxHtmlRenderingStyle *) &_result_ref;
3944 }
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3959 wxHtmlRenderingState *result;
3960 PyObject * obj0 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 {
3971 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3972 result = (wxHtmlRenderingState *) &_result_ref;
3973 }
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3986 PyObject *obj;
3987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3988 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3989 Py_INCREF(obj);
3990 return Py_BuildValue((char *)"");
3991 }
3992 static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxHtmlCell *result;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxHtmlCell *)new wxHtmlCell();
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4017 int result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (int)(arg1)->GetPosX();
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 resultobj = SWIG_FromInt((int)result);
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4043 int result;
4044 PyObject * obj0 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 result = (int)(arg1)->GetPosY();
4055
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 resultobj = SWIG_FromInt((int)result);
4060 return resultobj;
4061 fail:
4062 return NULL;
4063 }
4064
4065
4066 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4069 int result;
4070 PyObject * obj0 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 result = (int)(arg1)->GetWidth();
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 resultobj = SWIG_FromInt((int)result);
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4095 int result;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (int)(arg1)->GetHeight();
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_FromInt((int)result);
4112 return resultobj;
4113 fail:
4114 return NULL;
4115 }
4116
4117
4118 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4121 int result;
4122 PyObject * obj0 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (int)(arg1)->GetDescent();
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_FromInt((int)result);
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj;
4146 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4147 wxString *result;
4148 PyObject * obj0 = 0 ;
4149 char *kwnames[] = {
4150 (char *) "self", NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
4154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 {
4159 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4160 result = (wxString *) &_result_ref;
4161 }
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 {
4167 #if wxUSE_UNICODE
4168 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4169 #else
4170 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4171 #endif
4172 }
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj;
4181 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4182 wxString *arg2 = 0 ;
4183 bool temp2 = False ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "id", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4193 {
4194 arg2 = wxString_in_helper(obj1);
4195 if (arg2 == NULL) SWIG_fail;
4196 temp2 = True;
4197 }
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->SetId((wxString const &)*arg2);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 {
4207 if (temp2)
4208 delete arg2;
4209 }
4210 return resultobj;
4211 fail:
4212 {
4213 if (temp2)
4214 delete arg2;
4215 }
4216 return NULL;
4217 }
4218
4219
4220 static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj;
4222 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4223 int arg2 = (int) 0 ;
4224 int arg3 = (int) 0 ;
4225 wxHtmlLinkInfo *result;
4226 PyObject * obj0 = 0 ;
4227 PyObject * obj1 = 0 ;
4228 PyObject * obj2 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self",(char *) "x",(char *) "y", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
4234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4236 if (obj1) {
4237 arg2 = (int) SWIG_AsInt(obj1);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 if (obj2) {
4241 arg3 = (int) SWIG_AsInt(obj2);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
4251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
4252 return resultobj;
4253 fail:
4254 return NULL;
4255 }
4256
4257
4258 static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4259 PyObject *resultobj;
4260 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4261 wxHtmlCell *result;
4262 PyObject * obj0 = 0 ;
4263 char *kwnames[] = {
4264 (char *) "self", NULL
4265 };
4266
4267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 result = (wxHtmlCell *)(arg1)->GetNext();
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4278 return resultobj;
4279 fail:
4280 return NULL;
4281 }
4282
4283
4284 static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj;
4286 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4287 wxHtmlContainerCell *result;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4313 wxHtmlCell *result;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4330 return resultobj;
4331 fail:
4332 return NULL;
4333 }
4334
4335
4336 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj;
4338 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4339 wxCursor result;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = ((wxHtmlCell const *)arg1)->GetCursor();
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 {
4356 wxCursor * resultptr;
4357 resultptr = new wxCursor((wxCursor &) result);
4358 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4359 }
4360 return resultobj;
4361 fail:
4362 return NULL;
4363 }
4364
4365
4366 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4369 bool result;
4370 PyObject * obj0 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "self", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 {
4386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4387 }
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4397 wxHtmlLinkInfo *arg2 = 0 ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "link", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4408 SWIG_POINTER_EXCEPTION | 0)) == -1)
4409 SWIG_fail;
4410 if (arg2 == NULL) {
4411 PyErr_SetString(PyExc_TypeError,"null reference");
4412 SWIG_fail;
4413 }
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 Py_INCREF(Py_None); resultobj = Py_None;
4422 return resultobj;
4423 fail:
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4431 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "self",(char *) "cell", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 (arg1)->SetNext(arg2);
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 Py_INCREF(Py_None); resultobj = Py_None;
4451 return resultobj;
4452 fail:
4453 return NULL;
4454 }
4455
4456
4457 static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4458 PyObject *resultobj;
4459 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4460 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4461 PyObject * obj0 = 0 ;
4462 PyObject * obj1 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "self",(char *) "p", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 (arg1)->SetParent(arg2);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 Py_INCREF(Py_None); resultobj = Py_None;
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4489 int arg2 ;
4490 int arg3 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 PyObject * obj2 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "x",(char *) "y", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4501 arg2 = (int) SWIG_AsInt(obj1);
4502 if (PyErr_Occurred()) SWIG_fail;
4503 arg3 = (int) SWIG_AsInt(obj2);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->SetPos(arg2,arg3);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4522 int arg2 ;
4523 PyObject * obj0 = 0 ;
4524 PyObject * obj1 = 0 ;
4525 char *kwnames[] = {
4526 (char *) "self",(char *) "w", NULL
4527 };
4528
4529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4532 arg2 = (int) SWIG_AsInt(obj1);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 (arg1)->Layout(arg2);
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4551 wxDC *arg2 = 0 ;
4552 int arg3 ;
4553 int arg4 ;
4554 int arg5 ;
4555 int arg6 ;
4556 wxHtmlRenderingInfo *arg7 = 0 ;
4557 PyObject * obj0 = 0 ;
4558 PyObject * obj1 = 0 ;
4559 PyObject * obj2 = 0 ;
4560 PyObject * obj3 = 0 ;
4561 PyObject * obj4 = 0 ;
4562 PyObject * obj5 = 0 ;
4563 PyObject * obj6 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1)
4573 SWIG_fail;
4574 if (arg2 == NULL) {
4575 PyErr_SetString(PyExc_TypeError,"null reference");
4576 SWIG_fail;
4577 }
4578 arg3 = (int) SWIG_AsInt(obj2);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 arg4 = (int) SWIG_AsInt(obj3);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 arg5 = (int) SWIG_AsInt(obj4);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 arg6 = (int) SWIG_AsInt(obj5);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4587 SWIG_POINTER_EXCEPTION | 0)) == -1)
4588 SWIG_fail;
4589 if (arg7 == NULL) {
4590 PyErr_SetString(PyExc_TypeError,"null reference");
4591 SWIG_fail;
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 Py_INCREF(Py_None); resultobj = Py_None;
4601 return resultobj;
4602 fail:
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4610 wxDC *arg2 = 0 ;
4611 int arg3 ;
4612 int arg4 ;
4613 wxHtmlRenderingInfo *arg5 = 0 ;
4614 PyObject * obj0 = 0 ;
4615 PyObject * obj1 = 0 ;
4616 PyObject * obj2 = 0 ;
4617 PyObject * obj3 = 0 ;
4618 PyObject * obj4 = 0 ;
4619 char *kwnames[] = {
4620 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4621 };
4622
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4627 SWIG_POINTER_EXCEPTION | 0)) == -1)
4628 SWIG_fail;
4629 if (arg2 == NULL) {
4630 PyErr_SetString(PyExc_TypeError,"null reference");
4631 SWIG_fail;
4632 }
4633 arg3 = (int) SWIG_AsInt(obj2);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 arg4 = (int) SWIG_AsInt(obj3);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1)
4639 SWIG_fail;
4640 if (arg5 == NULL) {
4641 PyErr_SetString(PyExc_TypeError,"null reference");
4642 SWIG_fail;
4643 }
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 Py_INCREF(Py_None); resultobj = Py_None;
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4661 int arg2 ;
4662 void *arg3 = (void *) 0 ;
4663 wxHtmlCell *result;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 PyObject * obj2 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self",(char *) "condition",(char *) "param", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 arg2 = (int) SWIG_AsInt(obj1);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4680
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4685 return resultobj;
4686 fail:
4687 return NULL;
4688 }
4689
4690
4691 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj;
4693 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4694 int *arg2 = (int *) 0 ;
4695 bool result;
4696 int temp2 ;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "INOUT", NULL
4701 };
4702
4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4706 {
4707 temp2 = PyInt_AsLong(obj1);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 arg2 = &temp2;
4710 }
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (bool)(arg1)->AdjustPagebreak(arg2);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 {
4719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4720 }
4721 {
4722 PyObject *o = PyInt_FromLong((long) (*arg2));
4723 resultobj = t_output_helper(resultobj,o);
4724 }
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4734 bool arg2 ;
4735 PyObject * obj0 = 0 ;
4736 PyObject * obj1 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self",(char *) "can", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4744 arg2 = (bool) SWIG_AsBool(obj1);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 (arg1)->SetCanLiveOnPagebreak(arg2);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 Py_INCREF(Py_None); resultobj = Py_None;
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj;
4762 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4763 bool result;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 {
4780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4781 }
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4791 bool result;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self", NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 {
4808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4809 }
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4817 PyObject *resultobj;
4818 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4819 int arg2 ;
4820 int arg3 ;
4821 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4822 wxHtmlCell *result;
4823 PyObject * obj0 = 0 ;
4824 PyObject * obj1 = 0 ;
4825 PyObject * obj2 = 0 ;
4826 PyObject * obj3 = 0 ;
4827 char *kwnames[] = {
4828 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4829 };
4830
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4834 arg2 = (int) SWIG_AsInt(obj1);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 arg3 = (int) SWIG_AsInt(obj2);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 if (obj3) {
4839 arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4850 return resultobj;
4851 fail:
4852 return NULL;
4853 }
4854
4855
4856 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4857 PyObject *resultobj;
4858 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4859 wxPoint result;
4860 PyObject * obj0 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4868 {
4869 PyThreadState* __tstate = wxPyBeginAllowThreads();
4870 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4871
4872 wxPyEndAllowThreads(__tstate);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 {
4876 wxPoint * resultptr;
4877 resultptr = new wxPoint((wxPoint &) result);
4878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4879 }
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4889 wxHtmlCell *result;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4915 wxHtmlCell *result;
4916 PyObject * obj0 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4932 return resultobj;
4933 fail:
4934 return NULL;
4935 }
4936
4937
4938 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4941 unsigned int result;
4942 PyObject * obj0 = 0 ;
4943 char *kwnames[] = {
4944 (char *) "self", NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4967 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4968 bool result;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "cell", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 {
4988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4989 }
4990 return resultobj;
4991 fail:
4992 return NULL;
4993 }
4994
4995
4996 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4999 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5000 wxString result;
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "self",(char *) "sel", NULL
5005 };
5006
5007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
5008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 {
5020 #if wxUSE_UNICODE
5021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5022 #else
5023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5024 #endif
5025 }
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
5033 PyObject *obj;
5034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5036 Py_INCREF(obj);
5037 return Py_BuildValue((char *)"");
5038 }
5039 static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxString *arg1 = 0 ;
5042 wxDC *arg2 = 0 ;
5043 wxHtmlWordCell *result;
5044 bool temp1 = False ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "word",(char *) "dc", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5052 {
5053 arg1 = wxString_in_helper(obj0);
5054 if (arg1 == NULL) SWIG_fail;
5055 temp1 = True;
5056 }
5057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5058 SWIG_POINTER_EXCEPTION | 0)) == -1)
5059 SWIG_fail;
5060 if (arg2 == NULL) {
5061 PyErr_SetString(PyExc_TypeError,"null reference");
5062 SWIG_fail;
5063 }
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5067
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
5072 {
5073 if (temp1)
5074 delete arg1;
5075 }
5076 return resultobj;
5077 fail:
5078 {
5079 if (temp1)
5080 delete arg1;
5081 }
5082 return NULL;
5083 }
5084
5085
5086 static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
5087 PyObject *obj;
5088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5089 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5090 Py_INCREF(obj);
5091 return Py_BuildValue((char *)"");
5092 }
5093 static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5096 wxHtmlContainerCell *result;
5097 PyObject * obj0 = 0 ;
5098 char *kwnames[] = {
5099 (char *) "parent", NULL
5100 };
5101
5102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
5103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
5113 return resultobj;
5114 fail:
5115 return NULL;
5116 }
5117
5118
5119 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj;
5121 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5122 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self",(char *) "cell", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 (arg1)->InsertCell(arg2);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 Py_INCREF(Py_None); resultobj = Py_None;
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj;
5150 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5151 int arg2 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self",(char *) "al", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5161 arg2 = (int) SWIG_AsInt(obj1);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 (arg1)->SetAlignHor(arg2);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 Py_INCREF(Py_None); resultobj = Py_None;
5171 return resultobj;
5172 fail:
5173 return NULL;
5174 }
5175
5176
5177 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5180 int result;
5181 PyObject * obj0 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = (int)(arg1)->GetAlignHor();
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_FromInt((int)result);
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5206 int arg2 ;
5207 PyObject * obj0 = 0 ;
5208 PyObject * obj1 = 0 ;
5209 char *kwnames[] = {
5210 (char *) "self",(char *) "al", NULL
5211 };
5212
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
5214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5216 arg2 = (int) SWIG_AsInt(obj1);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 (arg1)->SetAlignVer(arg2);
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 Py_INCREF(Py_None); resultobj = Py_None;
5226 return resultobj;
5227 fail:
5228 return NULL;
5229 }
5230
5231
5232 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5233 PyObject *resultobj;
5234 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5235 int result;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 result = (int)(arg1)->GetAlignVer();
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 resultobj = SWIG_FromInt((int)result);
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5261 int arg2 ;
5262 int arg3 ;
5263 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 PyObject * obj2 = 0 ;
5267 PyObject * obj3 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5275 arg2 = (int) SWIG_AsInt(obj1);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 arg3 = (int) SWIG_AsInt(obj2);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 if (obj3) {
5280 arg4 = (int) SWIG_AsInt(obj3);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->SetIndent(arg2,arg3,arg4);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5300 int arg2 ;
5301 int result;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self",(char *) "ind", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5311 arg2 = (int) SWIG_AsInt(obj1);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 result = (int)(arg1)->GetIndent(arg2);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 resultobj = SWIG_FromInt((int)result);
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5330 int arg2 ;
5331 int result;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self",(char *) "ind", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5341 arg2 = (int) SWIG_AsInt(obj1);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 result = (int)(arg1)->GetIndentUnits(arg2);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 resultobj = SWIG_FromInt((int)result);
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5360 wxHtmlTag *arg2 = 0 ;
5361 PyObject * obj0 = 0 ;
5362 PyObject * obj1 = 0 ;
5363 char *kwnames[] = {
5364 (char *) "self",(char *) "tag", NULL
5365 };
5366
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5371 SWIG_POINTER_EXCEPTION | 0)) == -1)
5372 SWIG_fail;
5373 if (arg2 == NULL) {
5374 PyErr_SetString(PyExc_TypeError,"null reference");
5375 SWIG_fail;
5376 }
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 Py_INCREF(Py_None); resultobj = Py_None;
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject *resultobj;
5393 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5394 int arg2 ;
5395 int arg3 ;
5396 PyObject * obj0 = 0 ;
5397 PyObject * obj1 = 0 ;
5398 PyObject * obj2 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "w",(char *) "units", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5406 arg2 = (int) SWIG_AsInt(obj1);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 arg3 = (int) SWIG_AsInt(obj2);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->SetWidthFloat(arg2,arg3);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 Py_INCREF(Py_None); resultobj = Py_None;
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5427 wxHtmlTag *arg2 = 0 ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 char *kwnames[] = {
5431 (char *) "self",(char *) "tag", NULL
5432 };
5433
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1)
5439 SWIG_fail;
5440 if (arg2 == NULL) {
5441 PyErr_SetString(PyExc_TypeError,"null reference");
5442 SWIG_fail;
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 Py_INCREF(Py_None); resultobj = Py_None;
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject *resultobj;
5460 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5461 int arg2 ;
5462 int arg3 = (int) wxHTML_ALIGN_TOP ;
5463 PyObject * obj0 = 0 ;
5464 PyObject * obj1 = 0 ;
5465 PyObject * obj2 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "h",(char *) "align", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5473 arg2 = (int) SWIG_AsInt(obj1);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 if (obj2) {
5476 arg3 = (int) SWIG_AsInt(obj2);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 (arg1)->SetMinHeight(arg2,arg3);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 Py_INCREF(Py_None); resultobj = Py_None;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5496 wxColour *arg2 = 0 ;
5497 wxColour temp2 ;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
5500 char *kwnames[] = {
5501 (char *) "self",(char *) "clr", NULL
5502 };
5503
5504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5507 {
5508 arg2 = &temp2;
5509 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5510 }
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 Py_INCREF(Py_None); resultobj = Py_None;
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5528 wxColour result;
5529 PyObject * obj0 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 result = (arg1)->GetBackgroundColour();
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 {
5545 wxColour * resultptr;
5546 resultptr = new wxColour((wxColour &) result);
5547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5548 }
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5558 wxColour *arg2 = 0 ;
5559 wxColour *arg3 = 0 ;
5560 wxColour temp2 ;
5561 wxColour temp3 ;
5562 PyObject * obj0 = 0 ;
5563 PyObject * obj1 = 0 ;
5564 PyObject * obj2 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5572 {
5573 arg2 = &temp2;
5574 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5575 }
5576 {
5577 arg3 = &temp3;
5578 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5579 }
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 Py_INCREF(Py_None); resultobj = Py_None;
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj;
5596 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5597 wxHtmlCell *result;
5598 PyObject * obj0 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "self", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5614 return resultobj;
5615 fail:
5616 return NULL;
5617 }
5618
5619
5620 static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5621 PyObject *obj;
5622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5623 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5624 Py_INCREF(obj);
5625 return Py_BuildValue((char *)"");
5626 }
5627 static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxColour arg1 ;
5630 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5631 wxHtmlColourCell *result;
5632 wxColour *argp1 ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "clr",(char *) "flags", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5641 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5642 arg1 = *argp1;
5643 if (obj1) {
5644 arg2 = (int) SWIG_AsInt(obj1);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
5655 return resultobj;
5656 fail:
5657 return NULL;
5658 }
5659
5660
5661 static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5662 PyObject *obj;
5663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5664 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5665 Py_INCREF(obj);
5666 return Py_BuildValue((char *)"");
5667 }
5668 static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj;
5670 wxFont *arg1 = (wxFont *) 0 ;
5671 wxHtmlFontCell *result;
5672 PyObject * obj0 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "font", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5695 PyObject *obj;
5696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5697 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5698 Py_INCREF(obj);
5699 return Py_BuildValue((char *)"");
5700 }
5701 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj;
5703 wxWindow *arg1 = (wxWindow *) 0 ;
5704 int arg2 = (int) 0 ;
5705 wxHtmlWidgetCell *result;
5706 PyObject * obj0 = 0 ;
5707 PyObject * obj1 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "wnd",(char *) "w", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5715 if (obj1) {
5716 arg2 = (int) SWIG_AsInt(obj1);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5734 PyObject *obj;
5735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5736 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5737 Py_INCREF(obj);
5738 return Py_BuildValue((char *)"");
5739 }
5740 static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxPyHtmlFilter *result;
5743 char *kwnames[] = {
5744 NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5751
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
5756 return resultobj;
5757 fail:
5758 return NULL;
5759 }
5760
5761
5762 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5763 PyObject *resultobj;
5764 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5765 PyObject *arg2 = (PyObject *) 0 ;
5766 PyObject *arg3 = (PyObject *) 0 ;
5767 PyObject * obj0 = 0 ;
5768 PyObject * obj1 = 0 ;
5769 PyObject * obj2 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self",(char *) "self",(char *) "_class", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
5776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5777 arg2 = obj1;
5778 arg3 = obj2;
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 (arg1)->_setCallbackInfo(arg2,arg3);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 Py_INCREF(Py_None); resultobj = Py_None;
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5794 PyObject *obj;
5795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5796 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5797 Py_INCREF(obj);
5798 return Py_BuildValue((char *)"");
5799 }
5800 static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj;
5802 wxWindow *arg1 = (wxWindow *) 0 ;
5803 int arg2 = (int) -1 ;
5804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5806 wxSize const &arg4_defvalue = wxDefaultSize ;
5807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5808 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5809 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5810 wxString *arg6 = (wxString *) &arg6_defvalue ;
5811 wxPyHtmlWindow *result;
5812 wxPoint temp3 ;
5813 wxSize temp4 ;
5814 bool temp6 = False ;
5815 PyObject * obj0 = 0 ;
5816 PyObject * obj1 = 0 ;
5817 PyObject * obj2 = 0 ;
5818 PyObject * obj3 = 0 ;
5819 PyObject * obj4 = 0 ;
5820 PyObject * obj5 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5828 if (obj1) {
5829 arg2 = (int) SWIG_AsInt(obj1);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 if (obj2) {
5833 {
5834 arg3 = &temp3;
5835 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5836 }
5837 }
5838 if (obj3) {
5839 {
5840 arg4 = &temp4;
5841 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5842 }
5843 }
5844 if (obj4) {
5845 arg5 = (int) SWIG_AsInt(obj4);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 if (obj5) {
5849 {
5850 arg6 = wxString_in_helper(obj5);
5851 if (arg6 == NULL) SWIG_fail;
5852 temp6 = True;
5853 }
5854 }
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 {
5863 resultobj = wxPyMake_wxObject(result);
5864 }
5865 {
5866 if (temp6)
5867 delete arg6;
5868 }
5869 return resultobj;
5870 fail:
5871 {
5872 if (temp6)
5873 delete arg6;
5874 }
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxPyHtmlWindow *result;
5882 char *kwnames[] = {
5883 NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5890
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 {
5895 resultobj = wxPyMake_wxObject(result);
5896 }
5897 return resultobj;
5898 fail:
5899 return NULL;
5900 }
5901
5902
5903 static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5904 PyObject *resultobj;
5905 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5906 wxWindow *arg2 = (wxWindow *) 0 ;
5907 int arg3 = (int) -1 ;
5908 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5909 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5910 wxSize const &arg5_defvalue = wxDefaultSize ;
5911 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5912 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5913 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5914 wxString *arg7 = (wxString *) &arg7_defvalue ;
5915 bool result;
5916 wxPoint temp4 ;
5917 wxSize temp5 ;
5918 bool temp7 = False ;
5919 PyObject * obj0 = 0 ;
5920 PyObject * obj1 = 0 ;
5921 PyObject * obj2 = 0 ;
5922 PyObject * obj3 = 0 ;
5923 PyObject * obj4 = 0 ;
5924 PyObject * obj5 = 0 ;
5925 PyObject * obj6 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
5932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5935 if (obj2) {
5936 arg3 = (int) SWIG_AsInt(obj2);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 if (obj3) {
5940 {
5941 arg4 = &temp4;
5942 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5943 }
5944 }
5945 if (obj4) {
5946 {
5947 arg5 = &temp5;
5948 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5949 }
5950 }
5951 if (obj5) {
5952 arg6 = (int) SWIG_AsInt(obj5);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 if (obj6) {
5956 {
5957 arg7 = wxString_in_helper(obj6);
5958 if (arg7 == NULL) SWIG_fail;
5959 temp7 = True;
5960 }
5961 }
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 {
5970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5971 }
5972 {
5973 if (temp7)
5974 delete arg7;
5975 }
5976 return resultobj;
5977 fail:
5978 {
5979 if (temp7)
5980 delete arg7;
5981 }
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5989 PyObject *arg2 = (PyObject *) 0 ;
5990 PyObject *arg3 = (PyObject *) 0 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 PyObject * obj2 = 0 ;
5994 char *kwnames[] = {
5995 (char *) "self",(char *) "self",(char *) "_class", NULL
5996 };
5997
5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6001 arg2 = obj1;
6002 arg3 = obj2;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 (arg1)->_setCallbackInfo(arg2,arg3);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 Py_INCREF(Py_None); resultobj = Py_None;
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6020 wxString *arg2 = 0 ;
6021 bool result;
6022 bool temp2 = False ;
6023 PyObject * obj0 = 0 ;
6024 PyObject * obj1 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "source", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6032 {
6033 arg2 = wxString_in_helper(obj1);
6034 if (arg2 == NULL) SWIG_fail;
6035 temp2 = True;
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 {
6045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6046 }
6047 {
6048 if (temp2)
6049 delete arg2;
6050 }
6051 return resultobj;
6052 fail:
6053 {
6054 if (temp2)
6055 delete arg2;
6056 }
6057 return NULL;
6058 }
6059
6060
6061 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6062 PyObject *resultobj;
6063 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6064 wxString *arg2 = 0 ;
6065 bool result;
6066 bool temp2 = False ;
6067 PyObject * obj0 = 0 ;
6068 PyObject * obj1 = 0 ;
6069 char *kwnames[] = {
6070 (char *) "self",(char *) "location", NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
6074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6076 {
6077 arg2 = wxString_in_helper(obj1);
6078 if (arg2 == NULL) SWIG_fail;
6079 temp2 = True;
6080 }
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 {
6089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6090 }
6091 {
6092 if (temp2)
6093 delete arg2;
6094 }
6095 return resultobj;
6096 fail:
6097 {
6098 if (temp2)
6099 delete arg2;
6100 }
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6108 wxString *arg2 = 0 ;
6109 bool result;
6110 bool temp2 = False ;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self",(char *) "filename", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6120 {
6121 arg2 = wxString_in_helper(obj1);
6122 if (arg2 == NULL) SWIG_fail;
6123 temp2 = True;
6124 }
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6128
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 {
6133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6134 }
6135 {
6136 if (temp2)
6137 delete arg2;
6138 }
6139 return resultobj;
6140 fail:
6141 {
6142 if (temp2)
6143 delete arg2;
6144 }
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6152 wxString *arg2 = 0 ;
6153 bool result;
6154 bool temp2 = False ;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "source", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6164 {
6165 arg2 = wxString_in_helper(obj1);
6166 if (arg2 == NULL) SWIG_fail;
6167 temp2 = True;
6168 }
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 {
6177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6178 }
6179 {
6180 if (temp2)
6181 delete arg2;
6182 }
6183 return resultobj;
6184 fail:
6185 {
6186 if (temp2)
6187 delete arg2;
6188 }
6189 return NULL;
6190 }
6191
6192
6193 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6196 wxString result;
6197 PyObject * obj0 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (arg1)->GetOpenedPage();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 {
6213 #if wxUSE_UNICODE
6214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6215 #else
6216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6217 #endif
6218 }
6219 return resultobj;
6220 fail:
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6228 wxString result;
6229 PyObject * obj0 = 0 ;
6230 char *kwnames[] = {
6231 (char *) "self", NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
6235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 result = (arg1)->GetOpenedAnchor();
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 {
6245 #if wxUSE_UNICODE
6246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6247 #else
6248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6249 #endif
6250 }
6251 return resultobj;
6252 fail:
6253 return NULL;
6254 }
6255
6256
6257 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6260 wxString result;
6261 PyObject * obj0 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
6267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (arg1)->GetOpenedPageTitle();
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 {
6277 #if wxUSE_UNICODE
6278 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6279 #else
6280 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6281 #endif
6282 }
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6292 wxFrame *arg2 = (wxFrame *) 0 ;
6293 wxString *arg3 = 0 ;
6294 bool temp3 = False ;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
6297 PyObject * obj2 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self",(char *) "frame",(char *) "format", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6307 {
6308 arg3 = wxString_in_helper(obj2);
6309 if (arg3 == NULL) SWIG_fail;
6310 temp3 = True;
6311 }
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 {
6321 if (temp3)
6322 delete arg3;
6323 }
6324 return resultobj;
6325 fail:
6326 {
6327 if (temp3)
6328 delete arg3;
6329 }
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6337 wxFrame *result;
6338 PyObject * obj0 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 result = (wxFrame *)(arg1)->GetRelatedFrame();
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 {
6354 resultobj = wxPyMake_wxObject(result);
6355 }
6356 return resultobj;
6357 fail:
6358 return NULL;
6359 }
6360
6361
6362 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6365 int arg2 ;
6366 PyObject * obj0 = 0 ;
6367 PyObject * obj1 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "bar", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6375 arg2 = (int) SWIG_AsInt(obj1);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 (arg1)->SetRelatedStatusBar(arg2);
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 Py_INCREF(Py_None); resultobj = Py_None;
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6394 wxString arg2 ;
6395 wxString arg3 ;
6396 PyObject *arg4 = (PyObject *) NULL ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 PyObject * obj2 = 0 ;
6400 PyObject * obj3 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6408 {
6409 wxString* sptr = wxString_in_helper(obj1);
6410 if (sptr == NULL) SWIG_fail;
6411 arg2 = *sptr;
6412 delete sptr;
6413 }
6414 {
6415 wxString* sptr = wxString_in_helper(obj2);
6416 if (sptr == NULL) SWIG_fail;
6417 arg3 = *sptr;
6418 delete sptr;
6419 }
6420 if (obj3) {
6421 arg4 = obj3;
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 Py_INCREF(Py_None); resultobj = Py_None;
6431 return resultobj;
6432 fail:
6433 return NULL;
6434 }
6435
6436
6437 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6440 wxString *arg2 = 0 ;
6441 bool temp2 = False ;
6442 PyObject * obj0 = 0 ;
6443 PyObject * obj1 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self",(char *) "title", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6451 {
6452 arg2 = wxString_in_helper(obj1);
6453 if (arg2 == NULL) SWIG_fail;
6454 temp2 = True;
6455 }
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 (arg1)->SetTitle((wxString const &)*arg2);
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 Py_INCREF(Py_None); resultobj = Py_None;
6464 {
6465 if (temp2)
6466 delete arg2;
6467 }
6468 return resultobj;
6469 fail:
6470 {
6471 if (temp2)
6472 delete arg2;
6473 }
6474 return NULL;
6475 }
6476
6477
6478 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject *resultobj;
6480 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6481 int arg2 ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 char *kwnames[] = {
6485 (char *) "self",(char *) "b", NULL
6486 };
6487
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6491 arg2 = (int) SWIG_AsInt(obj1);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 (arg1)->SetBorders(arg2);
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 Py_INCREF(Py_None); resultobj = Py_None;
6501 return resultobj;
6502 fail:
6503 return NULL;
6504 }
6505
6506
6507 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject *resultobj;
6509 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6510 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6511 wxString arg3 = (wxString) wxPyEmptyString ;
6512 PyObject * obj0 = 0 ;
6513 PyObject * obj1 = 0 ;
6514 PyObject * obj2 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "self",(char *) "cfg",(char *) "path", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6524 if (obj2) {
6525 {
6526 wxString* sptr = wxString_in_helper(obj2);
6527 if (sptr == NULL) SWIG_fail;
6528 arg3 = *sptr;
6529 delete sptr;
6530 }
6531 }
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 (arg1)->ReadCustomization(arg2,arg3);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 Py_INCREF(Py_None); resultobj = Py_None;
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6549 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6550 wxString arg3 = (wxString) wxPyEmptyString ;
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj1 = 0 ;
6553 PyObject * obj2 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "self",(char *) "cfg",(char *) "path", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6563 if (obj2) {
6564 {
6565 wxString* sptr = wxString_in_helper(obj2);
6566 if (sptr == NULL) SWIG_fail;
6567 arg3 = *sptr;
6568 delete sptr;
6569 }
6570 }
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->WriteCustomization(arg2,arg3);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6588 bool result;
6589 PyObject * obj0 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (bool)(arg1)->HistoryBack();
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 {
6605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6606 }
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6616 bool result;
6617 PyObject * obj0 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self", NULL
6620 };
6621
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (bool)(arg1)->HistoryForward();
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 {
6633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6634 }
6635 return resultobj;
6636 fail:
6637 return NULL;
6638 }
6639
6640
6641 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj;
6643 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6644 bool result;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (bool)(arg1)->HistoryCanBack();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6662 }
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6672 bool result;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (bool)(arg1)->HistoryCanForward();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6690 }
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6700 PyObject * obj0 = 0 ;
6701 char *kwnames[] = {
6702 (char *) "self", NULL
6703 };
6704
6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 (arg1)->HistoryClear();
6711
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 Py_INCREF(Py_None); resultobj = Py_None;
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj;
6724 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6725 wxHtmlContainerCell *result;
6726 PyObject * obj0 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6751 wxHtmlWinParser *result;
6752 PyObject * obj0 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (wxHtmlWinParser *)(arg1)->GetParser();
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6777 wxString *arg2 = 0 ;
6778 bool result;
6779 bool temp2 = False ;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 char *kwnames[] = {
6783 (char *) "self",(char *) "anchor", NULL
6784 };
6785
6786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6789 {
6790 arg2 = wxString_in_helper(obj1);
6791 if (arg2 == NULL) SWIG_fail;
6792 temp2 = True;
6793 }
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 {
6802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6803 }
6804 {
6805 if (temp2)
6806 delete arg2;
6807 }
6808 return resultobj;
6809 fail:
6810 {
6811 if (temp2)
6812 delete arg2;
6813 }
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6821 wxString *arg2 = 0 ;
6822 bool result;
6823 bool temp2 = False ;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj1 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "anchor", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 {
6834 arg2 = wxString_in_helper(obj1);
6835 if (arg2 == NULL) SWIG_fail;
6836 temp2 = True;
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 {
6846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6847 }
6848 {
6849 if (temp2)
6850 delete arg2;
6851 }
6852 return resultobj;
6853 fail:
6854 {
6855 if (temp2)
6856 delete arg2;
6857 }
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6865 PyObject * obj0 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "filter", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 wxPyHtmlWindow::AddFilter(arg1);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 Py_INCREF(Py_None); resultobj = Py_None;
6881 return resultobj;
6882 fail:
6883 return NULL;
6884 }
6885
6886
6887 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6890 wxPoint *arg2 = 0 ;
6891 wxPoint temp2 ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self",(char *) "pos", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6901 {
6902 arg2 = &temp2;
6903 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 (arg1)->SelectWord((wxPoint const &)*arg2);
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 Py_INCREF(Py_None); resultobj = Py_None;
6913 return resultobj;
6914 fail:
6915 return NULL;
6916 }
6917
6918
6919 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj;
6921 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6922 wxPoint *arg2 = 0 ;
6923 wxPoint temp2 ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "pos", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6933 {
6934 arg2 = &temp2;
6935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 (arg1)->SelectLine((wxPoint const &)*arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 Py_INCREF(Py_None); resultobj = Py_None;
6945 return resultobj;
6946 fail:
6947 return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6954 PyObject * obj0 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
6960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 (arg1)->SelectAll();
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 Py_INCREF(Py_None); resultobj = Py_None;
6970 return resultobj;
6971 fail:
6972 return NULL;
6973 }
6974
6975
6976 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj;
6978 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6979 wxHtmlLinkInfo *arg2 = 0 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self",(char *) "link", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
6987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
6990 SWIG_POINTER_EXCEPTION | 0)) == -1)
6991 SWIG_fail;
6992 if (arg2 == NULL) {
6993 PyErr_SetString(PyExc_TypeError,"null reference");
6994 SWIG_fail;
6995 }
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7013 wxString *arg2 = 0 ;
7014 bool temp2 = False ;
7015 PyObject * obj0 = 0 ;
7016 PyObject * obj1 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self",(char *) "title", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
7022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7024 {
7025 arg2 = wxString_in_helper(obj1);
7026 if (arg2 == NULL) SWIG_fail;
7027 temp2 = True;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 {
7038 if (temp2)
7039 delete arg2;
7040 }
7041 return resultobj;
7042 fail:
7043 {
7044 if (temp2)
7045 delete arg2;
7046 }
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7054 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7055 int arg3 ;
7056 int arg4 ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 PyObject * obj2 = 0 ;
7060 PyObject * obj3 = 0 ;
7061 char *kwnames[] = {
7062 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7063 };
7064
7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7070 arg3 = (int) SWIG_AsInt(obj2);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 arg4 = (int) SWIG_AsInt(obj3);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 Py_INCREF(Py_None); resultobj = Py_None;
7082 return resultobj;
7083 fail:
7084 return NULL;
7085 }
7086
7087
7088 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj;
7090 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7091 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7092 int arg3 ;
7093 int arg4 ;
7094 wxMouseEvent *arg5 = 0 ;
7095 PyObject * obj0 = 0 ;
7096 PyObject * obj1 = 0 ;
7097 PyObject * obj2 = 0 ;
7098 PyObject * obj3 = 0 ;
7099 PyObject * obj4 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7109 arg3 = (int) SWIG_AsInt(obj2);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 arg4 = (int) SWIG_AsInt(obj3);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7114 SWIG_POINTER_EXCEPTION | 0)) == -1)
7115 SWIG_fail;
7116 if (arg5 == NULL) {
7117 PyErr_SetString(PyExc_TypeError,"null reference");
7118 SWIG_fail;
7119 }
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 Py_INCREF(Py_None); resultobj = Py_None;
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
7135 PyObject *obj;
7136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7137 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7138 Py_INCREF(obj);
7139 return Py_BuildValue((char *)"");
7140 }
7141 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxHtmlDCRenderer *result;
7144 char *kwnames[] = {
7145 NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 delete arg1;
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7191 wxDC *arg2 = (wxDC *) 0 ;
7192 int arg3 ;
7193 PyObject * obj0 = 0 ;
7194 PyObject * obj1 = 0 ;
7195 PyObject * obj2 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
7201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7205 arg3 = (int) SWIG_AsInt(obj2);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 (arg1)->SetDC(arg2,arg3);
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 Py_INCREF(Py_None); resultobj = Py_None;
7215 return resultobj;
7216 fail:
7217 return NULL;
7218 }
7219
7220
7221 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj;
7223 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7224 int arg2 ;
7225 int arg3 ;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 PyObject * obj2 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "width",(char *) "height", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7236 arg2 = (int) SWIG_AsInt(obj1);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 arg3 = (int) SWIG_AsInt(obj2);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->SetSize(arg2,arg3);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7257 wxString *arg2 = 0 ;
7258 wxString const &arg3_defvalue = wxPyEmptyString ;
7259 wxString *arg3 = (wxString *) &arg3_defvalue ;
7260 bool arg4 = (bool) True ;
7261 bool temp2 = False ;
7262 bool temp3 = False ;
7263 PyObject * obj0 = 0 ;
7264 PyObject * obj1 = 0 ;
7265 PyObject * obj2 = 0 ;
7266 PyObject * obj3 = 0 ;
7267 char *kwnames[] = {
7268 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7269 };
7270
7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7274 {
7275 arg2 = wxString_in_helper(obj1);
7276 if (arg2 == NULL) SWIG_fail;
7277 temp2 = True;
7278 }
7279 if (obj2) {
7280 {
7281 arg3 = wxString_in_helper(obj2);
7282 if (arg3 == NULL) SWIG_fail;
7283 temp3 = True;
7284 }
7285 }
7286 if (obj3) {
7287 arg4 = (bool) SWIG_AsBool(obj3);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7293
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 Py_INCREF(Py_None); resultobj = Py_None;
7298 {
7299 if (temp2)
7300 delete arg2;
7301 }
7302 {
7303 if (temp3)
7304 delete arg3;
7305 }
7306 return resultobj;
7307 fail:
7308 {
7309 if (temp2)
7310 delete arg2;
7311 }
7312 {
7313 if (temp3)
7314 delete arg3;
7315 }
7316 return NULL;
7317 }
7318
7319
7320 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7321 PyObject *resultobj;
7322 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7323 wxString arg2 ;
7324 wxString arg3 ;
7325 PyObject *arg4 = (PyObject *) NULL ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 PyObject * obj2 = 0 ;
7329 PyObject * obj3 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 {
7338 wxString* sptr = wxString_in_helper(obj1);
7339 if (sptr == NULL) SWIG_fail;
7340 arg2 = *sptr;
7341 delete sptr;
7342 }
7343 {
7344 wxString* sptr = wxString_in_helper(obj2);
7345 if (sptr == NULL) SWIG_fail;
7346 arg3 = *sptr;
7347 delete sptr;
7348 }
7349 if (obj3) {
7350 arg4 = obj3;
7351 }
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 Py_INCREF(Py_None); resultobj = Py_None;
7360 return resultobj;
7361 fail:
7362 return NULL;
7363 }
7364
7365
7366 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7369 int arg2 ;
7370 int arg3 ;
7371 int arg4 = (int) 0 ;
7372 int arg5 = (int) False ;
7373 int arg6 = (int) INT_MAX ;
7374 int *arg7 = (int *) NULL ;
7375 int arg8 = (int) 0 ;
7376 int result;
7377 PyObject * obj0 = 0 ;
7378 PyObject * obj1 = 0 ;
7379 PyObject * obj2 = 0 ;
7380 PyObject * obj3 = 0 ;
7381 PyObject * obj4 = 0 ;
7382 PyObject * obj5 = 0 ;
7383 PyObject * obj6 = 0 ;
7384 PyObject * obj7 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7392 arg2 = (int) SWIG_AsInt(obj1);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 arg3 = (int) SWIG_AsInt(obj2);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 if (obj3) {
7397 arg4 = (int) SWIG_AsInt(obj3);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 if (obj4) {
7401 arg5 = (int) SWIG_AsInt(obj4);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 if (obj5) {
7405 arg6 = (int) SWIG_AsInt(obj5);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 if (obj6) {
7409 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7411 }
7412 if (obj7) {
7413 arg8 = (int) SWIG_AsInt(obj7);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 resultobj = SWIG_FromInt((int)result);
7424 return resultobj;
7425 fail:
7426 return NULL;
7427 }
7428
7429
7430 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject *resultobj;
7432 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7433 int result;
7434 PyObject * obj0 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "self", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (int)(arg1)->GetTotalHeight();
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = SWIG_FromInt((int)result);
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7457 PyObject *obj;
7458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7459 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7460 Py_INCREF(obj);
7461 return Py_BuildValue((char *)"");
7462 }
7463 static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj;
7465 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7466 wxString *arg1 = (wxString *) &arg1_defvalue ;
7467 wxHtmlPrintout *result;
7468 bool temp1 = False ;
7469 PyObject * obj0 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "title", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7475 if (obj0) {
7476 {
7477 arg1 = wxString_in_helper(obj0);
7478 if (arg1 == NULL) SWIG_fail;
7479 temp1 = True;
7480 }
7481 }
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
7490 {
7491 if (temp1)
7492 delete arg1;
7493 }
7494 return resultobj;
7495 fail:
7496 {
7497 if (temp1)
7498 delete arg1;
7499 }
7500 return NULL;
7501 }
7502
7503
7504 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7507 wxString *arg2 = 0 ;
7508 wxString const &arg3_defvalue = wxPyEmptyString ;
7509 wxString *arg3 = (wxString *) &arg3_defvalue ;
7510 bool arg4 = (bool) True ;
7511 bool temp2 = False ;
7512 bool temp3 = False ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 PyObject * obj2 = 0 ;
7516 PyObject * obj3 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7524 {
7525 arg2 = wxString_in_helper(obj1);
7526 if (arg2 == NULL) SWIG_fail;
7527 temp2 = True;
7528 }
7529 if (obj2) {
7530 {
7531 arg3 = wxString_in_helper(obj2);
7532 if (arg3 == NULL) SWIG_fail;
7533 temp3 = True;
7534 }
7535 }
7536 if (obj3) {
7537 arg4 = (bool) SWIG_AsBool(obj3);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
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 {
7553 if (temp3)
7554 delete arg3;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp2)
7560 delete arg2;
7561 }
7562 {
7563 if (temp3)
7564 delete arg3;
7565 }
7566 return NULL;
7567 }
7568
7569
7570 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj;
7572 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7573 wxString *arg2 = 0 ;
7574 bool temp2 = False ;
7575 PyObject * obj0 = 0 ;
7576 PyObject * obj1 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "htmlfile", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7584 {
7585 arg2 = wxString_in_helper(obj1);
7586 if (arg2 == NULL) SWIG_fail;
7587 temp2 = True;
7588 }
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 (arg1)->SetHtmlFile((wxString const &)*arg2);
7592
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 Py_INCREF(Py_None); resultobj = Py_None;
7597 {
7598 if (temp2)
7599 delete arg2;
7600 }
7601 return resultobj;
7602 fail:
7603 {
7604 if (temp2)
7605 delete arg2;
7606 }
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7614 wxString *arg2 = 0 ;
7615 int arg3 = (int) wxPAGE_ALL ;
7616 bool temp2 = False ;
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 PyObject * obj2 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self",(char *) "header",(char *) "pg", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7627 {
7628 arg2 = wxString_in_helper(obj1);
7629 if (arg2 == NULL) SWIG_fail;
7630 temp2 = True;
7631 }
7632 if (obj2) {
7633 arg3 = (int) SWIG_AsInt(obj2);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 Py_INCREF(Py_None); resultobj = Py_None;
7644 {
7645 if (temp2)
7646 delete arg2;
7647 }
7648 return resultobj;
7649 fail:
7650 {
7651 if (temp2)
7652 delete arg2;
7653 }
7654 return NULL;
7655 }
7656
7657
7658 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7659 PyObject *resultobj;
7660 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7661 wxString *arg2 = 0 ;
7662 int arg3 = (int) wxPAGE_ALL ;
7663 bool temp2 = False ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 PyObject * obj2 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self",(char *) "footer",(char *) "pg", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7674 {
7675 arg2 = wxString_in_helper(obj1);
7676 if (arg2 == NULL) SWIG_fail;
7677 temp2 = True;
7678 }
7679 if (obj2) {
7680 arg3 = (int) SWIG_AsInt(obj2);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 Py_INCREF(Py_None); resultobj = Py_None;
7691 {
7692 if (temp2)
7693 delete arg2;
7694 }
7695 return resultobj;
7696 fail:
7697 {
7698 if (temp2)
7699 delete arg2;
7700 }
7701 return NULL;
7702 }
7703
7704
7705 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7708 wxString arg2 ;
7709 wxString arg3 ;
7710 PyObject *arg4 = (PyObject *) NULL ;
7711 PyObject * obj0 = 0 ;
7712 PyObject * obj1 = 0 ;
7713 PyObject * obj2 = 0 ;
7714 PyObject * obj3 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722 {
7723 wxString* sptr = wxString_in_helper(obj1);
7724 if (sptr == NULL) SWIG_fail;
7725 arg2 = *sptr;
7726 delete sptr;
7727 }
7728 {
7729 wxString* sptr = wxString_in_helper(obj2);
7730 if (sptr == NULL) SWIG_fail;
7731 arg3 = *sptr;
7732 delete sptr;
7733 }
7734 if (obj3) {
7735 arg4 = obj3;
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 return resultobj;
7746 fail:
7747 return NULL;
7748 }
7749
7750
7751 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7754 float arg2 = (float) 25.2 ;
7755 float arg3 = (float) 25.2 ;
7756 float arg4 = (float) 25.2 ;
7757 float arg5 = (float) 25.2 ;
7758 float arg6 = (float) 5 ;
7759 PyObject * obj0 = 0 ;
7760 PyObject * obj1 = 0 ;
7761 PyObject * obj2 = 0 ;
7762 PyObject * obj3 = 0 ;
7763 PyObject * obj4 = 0 ;
7764 PyObject * obj5 = 0 ;
7765 char *kwnames[] = {
7766 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7767 };
7768
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7772 if (obj1) {
7773 arg2 = (float) SWIG_AsFloat(obj1);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 if (obj2) {
7777 arg3 = (float) SWIG_AsFloat(obj2);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 if (obj3) {
7781 arg4 = (float) SWIG_AsFloat(obj3);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 if (obj4) {
7785 arg5 = (float) SWIG_AsFloat(obj4);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 if (obj5) {
7789 arg6 = (float) SWIG_AsFloat(obj5);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "filter", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
7816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 wxHtmlPrintout::AddFilter(arg1);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 Py_INCREF(Py_None); resultobj = Py_None;
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj;
7833 char *kwnames[] = {
7834 NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 wxHtmlPrintout::CleanUpStatics();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7853 PyObject *obj;
7854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7855 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7856 Py_INCREF(obj);
7857 return Py_BuildValue((char *)"");
7858 }
7859 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7862 wxString *arg1 = (wxString *) &arg1_defvalue ;
7863 wxWindow *arg2 = (wxWindow *) NULL ;
7864 wxHtmlEasyPrinting *result;
7865 bool temp1 = False ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "name",(char *) "parentWindow", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7873 if (obj0) {
7874 {
7875 arg1 = wxString_in_helper(obj0);
7876 if (arg1 == NULL) SWIG_fail;
7877 temp1 = True;
7878 }
7879 }
7880 if (obj1) {
7881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7883 }
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
7892 {
7893 if (temp1)
7894 delete arg1;
7895 }
7896 return resultobj;
7897 fail:
7898 {
7899 if (temp1)
7900 delete arg1;
7901 }
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7909 PyObject * obj0 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 delete arg1;
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 Py_INCREF(Py_None); resultobj = Py_None;
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7934 wxString *arg2 = 0 ;
7935 bool temp2 = False ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "htmlfile", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7945 {
7946 arg2 = wxString_in_helper(obj1);
7947 if (arg2 == NULL) SWIG_fail;
7948 temp2 = True;
7949 }
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 (arg1)->PreviewFile((wxString const &)*arg2);
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 Py_INCREF(Py_None); resultobj = Py_None;
7958 {
7959 if (temp2)
7960 delete arg2;
7961 }
7962 return resultobj;
7963 fail:
7964 {
7965 if (temp2)
7966 delete arg2;
7967 }
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7975 wxString *arg2 = 0 ;
7976 wxString const &arg3_defvalue = wxPyEmptyString ;
7977 wxString *arg3 = (wxString *) &arg3_defvalue ;
7978 bool temp2 = False ;
7979 bool temp3 = False ;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 PyObject * obj2 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7990 {
7991 arg2 = wxString_in_helper(obj1);
7992 if (arg2 == NULL) SWIG_fail;
7993 temp2 = True;
7994 }
7995 if (obj2) {
7996 {
7997 arg3 = wxString_in_helper(obj2);
7998 if (arg3 == NULL) SWIG_fail;
7999 temp3 = True;
8000 }
8001 }
8002 {
8003 PyThreadState* __tstate = wxPyBeginAllowThreads();
8004 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8005
8006 wxPyEndAllowThreads(__tstate);
8007 if (PyErr_Occurred()) SWIG_fail;
8008 }
8009 Py_INCREF(Py_None); resultobj = Py_None;
8010 {
8011 if (temp2)
8012 delete arg2;
8013 }
8014 {
8015 if (temp3)
8016 delete arg3;
8017 }
8018 return resultobj;
8019 fail:
8020 {
8021 if (temp2)
8022 delete arg2;
8023 }
8024 {
8025 if (temp3)
8026 delete arg3;
8027 }
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8035 wxString *arg2 = 0 ;
8036 bool temp2 = False ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self",(char *) "htmlfile", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
8044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8046 {
8047 arg2 = wxString_in_helper(obj1);
8048 if (arg2 == NULL) SWIG_fail;
8049 temp2 = True;
8050 }
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 (arg1)->PrintFile((wxString const &)*arg2);
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 Py_INCREF(Py_None); resultobj = Py_None;
8059 {
8060 if (temp2)
8061 delete arg2;
8062 }
8063 return resultobj;
8064 fail:
8065 {
8066 if (temp2)
8067 delete arg2;
8068 }
8069 return NULL;
8070 }
8071
8072
8073 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj;
8075 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8076 wxString *arg2 = 0 ;
8077 wxString const &arg3_defvalue = wxPyEmptyString ;
8078 wxString *arg3 = (wxString *) &arg3_defvalue ;
8079 bool temp2 = False ;
8080 bool temp3 = False ;
8081 PyObject * obj0 = 0 ;
8082 PyObject * obj1 = 0 ;
8083 PyObject * obj2 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8091 {
8092 arg2 = wxString_in_helper(obj1);
8093 if (arg2 == NULL) SWIG_fail;
8094 temp2 = True;
8095 }
8096 if (obj2) {
8097 {
8098 arg3 = wxString_in_helper(obj2);
8099 if (arg3 == NULL) SWIG_fail;
8100 temp3 = True;
8101 }
8102 }
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 {
8112 if (temp2)
8113 delete arg2;
8114 }
8115 {
8116 if (temp3)
8117 delete arg3;
8118 }
8119 return resultobj;
8120 fail:
8121 {
8122 if (temp2)
8123 delete arg2;
8124 }
8125 {
8126 if (temp3)
8127 delete arg3;
8128 }
8129 return NULL;
8130 }
8131
8132
8133 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8136 PyObject * obj0 = 0 ;
8137 char *kwnames[] = {
8138 (char *) "self", NULL
8139 };
8140
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
8142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 (arg1)->PrinterSetup();
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 Py_INCREF(Py_None); resultobj = Py_None;
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj;
8160 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->PageSetup();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8186 wxString *arg2 = 0 ;
8187 int arg3 = (int) wxPAGE_ALL ;
8188 bool temp2 = False ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 PyObject * obj2 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self",(char *) "header",(char *) "pg", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8199 {
8200 arg2 = wxString_in_helper(obj1);
8201 if (arg2 == NULL) SWIG_fail;
8202 temp2 = True;
8203 }
8204 if (obj2) {
8205 arg3 = (int) SWIG_AsInt(obj2);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8211
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
8215 Py_INCREF(Py_None); resultobj = Py_None;
8216 {
8217 if (temp2)
8218 delete arg2;
8219 }
8220 return resultobj;
8221 fail:
8222 {
8223 if (temp2)
8224 delete arg2;
8225 }
8226 return NULL;
8227 }
8228
8229
8230 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8233 wxString *arg2 = 0 ;
8234 int arg3 = (int) wxPAGE_ALL ;
8235 bool temp2 = False ;
8236 PyObject * obj0 = 0 ;
8237 PyObject * obj1 = 0 ;
8238 PyObject * obj2 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "footer",(char *) "pg", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8246 {
8247 arg2 = wxString_in_helper(obj1);
8248 if (arg2 == NULL) SWIG_fail;
8249 temp2 = True;
8250 }
8251 if (obj2) {
8252 arg3 = (int) SWIG_AsInt(obj2);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 Py_INCREF(Py_None); resultobj = Py_None;
8263 {
8264 if (temp2)
8265 delete arg2;
8266 }
8267 return resultobj;
8268 fail:
8269 {
8270 if (temp2)
8271 delete arg2;
8272 }
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8280 wxString arg2 ;
8281 wxString arg3 ;
8282 PyObject *arg4 = (PyObject *) NULL ;
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 PyObject * obj2 = 0 ;
8286 PyObject * obj3 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 {
8295 wxString* sptr = wxString_in_helper(obj1);
8296 if (sptr == NULL) SWIG_fail;
8297 arg2 = *sptr;
8298 delete sptr;
8299 }
8300 {
8301 wxString* sptr = wxString_in_helper(obj2);
8302 if (sptr == NULL) SWIG_fail;
8303 arg3 = *sptr;
8304 delete sptr;
8305 }
8306 if (obj3) {
8307 arg4 = obj3;
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 Py_INCREF(Py_None); resultobj = Py_None;
8317 return resultobj;
8318 fail:
8319 return NULL;
8320 }
8321
8322
8323 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8326 wxPrintData *result;
8327 PyObject * obj0 = 0 ;
8328 char *kwnames[] = {
8329 (char *) "self", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (wxPrintData *)(arg1)->GetPrintData();
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8352 wxPageSetupDialogData *result;
8353 PyObject * obj0 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
8376 PyObject *obj;
8377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8378 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8379 Py_INCREF(obj);
8380 return Py_BuildValue((char *)"");
8381 }
8382 static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxString *arg1 = 0 ;
8385 wxString *arg2 = 0 ;
8386 wxString *arg3 = 0 ;
8387 wxString *arg4 = 0 ;
8388 wxHtmlBookRecord *result;
8389 bool temp1 = False ;
8390 bool temp2 = False ;
8391 bool temp3 = False ;
8392 bool temp4 = False ;
8393 PyObject * obj0 = 0 ;
8394 PyObject * obj1 = 0 ;
8395 PyObject * obj2 = 0 ;
8396 PyObject * obj3 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8402 {
8403 arg1 = wxString_in_helper(obj0);
8404 if (arg1 == NULL) SWIG_fail;
8405 temp1 = True;
8406 }
8407 {
8408 arg2 = wxString_in_helper(obj1);
8409 if (arg2 == NULL) SWIG_fail;
8410 temp2 = True;
8411 }
8412 {
8413 arg3 = wxString_in_helper(obj2);
8414 if (arg3 == NULL) SWIG_fail;
8415 temp3 = True;
8416 }
8417 {
8418 arg4 = wxString_in_helper(obj3);
8419 if (arg4 == NULL) SWIG_fail;
8420 temp4 = True;
8421 }
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
8430 {
8431 if (temp1)
8432 delete arg1;
8433 }
8434 {
8435 if (temp2)
8436 delete arg2;
8437 }
8438 {
8439 if (temp3)
8440 delete arg3;
8441 }
8442 {
8443 if (temp4)
8444 delete arg4;
8445 }
8446 return resultobj;
8447 fail:
8448 {
8449 if (temp1)
8450 delete arg1;
8451 }
8452 {
8453 if (temp2)
8454 delete arg2;
8455 }
8456 {
8457 if (temp3)
8458 delete arg3;
8459 }
8460 {
8461 if (temp4)
8462 delete arg4;
8463 }
8464 return NULL;
8465 }
8466
8467
8468 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8469 PyObject *resultobj;
8470 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8471 wxString result;
8472 PyObject * obj0 = 0 ;
8473 char *kwnames[] = {
8474 (char *) "self", NULL
8475 };
8476
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (arg1)->GetBookFile();
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 {
8488 #if wxUSE_UNICODE
8489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8490 #else
8491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8492 #endif
8493 }
8494 return resultobj;
8495 fail:
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8503 wxString result;
8504 PyObject * obj0 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "self", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (arg1)->GetTitle();
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 {
8520 #if wxUSE_UNICODE
8521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8522 #else
8523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8524 #endif
8525 }
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8535 wxString result;
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (arg1)->GetStart();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 {
8552 #if wxUSE_UNICODE
8553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8554 #else
8555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8556 #endif
8557 }
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8567 wxString result;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 result = (arg1)->GetBasePath();
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 {
8584 #if wxUSE_UNICODE
8585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8586 #else
8587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8588 #endif
8589 }
8590 return resultobj;
8591 fail:
8592 return NULL;
8593 }
8594
8595
8596 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj;
8598 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8599 int arg2 ;
8600 int arg3 ;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self",(char *) "start",(char *) "end", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8611 arg2 = (int) SWIG_AsInt(obj1);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 arg3 = (int) SWIG_AsInt(obj2);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 (arg1)->SetContentsRange(arg2,arg3);
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 Py_INCREF(Py_None); resultobj = Py_None;
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8632 int result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (int)(arg1)->GetContentsStart();
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 resultobj = SWIG_FromInt((int)result);
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8658 int result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (int)(arg1)->GetContentsEnd();
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 resultobj = SWIG_FromInt((int)result);
8675 return resultobj;
8676 fail:
8677 return NULL;
8678 }
8679
8680
8681 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8682 PyObject *resultobj;
8683 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8684 wxString *arg2 = 0 ;
8685 bool temp2 = False ;
8686 PyObject * obj0 = 0 ;
8687 PyObject * obj1 = 0 ;
8688 char *kwnames[] = {
8689 (char *) "self",(char *) "title", NULL
8690 };
8691
8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8695 {
8696 arg2 = wxString_in_helper(obj1);
8697 if (arg2 == NULL) SWIG_fail;
8698 temp2 = True;
8699 }
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 (arg1)->SetTitle((wxString const &)*arg2);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 Py_INCREF(Py_None); resultobj = Py_None;
8708 {
8709 if (temp2)
8710 delete arg2;
8711 }
8712 return resultobj;
8713 fail:
8714 {
8715 if (temp2)
8716 delete arg2;
8717 }
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8725 wxString *arg2 = 0 ;
8726 bool temp2 = False ;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self",(char *) "path", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8736 {
8737 arg2 = wxString_in_helper(obj1);
8738 if (arg2 == NULL) SWIG_fail;
8739 temp2 = True;
8740 }
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->SetBasePath((wxString const &)*arg2);
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 {
8750 if (temp2)
8751 delete arg2;
8752 }
8753 return resultobj;
8754 fail:
8755 {
8756 if (temp2)
8757 delete arg2;
8758 }
8759 return NULL;
8760 }
8761
8762
8763 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8764 PyObject *resultobj;
8765 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8766 wxString *arg2 = 0 ;
8767 bool temp2 = False ;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "start", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8777 {
8778 arg2 = wxString_in_helper(obj1);
8779 if (arg2 == NULL) SWIG_fail;
8780 temp2 = True;
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->SetStart((wxString const &)*arg2);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 {
8791 if (temp2)
8792 delete arg2;
8793 }
8794 return resultobj;
8795 fail:
8796 {
8797 if (temp2)
8798 delete arg2;
8799 }
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8807 wxString *arg2 = 0 ;
8808 wxString result;
8809 bool temp2 = False ;
8810 PyObject * obj0 = 0 ;
8811 PyObject * obj1 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self",(char *) "page", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8819 {
8820 arg2 = wxString_in_helper(obj1);
8821 if (arg2 == NULL) SWIG_fail;
8822 temp2 = True;
8823 }
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 {
8832 #if wxUSE_UNICODE
8833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8834 #else
8835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8836 #endif
8837 }
8838 {
8839 if (temp2)
8840 delete arg2;
8841 }
8842 return resultobj;
8843 fail:
8844 {
8845 if (temp2)
8846 delete arg2;
8847 }
8848 return NULL;
8849 }
8850
8851
8852 static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8853 PyObject *obj;
8854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8855 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8856 Py_INCREF(obj);
8857 return Py_BuildValue((char *)"");
8858 }
8859 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8862 int result;
8863 PyObject * obj0 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 resultobj = SWIG_FromInt((int)result);
8879 return resultobj;
8880 fail:
8881 return NULL;
8882 }
8883
8884
8885 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8888 int result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (int)wxHtmlContentsItem_GetID(arg1);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_FromInt((int)result);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8914 wxString result;
8915 PyObject * obj0 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
8921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 result = wxHtmlContentsItem_GetName(arg1);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 {
8931 #if wxUSE_UNICODE
8932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8933 #else
8934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8935 #endif
8936 }
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8946 wxString result;
8947 PyObject * obj0 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = wxHtmlContentsItem_GetPage(arg1);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 {
8963 #if wxUSE_UNICODE
8964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8965 #else
8966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8967 #endif
8968 }
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8978 wxHtmlBookRecord *result;
8979 PyObject * obj0 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
9002 PyObject *obj;
9003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9004 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9005 Py_INCREF(obj);
9006 return Py_BuildValue((char *)"");
9007 }
9008 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9011 bool result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = (bool)(arg1)->Search();
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 {
9028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9029 }
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9039 bool result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (bool)(arg1)->IsActive();
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9067 int result;
9068 PyObject * obj0 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (int)(arg1)->GetCurIndex();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_FromInt((int)result);
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9093 int result;
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 result = (int)(arg1)->GetMaxIndex();
9105
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_FromInt((int)result);
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9119 wxString *result;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 {
9131 wxString const &_result_ref = (arg1)->GetName();
9132 result = (wxString *) &_result_ref;
9133 }
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 {
9139 #if wxUSE_UNICODE
9140 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9141 #else
9142 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9143 #endif
9144 }
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9154 wxHtmlContentsItem *result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9171 return resultobj;
9172 fail:
9173 return NULL;
9174 }
9175
9176
9177 static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
9178 PyObject *obj;
9179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9180 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9181 Py_INCREF(obj);
9182 return Py_BuildValue((char *)"");
9183 }
9184 static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxHtmlHelpData *result;
9187 char *kwnames[] = {
9188 NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 delete arg1;
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 Py_INCREF(Py_None); resultobj = Py_None;
9225 return resultobj;
9226 fail:
9227 return NULL;
9228 }
9229
9230
9231 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj;
9233 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9234 wxString *arg2 = 0 ;
9235 bool temp2 = False ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self",(char *) "path", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9245 {
9246 arg2 = wxString_in_helper(obj1);
9247 if (arg2 == NULL) SWIG_fail;
9248 temp2 = True;
9249 }
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 (arg1)->SetTempDir((wxString const &)*arg2);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 Py_INCREF(Py_None); resultobj = Py_None;
9258 {
9259 if (temp2)
9260 delete arg2;
9261 }
9262 return resultobj;
9263 fail:
9264 {
9265 if (temp2)
9266 delete arg2;
9267 }
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj;
9274 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9275 wxString *arg2 = 0 ;
9276 bool result;
9277 bool temp2 = False ;
9278 PyObject * obj0 = 0 ;
9279 PyObject * obj1 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self",(char *) "book", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9287 {
9288 arg2 = wxString_in_helper(obj1);
9289 if (arg2 == NULL) SWIG_fail;
9290 temp2 = True;
9291 }
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 {
9300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9301 }
9302 {
9303 if (temp2)
9304 delete arg2;
9305 }
9306 return resultobj;
9307 fail:
9308 {
9309 if (temp2)
9310 delete arg2;
9311 }
9312 return NULL;
9313 }
9314
9315
9316 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
9317 PyObject *resultobj;
9318 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9319 wxString *arg2 = 0 ;
9320 wxString result;
9321 bool temp2 = False ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self",(char *) "page", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
9329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9331 {
9332 arg2 = wxString_in_helper(obj1);
9333 if (arg2 == NULL) SWIG_fail;
9334 temp2 = True;
9335 }
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (arg1)->FindPageByName((wxString const &)*arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 {
9344 #if wxUSE_UNICODE
9345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9346 #else
9347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9348 #endif
9349 }
9350 {
9351 if (temp2)
9352 delete arg2;
9353 }
9354 return resultobj;
9355 fail:
9356 {
9357 if (temp2)
9358 delete arg2;
9359 }
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9367 int arg2 ;
9368 wxString result;
9369 PyObject * obj0 = 0 ;
9370 PyObject * obj1 = 0 ;
9371 char *kwnames[] = {
9372 (char *) "self",(char *) "id", NULL
9373 };
9374
9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9378 arg2 = (int) SWIG_AsInt(obj1);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (arg1)->FindPageById(arg2);
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 {
9388 #if wxUSE_UNICODE
9389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9390 #else
9391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9392 #endif
9393 }
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9403 wxHtmlBookRecArray *result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 {
9415 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9416 result = (wxHtmlBookRecArray *) &_result_ref;
9417 }
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
9423 return resultobj;
9424 fail:
9425 return NULL;
9426 }
9427
9428
9429 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9432 wxHtmlContentsItem *result;
9433 PyObject * obj0 = 0 ;
9434 char *kwnames[] = {
9435 (char *) "self", NULL
9436 };
9437
9438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9458 int result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (int)(arg1)->GetContentsCnt();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_FromInt((int)result);
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9484 wxHtmlContentsItem *result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9501 return resultobj;
9502 fail:
9503 return NULL;
9504 }
9505
9506
9507 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9510 int result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (int)(arg1)->GetIndexCnt();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_FromInt((int)result);
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9534 PyObject *obj;
9535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9536 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9537 Py_INCREF(obj);
9538 return Py_BuildValue((char *)"");
9539 }
9540 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj;
9542 wxWindow *arg1 = (wxWindow *) 0 ;
9543 int arg2 ;
9544 wxString const &arg3_defvalue = wxPyEmptyString ;
9545 wxString *arg3 = (wxString *) &arg3_defvalue ;
9546 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9547 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9548 wxHtmlHelpFrame *result;
9549 bool temp3 = False ;
9550 PyObject * obj0 = 0 ;
9551 PyObject * obj1 = 0 ;
9552 PyObject * obj2 = 0 ;
9553 PyObject * obj3 = 0 ;
9554 PyObject * obj4 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9562 arg2 = (int) SWIG_AsInt(obj1);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 if (obj2) {
9565 {
9566 arg3 = wxString_in_helper(obj2);
9567 if (arg3 == NULL) SWIG_fail;
9568 temp3 = True;
9569 }
9570 }
9571 if (obj3) {
9572 arg4 = (int) SWIG_AsInt(obj3);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 if (obj4) {
9576 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 }
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
9587 {
9588 if (temp3)
9589 delete arg3;
9590 }
9591 return resultobj;
9592 fail:
9593 {
9594 if (temp3)
9595 delete arg3;
9596 }
9597 return NULL;
9598 }
9599
9600
9601 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9604 wxHtmlHelpData *result;
9605 PyObject * obj0 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (wxHtmlHelpData *)(arg1)->GetData();
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9630 wxString *arg2 = 0 ;
9631 bool temp2 = False ;
9632 PyObject * obj0 = 0 ;
9633 PyObject * obj1 = 0 ;
9634 char *kwnames[] = {
9635 (char *) "self",(char *) "format", NULL
9636 };
9637
9638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9641 {
9642 arg2 = wxString_in_helper(obj1);
9643 if (arg2 == NULL) SWIG_fail;
9644 temp2 = True;
9645 }
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 (arg1)->SetTitleFormat((wxString const &)*arg2);
9649
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 Py_INCREF(Py_None); resultobj = Py_None;
9654 {
9655 if (temp2)
9656 delete arg2;
9657 }
9658 return resultobj;
9659 fail:
9660 {
9661 if (temp2)
9662 delete arg2;
9663 }
9664 return NULL;
9665 }
9666
9667
9668 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9671 wxString *arg2 = 0 ;
9672 bool temp2 = False ;
9673 PyObject * obj0 = 0 ;
9674 PyObject * obj1 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "x", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9682 {
9683 arg2 = wxString_in_helper(obj1);
9684 if (arg2 == NULL) SWIG_fail;
9685 temp2 = True;
9686 }
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 (arg1)->Display((wxString const &)*arg2);
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 Py_INCREF(Py_None); resultobj = Py_None;
9695 {
9696 if (temp2)
9697 delete arg2;
9698 }
9699 return resultobj;
9700 fail:
9701 {
9702 if (temp2)
9703 delete arg2;
9704 }
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9712 int arg2 ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "id", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9722 arg2 = (int) SWIG_AsInt(obj1);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->Display(arg2);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9741 PyObject * obj0 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 (arg1)->DisplayContents();
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9766 PyObject * obj0 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->DisplayIndex();
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9791 wxString *arg2 = 0 ;
9792 bool result;
9793 bool temp2 = False ;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "self",(char *) "keyword", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9803 {
9804 arg2 = wxString_in_helper(obj1);
9805 if (arg2 == NULL) SWIG_fail;
9806 temp2 = True;
9807 }
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 {
9816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9817 }
9818 {
9819 if (temp2)
9820 delete arg2;
9821 }
9822 return resultobj;
9823 fail:
9824 {
9825 if (temp2)
9826 delete arg2;
9827 }
9828 return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj;
9834 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9835 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9836 wxString const &arg3_defvalue = wxPyEmptyString ;
9837 wxString *arg3 = (wxString *) &arg3_defvalue ;
9838 bool temp3 = False ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9851 if (obj2) {
9852 {
9853 arg3 = wxString_in_helper(obj2);
9854 if (arg3 == NULL) SWIG_fail;
9855 temp3 = True;
9856 }
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 Py_INCREF(Py_None); resultobj = Py_None;
9866 {
9867 if (temp3)
9868 delete arg3;
9869 }
9870 return resultobj;
9871 fail:
9872 {
9873 if (temp3)
9874 delete arg3;
9875 }
9876 return NULL;
9877 }
9878
9879
9880 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9883 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9884 wxString arg3 = (wxString) wxPyEmptyString ;
9885 PyObject * obj0 = 0 ;
9886 PyObject * obj1 = 0 ;
9887 PyObject * obj2 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self",(char *) "cfg",(char *) "path", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 if (obj2) {
9898 {
9899 wxString* sptr = wxString_in_helper(obj2);
9900 if (sptr == NULL) SWIG_fail;
9901 arg3 = *sptr;
9902 delete sptr;
9903 }
9904 }
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 (arg1)->ReadCustomization(arg2,arg3);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 Py_INCREF(Py_None); resultobj = Py_None;
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9922 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9923 wxString arg3 = (wxString) wxPyEmptyString ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "cfg",(char *) "path", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9936 if (obj2) {
9937 {
9938 wxString* sptr = wxString_in_helper(obj2);
9939 if (sptr == NULL) SWIG_fail;
9940 arg3 = *sptr;
9941 delete sptr;
9942 }
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 (arg1)->WriteCustomization(arg2,arg3);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 Py_INCREF(Py_None); resultobj = Py_None;
9952 return resultobj;
9953 fail:
9954 return NULL;
9955 }
9956
9957
9958 static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
9959 PyObject *obj;
9960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9961 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
9962 Py_INCREF(obj);
9963 return Py_BuildValue((char *)"");
9964 }
9965 static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj;
9967 int arg1 = (int) wxHF_DEFAULTSTYLE ;
9968 wxHtmlHelpController *result;
9969 PyObject * obj0 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "style", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
9975 if (obj0) {
9976 arg1 = (int) SWIG_AsInt(obj0);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 delete arg1;
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 Py_INCREF(Py_None); resultobj = Py_None;
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10021 wxString *arg2 = 0 ;
10022 bool temp2 = False ;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "format", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 {
10033 arg2 = wxString_in_helper(obj1);
10034 if (arg2 == NULL) SWIG_fail;
10035 temp2 = True;
10036 }
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->SetTitleFormat((wxString const &)*arg2);
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 Py_INCREF(Py_None); resultobj = Py_None;
10045 {
10046 if (temp2)
10047 delete arg2;
10048 }
10049 return resultobj;
10050 fail:
10051 {
10052 if (temp2)
10053 delete arg2;
10054 }
10055 return NULL;
10056 }
10057
10058
10059 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
10060 PyObject *resultobj;
10061 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10062 wxString *arg2 = 0 ;
10063 bool temp2 = False ;
10064 PyObject * obj0 = 0 ;
10065 PyObject * obj1 = 0 ;
10066 char *kwnames[] = {
10067 (char *) "self",(char *) "path", NULL
10068 };
10069
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
10071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10073 {
10074 arg2 = wxString_in_helper(obj1);
10075 if (arg2 == NULL) SWIG_fail;
10076 temp2 = True;
10077 }
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 (arg1)->SetTempDir((wxString const &)*arg2);
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 Py_INCREF(Py_None); resultobj = Py_None;
10086 {
10087 if (temp2)
10088 delete arg2;
10089 }
10090 return resultobj;
10091 fail:
10092 {
10093 if (temp2)
10094 delete arg2;
10095 }
10096 return NULL;
10097 }
10098
10099
10100 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
10101 PyObject *resultobj;
10102 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10103 wxString *arg2 = 0 ;
10104 int arg3 = (int) False ;
10105 bool result;
10106 bool temp2 = False ;
10107 PyObject * obj0 = 0 ;
10108 PyObject * obj1 = 0 ;
10109 PyObject * obj2 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
10115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10117 {
10118 arg2 = wxString_in_helper(obj1);
10119 if (arg2 == NULL) SWIG_fail;
10120 temp2 = True;
10121 }
10122 if (obj2) {
10123 arg3 = (int) SWIG_AsInt(obj2);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 {
10134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10135 }
10136 {
10137 if (temp2)
10138 delete arg2;
10139 }
10140 return resultobj;
10141 fail:
10142 {
10143 if (temp2)
10144 delete arg2;
10145 }
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10153 wxString *arg2 = 0 ;
10154 bool temp2 = False ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "self",(char *) "x", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
10162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10164 {
10165 arg2 = wxString_in_helper(obj1);
10166 if (arg2 == NULL) SWIG_fail;
10167 temp2 = True;
10168 }
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->Display((wxString const &)*arg2);
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 Py_INCREF(Py_None); resultobj = Py_None;
10177 {
10178 if (temp2)
10179 delete arg2;
10180 }
10181 return resultobj;
10182 fail:
10183 {
10184 if (temp2)
10185 delete arg2;
10186 }
10187 return NULL;
10188 }
10189
10190
10191 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10194 int arg2 ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "id", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10204 arg2 = (int) SWIG_AsInt(obj1);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->Display(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 Py_INCREF(Py_None); resultobj = Py_None;
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 (arg1)->DisplayContents();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 Py_INCREF(Py_None); resultobj = Py_None;
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 (arg1)->DisplayIndex();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 Py_INCREF(Py_None); resultobj = Py_None;
10264 return resultobj;
10265 fail:
10266 return NULL;
10267 }
10268
10269
10270 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10273 wxString *arg2 = 0 ;
10274 bool result;
10275 bool temp2 = False ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self",(char *) "keyword", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10285 {
10286 arg2 = wxString_in_helper(obj1);
10287 if (arg2 == NULL) SWIG_fail;
10288 temp2 = True;
10289 }
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 {
10298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10299 }
10300 {
10301 if (temp2)
10302 delete arg2;
10303 }
10304 return resultobj;
10305 fail:
10306 {
10307 if (temp2)
10308 delete arg2;
10309 }
10310 return NULL;
10311 }
10312
10313
10314 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10317 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10318 wxString const &arg3_defvalue = wxPyEmptyString ;
10319 wxString *arg3 = (wxString *) &arg3_defvalue ;
10320 bool temp3 = False ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 PyObject * obj2 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10333 if (obj2) {
10334 {
10335 arg3 = wxString_in_helper(obj2);
10336 if (arg3 == NULL) SWIG_fail;
10337 temp3 = True;
10338 }
10339 }
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10343
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 Py_INCREF(Py_None); resultobj = Py_None;
10348 {
10349 if (temp3)
10350 delete arg3;
10351 }
10352 return resultobj;
10353 fail:
10354 {
10355 if (temp3)
10356 delete arg3;
10357 }
10358 return NULL;
10359 }
10360
10361
10362 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj;
10364 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10365 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10366 wxString arg3 = (wxString) wxPyEmptyString ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 PyObject * obj2 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "cfg",(char *) "path", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10379 if (obj2) {
10380 {
10381 wxString* sptr = wxString_in_helper(obj2);
10382 if (sptr == NULL) SWIG_fail;
10383 arg3 = *sptr;
10384 delete sptr;
10385 }
10386 }
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 (arg1)->ReadCustomization(arg2,arg3);
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 Py_INCREF(Py_None); resultobj = Py_None;
10395 return resultobj;
10396 fail:
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10404 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10405 wxString arg3 = (wxString) wxPyEmptyString ;
10406 PyObject * obj0 = 0 ;
10407 PyObject * obj1 = 0 ;
10408 PyObject * obj2 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self",(char *) "cfg",(char *) "path", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 if (obj2) {
10419 {
10420 wxString* sptr = wxString_in_helper(obj2);
10421 if (sptr == NULL) SWIG_fail;
10422 arg3 = *sptr;
10423 delete sptr;
10424 }
10425 }
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 (arg1)->WriteCustomization(arg2,arg3);
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 Py_INCREF(Py_None); resultobj = Py_None;
10434 return resultobj;
10435 fail:
10436 return NULL;
10437 }
10438
10439
10440 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10443 wxHtmlHelpFrame *result;
10444 PyObject * obj0 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
10460 return resultobj;
10461 fail:
10462 return NULL;
10463 }
10464
10465
10466 static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10467 PyObject *obj;
10468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10469 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10470 Py_INCREF(obj);
10471 return Py_BuildValue((char *)"");
10472 }
10473 static PyMethodDef SwigMethods[] = {
10474 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10475 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10476 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10477 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10478 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10479 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10480 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10481 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10482 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10483 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10484 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10485 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10486 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10487 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10488 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10489 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10490 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10491 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10492 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10493 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10494 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10495 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10496 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10497 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10498 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10499 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10500 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10501 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10502 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10503 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10504 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10505 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10506 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10507 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10508 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10509 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10510 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10511 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10512 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10513 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10514 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10515 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10516 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10517 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10518 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10519 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10520 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10521 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10522 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10523 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10524 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10525 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10526 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10527 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10528 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10529 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10530 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10531 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10532 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10533 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10534 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10535 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10536 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10537 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10538 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10539 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10540 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10541 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10542 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10543 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10544 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10545 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10546 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10547 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10548 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10549 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10550 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10551 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10552 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10553 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10554 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10555 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10556 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10557 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10558 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10559 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10560 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10561 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10562 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10563 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10564 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10565 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10566 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10567 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10568 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10569 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10570 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10571 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10572 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10573 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10574 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10575 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10576 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10577 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10578 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10579 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10580 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10581 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10582 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10583 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10584 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10585 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10586 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10587 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10588 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10589 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10590 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
10591 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10592 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
10593 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10594 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10595 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10596 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10597 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10598 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10599 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10600 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10601 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10602 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10603 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10604 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10605 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10606 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10607 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10608 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10609 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10610 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10611 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10612 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10613 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10614 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10615 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10616 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10617 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10618 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10619 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10620 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10621 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10622 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10623 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10624 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10625 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10626 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10627 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10628 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10629 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10630 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10631 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10632 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10633 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10634 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10635 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10636 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10637 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10638 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10639 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10640 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10641 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10642 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10643 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10644 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10645 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10646 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10647 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10648 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10649 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10650 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10651 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10652 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10653 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10654 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10655 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10656 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10657 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10658 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10659 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10660 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10661 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10662 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10663 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10664 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10665 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10666 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10667 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10668 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10669 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10670 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10671 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10672 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10673 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10674 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10675 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10676 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10677 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS },
10678 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS },
10679 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS },
10680 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10681 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10682 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10683 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10684 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10685 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10686 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10687 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10688 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10689 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10690 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10691 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10692 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10693 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10694 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10695 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10696 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10697 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10698 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10699 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10700 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10701 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10702 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10703 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10704 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10705 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10706 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10707 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10708 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10709 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10710 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10711 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10712 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10713 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10714 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10715 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10716 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10717 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10718 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10719 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10720 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10721 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10722 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10723 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10724 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10725 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10726 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10727 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10728 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10729 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10730 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10731 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10732 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10733 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10734 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10735 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10736 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10737 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10738 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10739 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10740 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10741 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10742 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10743 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10744 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10745 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10746 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10747 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10748 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10749 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10750 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10751 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10752 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10753 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10754 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10755 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10756 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10757 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10758 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10759 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10760 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10761 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10762 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10763 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10764 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10765 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10766 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10767 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10768 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10769 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10770 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10771 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10772 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10773 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10774 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10775 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10776 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10777 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10778 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10779 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10780 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10781 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10782 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10783 { NULL, NULL }
10784 };
10785
10786
10787 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10788
10789 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10790 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10791 }
10792 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10793 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10794 }
10795 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10796 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10797 }
10798 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10799 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10800 }
10801 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10802 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10803 }
10804 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10805 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10806 }
10807 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10808 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10809 }
10810 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10811 return (void *)((wxPanel *) ((wxPyPanel *) x));
10812 }
10813 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10814 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10815 }
10816 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10817 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10818 }
10819 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10820 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10821 }
10822 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10823 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10824 }
10825 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10826 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10827 }
10828 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10830 }
10831 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10832 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10833 }
10834 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10835 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10836 }
10837 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10838 return (void *)((wxWindow *) ((wxMenuBar *) x));
10839 }
10840 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10842 }
10843 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10845 }
10846 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10848 }
10849 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10851 }
10852 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10854 }
10855 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10857 }
10858 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10860 }
10861 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10862 return (void *)((wxWindow *) ((wxPanel *) x));
10863 }
10864 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10865 return (void *)((wxWindow *) ((wxStatusBar *) x));
10866 }
10867 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10868 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10869 }
10870 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10871 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10872 }
10873 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10874 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10875 }
10876 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10877 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10878 }
10879 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10880 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10881 }
10882 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10883 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10884 }
10885 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10886 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10887 }
10888 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10889 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10890 }
10891 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10892 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10893 }
10894 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10895 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10896 }
10897 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10898 return (void *)((wxWindow *) ((wxSashWindow *) x));
10899 }
10900 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10901 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10902 }
10903 static void *_p_wxControlTo_p_wxWindow(void *x) {
10904 return (void *)((wxWindow *) ((wxControl *) x));
10905 }
10906 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10908 }
10909 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10911 }
10912 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10913 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10914 }
10915 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10916 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10917 }
10918 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10919 return (void *)((wxWindow *) ((wxPyWindow *) x));
10920 }
10921 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10922 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10923 }
10924 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10925 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10926 }
10927 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10928 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10929 }
10930 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10931 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10932 }
10933 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10934 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10935 }
10936 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
10937 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10938 }
10939 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10940 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10941 }
10942 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10943 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10944 }
10945 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10946 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10947 }
10948 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10950 }
10951 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10952 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10953 }
10954 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
10955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10956 }
10957 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
10958 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10959 }
10960 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10961 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10962 }
10963 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10964 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10965 }
10966 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10967 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10968 }
10969 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10970 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10971 }
10972 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10973 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10974 }
10975 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10976 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10977 }
10978 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10979 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10980 }
10981 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
10982 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
10983 }
10984 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
10985 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
10986 }
10987 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10988 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10989 }
10990 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10991 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10992 }
10993 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10994 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10995 }
10996 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10997 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10998 }
10999 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11000 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11001 }
11002 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11003 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11004 }
11005 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11006 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11007 }
11008 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11009 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11010 }
11011 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11012 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11013 }
11014 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11015 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11016 }
11017 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11018 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11019 }
11020 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11021 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11022 }
11023 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11024 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11025 }
11026 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11027 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11028 }
11029 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11030 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11031 }
11032 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11034 }
11035 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11037 }
11038 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11039 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11040 }
11041 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11042 return (void *)((wxObject *) ((wxSizerItem *) x));
11043 }
11044 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11046 }
11047 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11048 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11049 }
11050 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11051 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11052 }
11053 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11054 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11055 }
11056 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11057 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11058 }
11059 static void *_p_wxSizerTo_p_wxObject(void *x) {
11060 return (void *)((wxObject *) ((wxSizer *) x));
11061 }
11062 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11063 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11064 }
11065 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11066 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11067 }
11068 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11069 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11070 }
11071 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11073 }
11074 static void *_p_wxEventTo_p_wxObject(void *x) {
11075 return (void *)((wxObject *) ((wxEvent *) x));
11076 }
11077 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11078 return (void *)((wxObject *) ((wxFontData *) x));
11079 }
11080 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11081 return (void *)((wxObject *) ((wxPrintData *) x));
11082 }
11083 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11084 return (void *)((wxObject *) ((wxHtmlTag *) x));
11085 }
11086 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11087 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11088 }
11089 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11090 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11091 }
11092 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11093 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11094 }
11095 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11096 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11097 }
11098 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
11099 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
11100 }
11101 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11103 }
11104 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11106 }
11107 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11108 return (void *)((wxObject *) ((wxHtmlCell *) x));
11109 }
11110 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11111 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11112 }
11113 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11114 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11115 }
11116 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11117 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11118 }
11119 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11120 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11121 }
11122 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11123 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11124 }
11125 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11126 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11127 }
11128 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11130 }
11131 static void *_p_wxControlTo_p_wxObject(void *x) {
11132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11133 }
11134 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11135 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11136 }
11137 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11139 }
11140 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11141 return (void *)((wxObject *) ((wxFSFile *) x));
11142 }
11143 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11144 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11145 }
11146 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11147 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11148 }
11149 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11150 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11151 }
11152 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11153 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11154 }
11155 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11157 }
11158 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11159 return (void *)((wxObject *) ((wxColourData *) x));
11160 }
11161 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11162 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11163 }
11164 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11165 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11166 }
11167 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11169 }
11170 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11172 }
11173 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11175 }
11176 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11178 }
11179 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11181 }
11182 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11184 }
11185 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11187 }
11188 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11190 }
11191 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11193 }
11194 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11195 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11196 }
11197 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11198 return (void *)((wxObject *) ((wxPrinter *) x));
11199 }
11200 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11201 return (void *)((wxObject *) ((wxMenuItem *) x));
11202 }
11203 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11204 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11205 }
11206 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11208 }
11209 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11210 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11211 }
11212 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11213 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11214 }
11215 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11216 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11217 }
11218 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11219 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11220 }
11221 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11222 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11223 }
11224 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11225 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11226 }
11227 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11228 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11229 }
11230 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11231 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11232 }
11233 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11234 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11235 }
11236 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11237 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11238 }
11239 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11240 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11241 }
11242 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11243 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11244 }
11245 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11246 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11247 }
11248 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11249 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11250 }
11251 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11252 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11253 }
11254 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11255 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11256 }
11257 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11258 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11259 }
11260 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11261 return (void *)((wxObject *) ((wxImageHandler *) x));
11262 }
11263 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11264 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11265 }
11266 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11267 return (void *)((wxObject *) ((wxEvtHandler *) x));
11268 }
11269 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11270 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11271 }
11272 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11273 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11274 }
11275 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11276 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11277 }
11278 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11280 }
11281 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11283 }
11284 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11285 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11286 }
11287 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11289 }
11290 static void *_p_wxImageTo_p_wxObject(void *x) {
11291 return (void *)((wxObject *) ((wxImage *) x));
11292 }
11293 static void *_p_wxFrameTo_p_wxObject(void *x) {
11294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11295 }
11296 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11297 return (void *)((wxObject *) ((wxPyPrintout *) x));
11298 }
11299 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11300 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11301 }
11302 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11303 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11304 }
11305 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11306 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11307 }
11308 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11310 }
11311 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11312 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11313 }
11314 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11315 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11316 }
11317 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11319 }
11320 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11321 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11322 }
11323 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11324 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11325 }
11326 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11327 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11328 }
11329 static void *_p_wxWindowTo_p_wxObject(void *x) {
11330 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11331 }
11332 static void *_p_wxMenuTo_p_wxObject(void *x) {
11333 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11334 }
11335 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11337 }
11338 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11340 }
11341 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11343 }
11344 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11346 }
11347 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11349 }
11350 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11352 }
11353 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11355 }
11356 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11358 }
11359 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11361 }
11362 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11364 }
11365 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11367 }
11368 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11370 }
11371 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11373 }
11374 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11376 }
11377 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11378 return (void *)((wxObject *) ((wxPrintPreview *) x));
11379 }
11380 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11381 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11382 }
11383 static void *_p_wxPanelTo_p_wxObject(void *x) {
11384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11385 }
11386 static void *_p_wxDialogTo_p_wxObject(void *x) {
11387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11388 }
11389 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11391 }
11392 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11394 }
11395 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11397 }
11398 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11400 }
11401 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11403 }
11404 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11405 return (void *)((wxObject *) ((wxHtmlParser *) x));
11406 }
11407 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11408 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11409 }
11410 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11411 return (void *)((wxObject *) ((wxFileSystem *) x));
11412 }
11413 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11414 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11415 }
11416 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11417 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11418 }
11419 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11420 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11421 }
11422 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11423 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11424 }
11425 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11426 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11427 }
11428 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11429 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11430 }
11431 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11432 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11433 }
11434 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11436 }
11437 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11438 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11439 }
11440 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11442 }
11443 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11445 }
11446 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11447 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11448 }
11449 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11450 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11451 }
11452 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11453 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11454 }
11455 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11456 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11457 }
11458 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11459 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11460 }
11461 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11463 }
11464 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11465 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11466 }
11467 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11468 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11469 }
11470 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11471 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11472 }
11473 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11474 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11475 }
11476 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11477 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11478 }
11479 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11481 }
11482 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11484 }
11485 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11486 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11487 }
11488 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11490 }
11491 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11492 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11493 }
11494 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11495 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11496 }
11497 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11498 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11499 }
11500 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11502 }
11503 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11505 }
11506 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11508 }
11509 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11511 }
11512 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11514 }
11515 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11517 }
11518 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11520 }
11521 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11523 }
11524 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11526 }
11527 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11529 }
11530 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11532 }
11533 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11535 }
11536 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11537 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11538 }
11539 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11540 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11541 }
11542 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11544 }
11545 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11546 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11547 }
11548 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11550 }
11551 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11552 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11553 }
11554 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11555 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11556 }
11557 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11558 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11559 }
11560 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11561 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11562 }
11563 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11564 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11565 }
11566 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11568 }
11569 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11571 }
11572 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11573 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11574 }
11575 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11576 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11577 }
11578 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11579 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11580 }
11581 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11582 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11583 }
11584 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11585 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11586 }
11587 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11588 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11589 }
11590 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11591 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11592 }
11593 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11594 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11595 }
11596 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11597 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11598 }
11599 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11600 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11601 }
11602 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11603 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11604 }
11605 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11606 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11607 }
11608 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11610 }
11611 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11613 }
11614 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11616 }
11617 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11619 }
11620 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11621 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11622 }
11623 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11624 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11625 }
11626 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11627 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11628 }
11629 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11631 }
11632 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11633 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11634 }
11635 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11636 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11637 }
11638 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11639 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11640 }
11641 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11642 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11643 }
11644 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11645 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11646 }
11647 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11648 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11649 }
11650 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11651 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11652 }
11653 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11654 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11655 }
11656 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11657 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11658 }
11659 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11660 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11661 }
11662 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11663 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11664 }
11665 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11666 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11667 }
11668 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11669 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11670 }
11671 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11672 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11673 }
11674 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11675 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11676 }
11677 static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11678 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11679 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11680 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11681 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11682 static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11683 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11684 static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11685 static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11686 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11687 static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11688 static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11689 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11690 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11691 static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11692 static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11693 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11694 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11695 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11696 static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11697 static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11698 static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11699 static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11700 static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11701 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11702 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11703 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11704 static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11705 static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11706 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11707 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11708 static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11709 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11710 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11711 static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11712 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11713 static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11714 static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11715 static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11716 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11717 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11718 static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11719 static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11720 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11721 static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11722 static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11723 static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11724 static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11725 static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11726 static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11727 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11728 static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11729
11730 static swig_type_info *swig_types_initial[] = {
11731 _swigt__p_wxHtmlDCRenderer,
11732 _swigt__p_wxColour,
11733 _swigt__p_wxPageSetupDialogData,
11734 _swigt__p_wxDC,
11735 _swigt__p_wxDefaultHtmlRenderingStyle,
11736 _swigt__p_wxHtmlRenderingStyle,
11737 _swigt__p_wxMouseEvent,
11738 _swigt__p_wxHtmlWordCell,
11739 _swigt__p_wxHtmlHelpData,
11740 _swigt__p_char,
11741 _swigt__p_wxHtmlWinParser,
11742 _swigt__p_wxHtmlParser,
11743 _swigt__p_wxPanel,
11744 _swigt__p_wxFont,
11745 _swigt__p_wxHtmlColourCell,
11746 _swigt__p_wxPyHtmlWindow,
11747 _swigt__p_wxScrolledWindow,
11748 _swigt__p_wxWindow,
11749 _swigt__p_wxTopLevelWindow,
11750 _swigt__p_wxHtmlFontCell,
11751 _swigt__p_wxHtmlEasyPrinting,
11752 _swigt__p_wxHtmlSelection,
11753 _swigt__p_wxHtmlRenderingInfo,
11754 _swigt__p_wxHtmlWidgetCell,
11755 _swigt__p_wxObject,
11756 _swigt__p_wxString,
11757 _swigt__p_wxPyHtmlWinTagHandler,
11758 _swigt__p_wxHtmlTagHandler,
11759 _swigt__p_wxPyHtmlTagHandler,
11760 _swigt__p_wxEvtHandler,
11761 _swigt__p_wxPoint,
11762 _swigt__p_wxHtmlHelpController,
11763 _swigt__p_wxCursor,
11764 _swigt__p_wxFileSystem,
11765 _swigt__p_wxHtmlBookRecArray,
11766 _swigt__p_wxPyPrintout,
11767 _swigt__p_wxHtmlPrintout,
11768 _swigt__p_wxHtmlSearchStatus,
11769 _swigt__p_wxHtmlContentsItem,
11770 _swigt__p_wxConfigBase,
11771 _swigt__p_wxPrintData,
11772 _swigt__p_wxHtmlHelpFrame,
11773 _swigt__p_wxHtmlRenderingState,
11774 _swigt__p_wxFrame,
11775 _swigt__p_wxPyHtmlFilter,
11776 _swigt__p_wxHtmlFilter,
11777 _swigt__p_wxHtmlCell,
11778 _swigt__p_wxHtmlContainerCell,
11779 _swigt__p_wxHtmlTag,
11780 _swigt__p_wxHtmlLinkInfo,
11781 _swigt__p_int,
11782 _swigt__p_wxHtmlBookRecord,
11783 0
11784 };
11785
11786
11787 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11788
11789 static swig_const_info swig_const_table[] = {
11790 {0}};
11791
11792 #ifdef __cplusplus
11793 }
11794 #endif
11795
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 SWIGEXPORT(void) SWIG_init(void) {
11800 static PyObject *SWIG_globals = 0;
11801 static int typeinit = 0;
11802 PyObject *m, *d;
11803 int i;
11804 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11805 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11806 d = PyModule_GetDict(m);
11807
11808 if (!typeinit) {
11809 for (i = 0; swig_types_initial[i]; i++) {
11810 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11811 }
11812 typeinit = 1;
11813 }
11814 SWIG_InstallConstants(d,swig_const_table);
11815
11816 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11817 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11818 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11819 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
11820 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT));
11821 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER));
11822 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT));
11823 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM));
11824 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP));
11825 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND));
11826 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND));
11827 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS));
11828 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT));
11829 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT));
11830 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT));
11831 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP));
11832 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM));
11833 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11834 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL));
11835 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL));
11836 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR));
11837 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11838 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER));
11839 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1));
11840 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2));
11841 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3));
11842 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4));
11843 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5));
11844 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6));
11845 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7));
11846 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER));
11847 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO));
11848 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION));
11849 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE));
11850 PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN));
11851 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK));
11852 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT));
11853 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE));
11854 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE));
11855 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER));
11856 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT));
11857 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN));
11858 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING));
11859 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT));
11860 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11861 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11862 PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD));
11863 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN));
11864 PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL));
11865 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR));
11866 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR));
11867 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS));
11868 PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX));
11869 PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH));
11870 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS));
11871 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES));
11872 PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT));
11873 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE));
11874
11875 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11876 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11877 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11878 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11879
11880 }
11881