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