]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html_wrap.cpp
Fixed the readme
[wxWidgets.git] / wxPython / src / msw / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
210 #define SWIGTYPE_p_wxColour swig_types[1]
211 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4]
214 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
215 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
216 #define SWIGTYPE_p_wxHtmlWordCell swig_types[7]
217 #define SWIGTYPE_p_wxHtmlHelpData swig_types[8]
218 #define SWIGTYPE_p_char swig_types[9]
219 #define SWIGTYPE_p_wxHtmlWinParser swig_types[10]
220 #define SWIGTYPE_p_wxHtmlParser swig_types[11]
221 #define SWIGTYPE_p_wxPanel swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxHtmlColourCell swig_types[14]
224 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15]
225 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
226 #define SWIGTYPE_p_wxWindow swig_types[17]
227 #define SWIGTYPE_p_wxTopLevelWindow swig_types[18]
228 #define SWIGTYPE_p_wxHtmlFontCell swig_types[19]
229 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20]
230 #define SWIGTYPE_p_wxHtmlSelection swig_types[21]
231 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22]
232 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23]
233 #define SWIGTYPE_p_wxObject swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26]
236 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[27]
237 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28]
238 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
239 #define SWIGTYPE_p_wxPoint swig_types[30]
240 #define SWIGTYPE_p_wxHtmlHelpController swig_types[31]
241 #define SWIGTYPE_p_wxCursor swig_types[32]
242 #define SWIGTYPE_p_wxFileSystem swig_types[33]
243 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34]
244 #define SWIGTYPE_p_wxPyPrintout swig_types[35]
245 #define SWIGTYPE_p_wxHtmlPrintout swig_types[36]
246 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37]
247 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[38]
248 #define SWIGTYPE_p_wxConfigBase swig_types[39]
249 #define SWIGTYPE_p_wxPrintData swig_types[40]
250 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41]
251 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[44]
254 #define SWIGTYPE_p_wxHtmlFilter swig_types[45]
255 #define SWIGTYPE_p_wxHtmlCell swig_types[46]
256 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[47]
257 #define SWIGTYPE_p_wxHtmlTag swig_types[48]
258 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[51]
261 static swig_type_info *swig_types[53];
262
263 /* -------- TYPES TABLE (END) -------- */
264
265
266 /*-----------------------------------------------
267 @(target):= _html.so
268 ------------------------------------------------*/
269 #define SWIG_init init_html
270
271 #define SWIG_name "_html"
272
273 /* Auxiliar swig macros */
274
275 #ifdef __cplusplus
276 #define SWIGSTATICINLINE(a) static inline a
277 #define SWIGSTATIC(a) static a
278 #define swig_new_array(type, size) (new type[(size)])
279 #define swig_delete_array(cptr) delete[] cptr
280 #define swig_const_cast(type,a) const_cast<type>(a)
281 #define swig_static_cast(type,a) static_cast<type>(a)
282 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
283
284 #ifdef HAVE_NUMERIC_CAST
285 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
286 #else
287 #define swig_numeric_cast(type,a) static_cast<type>(a)
288 #endif
289
290 #else /* C case */
291
292 #define SWIGSTATICINLINE(a) static a
293 #define SWIGSTATIC(a) static a
294 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
295 #define swig_delete_array(cptr) free((char*)cptr)
296 #define swig_const_cast(type,a) (type)(a)
297 #define swig_static_cast(type,a) (type)(a)
298 #define swig_reinterpret_cast(type,a) (type)(a)
299 #define swig_numeric_cast(type,a) (type)(a)
300
301 #endif /* __cplusplus */
302
303
304 #define SWIG_FromSignedChar PyInt_FromLong
305 #define SWIG_FromUnsignedChar PyInt_FromLong
306 #define SWIG_FromShort PyInt_FromLong
307 #define SWIG_FromUnsignedShort PyInt_FromLong
308 #define SWIG_FromInt PyInt_FromLong
309 #define SWIG_FromLong PyInt_FromLong
310 #define SWIG_FromFloat PyFloat_FromDouble
311 #define SWIG_FromDouble PyFloat_FromDouble
312 #define SWIG_FromFloat PyFloat_FromDouble
313 #define SWIG_FromDouble PyFloat_FromDouble
314
315
316 #include "wx/wxPython/wxPython.h"
317 #include "wx/wxPython/pyclasses.h"
318 #include "wx/wxPython/pyistream.h"
319 #include "wx/wxPython/printfw.h"
320
321 #include <wx/html/htmlwin.h>
322 #include <wx/html/htmprint.h>
323 #include <wx/html/helpctrl.h>
324
325
326 static const wxString wxPyEmptyString(wxEmptyString);
327 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
328 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
329 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
330
331 #include <limits.h>
332
333
334 SWIGSTATICINLINE(long)
335 SWIG_CheckLongInRange(long value, const char* type,
336 long min_value, long max_value)
337 {
338 if (!PyErr_Occurred()) {
339 if (value < min_value) {
340 PyObject *err =
341 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
342 value, type, min_value);
343
344 PyErr_SetObject(PyExc_OverflowError, err);
345 Py_DECREF(err);
346 } else if (value > max_value) {
347 PyObject *err =
348 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
349 value, type, max_value);
350 PyErr_SetObject(PyExc_OverflowError, err);
351 Py_DECREF(err);
352 }
353 }
354 return value;
355 }
356
357
358 SWIGSTATICINLINE(long)
359 SWIG_AsLong(PyObject * obj)
360 {
361 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
362 }
363
364
365 #if INT_MAX != LONG_MAX
366 SWIGSTATICINLINE(int)
367 SWIG_AsInt(PyObject *obj)
368 {
369 return swig_numeric_cast(int,
370 SWIG_CheckLongInRange(SWIG_AsLong(obj),
371 "int", INT_MIN, INT_MAX));
372 }
373 #else
374 #define SWIG_AsInt SWIG_AsLong
375 #endif
376
377
378 SWIGSTATICINLINE(int)
379 SWIG_CheckInt(PyObject* obj)
380 {
381 SWIG_AsInt(obj);
382 if (PyErr_Occurred()) {
383 PyErr_Clear();
384 return 0;
385 } else {
386 return 1;
387 }
388 }
389
390 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
391 int* temp = NULL;
392 if (sizes) temp = int_LIST_helper(sizes);
393 self->SetFonts(normal_face, fixed_face, temp);
394 if (temp)
395 delete [] temp;
396 }
397
398 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
399 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
400 public:
401 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
402
403 wxHtmlParser* GetParser() { return m_Parser; }
404 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
405
406 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
407 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
408
409 PYPRIVATE;
410 };
411
412 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
413
414 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
415 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
416
417
418 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
419 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
420 public:
421 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
422
423 wxHtmlWinParser* GetParser() { return m_WParser; }
424 void ParseInner(const wxHtmlTag& tag)
425 { wxHtmlWinTagHandler::ParseInner(tag); }
426
427 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
428 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
429
430 PYPRIVATE;
431 };
432
433 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
434
435 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
436 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
437
438
439
440 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
441 public:
442 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
443 m_tagHandlerClass = thc;
444 Py_INCREF(m_tagHandlerClass);
445 RegisterModule(this);
446 wxHtmlWinParser::AddModule(this);
447 }
448
449 void OnExit() {
450 bool blocked = wxPyBeginBlockThreads();
451 Py_DECREF(m_tagHandlerClass);
452 m_tagHandlerClass = NULL;
453 for (size_t x=0; x < m_objArray.GetCount(); x++) {
454 PyObject* obj = (PyObject*)m_objArray.Item(x);
455 Py_DECREF(obj);
456 }
457 wxPyEndBlockThreads(blocked);
458 };
459
460 void FillHandlersTable(wxHtmlWinParser *parser) {
461 // Wave our magic wand... (if it works it's a miracle! ;-)
462
463 // First, make a new instance of the tag handler
464 bool blocked = wxPyBeginBlockThreads();
465 PyObject* arg = PyTuple_New(0);
466 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
467 Py_DECREF(arg);
468
469 // now figure out where it's C++ object is...
470 wxPyHtmlWinTagHandler* thPtr;
471 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
472 wxPyEndBlockThreads(blocked);
473 return;
474 }
475 wxPyEndBlockThreads(blocked);
476
477 // add it,
478 parser->AddTagHandler(thPtr);
479
480 // and track it.
481 m_objArray.Add(obj);
482 }
483
484 private:
485 PyObject* m_tagHandlerClass;
486 wxArrayPtrVoid m_objArray;
487
488 };
489
490
491 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
492 // Dynamically create a new wxModule. Refcounts tagHandlerClass
493 // and adds itself to the wxModules list and to the wxHtmlWinParser.
494 new wxPyHtmlTagsModule(tagHandlerClass);
495 }
496
497
498 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
499 PyObject* o2;
500 PyObject* o3;
501
502 if (!target) {
503 target = o;
504 } else if (target == Py_None) {
505 Py_DECREF(Py_None);
506 target = o;
507 } else {
508 if (!PyTuple_Check(target)) {
509 o2 = target;
510 target = PyTuple_New(1);
511 PyTuple_SetItem(target, 0, o2);
512 }
513 o3 = PyTuple_New(1);
514 PyTuple_SetItem(o3, 0, o);
515
516 o2 = target;
517 target = PySequence_Concat(o2, o3);
518 Py_DECREF(o2);
519 Py_DECREF(o3);
520 }
521 return target;
522 }
523
524
525 SWIGSTATICINLINE(bool)
526 SWIG_AsBool(PyObject *obj)
527 {
528 return PyObject_IsTrue(obj) ? true : false;
529 }
530
531
532 SWIGSTATICINLINE(int)
533 SWIG_CheckBool(PyObject* obj)
534 {
535 SWIG_AsBool(obj);
536 if (PyErr_Occurred()) {
537 PyErr_Clear();
538 return 0;
539 } else {
540 return 1;
541 }
542 }
543
544
545 SWIGSTATICINLINE(unsigned long)
546 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
547 unsigned long max_value)
548 {
549 if (!PyErr_Occurred()) {
550 if (value > max_value) {
551 PyObject *err =
552 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
553 value, type, max_value);
554 PyErr_SetObject(PyExc_OverflowError, err);
555 Py_DECREF(err);
556 }
557 }
558 return value;
559 }
560
561
562 SWIGSTATICINLINE(unsigned long)
563 SWIG_AsUnsignedLong(PyObject * obj)
564 {
565 if (PyLong_Check(obj)) {
566 return PyLong_AsUnsignedLong(obj);
567 } else {
568 long i = PyInt_AsLong(obj);
569 if ( !PyErr_Occurred() && (i < 0)) {
570 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
571 }
572 return i;
573 }
574 }
575
576
577 #if UINT_MAX != ULONG_MAX
578 SWIGSTATICINLINE(unsigned int)
579 SWIG_AsUnsignedInt(PyObject *obj)
580 {
581 return swig_numeric_cast(unsigned int,
582 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
583 "unsigned int", UINT_MAX));
584 }
585 #else
586 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
587 #endif
588
589
590 SWIGSTATICINLINE(int)
591 SWIG_CheckUnsignedInt(PyObject* obj)
592 {
593 SWIG_AsUnsignedInt(obj);
594 if (PyErr_Occurred()) {
595 PyErr_Clear();
596 return 0;
597 } else {
598 return 1;
599 }
600 }
601
602
603 SWIGSTATICINLINE(PyObject* )
604 SWIG_FromUnsignedLong(unsigned long value)
605 {
606 return (value > LONG_MAX) ?
607 PyLong_FromUnsignedLong(value)
608 : PyInt_FromLong(swig_numeric_cast(long,value));
609 }
610
611
612 #if UINT_MAX < LONG_MAX
613 #define SWIG_FromUnsignedInt SWIG_FromLong
614 #else
615 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
616 #endif
617
618 // here's the C++ version
619 class wxPyHtmlFilter : public wxHtmlFilter {
620 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
621 public:
622 wxPyHtmlFilter() : wxHtmlFilter() {}
623
624 // returns True if this filter is able to open&read given file
625 virtual bool CanRead(const wxFSFile& file) const {
626 bool rval = False;
627 bool found;
628 bool blocked = wxPyBeginBlockThreads();
629 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
630 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
632 Py_DECREF(obj);
633 }
634 wxPyEndBlockThreads(blocked);
635 return rval;
636 }
637
638
639 // Reads given file and returns HTML document.
640 // Returns empty string if opening failed
641 virtual wxString ReadFile(const wxFSFile& file) const {
642 wxString rval;
643 bool found;
644 bool blocked = wxPyBeginBlockThreads();
645 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
646 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
647 PyObject* ro;
648 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
649 Py_DECREF(obj);
650 if (ro) {
651 rval = Py2wxString(ro);
652 Py_DECREF(ro);
653 }
654 }
655 wxPyEndBlockThreads(blocked);
656 return rval;
657 }
658
659 PYPRIVATE;
660 };
661
662 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
663
664
665 class wxPyHtmlWindow : public wxHtmlWindow {
666 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
667 public:
668 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
669 const wxPoint& pos = wxDefaultPosition,
670 const wxSize& size = wxDefaultSize,
671 long style = wxHW_DEFAULT_STYLE,
672 const wxString& name = wxPyHtmlWindowNameStr)
673 : wxHtmlWindow(parent, id, pos, size, style, name) {};
674 wxPyHtmlWindow() : wxHtmlWindow() {};
675
676 bool ScrollToAnchor(const wxString& anchor) {
677 return wxHtmlWindow::ScrollToAnchor(anchor);
678 }
679
680 bool HasAnchor(const wxString& anchor) {
681 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
682 return c!=NULL;
683 }
684
685 void OnLinkClicked(const wxHtmlLinkInfo& link);
686 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
687
688 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
689 const wxString& url,
690 wxString *redirect) const;
691
692 DEC_PYCALLBACK__STRING(OnSetTitle);
693 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
694 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
695 PYPRIVATE;
696 };
697
698 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
699 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
700 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
701 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
702
703
704 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
705 bool found;
706 bool blocked = wxPyBeginBlockThreads();
707 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
708 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
709 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
710 Py_DECREF(obj);
711 }
712 wxPyEndBlockThreads(blocked);
713 if (! found)
714 wxHtmlWindow::OnLinkClicked(link);
715 }
716 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
717 wxHtmlWindow::OnLinkClicked(link);
718 }
719
720
721 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
722 const wxString& url,
723 wxString *redirect) const {
724 bool found;
725 wxHtmlOpeningStatus rval;
726 bool blocked = wxPyBeginBlockThreads();
727 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
728 PyObject* ro;
729 PyObject* s = wx2PyString(url);
730 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
731 Py_DECREF(s);
732 if (PyString_Check(ro)
733 #if PYTHON_API_VERSION >= 1009
734 || PyUnicode_Check(ro)
735 #endif
736 ) {
737 *redirect = Py2wxString(ro);
738 rval = wxHTML_REDIRECT;
739 }
740 else {
741 PyObject* num = PyNumber_Int(ro);
742 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
743 Py_DECREF(num);
744 }
745 Py_DECREF(ro);
746 }
747 wxPyEndBlockThreads(blocked);
748 if (! found)
749 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
750 return rval;
751 }
752
753
754
755 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
756 int* temp = NULL;
757 if (sizes) temp = int_LIST_helper(sizes);
758 self->SetFonts(normal_face, fixed_face, temp);
759 if (temp)
760 delete [] temp;
761 }
762 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
763 int* temp = NULL;
764 if (sizes) temp = int_LIST_helper(sizes);
765 self->SetFonts(normal_face, fixed_face, temp);
766 if (temp)
767 delete [] temp;
768 }
769 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
770 int* temp = NULL;
771 if (sizes) temp = int_LIST_helper(sizes);
772 self->SetFonts(normal_face, fixed_face, temp);
773 if (temp)
774 delete [] temp;
775 }
776
777 #include <float.h>
778
779 SWIGSTATIC(float)
780 SWIG_FloatCast(double value)
781 {
782 float f = 0;
783 if (!PyErr_Occurred()) {
784 if (value < FLT_MIN) {
785 PyObject *err =
786 PyString_FromFormat("value %g is less than float minimum %g",
787 value, FLT_MIN);
788 PyErr_SetObject(PyExc_OverflowError, err);
789 Py_DECREF(err);
790 } else if (value > FLT_MAX) {
791 PyObject *err =
792 PyString_FromFormat("value %g is greater than float maximum %g",
793 value, FLT_MAX);
794 PyErr_SetObject(PyExc_OverflowError, err);
795 Py_DECREF(err);
796 } else {
797 f = swig_numeric_cast(float, value);
798 }
799 }
800 return f;
801 }
802
803
804 SWIGSTATICINLINE(double)
805 SWIG_AsDouble(PyObject *obj)
806 {
807 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
808 #if HAVE_LONG_LONG
809 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
810 #else
811 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
812 #endif
813 if (PyErr_Occurred()) {
814 PyErr_Clear();
815 PyErr_SetString(PyExc_TypeError, "a double is expected");
816 }
817 return val;
818 }
819
820
821 SWIGSTATICINLINE(float)
822 SWIG_AsFloat(PyObject *obj)
823 {
824 return SWIG_FloatCast(SWIG_AsDouble(obj));
825 }
826
827
828 SWIGSTATICINLINE(int)
829 SWIG_CheckFloat(PyObject* obj)
830 {
831 SWIG_AsFloat(obj);
832 if (PyErr_Occurred()) {
833 PyErr_Clear();
834 return 0;
835 } else {
836 return 1;
837 }
838 }
839
840 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
841 int* temp = NULL;
842 if (sizes) temp = int_LIST_helper(sizes);
843 self->SetFonts(normal_face, fixed_face, temp);
844 if (temp)
845 delete [] temp;
846 }
847 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
848 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
849 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
850 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
851 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
852 #ifdef __cplusplus
853 extern "C" {
854 #endif
855 static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
856 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
857 return 1;
858 }
859
860
861 static PyObject *_wrap_HtmlWindowNameStr_get() {
862 PyObject *pyobj;
863
864 {
865 #if wxUSE_UNICODE
866 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
867 #else
868 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
869 #endif
870 }
871 return pyobj;
872 }
873
874
875 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
876 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
877 return 1;
878 }
879
880
881 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
882 PyObject *pyobj;
883
884 {
885 #if wxUSE_UNICODE
886 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
887 #else
888 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
889 #endif
890 }
891 return pyobj;
892 }
893
894
895 static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
896 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
897 return 1;
898 }
899
900
901 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
902 PyObject *pyobj;
903
904 {
905 #if wxUSE_UNICODE
906 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
907 #else
908 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
909 #endif
910 }
911 return pyobj;
912 }
913
914
915 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
916 PyObject *resultobj;
917 wxString *arg1 = 0 ;
918 wxString const &arg2_defvalue = wxPyEmptyString ;
919 wxString *arg2 = (wxString *) &arg2_defvalue ;
920 wxHtmlLinkInfo *result;
921 bool temp1 = False ;
922 bool temp2 = False ;
923 PyObject * obj0 = 0 ;
924 PyObject * obj1 = 0 ;
925 char *kwnames[] = {
926 (char *) "href",(char *) "target", NULL
927 };
928
929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
930 {
931 arg1 = wxString_in_helper(obj0);
932 if (arg1 == NULL) SWIG_fail;
933 temp1 = True;
934 }
935 if (obj1) {
936 {
937 arg2 = wxString_in_helper(obj1);
938 if (arg2 == NULL) SWIG_fail;
939 temp2 = True;
940 }
941 }
942 {
943 PyThreadState* __tstate = wxPyBeginAllowThreads();
944 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
945
946 wxPyEndAllowThreads(__tstate);
947 if (PyErr_Occurred()) SWIG_fail;
948 }
949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
950 {
951 if (temp1)
952 delete arg1;
953 }
954 {
955 if (temp2)
956 delete arg2;
957 }
958 return resultobj;
959 fail:
960 {
961 if (temp1)
962 delete arg1;
963 }
964 {
965 if (temp2)
966 delete arg2;
967 }
968 return NULL;
969 }
970
971
972 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject *resultobj;
974 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
975 wxString result;
976 PyObject * obj0 = 0 ;
977 char *kwnames[] = {
978 (char *) "self", NULL
979 };
980
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
984 {
985 PyThreadState* __tstate = wxPyBeginAllowThreads();
986 result = (arg1)->GetHref();
987
988 wxPyEndAllowThreads(__tstate);
989 if (PyErr_Occurred()) SWIG_fail;
990 }
991 {
992 #if wxUSE_UNICODE
993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
994 #else
995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
996 #endif
997 }
998 return resultobj;
999 fail:
1000 return NULL;
1001 }
1002
1003
1004 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
1005 PyObject *resultobj;
1006 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1007 wxString result;
1008 PyObject * obj0 = 0 ;
1009 char *kwnames[] = {
1010 (char *) "self", NULL
1011 };
1012
1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
1014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1016 {
1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
1018 result = (arg1)->GetTarget();
1019
1020 wxPyEndAllowThreads(__tstate);
1021 if (PyErr_Occurred()) SWIG_fail;
1022 }
1023 {
1024 #if wxUSE_UNICODE
1025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1026 #else
1027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1028 #endif
1029 }
1030 return resultobj;
1031 fail:
1032 return NULL;
1033 }
1034
1035
1036 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1039 wxMouseEvent *result;
1040 PyObject * obj0 = 0 ;
1041 char *kwnames[] = {
1042 (char *) "self", NULL
1043 };
1044
1045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
1046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1048 {
1049 PyThreadState* __tstate = wxPyBeginAllowThreads();
1050 result = (wxMouseEvent *)(arg1)->GetEvent();
1051
1052 wxPyEndAllowThreads(__tstate);
1053 if (PyErr_Occurred()) SWIG_fail;
1054 }
1055 {
1056 resultobj = wxPyMake_wxObject(result);
1057 }
1058 return resultobj;
1059 fail:
1060 return NULL;
1061 }
1062
1063
1064 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1065 PyObject *resultobj;
1066 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1067 wxHtmlCell *result;
1068 PyObject * obj0 = 0 ;
1069 char *kwnames[] = {
1070 (char *) "self", NULL
1071 };
1072
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
1074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1076 {
1077 PyThreadState* __tstate = wxPyBeginAllowThreads();
1078 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1079
1080 wxPyEndAllowThreads(__tstate);
1081 if (PyErr_Occurred()) SWIG_fail;
1082 }
1083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
1084 return resultobj;
1085 fail:
1086 return NULL;
1087 }
1088
1089
1090 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject *resultobj;
1092 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1093 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1094 PyObject * obj0 = 0 ;
1095 PyObject * obj1 = 0 ;
1096 char *kwnames[] = {
1097 (char *) "self",(char *) "e", NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
1101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1105 {
1106 PyThreadState* __tstate = wxPyBeginAllowThreads();
1107 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1108
1109 wxPyEndAllowThreads(__tstate);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 Py_INCREF(Py_None); resultobj = Py_None;
1113 return resultobj;
1114 fail:
1115 return NULL;
1116 }
1117
1118
1119 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1120 PyObject *resultobj;
1121 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1122 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1123 PyObject * obj0 = 0 ;
1124 PyObject * obj1 = 0 ;
1125 char *kwnames[] = {
1126 (char *) "self",(char *) "e", NULL
1127 };
1128
1129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
1130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 Py_INCREF(Py_None); resultobj = Py_None;
1142 return resultobj;
1143 fail:
1144 return NULL;
1145 }
1146
1147
1148 static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
1149 PyObject *obj;
1150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1151 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1152 Py_INCREF(obj);
1153 return Py_BuildValue((char *)"");
1154 }
1155 static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1156 PyObject *resultobj;
1157 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1158 wxString result;
1159 PyObject * obj0 = 0 ;
1160 char *kwnames[] = {
1161 (char *) "self", NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = (arg1)->GetName();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175 #if wxUSE_UNICODE
1176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1177 #else
1178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1179 #endif
1180 }
1181 return resultobj;
1182 fail:
1183 return NULL;
1184 }
1185
1186
1187 static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1190 wxString *arg2 = 0 ;
1191 bool result;
1192 bool temp2 = False ;
1193 PyObject * obj0 = 0 ;
1194 PyObject * obj1 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "self",(char *) "par", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1202 {
1203 arg2 = wxString_in_helper(obj1);
1204 if (arg2 == NULL) SWIG_fail;
1205 temp2 = True;
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 {
1215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1216 }
1217 {
1218 if (temp2)
1219 delete arg2;
1220 }
1221 return resultobj;
1222 fail:
1223 {
1224 if (temp2)
1225 delete arg2;
1226 }
1227 return NULL;
1228 }
1229
1230
1231 static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject *resultobj;
1233 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1234 wxString *arg2 = 0 ;
1235 int arg3 = (int) False ;
1236 wxString result;
1237 bool temp2 = False ;
1238 PyObject * obj0 = 0 ;
1239 PyObject * obj1 = 0 ;
1240 PyObject * obj2 = 0 ;
1241 char *kwnames[] = {
1242 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1243 };
1244
1245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1248 {
1249 arg2 = wxString_in_helper(obj1);
1250 if (arg2 == NULL) SWIG_fail;
1251 temp2 = True;
1252 }
1253 if (obj2) {
1254 arg3 = (int) SWIG_AsInt(obj2);
1255 if (PyErr_Occurred()) SWIG_fail;
1256 }
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 #if wxUSE_UNICODE
1266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1267 #else
1268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1269 #endif
1270 }
1271 {
1272 if (temp2)
1273 delete arg2;
1274 }
1275 return resultobj;
1276 fail:
1277 {
1278 if (temp2)
1279 delete arg2;
1280 }
1281 return NULL;
1282 }
1283
1284
1285 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject *resultobj;
1287 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1288 wxString result;
1289 PyObject * obj0 = 0 ;
1290 char *kwnames[] = {
1291 (char *) "self", NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 result = (arg1)->GetAllParams();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 {
1305 #if wxUSE_UNICODE
1306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1307 #else
1308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1309 #endif
1310 }
1311 return resultobj;
1312 fail:
1313 return NULL;
1314 }
1315
1316
1317 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1320 bool result;
1321 PyObject * obj0 = 0 ;
1322 char *kwnames[] = {
1323 (char *) "self", NULL
1324 };
1325
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1329 {
1330 PyThreadState* __tstate = wxPyBeginAllowThreads();
1331 result = (bool)(arg1)->HasEnding();
1332
1333 wxPyEndAllowThreads(__tstate);
1334 if (PyErr_Occurred()) SWIG_fail;
1335 }
1336 {
1337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1338 }
1339 return resultobj;
1340 fail:
1341 return NULL;
1342 }
1343
1344
1345 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject *resultobj;
1347 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1348 int result;
1349 PyObject * obj0 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (int)(arg1)->GetBeginPos();
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 resultobj = SWIG_FromInt((int)result);
1365 return resultobj;
1366 fail:
1367 return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1374 int result;
1375 PyObject * obj0 = 0 ;
1376 char *kwnames[] = {
1377 (char *) "self", NULL
1378 };
1379
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 result = (int)(arg1)->GetEndPos1();
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 resultobj = SWIG_FromInt((int)result);
1391 return resultobj;
1392 fail:
1393 return NULL;
1394 }
1395
1396
1397 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1400 int result;
1401 PyObject * obj0 = 0 ;
1402 char *kwnames[] = {
1403 (char *) "self", NULL
1404 };
1405
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1409 {
1410 PyThreadState* __tstate = wxPyBeginAllowThreads();
1411 result = (int)(arg1)->GetEndPos2();
1412
1413 wxPyEndAllowThreads(__tstate);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 resultobj = SWIG_FromInt((int)result);
1417 return resultobj;
1418 fail:
1419 return NULL;
1420 }
1421
1422
1423 static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1424 PyObject *obj;
1425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1426 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1427 Py_INCREF(obj);
1428 return Py_BuildValue((char *)"");
1429 }
1430 static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject *resultobj;
1432 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1433 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1434 PyObject * obj0 = 0 ;
1435 PyObject * obj1 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self",(char *) "fs", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 (arg1)->SetFS(arg2);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 Py_INCREF(Py_None); resultobj = Py_None;
1453 return resultobj;
1454 fail:
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1462 wxFileSystem *result;
1463 PyObject * obj0 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 result = (wxFileSystem *)(arg1)->GetFS();
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 {
1479 resultobj = wxPyMake_wxObject(result);
1480 }
1481 return resultobj;
1482 fail:
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1490 wxString *arg2 = 0 ;
1491 wxObject *result;
1492 bool temp2 = False ;
1493 PyObject * obj0 = 0 ;
1494 PyObject * obj1 = 0 ;
1495 char *kwnames[] = {
1496 (char *) "self",(char *) "source", NULL
1497 };
1498
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1502 {
1503 arg2 = wxString_in_helper(obj1);
1504 if (arg2 == NULL) SWIG_fail;
1505 temp2 = True;
1506 }
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
1509 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
1514 {
1515 resultobj = wxPyMake_wxObject(result);
1516 }
1517 {
1518 if (temp2)
1519 delete arg2;
1520 }
1521 return resultobj;
1522 fail:
1523 {
1524 if (temp2)
1525 delete arg2;
1526 }
1527 return NULL;
1528 }
1529
1530
1531 static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1534 wxString *arg2 = 0 ;
1535 bool temp2 = False ;
1536 PyObject * obj0 = 0 ;
1537 PyObject * obj1 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self",(char *) "source", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1545 {
1546 arg2 = wxString_in_helper(obj1);
1547 if (arg2 == NULL) SWIG_fail;
1548 temp2 = True;
1549 }
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->InitParser((wxString const &)*arg2);
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 {
1559 if (temp2)
1560 delete arg2;
1561 }
1562 return resultobj;
1563 fail:
1564 {
1565 if (temp2)
1566 delete arg2;
1567 }
1568 return NULL;
1569 }
1570
1571
1572 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1573 PyObject *resultobj;
1574 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1575 PyObject * obj0 = 0 ;
1576 char *kwnames[] = {
1577 (char *) "self", NULL
1578 };
1579
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 (arg1)->DoneParser();
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 Py_INCREF(Py_None); resultobj = Py_None;
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1600 int arg2 ;
1601 int arg3 ;
1602 PyObject * obj0 = 0 ;
1603 PyObject * obj1 = 0 ;
1604 PyObject * obj2 = 0 ;
1605 char *kwnames[] = {
1606 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1612 arg2 = (int) SWIG_AsInt(obj1);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 arg3 = (int) SWIG_AsInt(obj2);
1615 if (PyErr_Occurred()) SWIG_fail;
1616 {
1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
1618 (arg1)->DoParsing(arg2,arg3);
1619
1620 wxPyEndAllowThreads(__tstate);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
1623 Py_INCREF(Py_None); resultobj = Py_None;
1624 return resultobj;
1625 fail:
1626 return NULL;
1627 }
1628
1629
1630 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1631 PyObject *resultobj;
1632 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1633 PyObject * obj0 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 (arg1)->StopParsing();
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 Py_INCREF(Py_None); resultobj = Py_None;
1649 return resultobj;
1650 fail:
1651 return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1658 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1659 PyObject * obj0 = 0 ;
1660 PyObject * obj1 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self",(char *) "handler", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 (arg1)->AddTagHandler(arg2);
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 Py_INCREF(Py_None); resultobj = Py_None;
1678 return resultobj;
1679 fail:
1680 return NULL;
1681 }
1682
1683
1684 static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
1686 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1687 wxString *result;
1688 PyObject * obj0 = 0 ;
1689 char *kwnames[] = {
1690 (char *) "self", NULL
1691 };
1692
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1696 {
1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
1698 result = (wxString *)(arg1)->GetSource();
1699
1700 wxPyEndAllowThreads(__tstate);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 {
1704 #if wxUSE_UNICODE
1705 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1706 #else
1707 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1708 #endif
1709 }
1710 return resultobj;
1711 fail:
1712 return NULL;
1713 }
1714
1715
1716 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1717 PyObject *resultobj;
1718 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1719 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1720 wxString arg3 ;
1721 PyObject * obj0 = 0 ;
1722 PyObject * obj1 = 0 ;
1723 PyObject * obj2 = 0 ;
1724 char *kwnames[] = {
1725 (char *) "self",(char *) "handler",(char *) "tags", NULL
1726 };
1727
1728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1733 {
1734 wxString* sptr = wxString_in_helper(obj2);
1735 if (sptr == NULL) SWIG_fail;
1736 arg3 = *sptr;
1737 delete sptr;
1738 }
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 (arg1)->PushTagHandler(arg2,arg3);
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 Py_INCREF(Py_None); resultobj = Py_None;
1747 return resultobj;
1748 fail:
1749 return NULL;
1750 }
1751
1752
1753 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1756 PyObject * obj0 = 0 ;
1757 char *kwnames[] = {
1758 (char *) "self", NULL
1759 };
1760
1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1764 {
1765 PyThreadState* __tstate = wxPyBeginAllowThreads();
1766 (arg1)->PopTagHandler();
1767
1768 wxPyEndAllowThreads(__tstate);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 }
1771 Py_INCREF(Py_None); resultobj = Py_None;
1772 return resultobj;
1773 fail:
1774 return NULL;
1775 }
1776
1777
1778 static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1779 PyObject *obj;
1780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1781 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1782 Py_INCREF(obj);
1783 return Py_BuildValue((char *)"");
1784 }
1785 static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1788 wxHtmlWinParser *result;
1789 PyObject * obj0 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "wnd", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1795 if (obj0) {
1796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1798 }
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1816 wxDC *arg2 = (wxDC *) 0 ;
1817 PyObject * obj0 = 0 ;
1818 PyObject * obj1 = 0 ;
1819 char *kwnames[] = {
1820 (char *) "self",(char *) "dc", NULL
1821 };
1822
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 (arg1)->SetDC(arg2);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1845 wxDC *result;
1846 PyObject * obj0 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 result = (wxDC *)(arg1)->GetDC();
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 {
1862 resultobj = wxPyMake_wxObject(result);
1863 }
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1873 int result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = (int)(arg1)->GetCharHeight();
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 resultobj = SWIG_FromInt((int)result);
1890 return resultobj;
1891 fail:
1892 return NULL;
1893 }
1894
1895
1896 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1899 int result;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 result = (int)(arg1)->GetCharWidth();
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 resultobj = SWIG_FromInt((int)result);
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1925 wxPyHtmlWindow *result;
1926 PyObject * obj0 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1934 {
1935 PyThreadState* __tstate = wxPyBeginAllowThreads();
1936 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1937
1938 wxPyEndAllowThreads(__tstate);
1939 if (PyErr_Occurred()) SWIG_fail;
1940 }
1941 {
1942 resultobj = wxPyMake_wxObject(result);
1943 }
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1953 wxString arg2 ;
1954 wxString arg3 ;
1955 PyObject *arg4 = (PyObject *) NULL ;
1956 PyObject * obj0 = 0 ;
1957 PyObject * obj1 = 0 ;
1958 PyObject * obj2 = 0 ;
1959 PyObject * obj3 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1967 {
1968 wxString* sptr = wxString_in_helper(obj1);
1969 if (sptr == NULL) SWIG_fail;
1970 arg2 = *sptr;
1971 delete sptr;
1972 }
1973 {
1974 wxString* sptr = wxString_in_helper(obj2);
1975 if (sptr == NULL) SWIG_fail;
1976 arg3 = *sptr;
1977 delete sptr;
1978 }
1979 if (obj3) {
1980 arg4 = obj3;
1981 }
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1999 wxHtmlContainerCell *result;
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "self", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2008 {
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
2010 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 }
2015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2016 return resultobj;
2017 fail:
2018 return NULL;
2019 }
2020
2021
2022 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2023 PyObject *resultobj;
2024 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2025 wxHtmlContainerCell *result;
2026 PyObject * obj0 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "self", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2034 {
2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
2036 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2037
2038 wxPyEndAllowThreads(__tstate);
2039 if (PyErr_Occurred()) SWIG_fail;
2040 }
2041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2042 return resultobj;
2043 fail:
2044 return NULL;
2045 }
2046
2047
2048 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject *resultobj;
2050 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2051 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2052 wxHtmlContainerCell *result;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj1 = 0 ;
2055 char *kwnames[] = {
2056 (char *) "self",(char *) "c", NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject *resultobj;
2080 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2081 wxHtmlContainerCell *result;
2082 PyObject * obj0 = 0 ;
2083 char *kwnames[] = {
2084 (char *) "self", NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2098 return resultobj;
2099 fail:
2100 return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2107 int result;
2108 PyObject * obj0 = 0 ;
2109 char *kwnames[] = {
2110 (char *) "self", NULL
2111 };
2112
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (int)(arg1)->GetFontSize();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 resultobj = SWIG_FromInt((int)result);
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2133 int arg2 ;
2134 PyObject * obj0 = 0 ;
2135 PyObject * obj1 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self",(char *) "s", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2143 arg2 = (int) SWIG_AsInt(obj1);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 (arg1)->SetFontSize(arg2);
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 return resultobj;
2154 fail:
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2162 int result;
2163 PyObject * obj0 = 0 ;
2164 char *kwnames[] = {
2165 (char *) "self", NULL
2166 };
2167
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (int)(arg1)->GetFontBold();
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 resultobj = SWIG_FromInt((int)result);
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2188 int arg2 ;
2189 PyObject * obj0 = 0 ;
2190 PyObject * obj1 = 0 ;
2191 char *kwnames[] = {
2192 (char *) "self",(char *) "x", NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2198 arg2 = (int) SWIG_AsInt(obj1);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->SetFontBold(arg2);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2217 int result;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = (int)(arg1)->GetFontItalic();
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 resultobj = SWIG_FromInt((int)result);
2234 return resultobj;
2235 fail:
2236 return NULL;
2237 }
2238
2239
2240 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject *resultobj;
2242 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2243 int arg2 ;
2244 PyObject * obj0 = 0 ;
2245 PyObject * obj1 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self",(char *) "x", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2253 arg2 = (int) SWIG_AsInt(obj1);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 (arg1)->SetFontItalic(arg2);
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 Py_INCREF(Py_None); resultobj = Py_None;
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2272 int result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (int)(arg1)->GetFontUnderlined();
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 resultobj = SWIG_FromInt((int)result);
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject *resultobj;
2297 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2298 int arg2 ;
2299 PyObject * obj0 = 0 ;
2300 PyObject * obj1 = 0 ;
2301 char *kwnames[] = {
2302 (char *) "self",(char *) "x", NULL
2303 };
2304
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2308 arg2 = (int) SWIG_AsInt(obj1);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 (arg1)->SetFontUnderlined(arg2);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 Py_INCREF(Py_None); resultobj = Py_None;
2318 return resultobj;
2319 fail:
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2327 int result;
2328 PyObject * obj0 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 result = (int)(arg1)->GetFontFixed();
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 resultobj = SWIG_FromInt((int)result);
2344 return resultobj;
2345 fail:
2346 return NULL;
2347 }
2348
2349
2350 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2351 PyObject *resultobj;
2352 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2353 int arg2 ;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "x", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2363 arg2 = (int) SWIG_AsInt(obj1);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 (arg1)->SetFontFixed(arg2);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 Py_INCREF(Py_None); resultobj = Py_None;
2373 return resultobj;
2374 fail:
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2382 int result;
2383 PyObject * obj0 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 {
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 result = (int)(arg1)->GetAlign();
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 resultobj = SWIG_FromInt((int)result);
2399 return resultobj;
2400 fail:
2401 return NULL;
2402 }
2403
2404
2405 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject *resultobj;
2407 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2408 int arg2 ;
2409 PyObject * obj0 = 0 ;
2410 PyObject * obj1 = 0 ;
2411 char *kwnames[] = {
2412 (char *) "self",(char *) "a", NULL
2413 };
2414
2415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2418 arg2 = (int) SWIG_AsInt(obj1);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 (arg1)->SetAlign(arg2);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 Py_INCREF(Py_None); resultobj = Py_None;
2428 return resultobj;
2429 fail:
2430 return NULL;
2431 }
2432
2433
2434 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2437 wxColour result;
2438 PyObject * obj0 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self", NULL
2441 };
2442
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 result = (arg1)->GetLinkColor();
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
2453 {
2454 wxColour * resultptr;
2455 resultptr = new wxColour((wxColour &) result);
2456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2457 }
2458 return resultobj;
2459 fail:
2460 return NULL;
2461 }
2462
2463
2464 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject *resultobj;
2466 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2467 wxColour *arg2 = 0 ;
2468 wxColour temp2 ;
2469 PyObject * obj0 = 0 ;
2470 PyObject * obj1 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self",(char *) "clr", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2478 {
2479 arg2 = &temp2;
2480 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2481 }
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 (arg1)->SetLinkColor((wxColour const &)*arg2);
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
2489 Py_INCREF(Py_None); resultobj = Py_None;
2490 return resultobj;
2491 fail:
2492 return NULL;
2493 }
2494
2495
2496 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2497 PyObject *resultobj;
2498 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2499 wxColour result;
2500 PyObject * obj0 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 result = (arg1)->GetActualColor();
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 {
2516 wxColour * resultptr;
2517 resultptr = new wxColour((wxColour &) result);
2518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2519 }
2520 return resultobj;
2521 fail:
2522 return NULL;
2523 }
2524
2525
2526 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2529 wxColour *arg2 = 0 ;
2530 wxColour temp2 ;
2531 PyObject * obj0 = 0 ;
2532 PyObject * obj1 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self",(char *) "clr", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2540 {
2541 arg2 = &temp2;
2542 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2543 }
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 (arg1)->SetActualColor((wxColour const &)*arg2);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 Py_INCREF(Py_None); resultobj = Py_None;
2552 return resultobj;
2553 fail:
2554 return NULL;
2555 }
2556
2557
2558 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2561 wxString *arg2 = 0 ;
2562 bool temp2 = False ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "link", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2572 {
2573 arg2 = wxString_in_helper(obj1);
2574 if (arg2 == NULL) SWIG_fail;
2575 temp2 = True;
2576 }
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 (arg1)->SetLink((wxString const &)*arg2);
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 Py_INCREF(Py_None); resultobj = Py_None;
2585 {
2586 if (temp2)
2587 delete arg2;
2588 }
2589 return resultobj;
2590 fail:
2591 {
2592 if (temp2)
2593 delete arg2;
2594 }
2595 return NULL;
2596 }
2597
2598
2599 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2600 PyObject *resultobj;
2601 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2602 wxFont *result;
2603 PyObject * obj0 = 0 ;
2604 char *kwnames[] = {
2605 (char *) "self", NULL
2606 };
2607
2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 result = (wxFont *)(arg1)->CreateCurrentFont();
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
2619 return resultobj;
2620 fail:
2621 return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject *resultobj;
2627 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2628 SwigValueWrapper< wxHtmlLinkInfo > result;
2629 PyObject * obj0 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2637 {
2638 PyThreadState* __tstate = wxPyBeginAllowThreads();
2639 result = (arg1)->GetLink();
2640
2641 wxPyEndAllowThreads(__tstate);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 }
2644 {
2645 wxHtmlLinkInfo * resultptr;
2646 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2648 }
2649 return resultobj;
2650 fail:
2651 return NULL;
2652 }
2653
2654
2655 static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2656 PyObject *obj;
2657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2658 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2659 Py_INCREF(obj);
2660 return Py_BuildValue((char *)"");
2661 }
2662 static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxPyHtmlTagHandler *result;
2665 char *kwnames[] = {
2666 NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2670 {
2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
2672 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2673
2674 wxPyEndAllowThreads(__tstate);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2678 return resultobj;
2679 fail:
2680 return NULL;
2681 }
2682
2683
2684 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2685 PyObject *resultobj;
2686 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2687 PyObject *arg2 = (PyObject *) 0 ;
2688 PyObject *arg3 = (PyObject *) 0 ;
2689 PyObject * obj0 = 0 ;
2690 PyObject * obj1 = 0 ;
2691 PyObject * obj2 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self",(char *) "self",(char *) "_class", NULL
2694 };
2695
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2699 arg2 = obj1;
2700 arg3 = obj2;
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 (arg1)->_setCallbackInfo(arg2,arg3);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 return resultobj;
2710 fail:
2711 return NULL;
2712 }
2713
2714
2715 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2718 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2719 PyObject * obj0 = 0 ;
2720 PyObject * obj1 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self",(char *) "parser", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 (arg1)->SetParser(arg2);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 Py_INCREF(Py_None); resultobj = Py_None;
2738 return resultobj;
2739 fail:
2740 return NULL;
2741 }
2742
2743
2744 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2745 PyObject *resultobj;
2746 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2747 wxHtmlParser *result;
2748 PyObject * obj0 = 0 ;
2749 char *kwnames[] = {
2750 (char *) "self", NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2756 {
2757 PyThreadState* __tstate = wxPyBeginAllowThreads();
2758 result = (wxHtmlParser *)(arg1)->GetParser();
2759
2760 wxPyEndAllowThreads(__tstate);
2761 if (PyErr_Occurred()) SWIG_fail;
2762 }
2763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
2764 return resultobj;
2765 fail:
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj;
2772 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2773 wxHtmlTag *arg2 = 0 ;
2774 PyObject * obj0 = 0 ;
2775 PyObject * obj1 = 0 ;
2776 char *kwnames[] = {
2777 (char *) "self",(char *) "tag", NULL
2778 };
2779
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2784 SWIG_POINTER_EXCEPTION | 0)) == -1)
2785 SWIG_fail;
2786 if (arg2 == NULL) {
2787 PyErr_SetString(PyExc_TypeError,"null reference");
2788 SWIG_fail;
2789 }
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
2792 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 }
2797 Py_INCREF(Py_None); resultobj = Py_None;
2798 return resultobj;
2799 fail:
2800 return NULL;
2801 }
2802
2803
2804 static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2805 PyObject *obj;
2806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2807 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2808 Py_INCREF(obj);
2809 return Py_BuildValue((char *)"");
2810 }
2811 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxPyHtmlWinTagHandler *result;
2814 char *kwnames[] = {
2815 NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2827 return resultobj;
2828 fail:
2829 return NULL;
2830 }
2831
2832
2833 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2836 PyObject *arg2 = (PyObject *) 0 ;
2837 PyObject *arg3 = (PyObject *) 0 ;
2838 PyObject * obj0 = 0 ;
2839 PyObject * obj1 = 0 ;
2840 PyObject * obj2 = 0 ;
2841 char *kwnames[] = {
2842 (char *) "self",(char *) "self",(char *) "_class", NULL
2843 };
2844
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2848 arg2 = obj1;
2849 arg3 = obj2;
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 (arg1)->_setCallbackInfo(arg2,arg3);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 Py_INCREF(Py_None); resultobj = Py_None;
2858 return resultobj;
2859 fail:
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2867 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2868 PyObject * obj0 = 0 ;
2869 PyObject * obj1 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self",(char *) "parser", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 (arg1)->SetParser(arg2);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 Py_INCREF(Py_None); resultobj = Py_None;
2887 return resultobj;
2888 fail:
2889 return NULL;
2890 }
2891
2892
2893 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject *resultobj;
2895 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2896 wxHtmlWinParser *result;
2897 PyObject * obj0 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "self", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 result = (wxHtmlWinParser *)(arg1)->GetParser();
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
2913 return resultobj;
2914 fail:
2915 return NULL;
2916 }
2917
2918
2919 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2922 wxHtmlTag *arg2 = 0 ;
2923 PyObject * obj0 = 0 ;
2924 PyObject * obj1 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "self",(char *) "tag", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2933 SWIG_POINTER_EXCEPTION | 0)) == -1)
2934 SWIG_fail;
2935 if (arg2 == NULL) {
2936 PyErr_SetString(PyExc_TypeError,"null reference");
2937 SWIG_fail;
2938 }
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 Py_INCREF(Py_None); resultobj = Py_None;
2947 return resultobj;
2948 fail:
2949 return NULL;
2950 }
2951
2952
2953 static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2954 PyObject *obj;
2955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2956 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2957 Py_INCREF(obj);
2958 return Py_BuildValue((char *)"");
2959 }
2960 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj;
2962 PyObject *arg1 = (PyObject *) 0 ;
2963 PyObject * obj0 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "tagHandlerClass", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2969 arg1 = obj0;
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 wxHtmlWinParser_AddTagHandler(arg1);
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxHtmlSelection *result;
2987 char *kwnames[] = {
2988 NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 result = (wxHtmlSelection *)new wxHtmlSelection();
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
3000 return resultobj;
3001 fail:
3002 return NULL;
3003 }
3004
3005
3006 static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3009 PyObject * obj0 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 delete arg1;
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 Py_INCREF(Py_None); resultobj = Py_None;
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3034 wxPoint *arg2 = 0 ;
3035 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3036 wxPoint *arg4 = 0 ;
3037 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3038 wxPoint temp2 ;
3039 wxPoint temp4 ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 PyObject * obj2 = 0 ;
3043 PyObject * obj3 = 0 ;
3044 PyObject * obj4 = 0 ;
3045 char *kwnames[] = {
3046 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3052 {
3053 arg2 = &temp2;
3054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3055 }
3056 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3058 {
3059 arg4 = &temp4;
3060 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3061 }
3062 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 Py_INCREF(Py_None); resultobj = Py_None;
3072 return resultobj;
3073 fail:
3074 return NULL;
3075 }
3076
3077
3078 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj;
3080 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3081 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3082 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3083 PyObject * obj0 = 0 ;
3084 PyObject * obj1 = 0 ;
3085 PyObject * obj2 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3095 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 Py_INCREF(Py_None); resultobj = Py_None;
3105 return resultobj;
3106 fail:
3107 return NULL;
3108 }
3109
3110
3111 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject *resultobj;
3113 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3114 wxHtmlCell *result;
3115 PyObject * obj0 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
3121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3131 return resultobj;
3132 fail:
3133 return NULL;
3134 }
3135
3136
3137 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3140 wxHtmlCell *result;
3141 PyObject * obj0 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3157 return resultobj;
3158 fail:
3159 return NULL;
3160 }
3161
3162
3163 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3166 wxPoint *result;
3167 PyObject * obj0 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
3173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 {
3178 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3179 result = (wxPoint *) &_result_ref;
3180 }
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3186 return resultobj;
3187 fail:
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj;
3194 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3195 wxPoint *result;
3196 PyObject * obj0 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
3202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 {
3207 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3208 result = (wxPoint *) &_result_ref;
3209 }
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3224 wxPoint *result;
3225 PyObject * obj0 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 {
3236 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3237 result = (wxPoint *) &_result_ref;
3238 }
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3253 wxPoint *result;
3254 PyObject * obj0 = 0 ;
3255 char *kwnames[] = {
3256 (char *) "self", NULL
3257 };
3258
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 {
3265 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3266 result = (wxPoint *) &_result_ref;
3267 }
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3282 wxPoint *arg2 = 0 ;
3283 wxPoint temp2 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "pos", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 {
3294 arg2 = &temp2;
3295 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3296 }
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308 }
3309
3310
3311 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3314 wxPoint *arg2 = 0 ;
3315 wxPoint temp2 ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "pos", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 {
3326 arg2 = &temp2;
3327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3346 PyObject * obj0 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->ClearPrivPos();
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3371 bool result;
3372 PyObject * obj0 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 {
3388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3389 }
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3397 PyObject *obj;
3398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3400 Py_INCREF(obj);
3401 return Py_BuildValue((char *)"");
3402 }
3403 static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject *resultobj;
3405 wxHtmlRenderingState *result;
3406 char *kwnames[] = {
3407 NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3428 PyObject * obj0 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 delete arg1;
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3453 int arg2 ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self",(char *) "s", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3463 arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 Py_INCREF(Py_None); resultobj = Py_None;
3473 return resultobj;
3474 fail:
3475 return NULL;
3476 }
3477
3478
3479 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3480 PyObject *resultobj;
3481 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3482 int result;
3483 PyObject * obj0 = 0 ;
3484 char *kwnames[] = {
3485 (char *) "self", NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 resultobj = SWIG_FromInt((int)result);
3499 return resultobj;
3500 fail:
3501 return NULL;
3502 }
3503
3504
3505 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject *resultobj;
3507 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3508 wxColour *arg2 = 0 ;
3509 wxColour temp2 ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self",(char *) "c", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3519 {
3520 arg2 = &temp2;
3521 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3522 }
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 (arg1)->SetFgColour((wxColour const &)*arg2);
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 Py_INCREF(Py_None); resultobj = Py_None;
3531 return resultobj;
3532 fail:
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3540 wxColour *result;
3541 PyObject * obj0 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "self", NULL
3544 };
3545
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 {
3552 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3553 result = (wxColour *) &_result_ref;
3554 }
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
3559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3560 return resultobj;
3561 fail:
3562 return NULL;
3563 }
3564
3565
3566 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3569 wxColour *arg2 = 0 ;
3570 wxColour temp2 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "c", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 {
3581 arg2 = &temp2;
3582 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 (arg1)->SetBgColour((wxColour const &)*arg2);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3601 wxColour *result;
3602 PyObject * obj0 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 {
3613 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3614 result = (wxColour *) &_result_ref;
3615 }
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3628 PyObject *obj;
3629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3630 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3631 Py_INCREF(obj);
3632 return Py_BuildValue((char *)"");
3633 }
3634 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject *resultobj;
3636 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3637 wxColour *arg2 = 0 ;
3638 wxColour result;
3639 wxColour temp2 ;
3640 PyObject * obj0 = 0 ;
3641 PyObject * obj1 = 0 ;
3642 char *kwnames[] = {
3643 (char *) "self",(char *) "clr", NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3649 {
3650 arg2 = &temp2;
3651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661 wxColour * resultptr;
3662 resultptr = new wxColour((wxColour &) result);
3663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3664 }
3665 return resultobj;
3666 fail:
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3674 wxColour *arg2 = 0 ;
3675 wxColour result;
3676 wxColour temp2 ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "clr", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3686 {
3687 arg2 = &temp2;
3688 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3689 }
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 {
3698 wxColour * resultptr;
3699 resultptr = new wxColour((wxColour &) result);
3700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3701 }
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3709 PyObject *obj;
3710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3711 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3712 Py_INCREF(obj);
3713 return Py_BuildValue((char *)"");
3714 }
3715 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3718 wxColour *arg2 = 0 ;
3719 wxColour result;
3720 wxColour temp2 ;
3721 PyObject * obj0 = 0 ;
3722 PyObject * obj1 = 0 ;
3723 char *kwnames[] = {
3724 (char *) "self",(char *) "clr", NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3730 {
3731 arg2 = &temp2;
3732 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3733 }
3734 {
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3737
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 {
3742 wxColour * resultptr;
3743 resultptr = new wxColour((wxColour &) result);
3744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3745 }
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3755 wxColour *arg2 = 0 ;
3756 wxColour result;
3757 wxColour temp2 ;
3758 PyObject * obj0 = 0 ;
3759 PyObject * obj1 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "self",(char *) "clr", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3767 {
3768 arg2 = &temp2;
3769 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3770 }
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
3773 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 {
3779 wxColour * resultptr;
3780 resultptr = new wxColour((wxColour &) result);
3781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3782 }
3783 return resultobj;
3784 fail:
3785 return NULL;
3786 }
3787
3788
3789 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3790 PyObject *obj;
3791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3792 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3793 Py_INCREF(obj);
3794 return Py_BuildValue((char *)"");
3795 }
3796 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxHtmlRenderingInfo *result;
3799 char *kwnames[] = {
3800 NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3812 return resultobj;
3813 fail:
3814 return NULL;
3815 }
3816
3817
3818 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject *resultobj;
3820 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3821 PyObject * obj0 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 delete arg1;
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 Py_INCREF(Py_None); resultobj = Py_None;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3846 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3847 PyObject * obj0 = 0 ;
3848 PyObject * obj1 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self",(char *) "s", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
3857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 (arg1)->SetSelection(arg2);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 Py_INCREF(Py_None); resultobj = Py_None;
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3873 PyObject *resultobj;
3874 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3875 wxHtmlSelection *result;
3876 PyObject * obj0 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3887
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
3892 return resultobj;
3893 fail:
3894 return NULL;
3895 }
3896
3897
3898 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3899 PyObject *resultobj;
3900 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3901 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3902 PyObject * obj0 = 0 ;
3903 PyObject * obj1 = 0 ;
3904 char *kwnames[] = {
3905 (char *) "self",(char *) "style", NULL
3906 };
3907
3908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
3912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 (arg1)->SetStyle(arg2);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 Py_INCREF(Py_None); resultobj = Py_None;
3921 return resultobj;
3922 fail:
3923 return NULL;
3924 }
3925
3926
3927 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3930 wxHtmlRenderingStyle *result;
3931 PyObject * obj0 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 {
3942 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3943 result = (wxHtmlRenderingStyle *) &_result_ref;
3944 }
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3959 wxHtmlRenderingState *result;
3960 PyObject * obj0 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 {
3971 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3972 result = (wxHtmlRenderingState *) &_result_ref;
3973 }
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3986 PyObject *obj;
3987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3988 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3989 Py_INCREF(obj);
3990 return Py_BuildValue((char *)"");
3991 }
3992 static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxHtmlCell *result;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxHtmlCell *)new wxHtmlCell();
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4017 int result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (int)(arg1)->GetPosX();
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 resultobj = SWIG_FromInt((int)result);
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4043 int result;
4044 PyObject * obj0 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 result = (int)(arg1)->GetPosY();
4055
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 resultobj = SWIG_FromInt((int)result);
4060 return resultobj;
4061 fail:
4062 return NULL;
4063 }
4064
4065
4066 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4069 int result;
4070 PyObject * obj0 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 result = (int)(arg1)->GetWidth();
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 resultobj = SWIG_FromInt((int)result);
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4095 int result;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (int)(arg1)->GetHeight();
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_FromInt((int)result);
4112 return resultobj;
4113 fail:
4114 return NULL;
4115 }
4116
4117
4118 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4121 int result;
4122 PyObject * obj0 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (int)(arg1)->GetDescent();
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_FromInt((int)result);
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj;
4146 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4147 int result;
4148 PyObject * obj0 = 0 ;
4149 char *kwnames[] = {
4150 (char *) "self", NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
4154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 resultobj = SWIG_FromInt((int)result);
4164 return resultobj;
4165 fail:
4166 return NULL;
4167 }
4168
4169
4170 static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4173 wxString *result;
4174 PyObject * obj0 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 {
4185 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4186 result = (wxString *) &_result_ref;
4187 }
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 {
4193 #if wxUSE_UNICODE
4194 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4195 #else
4196 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4197 #endif
4198 }
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4208 wxString *arg2 = 0 ;
4209 bool temp2 = False ;
4210 PyObject * obj0 = 0 ;
4211 PyObject * obj1 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self",(char *) "id", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4219 {
4220 arg2 = wxString_in_helper(obj1);
4221 if (arg2 == NULL) SWIG_fail;
4222 temp2 = True;
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 (arg1)->SetId((wxString const &)*arg2);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 Py_INCREF(Py_None); resultobj = Py_None;
4232 {
4233 if (temp2)
4234 delete arg2;
4235 }
4236 return resultobj;
4237 fail:
4238 {
4239 if (temp2)
4240 delete arg2;
4241 }
4242 return NULL;
4243 }
4244
4245
4246 static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4249 int arg2 = (int) 0 ;
4250 int arg3 = (int) 0 ;
4251 wxHtmlLinkInfo *result;
4252 PyObject * obj0 = 0 ;
4253 PyObject * obj1 = 0 ;
4254 PyObject * obj2 = 0 ;
4255 char *kwnames[] = {
4256 (char *) "self",(char *) "x",(char *) "y", NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
4260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4262 if (obj1) {
4263 arg2 = (int) SWIG_AsInt(obj1);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 if (obj2) {
4267 arg3 = (int) SWIG_AsInt(obj2);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
4278 return resultobj;
4279 fail:
4280 return NULL;
4281 }
4282
4283
4284 static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj;
4286 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4287 wxHtmlCell *result;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (wxHtmlCell *)(arg1)->GetNext();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4313 wxHtmlContainerCell *result;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
4330 return resultobj;
4331 fail:
4332 return NULL;
4333 }
4334
4335
4336 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj;
4338 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4339 wxHtmlCell *result;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4365 wxCursor result;
4366 PyObject * obj0 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = ((wxHtmlCell const *)arg1)->GetCursor();
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 {
4382 wxCursor * resultptr;
4383 resultptr = new wxCursor((wxCursor &) result);
4384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4385 }
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj;
4394 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4395 bool result;
4396 PyObject * obj0 = 0 ;
4397 char *kwnames[] = {
4398 (char *) "self", NULL
4399 };
4400
4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 {
4412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4413 }
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj;
4422 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4423 wxHtmlLinkInfo *arg2 = 0 ;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "link", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",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_wxHtmlLinkInfo,
4434 SWIG_POINTER_EXCEPTION | 0)) == -1)
4435 SWIG_fail;
4436 if (arg2 == NULL) {
4437 PyErr_SetString(PyExc_TypeError,"null reference");
4438 SWIG_fail;
4439 }
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 Py_INCREF(Py_None); resultobj = Py_None;
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj;
4456 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4457 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self",(char *) "cell", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 (arg1)->SetNext(arg2);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 Py_INCREF(Py_None); resultobj = Py_None;
4477 return resultobj;
4478 fail:
4479 return NULL;
4480 }
4481
4482
4483 static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4486 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "self",(char *) "p", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 (arg1)->SetParent(arg2);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 Py_INCREF(Py_None); resultobj = Py_None;
4506 return resultobj;
4507 fail:
4508 return NULL;
4509 }
4510
4511
4512 static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4513 PyObject *resultobj;
4514 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4515 int arg2 ;
4516 int arg3 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 char *kwnames[] = {
4521 (char *) "self",(char *) "x",(char *) "y", NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4527 arg2 = (int) SWIG_AsInt(obj1);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 arg3 = (int) SWIG_AsInt(obj2);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 (arg1)->SetPos(arg2,arg3);
4534
4535 wxPyEndAllowThreads(__tstate);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 Py_INCREF(Py_None); resultobj = Py_None;
4539 return resultobj;
4540 fail:
4541 return NULL;
4542 }
4543
4544
4545 static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4546 PyObject *resultobj;
4547 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4548 int arg2 ;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self",(char *) "w", NULL
4553 };
4554
4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4558 arg2 = (int) SWIG_AsInt(obj1);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 (arg1)->Layout(arg2);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 Py_INCREF(Py_None); resultobj = Py_None;
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4577 wxDC *arg2 = 0 ;
4578 int arg3 ;
4579 int arg4 ;
4580 int arg5 ;
4581 int arg6 ;
4582 wxHtmlRenderingInfo *arg7 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 PyObject * obj2 = 0 ;
4586 PyObject * obj3 = 0 ;
4587 PyObject * obj4 = 0 ;
4588 PyObject * obj5 = 0 ;
4589 PyObject * obj6 = 0 ;
4590 char *kwnames[] = {
4591 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4592 };
4593
4594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4598 SWIG_POINTER_EXCEPTION | 0)) == -1)
4599 SWIG_fail;
4600 if (arg2 == NULL) {
4601 PyErr_SetString(PyExc_TypeError,"null reference");
4602 SWIG_fail;
4603 }
4604 arg3 = (int) SWIG_AsInt(obj2);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 arg4 = (int) SWIG_AsInt(obj3);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 arg5 = (int) SWIG_AsInt(obj4);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 arg6 = (int) SWIG_AsInt(obj5);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4613 SWIG_POINTER_EXCEPTION | 0)) == -1)
4614 SWIG_fail;
4615 if (arg7 == NULL) {
4616 PyErr_SetString(PyExc_TypeError,"null reference");
4617 SWIG_fail;
4618 }
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 Py_INCREF(Py_None); resultobj = Py_None;
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4636 wxDC *arg2 = 0 ;
4637 int arg3 ;
4638 int arg4 ;
4639 wxHtmlRenderingInfo *arg5 = 0 ;
4640 PyObject * obj0 = 0 ;
4641 PyObject * obj1 = 0 ;
4642 PyObject * obj2 = 0 ;
4643 PyObject * obj3 = 0 ;
4644 PyObject * obj4 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4653 SWIG_POINTER_EXCEPTION | 0)) == -1)
4654 SWIG_fail;
4655 if (arg2 == NULL) {
4656 PyErr_SetString(PyExc_TypeError,"null reference");
4657 SWIG_fail;
4658 }
4659 arg3 = (int) SWIG_AsInt(obj2);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 arg4 = (int) SWIG_AsInt(obj3);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4664 SWIG_POINTER_EXCEPTION | 0)) == -1)
4665 SWIG_fail;
4666 if (arg5 == NULL) {
4667 PyErr_SetString(PyExc_TypeError,"null reference");
4668 SWIG_fail;
4669 }
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 Py_INCREF(Py_None); resultobj = Py_None;
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj;
4686 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4687 int arg2 ;
4688 void *arg3 = (void *) 0 ;
4689 wxHtmlCell *result;
4690 PyObject * obj0 = 0 ;
4691 PyObject * obj1 = 0 ;
4692 PyObject * obj2 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "self",(char *) "condition",(char *) "param", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4700 arg2 = (int) SWIG_AsInt(obj1);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4703 {
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4706
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4711 return resultobj;
4712 fail:
4713 return NULL;
4714 }
4715
4716
4717 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4718 PyObject *resultobj;
4719 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4720 int *arg2 = (int *) 0 ;
4721 bool result;
4722 int temp2 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "INOUT", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4732 {
4733 temp2 = PyInt_AsLong(obj1);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 arg2 = &temp2;
4736 }
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (bool)(arg1)->AdjustPagebreak(arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 {
4745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4746 }
4747 {
4748 PyObject *o = PyInt_FromLong((long) (*arg2));
4749 resultobj = t_output_helper(resultobj,o);
4750 }
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4760 bool arg2 ;
4761 PyObject * obj0 = 0 ;
4762 PyObject * obj1 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "can", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4770 arg2 = (bool) SWIG_AsBool(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->SetCanLiveOnPagebreak(arg2);
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4789 bool result;
4790 PyObject * obj0 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 {
4806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4807 }
4808 return resultobj;
4809 fail:
4810 return NULL;
4811 }
4812
4813
4814 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4815 PyObject *resultobj;
4816 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4817 bool result;
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 {
4834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4835 }
4836 return resultobj;
4837 fail:
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4845 int arg2 ;
4846 int arg3 ;
4847 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4848 wxHtmlCell *result;
4849 PyObject * obj0 = 0 ;
4850 PyObject * obj1 = 0 ;
4851 PyObject * obj2 = 0 ;
4852 PyObject * obj3 = 0 ;
4853 char *kwnames[] = {
4854 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4855 };
4856
4857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4860 arg2 = (int) SWIG_AsInt(obj1);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 arg3 = (int) SWIG_AsInt(obj2);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 if (obj3) {
4865 arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 {
4869 PyThreadState* __tstate = wxPyBeginAllowThreads();
4870 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4871
4872 wxPyEndAllowThreads(__tstate);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4876 return resultobj;
4877 fail:
4878 return NULL;
4879 }
4880
4881
4882 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4883 PyObject *resultobj;
4884 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4885 wxPoint result;
4886 PyObject * obj0 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "self", NULL
4889 };
4890
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 {
4902 wxPoint * resultptr;
4903 resultptr = new wxPoint((wxPoint &) result);
4904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4905 }
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4915 wxHtmlCell *result;
4916 PyObject * obj0 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4932 return resultobj;
4933 fail:
4934 return NULL;
4935 }
4936
4937
4938 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4941 wxHtmlCell *result;
4942 PyObject * obj0 = 0 ;
4943 char *kwnames[] = {
4944 (char *) "self", NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4967 unsigned int result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4993 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4994 bool result;
4995 PyObject * obj0 = 0 ;
4996 PyObject * obj1 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "cell", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
5002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5015 }
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5025 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5026 wxString result;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "self",(char *) "sel", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
5034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046 #if wxUSE_UNICODE
5047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5048 #else
5049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5050 #endif
5051 }
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
5059 PyObject *obj;
5060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5061 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5062 Py_INCREF(obj);
5063 return Py_BuildValue((char *)"");
5064 }
5065 static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject *resultobj;
5067 wxString *arg1 = 0 ;
5068 wxDC *arg2 = 0 ;
5069 wxHtmlWordCell *result;
5070 bool temp1 = False ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "word",(char *) "dc", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5078 {
5079 arg1 = wxString_in_helper(obj0);
5080 if (arg1 == NULL) SWIG_fail;
5081 temp1 = True;
5082 }
5083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5084 SWIG_POINTER_EXCEPTION | 0)) == -1)
5085 SWIG_fail;
5086 if (arg2 == NULL) {
5087 PyErr_SetString(PyExc_TypeError,"null reference");
5088 SWIG_fail;
5089 }
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
5098 {
5099 if (temp1)
5100 delete arg1;
5101 }
5102 return resultobj;
5103 fail:
5104 {
5105 if (temp1)
5106 delete arg1;
5107 }
5108 return NULL;
5109 }
5110
5111
5112 static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
5113 PyObject *obj;
5114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5115 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5116 Py_INCREF(obj);
5117 return Py_BuildValue((char *)"");
5118 }
5119 static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj;
5121 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5122 wxHtmlContainerCell *result;
5123 PyObject * obj0 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "parent", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
5129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5134
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
5139 return resultobj;
5140 fail:
5141 return NULL;
5142 }
5143
5144
5145 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj;
5147 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5148 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5149 PyObject * obj0 = 0 ;
5150 PyObject * obj1 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self",(char *) "cell", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
5156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5160 {
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 (arg1)->InsertCell(arg2);
5163
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 Py_INCREF(Py_None); resultobj = Py_None;
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5177 int arg2 ;
5178 PyObject * obj0 = 0 ;
5179 PyObject * obj1 = 0 ;
5180 char *kwnames[] = {
5181 (char *) "self",(char *) "al", NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
5185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5187 arg2 = (int) SWIG_AsInt(obj1);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 (arg1)->SetAlignHor(arg2);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 Py_INCREF(Py_None); resultobj = Py_None;
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5206 int result;
5207 PyObject * obj0 = 0 ;
5208 char *kwnames[] = {
5209 (char *) "self", NULL
5210 };
5211
5212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
5213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 result = (int)(arg1)->GetAlignHor();
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 resultobj = SWIG_FromInt((int)result);
5223 return resultobj;
5224 fail:
5225 return NULL;
5226 }
5227
5228
5229 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj;
5231 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5232 int arg2 ;
5233 PyObject * obj0 = 0 ;
5234 PyObject * obj1 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self",(char *) "al", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
5240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5242 arg2 = (int) SWIG_AsInt(obj1);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 (arg1)->SetAlignVer(arg2);
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 Py_INCREF(Py_None); resultobj = Py_None;
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5261 int result;
5262 PyObject * obj0 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (int)(arg1)->GetAlignVer();
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = SWIG_FromInt((int)result);
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5287 int arg2 ;
5288 int arg3 ;
5289 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5290 PyObject * obj0 = 0 ;
5291 PyObject * obj1 = 0 ;
5292 PyObject * obj2 = 0 ;
5293 PyObject * obj3 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5301 arg2 = (int) SWIG_AsInt(obj1);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 arg3 = (int) SWIG_AsInt(obj2);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 if (obj3) {
5306 arg4 = (int) SWIG_AsInt(obj3);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 (arg1)->SetIndent(arg2,arg3,arg4);
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 Py_INCREF(Py_None); resultobj = Py_None;
5317 return resultobj;
5318 fail:
5319 return NULL;
5320 }
5321
5322
5323 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj;
5325 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5326 int arg2 ;
5327 int result;
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 char *kwnames[] = {
5331 (char *) "self",(char *) "ind", NULL
5332 };
5333
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5337 arg2 = (int) SWIG_AsInt(obj1);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 result = (int)(arg1)->GetIndent(arg2);
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 resultobj = SWIG_FromInt((int)result);
5347 return resultobj;
5348 fail:
5349 return NULL;
5350 }
5351
5352
5353 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5356 int arg2 ;
5357 int result;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "self",(char *) "ind", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5367 arg2 = (int) SWIG_AsInt(obj1);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (int)(arg1)->GetIndentUnits(arg2);
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = SWIG_FromInt((int)result);
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj;
5385 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5386 wxHtmlTag *arg2 = 0 ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "tag", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5397 SWIG_POINTER_EXCEPTION | 0)) == -1)
5398 SWIG_fail;
5399 if (arg2 == NULL) {
5400 PyErr_SetString(PyExc_TypeError,"null reference");
5401 SWIG_fail;
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 Py_INCREF(Py_None); resultobj = Py_None;
5411 return resultobj;
5412 fail:
5413 return NULL;
5414 }
5415
5416
5417 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj;
5419 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5420 int arg2 ;
5421 int arg3 ;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 PyObject * obj2 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self",(char *) "w",(char *) "units", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5432 arg2 = (int) SWIG_AsInt(obj1);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 arg3 = (int) SWIG_AsInt(obj2);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->SetWidthFloat(arg2,arg3);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5453 wxHtmlTag *arg2 = 0 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "tag", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1)
5465 SWIG_fail;
5466 if (arg2 == NULL) {
5467 PyErr_SetString(PyExc_TypeError,"null reference");
5468 SWIG_fail;
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 return resultobj;
5479 fail:
5480 return NULL;
5481 }
5482
5483
5484 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5485 PyObject *resultobj;
5486 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5487 int arg2 ;
5488 int arg3 = (int) wxHTML_ALIGN_TOP ;
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 PyObject * obj2 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self",(char *) "h",(char *) "align", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5499 arg2 = (int) SWIG_AsInt(obj1);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 if (obj2) {
5502 arg3 = (int) SWIG_AsInt(obj2);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->SetMinHeight(arg2,arg3);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5522 wxColour *arg2 = 0 ;
5523 wxColour temp2 ;
5524 PyObject * obj0 = 0 ;
5525 PyObject * obj1 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "clr", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5533 {
5534 arg2 = &temp2;
5535 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5554 wxColour result;
5555 PyObject * obj0 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (arg1)->GetBackgroundColour();
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 {
5571 wxColour * resultptr;
5572 resultptr = new wxColour((wxColour &) result);
5573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5574 }
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5584 wxColour *arg2 = 0 ;
5585 wxColour *arg3 = 0 ;
5586 wxColour temp2 ;
5587 wxColour temp3 ;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 PyObject * obj2 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5598 {
5599 arg2 = &temp2;
5600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5601 }
5602 {
5603 arg3 = &temp3;
5604 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5605 }
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 Py_INCREF(Py_None); resultobj = Py_None;
5614 return resultobj;
5615 fail:
5616 return NULL;
5617 }
5618
5619
5620 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj;
5622 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5623 wxHtmlCell *result;
5624 PyObject * obj0 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5640 return resultobj;
5641 fail:
5642 return NULL;
5643 }
5644
5645
5646 static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5647 PyObject *obj;
5648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5649 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5650 Py_INCREF(obj);
5651 return Py_BuildValue((char *)"");
5652 }
5653 static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxColour arg1 ;
5656 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5657 wxHtmlColourCell *result;
5658 wxColour *argp1 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "clr",(char *) "flags", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5667 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5668 arg1 = *argp1;
5669 if (obj1) {
5670 arg2 = (int) SWIG_AsInt(obj1);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5688 PyObject *obj;
5689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5690 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5691 Py_INCREF(obj);
5692 return Py_BuildValue((char *)"");
5693 }
5694 static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5695 PyObject *resultobj;
5696 wxFont *arg1 = (wxFont *) 0 ;
5697 wxHtmlFontCell *result;
5698 PyObject * obj0 = 0 ;
5699 char *kwnames[] = {
5700 (char *) "font", NULL
5701 };
5702
5703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5721 PyObject *obj;
5722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5723 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5724 Py_INCREF(obj);
5725 return Py_BuildValue((char *)"");
5726 }
5727 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxWindow *arg1 = (wxWindow *) 0 ;
5730 int arg2 = (int) 0 ;
5731 wxHtmlWidgetCell *result;
5732 PyObject * obj0 = 0 ;
5733 PyObject * obj1 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "wnd",(char *) "w", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5741 if (obj1) {
5742 arg2 = (int) SWIG_AsInt(obj1);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5760 PyObject *obj;
5761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5762 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5763 Py_INCREF(obj);
5764 return Py_BuildValue((char *)"");
5765 }
5766 static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxPyHtmlFilter *result;
5769 char *kwnames[] = {
5770 NULL
5771 };
5772
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5777
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
5782 return resultobj;
5783 fail:
5784 return NULL;
5785 }
5786
5787
5788 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj;
5790 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5791 PyObject *arg2 = (PyObject *) 0 ;
5792 PyObject *arg3 = (PyObject *) 0 ;
5793 PyObject * obj0 = 0 ;
5794 PyObject * obj1 = 0 ;
5795 PyObject * obj2 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "self",(char *) "_class", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
5802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5803 arg2 = obj1;
5804 arg3 = obj2;
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 (arg1)->_setCallbackInfo(arg2,arg3);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 Py_INCREF(Py_None); resultobj = Py_None;
5813 return resultobj;
5814 fail:
5815 return NULL;
5816 }
5817
5818
5819 static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5820 PyObject *obj;
5821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5822 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5823 Py_INCREF(obj);
5824 return Py_BuildValue((char *)"");
5825 }
5826 static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxWindow *arg1 = (wxWindow *) 0 ;
5829 int arg2 = (int) -1 ;
5830 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5831 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5832 wxSize const &arg4_defvalue = wxDefaultSize ;
5833 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5834 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5835 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5836 wxString *arg6 = (wxString *) &arg6_defvalue ;
5837 wxPyHtmlWindow *result;
5838 wxPoint temp3 ;
5839 wxSize temp4 ;
5840 bool temp6 = False ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 PyObject * obj2 = 0 ;
5844 PyObject * obj3 = 0 ;
5845 PyObject * obj4 = 0 ;
5846 PyObject * obj5 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5854 if (obj1) {
5855 arg2 = (int) SWIG_AsInt(obj1);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 if (obj2) {
5859 {
5860 arg3 = &temp3;
5861 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5862 }
5863 }
5864 if (obj3) {
5865 {
5866 arg4 = &temp4;
5867 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5868 }
5869 }
5870 if (obj4) {
5871 arg5 = (int) SWIG_AsInt(obj4);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 if (obj5) {
5875 {
5876 arg6 = wxString_in_helper(obj5);
5877 if (arg6 == NULL) SWIG_fail;
5878 temp6 = True;
5879 }
5880 }
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 {
5889 resultobj = wxPyMake_wxObject(result);
5890 }
5891 {
5892 if (temp6)
5893 delete arg6;
5894 }
5895 return resultobj;
5896 fail:
5897 {
5898 if (temp6)
5899 delete arg6;
5900 }
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxPyHtmlWindow *result;
5908 char *kwnames[] = {
5909 NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 {
5921 resultobj = wxPyMake_wxObject(result);
5922 }
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5932 wxWindow *arg2 = (wxWindow *) 0 ;
5933 int arg3 = (int) -1 ;
5934 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5935 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5936 wxSize const &arg5_defvalue = wxDefaultSize ;
5937 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5938 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5939 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5940 wxString *arg7 = (wxString *) &arg7_defvalue ;
5941 bool result;
5942 wxPoint temp4 ;
5943 wxSize temp5 ;
5944 bool temp7 = False ;
5945 PyObject * obj0 = 0 ;
5946 PyObject * obj1 = 0 ;
5947 PyObject * obj2 = 0 ;
5948 PyObject * obj3 = 0 ;
5949 PyObject * obj4 = 0 ;
5950 PyObject * obj5 = 0 ;
5951 PyObject * obj6 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
5958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5961 if (obj2) {
5962 arg3 = (int) SWIG_AsInt(obj2);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 if (obj3) {
5966 {
5967 arg4 = &temp4;
5968 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5969 }
5970 }
5971 if (obj4) {
5972 {
5973 arg5 = &temp5;
5974 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5975 }
5976 }
5977 if (obj5) {
5978 arg6 = (int) SWIG_AsInt(obj5);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 if (obj6) {
5982 {
5983 arg7 = wxString_in_helper(obj6);
5984 if (arg7 == NULL) SWIG_fail;
5985 temp7 = True;
5986 }
5987 }
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5991
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 {
5996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5997 }
5998 {
5999 if (temp7)
6000 delete arg7;
6001 }
6002 return resultobj;
6003 fail:
6004 {
6005 if (temp7)
6006 delete arg7;
6007 }
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6015 PyObject *arg2 = (PyObject *) 0 ;
6016 PyObject *arg3 = (PyObject *) 0 ;
6017 PyObject * obj0 = 0 ;
6018 PyObject * obj1 = 0 ;
6019 PyObject * obj2 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "self",(char *) "_class", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6027 arg2 = obj1;
6028 arg3 = obj2;
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 (arg1)->_setCallbackInfo(arg2,arg3);
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 Py_INCREF(Py_None); resultobj = Py_None;
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6046 wxString *arg2 = 0 ;
6047 bool result;
6048 bool temp2 = False ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "source", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6058 {
6059 arg2 = wxString_in_helper(obj1);
6060 if (arg2 == NULL) SWIG_fail;
6061 temp2 = True;
6062 }
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 {
6071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6072 }
6073 {
6074 if (temp2)
6075 delete arg2;
6076 }
6077 return resultobj;
6078 fail:
6079 {
6080 if (temp2)
6081 delete arg2;
6082 }
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6090 wxString *arg2 = 0 ;
6091 bool result;
6092 bool temp2 = False ;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self",(char *) "location", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6102 {
6103 arg2 = wxString_in_helper(obj1);
6104 if (arg2 == NULL) SWIG_fail;
6105 temp2 = True;
6106 }
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 {
6115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6116 }
6117 {
6118 if (temp2)
6119 delete arg2;
6120 }
6121 return resultobj;
6122 fail:
6123 {
6124 if (temp2)
6125 delete arg2;
6126 }
6127 return NULL;
6128 }
6129
6130
6131 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj;
6133 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6134 wxString *arg2 = 0 ;
6135 bool result;
6136 bool temp2 = False ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "filename", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6146 {
6147 arg2 = wxString_in_helper(obj1);
6148 if (arg2 == NULL) SWIG_fail;
6149 temp2 = True;
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 {
6159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6160 }
6161 {
6162 if (temp2)
6163 delete arg2;
6164 }
6165 return resultobj;
6166 fail:
6167 {
6168 if (temp2)
6169 delete arg2;
6170 }
6171 return NULL;
6172 }
6173
6174
6175 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6178 wxString *arg2 = 0 ;
6179 bool result;
6180 bool temp2 = False ;
6181 PyObject * obj0 = 0 ;
6182 PyObject * obj1 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self",(char *) "source", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6190 {
6191 arg2 = wxString_in_helper(obj1);
6192 if (arg2 == NULL) SWIG_fail;
6193 temp2 = True;
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6204 }
6205 {
6206 if (temp2)
6207 delete arg2;
6208 }
6209 return resultobj;
6210 fail:
6211 {
6212 if (temp2)
6213 delete arg2;
6214 }
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6222 wxString result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (arg1)->GetOpenedPage();
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 {
6239 #if wxUSE_UNICODE
6240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6241 #else
6242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6243 #endif
6244 }
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj;
6253 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6254 wxString result;
6255 PyObject * obj0 = 0 ;
6256 char *kwnames[] = {
6257 (char *) "self", NULL
6258 };
6259
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
6261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6263 {
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 result = (arg1)->GetOpenedAnchor();
6266
6267 wxPyEndAllowThreads(__tstate);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 }
6270 {
6271 #if wxUSE_UNICODE
6272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6273 #else
6274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6275 #endif
6276 }
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6286 wxString result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (arg1)->GetOpenedPageTitle();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 {
6303 #if wxUSE_UNICODE
6304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6305 #else
6306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6307 #endif
6308 }
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6318 wxFrame *arg2 = (wxFrame *) 0 ;
6319 wxString *arg3 = 0 ;
6320 bool temp3 = False ;
6321 PyObject * obj0 = 0 ;
6322 PyObject * obj1 = 0 ;
6323 PyObject * obj2 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self",(char *) "frame",(char *) "format", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6333 {
6334 arg3 = wxString_in_helper(obj2);
6335 if (arg3 == NULL) SWIG_fail;
6336 temp3 = True;
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 Py_INCREF(Py_None); resultobj = Py_None;
6346 {
6347 if (temp3)
6348 delete arg3;
6349 }
6350 return resultobj;
6351 fail:
6352 {
6353 if (temp3)
6354 delete arg3;
6355 }
6356 return NULL;
6357 }
6358
6359
6360 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6361 PyObject *resultobj;
6362 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6363 wxFrame *result;
6364 PyObject * obj0 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6372 {
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 result = (wxFrame *)(arg1)->GetRelatedFrame();
6375
6376 wxPyEndAllowThreads(__tstate);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 {
6380 resultobj = wxPyMake_wxObject(result);
6381 }
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6391 int arg2 ;
6392 PyObject * obj0 = 0 ;
6393 PyObject * obj1 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self",(char *) "bar", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6401 arg2 = (int) SWIG_AsInt(obj1);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 (arg1)->SetRelatedStatusBar(arg2);
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 Py_INCREF(Py_None); resultobj = Py_None;
6411 return resultobj;
6412 fail:
6413 return NULL;
6414 }
6415
6416
6417 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj;
6419 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6420 wxString arg2 ;
6421 wxString arg3 ;
6422 PyObject *arg4 = (PyObject *) NULL ;
6423 PyObject * obj0 = 0 ;
6424 PyObject * obj1 = 0 ;
6425 PyObject * obj2 = 0 ;
6426 PyObject * obj3 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6434 {
6435 wxString* sptr = wxString_in_helper(obj1);
6436 if (sptr == NULL) SWIG_fail;
6437 arg2 = *sptr;
6438 delete sptr;
6439 }
6440 {
6441 wxString* sptr = wxString_in_helper(obj2);
6442 if (sptr == NULL) SWIG_fail;
6443 arg3 = *sptr;
6444 delete sptr;
6445 }
6446 if (obj3) {
6447 arg4 = obj3;
6448 }
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6466 wxString *arg2 = 0 ;
6467 bool temp2 = False ;
6468 PyObject * obj0 = 0 ;
6469 PyObject * obj1 = 0 ;
6470 char *kwnames[] = {
6471 (char *) "self",(char *) "title", NULL
6472 };
6473
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6477 {
6478 arg2 = wxString_in_helper(obj1);
6479 if (arg2 == NULL) SWIG_fail;
6480 temp2 = True;
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 (arg1)->SetTitle((wxString const &)*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 Py_INCREF(Py_None); resultobj = Py_None;
6490 {
6491 if (temp2)
6492 delete arg2;
6493 }
6494 return resultobj;
6495 fail:
6496 {
6497 if (temp2)
6498 delete arg2;
6499 }
6500 return NULL;
6501 }
6502
6503
6504 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6507 int arg2 ;
6508 PyObject * obj0 = 0 ;
6509 PyObject * obj1 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self",(char *) "b", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6517 arg2 = (int) SWIG_AsInt(obj1);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 (arg1)->SetBorders(arg2);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6536 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6537 wxString arg3 = (wxString) wxPyEmptyString ;
6538 PyObject * obj0 = 0 ;
6539 PyObject * obj1 = 0 ;
6540 PyObject * obj2 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self",(char *) "cfg",(char *) "path", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6550 if (obj2) {
6551 {
6552 wxString* sptr = wxString_in_helper(obj2);
6553 if (sptr == NULL) SWIG_fail;
6554 arg3 = *sptr;
6555 delete sptr;
6556 }
6557 }
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 (arg1)->ReadCustomization(arg2,arg3);
6561
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 Py_INCREF(Py_None); resultobj = Py_None;
6566 return resultobj;
6567 fail:
6568 return NULL;
6569 }
6570
6571
6572 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6575 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6576 wxString arg3 = (wxString) wxPyEmptyString ;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 PyObject * obj2 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "cfg",(char *) "path", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6589 if (obj2) {
6590 {
6591 wxString* sptr = wxString_in_helper(obj2);
6592 if (sptr == NULL) SWIG_fail;
6593 arg3 = *sptr;
6594 delete sptr;
6595 }
6596 }
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 (arg1)->WriteCustomization(arg2,arg3);
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 Py_INCREF(Py_None); resultobj = Py_None;
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_HtmlWindow_HistoryBack(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_HistoryBack",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)->HistoryBack();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6632 }
6633 return resultobj;
6634 fail:
6635 return NULL;
6636 }
6637
6638
6639 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6642 bool result;
6643 PyObject * obj0 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (bool)(arg1)->HistoryForward();
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 {
6659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6660 }
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6670 bool result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (bool)(arg1)->HistoryCanBack();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 {
6687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6688 }
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6698 bool result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "self", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = (bool)(arg1)->HistoryCanForward();
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 {
6715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6716 }
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6726 PyObject * obj0 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 (arg1)->HistoryClear();
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 Py_INCREF(Py_None); resultobj = Py_None;
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6751 wxHtmlContainerCell *result;
6752 PyObject * obj0 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6777 wxHtmlWinParser *result;
6778 PyObject * obj0 = 0 ;
6779 char *kwnames[] = {
6780 (char *) "self", NULL
6781 };
6782
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6786 {
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 result = (wxHtmlWinParser *)(arg1)->GetParser();
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj;
6802 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6803 wxString *arg2 = 0 ;
6804 bool result;
6805 bool temp2 = False ;
6806 PyObject * obj0 = 0 ;
6807 PyObject * obj1 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self",(char *) "anchor", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6815 {
6816 arg2 = wxString_in_helper(obj1);
6817 if (arg2 == NULL) SWIG_fail;
6818 temp2 = True;
6819 }
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 {
6828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6829 }
6830 {
6831 if (temp2)
6832 delete arg2;
6833 }
6834 return resultobj;
6835 fail:
6836 {
6837 if (temp2)
6838 delete arg2;
6839 }
6840 return NULL;
6841 }
6842
6843
6844 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj;
6846 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6847 wxString *arg2 = 0 ;
6848 bool result;
6849 bool temp2 = False ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self",(char *) "anchor", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6859 {
6860 arg2 = wxString_in_helper(obj1);
6861 if (arg2 == NULL) SWIG_fail;
6862 temp2 = True;
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 {
6872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6873 }
6874 {
6875 if (temp2)
6876 delete arg2;
6877 }
6878 return resultobj;
6879 fail:
6880 {
6881 if (temp2)
6882 delete arg2;
6883 }
6884 return NULL;
6885 }
6886
6887
6888 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6891 PyObject * obj0 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "filter", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 wxPyHtmlWindow::AddFilter(arg1);
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_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6916 wxPoint *arg2 = 0 ;
6917 wxPoint temp2 ;
6918 PyObject * obj0 = 0 ;
6919 PyObject * obj1 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self",(char *) "pos", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6927 {
6928 arg2 = &temp2;
6929 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6930 }
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 (arg1)->SelectWord((wxPoint const &)*arg2);
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 Py_INCREF(Py_None); resultobj = Py_None;
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6946 PyObject *resultobj;
6947 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6948 wxPoint *arg2 = 0 ;
6949 wxPoint temp2 ;
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self",(char *) "pos", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6959 {
6960 arg2 = &temp2;
6961 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6962 }
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 (arg1)->SelectLine((wxPoint const &)*arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 Py_INCREF(Py_None); resultobj = Py_None;
6971 return resultobj;
6972 fail:
6973 return NULL;
6974 }
6975
6976
6977 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6980 PyObject * obj0 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
6986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 (arg1)->SelectAll();
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 Py_INCREF(Py_None); resultobj = Py_None;
6996 return resultobj;
6997 fail:
6998 return NULL;
6999 }
7000
7001
7002 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7005 wxHtmlLinkInfo *arg2 = 0 ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "link", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
7016 SWIG_POINTER_EXCEPTION | 0)) == -1)
7017 SWIG_fail;
7018 if (arg2 == NULL) {
7019 PyErr_SetString(PyExc_TypeError,"null reference");
7020 SWIG_fail;
7021 }
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 Py_INCREF(Py_None); resultobj = Py_None;
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7039 wxString *arg2 = 0 ;
7040 bool temp2 = False ;
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj1 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self",(char *) "title", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7050 {
7051 arg2 = wxString_in_helper(obj1);
7052 if (arg2 == NULL) SWIG_fail;
7053 temp2 = True;
7054 }
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 {
7064 if (temp2)
7065 delete arg2;
7066 }
7067 return resultobj;
7068 fail:
7069 {
7070 if (temp2)
7071 delete arg2;
7072 }
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7080 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7081 int arg3 ;
7082 int arg4 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 PyObject * obj2 = 0 ;
7086 PyObject * obj3 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7096 arg3 = (int) SWIG_AsInt(obj2);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 arg4 = (int) SWIG_AsInt(obj3);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7117 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7118 int arg3 ;
7119 int arg4 ;
7120 wxMouseEvent *arg5 = 0 ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 PyObject * obj2 = 0 ;
7124 PyObject * obj3 = 0 ;
7125 PyObject * obj4 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7135 arg3 = (int) SWIG_AsInt(obj2);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 arg4 = (int) SWIG_AsInt(obj3);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7140 SWIG_POINTER_EXCEPTION | 0)) == -1)
7141 SWIG_fail;
7142 if (arg5 == NULL) {
7143 PyErr_SetString(PyExc_TypeError,"null reference");
7144 SWIG_fail;
7145 }
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
7161 PyObject *obj;
7162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7163 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7164 Py_INCREF(obj);
7165 return Py_BuildValue((char *)"");
7166 }
7167 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxHtmlDCRenderer *result;
7170 char *kwnames[] = {
7171 NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "self", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
7198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 delete arg1;
7203
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 Py_INCREF(Py_None); resultobj = Py_None;
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj;
7216 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7217 wxDC *arg2 = (wxDC *) 0 ;
7218 int arg3 ;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 PyObject * obj2 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 arg3 = (int) SWIG_AsInt(obj2);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->SetDC(arg2,arg3);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7250 int arg2 ;
7251 int arg3 ;
7252 PyObject * obj0 = 0 ;
7253 PyObject * obj1 = 0 ;
7254 PyObject * obj2 = 0 ;
7255 char *kwnames[] = {
7256 (char *) "self",(char *) "width",(char *) "height", NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7262 arg2 = (int) SWIG_AsInt(obj1);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 arg3 = (int) SWIG_AsInt(obj2);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 (arg1)->SetSize(arg2,arg3);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 Py_INCREF(Py_None); resultobj = Py_None;
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7283 wxString *arg2 = 0 ;
7284 wxString const &arg3_defvalue = wxPyEmptyString ;
7285 wxString *arg3 = (wxString *) &arg3_defvalue ;
7286 bool arg4 = (bool) True ;
7287 bool temp2 = False ;
7288 bool temp3 = False ;
7289 PyObject * obj0 = 0 ;
7290 PyObject * obj1 = 0 ;
7291 PyObject * obj2 = 0 ;
7292 PyObject * obj3 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7300 {
7301 arg2 = wxString_in_helper(obj1);
7302 if (arg2 == NULL) SWIG_fail;
7303 temp2 = True;
7304 }
7305 if (obj2) {
7306 {
7307 arg3 = wxString_in_helper(obj2);
7308 if (arg3 == NULL) SWIG_fail;
7309 temp3 = True;
7310 }
7311 }
7312 if (obj3) {
7313 arg4 = (bool) SWIG_AsBool(obj3);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 Py_INCREF(Py_None); resultobj = Py_None;
7324 {
7325 if (temp2)
7326 delete arg2;
7327 }
7328 {
7329 if (temp3)
7330 delete arg3;
7331 }
7332 return resultobj;
7333 fail:
7334 {
7335 if (temp2)
7336 delete arg2;
7337 }
7338 {
7339 if (temp3)
7340 delete arg3;
7341 }
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7349 wxString arg2 ;
7350 wxString arg3 ;
7351 PyObject *arg4 = (PyObject *) NULL ;
7352 PyObject * obj0 = 0 ;
7353 PyObject * obj1 = 0 ;
7354 PyObject * obj2 = 0 ;
7355 PyObject * obj3 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7363 {
7364 wxString* sptr = wxString_in_helper(obj1);
7365 if (sptr == NULL) SWIG_fail;
7366 arg2 = *sptr;
7367 delete sptr;
7368 }
7369 {
7370 wxString* sptr = wxString_in_helper(obj2);
7371 if (sptr == NULL) SWIG_fail;
7372 arg3 = *sptr;
7373 delete sptr;
7374 }
7375 if (obj3) {
7376 arg4 = obj3;
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 Py_INCREF(Py_None); resultobj = Py_None;
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7395 int arg2 ;
7396 int arg3 ;
7397 int arg4 = (int) 0 ;
7398 int arg5 = (int) False ;
7399 int arg6 = (int) INT_MAX ;
7400 int *arg7 = (int *) NULL ;
7401 int arg8 = (int) 0 ;
7402 int result;
7403 PyObject * obj0 = 0 ;
7404 PyObject * obj1 = 0 ;
7405 PyObject * obj2 = 0 ;
7406 PyObject * obj3 = 0 ;
7407 PyObject * obj4 = 0 ;
7408 PyObject * obj5 = 0 ;
7409 PyObject * obj6 = 0 ;
7410 PyObject * obj7 = 0 ;
7411 char *kwnames[] = {
7412 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7413 };
7414
7415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7418 arg2 = (int) SWIG_AsInt(obj1);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 arg3 = (int) SWIG_AsInt(obj2);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 if (obj3) {
7423 arg4 = (int) SWIG_AsInt(obj3);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 if (obj4) {
7427 arg5 = (int) SWIG_AsInt(obj4);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 if (obj5) {
7431 arg6 = (int) SWIG_AsInt(obj5);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 if (obj6) {
7435 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7437 }
7438 if (obj7) {
7439 arg8 = (int) SWIG_AsInt(obj7);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = SWIG_FromInt((int)result);
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7459 int result;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (int)(arg1)->GetTotalHeight();
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = SWIG_FromInt((int)result);
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7483 PyObject *obj;
7484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7485 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7486 Py_INCREF(obj);
7487 return Py_BuildValue((char *)"");
7488 }
7489 static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj;
7491 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7492 wxString *arg1 = (wxString *) &arg1_defvalue ;
7493 wxHtmlPrintout *result;
7494 bool temp1 = False ;
7495 PyObject * obj0 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "title", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7501 if (obj0) {
7502 {
7503 arg1 = wxString_in_helper(obj0);
7504 if (arg1 == NULL) SWIG_fail;
7505 temp1 = True;
7506 }
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
7516 {
7517 if (temp1)
7518 delete arg1;
7519 }
7520 return resultobj;
7521 fail:
7522 {
7523 if (temp1)
7524 delete arg1;
7525 }
7526 return NULL;
7527 }
7528
7529
7530 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7533 wxString *arg2 = 0 ;
7534 wxString const &arg3_defvalue = wxPyEmptyString ;
7535 wxString *arg3 = (wxString *) &arg3_defvalue ;
7536 bool arg4 = (bool) True ;
7537 bool temp2 = False ;
7538 bool temp3 = False ;
7539 PyObject * obj0 = 0 ;
7540 PyObject * obj1 = 0 ;
7541 PyObject * obj2 = 0 ;
7542 PyObject * obj3 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7550 {
7551 arg2 = wxString_in_helper(obj1);
7552 if (arg2 == NULL) SWIG_fail;
7553 temp2 = True;
7554 }
7555 if (obj2) {
7556 {
7557 arg3 = wxString_in_helper(obj2);
7558 if (arg3 == NULL) SWIG_fail;
7559 temp3 = True;
7560 }
7561 }
7562 if (obj3) {
7563 arg4 = (bool) SWIG_AsBool(obj3);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 {
7575 if (temp2)
7576 delete arg2;
7577 }
7578 {
7579 if (temp3)
7580 delete arg3;
7581 }
7582 return resultobj;
7583 fail:
7584 {
7585 if (temp2)
7586 delete arg2;
7587 }
7588 {
7589 if (temp3)
7590 delete arg3;
7591 }
7592 return NULL;
7593 }
7594
7595
7596 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7599 wxString *arg2 = 0 ;
7600 bool temp2 = False ;
7601 PyObject * obj0 = 0 ;
7602 PyObject * obj1 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self",(char *) "htmlfile", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7610 {
7611 arg2 = wxString_in_helper(obj1);
7612 if (arg2 == NULL) SWIG_fail;
7613 temp2 = True;
7614 }
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 (arg1)->SetHtmlFile((wxString const &)*arg2);
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 {
7624 if (temp2)
7625 delete arg2;
7626 }
7627 return resultobj;
7628 fail:
7629 {
7630 if (temp2)
7631 delete arg2;
7632 }
7633 return NULL;
7634 }
7635
7636
7637 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7640 wxString *arg2 = 0 ;
7641 int arg3 = (int) wxPAGE_ALL ;
7642 bool temp2 = False ;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 PyObject * obj2 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self",(char *) "header",(char *) "pg", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7653 {
7654 arg2 = wxString_in_helper(obj1);
7655 if (arg2 == NULL) SWIG_fail;
7656 temp2 = True;
7657 }
7658 if (obj2) {
7659 arg3 = (int) SWIG_AsInt(obj2);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 {
7671 if (temp2)
7672 delete arg2;
7673 }
7674 return resultobj;
7675 fail:
7676 {
7677 if (temp2)
7678 delete arg2;
7679 }
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7687 wxString *arg2 = 0 ;
7688 int arg3 = (int) wxPAGE_ALL ;
7689 bool temp2 = False ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 PyObject * obj2 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "footer",(char *) "pg", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7700 {
7701 arg2 = wxString_in_helper(obj1);
7702 if (arg2 == NULL) SWIG_fail;
7703 temp2 = True;
7704 }
7705 if (obj2) {
7706 arg3 = (int) SWIG_AsInt(obj2);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 Py_INCREF(Py_None); resultobj = Py_None;
7717 {
7718 if (temp2)
7719 delete arg2;
7720 }
7721 return resultobj;
7722 fail:
7723 {
7724 if (temp2)
7725 delete arg2;
7726 }
7727 return NULL;
7728 }
7729
7730
7731 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject *resultobj;
7733 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7734 wxString arg2 ;
7735 wxString arg3 ;
7736 PyObject *arg4 = (PyObject *) NULL ;
7737 PyObject * obj0 = 0 ;
7738 PyObject * obj1 = 0 ;
7739 PyObject * obj2 = 0 ;
7740 PyObject * obj3 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7748 {
7749 wxString* sptr = wxString_in_helper(obj1);
7750 if (sptr == NULL) SWIG_fail;
7751 arg2 = *sptr;
7752 delete sptr;
7753 }
7754 {
7755 wxString* sptr = wxString_in_helper(obj2);
7756 if (sptr == NULL) SWIG_fail;
7757 arg3 = *sptr;
7758 delete sptr;
7759 }
7760 if (obj3) {
7761 arg4 = obj3;
7762 }
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7780 float arg2 = (float) 25.2 ;
7781 float arg3 = (float) 25.2 ;
7782 float arg4 = (float) 25.2 ;
7783 float arg5 = (float) 25.2 ;
7784 float arg6 = (float) 5 ;
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 PyObject * obj2 = 0 ;
7788 PyObject * obj3 = 0 ;
7789 PyObject * obj4 = 0 ;
7790 PyObject * obj5 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7798 if (obj1) {
7799 arg2 = (float) SWIG_AsFloat(obj1);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 if (obj2) {
7803 arg3 = (float) SWIG_AsFloat(obj2);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 if (obj3) {
7807 arg4 = (float) SWIG_AsFloat(obj3);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 if (obj4) {
7811 arg5 = (float) SWIG_AsFloat(obj4);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 if (obj5) {
7815 arg6 = (float) SWIG_AsFloat(obj5);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "filter", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
7842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 wxHtmlPrintout::AddFilter(arg1);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 char *kwnames[] = {
7860 NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 wxHtmlPrintout::CleanUpStatics();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7879 PyObject *obj;
7880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7881 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7882 Py_INCREF(obj);
7883 return Py_BuildValue((char *)"");
7884 }
7885 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7888 wxString *arg1 = (wxString *) &arg1_defvalue ;
7889 wxWindow *arg2 = (wxWindow *) NULL ;
7890 wxHtmlEasyPrinting *result;
7891 bool temp1 = False ;
7892 PyObject * obj0 = 0 ;
7893 PyObject * obj1 = 0 ;
7894 char *kwnames[] = {
7895 (char *) "name",(char *) "parentWindow", NULL
7896 };
7897
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7899 if (obj0) {
7900 {
7901 arg1 = wxString_in_helper(obj0);
7902 if (arg1 == NULL) SWIG_fail;
7903 temp1 = True;
7904 }
7905 }
7906 if (obj1) {
7907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7909 }
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
7918 {
7919 if (temp1)
7920 delete arg1;
7921 }
7922 return resultobj;
7923 fail:
7924 {
7925 if (temp1)
7926 delete arg1;
7927 }
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7935 PyObject * obj0 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
7941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 delete arg1;
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 Py_INCREF(Py_None); resultobj = Py_None;
7951 return resultobj;
7952 fail:
7953 return NULL;
7954 }
7955
7956
7957 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7960 wxString *arg2 = 0 ;
7961 bool temp2 = False ;
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj1 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "htmlfile", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7971 {
7972 arg2 = wxString_in_helper(obj1);
7973 if (arg2 == NULL) SWIG_fail;
7974 temp2 = True;
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 (arg1)->PreviewFile((wxString const &)*arg2);
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 Py_INCREF(Py_None); resultobj = Py_None;
7984 {
7985 if (temp2)
7986 delete arg2;
7987 }
7988 return resultobj;
7989 fail:
7990 {
7991 if (temp2)
7992 delete arg2;
7993 }
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8001 wxString *arg2 = 0 ;
8002 wxString const &arg3_defvalue = wxPyEmptyString ;
8003 wxString *arg3 = (wxString *) &arg3_defvalue ;
8004 bool temp2 = False ;
8005 bool temp3 = False ;
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 PyObject * obj2 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8016 {
8017 arg2 = wxString_in_helper(obj1);
8018 if (arg2 == NULL) SWIG_fail;
8019 temp2 = True;
8020 }
8021 if (obj2) {
8022 {
8023 arg3 = wxString_in_helper(obj2);
8024 if (arg3 == NULL) SWIG_fail;
8025 temp3 = True;
8026 }
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 {
8037 if (temp2)
8038 delete arg2;
8039 }
8040 {
8041 if (temp3)
8042 delete arg3;
8043 }
8044 return resultobj;
8045 fail:
8046 {
8047 if (temp2)
8048 delete arg2;
8049 }
8050 {
8051 if (temp3)
8052 delete arg3;
8053 }
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj;
8060 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8061 wxString *arg2 = 0 ;
8062 bool temp2 = False ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self",(char *) "htmlfile", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8072 {
8073 arg2 = wxString_in_helper(obj1);
8074 if (arg2 == NULL) SWIG_fail;
8075 temp2 = True;
8076 }
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 (arg1)->PrintFile((wxString const &)*arg2);
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 Py_INCREF(Py_None); resultobj = Py_None;
8085 {
8086 if (temp2)
8087 delete arg2;
8088 }
8089 return resultobj;
8090 fail:
8091 {
8092 if (temp2)
8093 delete arg2;
8094 }
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8102 wxString *arg2 = 0 ;
8103 wxString const &arg3_defvalue = wxPyEmptyString ;
8104 wxString *arg3 = (wxString *) &arg3_defvalue ;
8105 bool temp2 = False ;
8106 bool temp3 = False ;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 PyObject * obj2 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8117 {
8118 arg2 = wxString_in_helper(obj1);
8119 if (arg2 == NULL) SWIG_fail;
8120 temp2 = True;
8121 }
8122 if (obj2) {
8123 {
8124 arg3 = wxString_in_helper(obj2);
8125 if (arg3 == NULL) SWIG_fail;
8126 temp3 = True;
8127 }
8128 }
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 Py_INCREF(Py_None); resultobj = Py_None;
8137 {
8138 if (temp2)
8139 delete arg2;
8140 }
8141 {
8142 if (temp3)
8143 delete arg3;
8144 }
8145 return resultobj;
8146 fail:
8147 {
8148 if (temp2)
8149 delete arg2;
8150 }
8151 {
8152 if (temp3)
8153 delete arg3;
8154 }
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8162 PyObject * obj0 = 0 ;
8163 char *kwnames[] = {
8164 (char *) "self", NULL
8165 };
8166
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
8168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 (arg1)->PrinterSetup();
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 Py_INCREF(Py_None); resultobj = Py_None;
8178 return resultobj;
8179 fail:
8180 return NULL;
8181 }
8182
8183
8184 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj;
8186 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8187 PyObject * obj0 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self", NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
8193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 (arg1)->PageSetup();
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8212 wxString *arg2 = 0 ;
8213 int arg3 = (int) wxPAGE_ALL ;
8214 bool temp2 = False ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "header",(char *) "pg", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 {
8226 arg2 = wxString_in_helper(obj1);
8227 if (arg2 == NULL) SWIG_fail;
8228 temp2 = True;
8229 }
8230 if (obj2) {
8231 arg3 = (int) SWIG_AsInt(obj2);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 Py_INCREF(Py_None); resultobj = Py_None;
8242 {
8243 if (temp2)
8244 delete arg2;
8245 }
8246 return resultobj;
8247 fail:
8248 {
8249 if (temp2)
8250 delete arg2;
8251 }
8252 return NULL;
8253 }
8254
8255
8256 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj;
8258 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8259 wxString *arg2 = 0 ;
8260 int arg3 = (int) wxPAGE_ALL ;
8261 bool temp2 = False ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 PyObject * obj2 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self",(char *) "footer",(char *) "pg", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8272 {
8273 arg2 = wxString_in_helper(obj1);
8274 if (arg2 == NULL) SWIG_fail;
8275 temp2 = True;
8276 }
8277 if (obj2) {
8278 arg3 = (int) SWIG_AsInt(obj2);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 Py_INCREF(Py_None); resultobj = Py_None;
8289 {
8290 if (temp2)
8291 delete arg2;
8292 }
8293 return resultobj;
8294 fail:
8295 {
8296 if (temp2)
8297 delete arg2;
8298 }
8299 return NULL;
8300 }
8301
8302
8303 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj;
8305 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8306 wxString arg2 ;
8307 wxString arg3 ;
8308 PyObject *arg4 = (PyObject *) NULL ;
8309 PyObject * obj0 = 0 ;
8310 PyObject * obj1 = 0 ;
8311 PyObject * obj2 = 0 ;
8312 PyObject * obj3 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8320 {
8321 wxString* sptr = wxString_in_helper(obj1);
8322 if (sptr == NULL) SWIG_fail;
8323 arg2 = *sptr;
8324 delete sptr;
8325 }
8326 {
8327 wxString* sptr = wxString_in_helper(obj2);
8328 if (sptr == NULL) SWIG_fail;
8329 arg3 = *sptr;
8330 delete sptr;
8331 }
8332 if (obj3) {
8333 arg4 = obj3;
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8352 wxPrintData *result;
8353 PyObject * obj0 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (wxPrintData *)(arg1)->GetPrintData();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8378 wxPageSetupDialogData *result;
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
8395 return resultobj;
8396 fail:
8397 return NULL;
8398 }
8399
8400
8401 static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
8402 PyObject *obj;
8403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8404 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8405 Py_INCREF(obj);
8406 return Py_BuildValue((char *)"");
8407 }
8408 static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxString *arg1 = 0 ;
8411 wxString *arg2 = 0 ;
8412 wxString *arg3 = 0 ;
8413 wxString *arg4 = 0 ;
8414 wxHtmlBookRecord *result;
8415 bool temp1 = False ;
8416 bool temp2 = False ;
8417 bool temp3 = False ;
8418 bool temp4 = False ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
8422 PyObject * obj3 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8428 {
8429 arg1 = wxString_in_helper(obj0);
8430 if (arg1 == NULL) SWIG_fail;
8431 temp1 = True;
8432 }
8433 {
8434 arg2 = wxString_in_helper(obj1);
8435 if (arg2 == NULL) SWIG_fail;
8436 temp2 = True;
8437 }
8438 {
8439 arg3 = wxString_in_helper(obj2);
8440 if (arg3 == NULL) SWIG_fail;
8441 temp3 = True;
8442 }
8443 {
8444 arg4 = wxString_in_helper(obj3);
8445 if (arg4 == NULL) SWIG_fail;
8446 temp4 = True;
8447 }
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
8456 {
8457 if (temp1)
8458 delete arg1;
8459 }
8460 {
8461 if (temp2)
8462 delete arg2;
8463 }
8464 {
8465 if (temp3)
8466 delete arg3;
8467 }
8468 {
8469 if (temp4)
8470 delete arg4;
8471 }
8472 return resultobj;
8473 fail:
8474 {
8475 if (temp1)
8476 delete arg1;
8477 }
8478 {
8479 if (temp2)
8480 delete arg2;
8481 }
8482 {
8483 if (temp3)
8484 delete arg3;
8485 }
8486 {
8487 if (temp4)
8488 delete arg4;
8489 }
8490 return NULL;
8491 }
8492
8493
8494 static PyObject *_wrap_HtmlBookRecord_GetBookFile(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_GetBookFile",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)->GetBookFile();
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_GetTitle(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_GetTitle",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)->GetTitle();
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_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8561 wxString result;
8562 PyObject * obj0 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (arg1)->GetStart();
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 {
8578 #if wxUSE_UNICODE
8579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8580 #else
8581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8582 #endif
8583 }
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8593 wxString result;
8594 PyObject * obj0 = 0 ;
8595 char *kwnames[] = {
8596 (char *) "self", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8602 {
8603 PyThreadState* __tstate = wxPyBeginAllowThreads();
8604 result = (arg1)->GetBasePath();
8605
8606 wxPyEndAllowThreads(__tstate);
8607 if (PyErr_Occurred()) SWIG_fail;
8608 }
8609 {
8610 #if wxUSE_UNICODE
8611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8612 #else
8613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8614 #endif
8615 }
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8625 int arg2 ;
8626 int arg3 ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 PyObject * obj2 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "start",(char *) "end", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8637 arg2 = (int) SWIG_AsInt(obj1);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 arg3 = (int) SWIG_AsInt(obj2);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 (arg1)->SetContentsRange(arg2,arg3);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 Py_INCREF(Py_None); resultobj = Py_None;
8649 return resultobj;
8650 fail:
8651 return NULL;
8652 }
8653
8654
8655 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8658 int result;
8659 PyObject * obj0 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (int)(arg1)->GetContentsStart();
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 resultobj = SWIG_FromInt((int)result);
8675 return resultobj;
8676 fail:
8677 return NULL;
8678 }
8679
8680
8681 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8682 PyObject *resultobj;
8683 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8684 int result;
8685 PyObject * obj0 = 0 ;
8686 char *kwnames[] = {
8687 (char *) "self", NULL
8688 };
8689
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (int)(arg1)->GetContentsEnd();
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_FromInt((int)result);
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8710 wxString *arg2 = 0 ;
8711 bool temp2 = False ;
8712 PyObject * obj0 = 0 ;
8713 PyObject * obj1 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "self",(char *) "title", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8721 {
8722 arg2 = wxString_in_helper(obj1);
8723 if (arg2 == NULL) SWIG_fail;
8724 temp2 = True;
8725 }
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 (arg1)->SetTitle((wxString const &)*arg2);
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 Py_INCREF(Py_None); resultobj = Py_None;
8734 {
8735 if (temp2)
8736 delete arg2;
8737 }
8738 return resultobj;
8739 fail:
8740 {
8741 if (temp2)
8742 delete arg2;
8743 }
8744 return NULL;
8745 }
8746
8747
8748 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj;
8750 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8751 wxString *arg2 = 0 ;
8752 bool temp2 = False ;
8753 PyObject * obj0 = 0 ;
8754 PyObject * obj1 = 0 ;
8755 char *kwnames[] = {
8756 (char *) "self",(char *) "path", NULL
8757 };
8758
8759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8762 {
8763 arg2 = wxString_in_helper(obj1);
8764 if (arg2 == NULL) SWIG_fail;
8765 temp2 = True;
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 (arg1)->SetBasePath((wxString const &)*arg2);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 Py_INCREF(Py_None); resultobj = Py_None;
8775 {
8776 if (temp2)
8777 delete arg2;
8778 }
8779 return resultobj;
8780 fail:
8781 {
8782 if (temp2)
8783 delete arg2;
8784 }
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8792 wxString *arg2 = 0 ;
8793 bool temp2 = False ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self",(char *) "start", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8803 {
8804 arg2 = wxString_in_helper(obj1);
8805 if (arg2 == NULL) SWIG_fail;
8806 temp2 = True;
8807 }
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->SetStart((wxString const &)*arg2);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 Py_INCREF(Py_None); resultobj = Py_None;
8816 {
8817 if (temp2)
8818 delete arg2;
8819 }
8820 return resultobj;
8821 fail:
8822 {
8823 if (temp2)
8824 delete arg2;
8825 }
8826 return NULL;
8827 }
8828
8829
8830 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8833 wxString *arg2 = 0 ;
8834 wxString result;
8835 bool temp2 = False ;
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self",(char *) "page", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8845 {
8846 arg2 = wxString_in_helper(obj1);
8847 if (arg2 == NULL) SWIG_fail;
8848 temp2 = True;
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858 #if wxUSE_UNICODE
8859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8860 #else
8861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8862 #endif
8863 }
8864 {
8865 if (temp2)
8866 delete arg2;
8867 }
8868 return resultobj;
8869 fail:
8870 {
8871 if (temp2)
8872 delete arg2;
8873 }
8874 return NULL;
8875 }
8876
8877
8878 static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8879 PyObject *obj;
8880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8881 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8882 Py_INCREF(obj);
8883 return Py_BuildValue((char *)"");
8884 }
8885 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8888 int result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_FromInt((int)result);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj;
8913 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8914 int result;
8915 PyObject * obj0 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
8921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 result = (int)wxHtmlContentsItem_GetID(arg1);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = SWIG_FromInt((int)result);
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8940 wxString result;
8941 PyObject * obj0 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",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 = wxHtmlContentsItem_GetName(arg1);
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 {
8957 #if wxUSE_UNICODE
8958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8959 #else
8960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8961 #endif
8962 }
8963 return resultobj;
8964 fail:
8965 return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8972 wxString result;
8973 PyObject * obj0 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "self", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
8979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = wxHtmlContentsItem_GetPage(arg1);
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 {
8989 #if wxUSE_UNICODE
8990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8991 #else
8992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8993 #endif
8994 }
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9004 wxHtmlBookRecord *result;
9005 PyObject * obj0 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
9011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
9021 return resultobj;
9022 fail:
9023 return NULL;
9024 }
9025
9026
9027 static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
9028 PyObject *obj;
9029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9030 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9031 Py_INCREF(obj);
9032 return Py_BuildValue((char *)"");
9033 }
9034 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9037 bool result;
9038 PyObject * obj0 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (bool)(arg1)->Search();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 {
9054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9055 }
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9065 bool result;
9066 PyObject * obj0 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (bool)(arg1)->IsActive();
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 {
9082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9083 }
9084 return resultobj;
9085 fail:
9086 return NULL;
9087 }
9088
9089
9090 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9093 int result;
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 result = (int)(arg1)->GetCurIndex();
9105
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_FromInt((int)result);
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9119 int result;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 result = (int)(arg1)->GetMaxIndex();
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = SWIG_FromInt((int)result);
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9145 wxString *result;
9146 PyObject * obj0 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "self", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 {
9157 wxString const &_result_ref = (arg1)->GetName();
9158 result = (wxString *) &_result_ref;
9159 }
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 {
9165 #if wxUSE_UNICODE
9166 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9167 #else
9168 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9169 #endif
9170 }
9171 return resultobj;
9172 fail:
9173 return NULL;
9174 }
9175
9176
9177 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj;
9179 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9180 wxHtmlContentsItem *result;
9181 PyObject * obj0 = 0 ;
9182 char *kwnames[] = {
9183 (char *) "self", NULL
9184 };
9185
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
9204 PyObject *obj;
9205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9206 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9207 Py_INCREF(obj);
9208 return Py_BuildValue((char *)"");
9209 }
9210 static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxHtmlHelpData *result;
9213 char *kwnames[] = {
9214 NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
9226 return resultobj;
9227 fail:
9228 return NULL;
9229 }
9230
9231
9232 static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9235 PyObject * obj0 = 0 ;
9236 char *kwnames[] = {
9237 (char *) "self", NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
9241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 delete arg1;
9246
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 Py_INCREF(Py_None); resultobj = Py_None;
9251 return resultobj;
9252 fail:
9253 return NULL;
9254 }
9255
9256
9257 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj;
9259 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9260 wxString *arg2 = 0 ;
9261 bool temp2 = False ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "path", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9271 {
9272 arg2 = wxString_in_helper(obj1);
9273 if (arg2 == NULL) SWIG_fail;
9274 temp2 = True;
9275 }
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 (arg1)->SetTempDir((wxString const &)*arg2);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 {
9285 if (temp2)
9286 delete arg2;
9287 }
9288 return resultobj;
9289 fail:
9290 {
9291 if (temp2)
9292 delete arg2;
9293 }
9294 return NULL;
9295 }
9296
9297
9298 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9301 wxString *arg2 = 0 ;
9302 bool result;
9303 bool temp2 = False ;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self",(char *) "book", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 {
9314 arg2 = wxString_in_helper(obj1);
9315 if (arg2 == NULL) SWIG_fail;
9316 temp2 = True;
9317 }
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 {
9326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9327 }
9328 {
9329 if (temp2)
9330 delete arg2;
9331 }
9332 return resultobj;
9333 fail:
9334 {
9335 if (temp2)
9336 delete arg2;
9337 }
9338 return NULL;
9339 }
9340
9341
9342 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9345 wxString *arg2 = 0 ;
9346 wxString result;
9347 bool temp2 = False ;
9348 PyObject * obj0 = 0 ;
9349 PyObject * obj1 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self",(char *) "page", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
9355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9357 {
9358 arg2 = wxString_in_helper(obj1);
9359 if (arg2 == NULL) SWIG_fail;
9360 temp2 = True;
9361 }
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (arg1)->FindPageByName((wxString const &)*arg2);
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 {
9370 #if wxUSE_UNICODE
9371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9372 #else
9373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9374 #endif
9375 }
9376 {
9377 if (temp2)
9378 delete arg2;
9379 }
9380 return resultobj;
9381 fail:
9382 {
9383 if (temp2)
9384 delete arg2;
9385 }
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9393 int arg2 ;
9394 wxString result;
9395 PyObject * obj0 = 0 ;
9396 PyObject * obj1 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self",(char *) "id", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9404 arg2 = (int) SWIG_AsInt(obj1);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (arg1)->FindPageById(arg2);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 #if wxUSE_UNICODE
9415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9416 #else
9417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9418 #endif
9419 }
9420 return resultobj;
9421 fail:
9422 return NULL;
9423 }
9424
9425
9426 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9429 wxHtmlBookRecArray *result;
9430 PyObject * obj0 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 {
9441 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9442 result = (wxHtmlBookRecArray *) &_result_ref;
9443 }
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9458 wxHtmlContentsItem *result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9484 int result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (int)(arg1)->GetContentsCnt();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = SWIG_FromInt((int)result);
9501 return resultobj;
9502 fail:
9503 return NULL;
9504 }
9505
9506
9507 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9510 wxHtmlContentsItem *result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9536 int result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (int)(arg1)->GetIndexCnt();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = SWIG_FromInt((int)result);
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9560 PyObject *obj;
9561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9562 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9563 Py_INCREF(obj);
9564 return Py_BuildValue((char *)"");
9565 }
9566 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxWindow *arg1 = (wxWindow *) 0 ;
9569 int arg2 ;
9570 wxString const &arg3_defvalue = wxPyEmptyString ;
9571 wxString *arg3 = (wxString *) &arg3_defvalue ;
9572 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9573 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9574 wxHtmlHelpFrame *result;
9575 bool temp3 = False ;
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj1 = 0 ;
9578 PyObject * obj2 = 0 ;
9579 PyObject * obj3 = 0 ;
9580 PyObject * obj4 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9588 arg2 = (int) SWIG_AsInt(obj1);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 if (obj2) {
9591 {
9592 arg3 = wxString_in_helper(obj2);
9593 if (arg3 == NULL) SWIG_fail;
9594 temp3 = True;
9595 }
9596 }
9597 if (obj3) {
9598 arg4 = (int) SWIG_AsInt(obj3);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 if (obj4) {
9602 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
9603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9604 }
9605 {
9606 PyThreadState* __tstate = wxPyBeginAllowThreads();
9607 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9608
9609 wxPyEndAllowThreads(__tstate);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
9613 {
9614 if (temp3)
9615 delete arg3;
9616 }
9617 return resultobj;
9618 fail:
9619 {
9620 if (temp3)
9621 delete arg3;
9622 }
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9630 wxHtmlHelpData *result;
9631 PyObject * obj0 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (wxHtmlHelpData *)(arg1)->GetData();
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9656 wxString *arg2 = 0 ;
9657 bool temp2 = False ;
9658 PyObject * obj0 = 0 ;
9659 PyObject * obj1 = 0 ;
9660 char *kwnames[] = {
9661 (char *) "self",(char *) "format", NULL
9662 };
9663
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9667 {
9668 arg2 = wxString_in_helper(obj1);
9669 if (arg2 == NULL) SWIG_fail;
9670 temp2 = True;
9671 }
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 (arg1)->SetTitleFormat((wxString const &)*arg2);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 Py_INCREF(Py_None); resultobj = Py_None;
9680 {
9681 if (temp2)
9682 delete arg2;
9683 }
9684 return resultobj;
9685 fail:
9686 {
9687 if (temp2)
9688 delete arg2;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9697 wxString *arg2 = 0 ;
9698 bool temp2 = False ;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self",(char *) "x", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9708 {
9709 arg2 = wxString_in_helper(obj1);
9710 if (arg2 == NULL) SWIG_fail;
9711 temp2 = True;
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 (arg1)->Display((wxString const &)*arg2);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 Py_INCREF(Py_None); resultobj = Py_None;
9721 {
9722 if (temp2)
9723 delete arg2;
9724 }
9725 return resultobj;
9726 fail:
9727 {
9728 if (temp2)
9729 delete arg2;
9730 }
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9738 int arg2 ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "id", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9748 arg2 = (int) SWIG_AsInt(obj1);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 (arg1)->Display(arg2);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 Py_INCREF(Py_None); resultobj = Py_None;
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj;
9766 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 (arg1)->DisplayContents();
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 return resultobj;
9784 fail:
9785 return NULL;
9786 }
9787
9788
9789 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 (arg1)->DisplayIndex();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 Py_INCREF(Py_None); resultobj = Py_None;
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9817 wxString *arg2 = 0 ;
9818 bool result;
9819 bool temp2 = False ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self",(char *) "keyword", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9829 {
9830 arg2 = wxString_in_helper(obj1);
9831 if (arg2 == NULL) SWIG_fail;
9832 temp2 = True;
9833 }
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 {
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 }
9844 {
9845 if (temp2)
9846 delete arg2;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (temp2)
9852 delete arg2;
9853 }
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9861 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9862 wxString const &arg3_defvalue = wxPyEmptyString ;
9863 wxString *arg3 = (wxString *) &arg3_defvalue ;
9864 bool temp3 = False ;
9865 PyObject * obj0 = 0 ;
9866 PyObject * obj1 = 0 ;
9867 PyObject * obj2 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9877 if (obj2) {
9878 {
9879 arg3 = wxString_in_helper(obj2);
9880 if (arg3 == NULL) SWIG_fail;
9881 temp3 = True;
9882 }
9883 }
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 Py_INCREF(Py_None); resultobj = Py_None;
9892 {
9893 if (temp3)
9894 delete arg3;
9895 }
9896 return resultobj;
9897 fail:
9898 {
9899 if (temp3)
9900 delete arg3;
9901 }
9902 return NULL;
9903 }
9904
9905
9906 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj;
9908 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9909 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9910 wxString arg3 = (wxString) wxPyEmptyString ;
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 PyObject * obj2 = 0 ;
9914 char *kwnames[] = {
9915 (char *) "self",(char *) "cfg",(char *) "path", NULL
9916 };
9917
9918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9923 if (obj2) {
9924 {
9925 wxString* sptr = wxString_in_helper(obj2);
9926 if (sptr == NULL) SWIG_fail;
9927 arg3 = *sptr;
9928 delete sptr;
9929 }
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 (arg1)->ReadCustomization(arg2,arg3);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9948 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9949 wxString arg3 = (wxString) wxPyEmptyString ;
9950 PyObject * obj0 = 0 ;
9951 PyObject * obj1 = 0 ;
9952 PyObject * obj2 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self",(char *) "cfg",(char *) "path", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9962 if (obj2) {
9963 {
9964 wxString* sptr = wxString_in_helper(obj2);
9965 if (sptr == NULL) SWIG_fail;
9966 arg3 = *sptr;
9967 delete sptr;
9968 }
9969 }
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 (arg1)->WriteCustomization(arg2,arg3);
9973
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 Py_INCREF(Py_None); resultobj = Py_None;
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
9985 PyObject *obj;
9986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9987 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
9988 Py_INCREF(obj);
9989 return Py_BuildValue((char *)"");
9990 }
9991 static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject *resultobj;
9993 int arg1 = (int) wxHF_DEFAULTSTYLE ;
9994 wxHtmlHelpController *result;
9995 PyObject * obj0 = 0 ;
9996 char *kwnames[] = {
9997 (char *) "style", NULL
9998 };
9999
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
10001 if (obj0) {
10002 arg1 = (int) SWIG_AsInt(obj0);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10022 PyObject * obj0 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 delete arg1;
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 Py_INCREF(Py_None); resultobj = Py_None;
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
10045 PyObject *resultobj;
10046 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10047 wxString *arg2 = 0 ;
10048 bool temp2 = False ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self",(char *) "format", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10058 {
10059 arg2 = wxString_in_helper(obj1);
10060 if (arg2 == NULL) SWIG_fail;
10061 temp2 = True;
10062 }
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 (arg1)->SetTitleFormat((wxString const &)*arg2);
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 Py_INCREF(Py_None); resultobj = Py_None;
10071 {
10072 if (temp2)
10073 delete arg2;
10074 }
10075 return resultobj;
10076 fail:
10077 {
10078 if (temp2)
10079 delete arg2;
10080 }
10081 return NULL;
10082 }
10083
10084
10085 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj;
10087 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10088 wxString *arg2 = 0 ;
10089 bool temp2 = False ;
10090 PyObject * obj0 = 0 ;
10091 PyObject * obj1 = 0 ;
10092 char *kwnames[] = {
10093 (char *) "self",(char *) "path", NULL
10094 };
10095
10096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
10097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10099 {
10100 arg2 = wxString_in_helper(obj1);
10101 if (arg2 == NULL) SWIG_fail;
10102 temp2 = True;
10103 }
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 (arg1)->SetTempDir((wxString const &)*arg2);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 Py_INCREF(Py_None); resultobj = Py_None;
10112 {
10113 if (temp2)
10114 delete arg2;
10115 }
10116 return resultobj;
10117 fail:
10118 {
10119 if (temp2)
10120 delete arg2;
10121 }
10122 return NULL;
10123 }
10124
10125
10126 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10129 wxString *arg2 = 0 ;
10130 int arg3 = (int) False ;
10131 bool result;
10132 bool temp2 = False ;
10133 PyObject * obj0 = 0 ;
10134 PyObject * obj1 = 0 ;
10135 PyObject * obj2 = 0 ;
10136 char *kwnames[] = {
10137 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10138 };
10139
10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
10141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10143 {
10144 arg2 = wxString_in_helper(obj1);
10145 if (arg2 == NULL) SWIG_fail;
10146 temp2 = True;
10147 }
10148 if (obj2) {
10149 arg3 = (int) SWIG_AsInt(obj2);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 {
10160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10161 }
10162 {
10163 if (temp2)
10164 delete arg2;
10165 }
10166 return resultobj;
10167 fail:
10168 {
10169 if (temp2)
10170 delete arg2;
10171 }
10172 return NULL;
10173 }
10174
10175
10176 static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10179 wxString *arg2 = 0 ;
10180 bool temp2 = False ;
10181 PyObject * obj0 = 0 ;
10182 PyObject * obj1 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self",(char *) "x", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10190 {
10191 arg2 = wxString_in_helper(obj1);
10192 if (arg2 == NULL) SWIG_fail;
10193 temp2 = True;
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 (arg1)->Display((wxString const &)*arg2);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 Py_INCREF(Py_None); resultobj = Py_None;
10203 {
10204 if (temp2)
10205 delete arg2;
10206 }
10207 return resultobj;
10208 fail:
10209 {
10210 if (temp2)
10211 delete arg2;
10212 }
10213 return NULL;
10214 }
10215
10216
10217 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10220 int arg2 ;
10221 PyObject * obj0 = 0 ;
10222 PyObject * obj1 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self",(char *) "id", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10230 arg2 = (int) SWIG_AsInt(obj1);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 (arg1)->Display(arg2);
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 Py_INCREF(Py_None); resultobj = Py_None;
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10249 PyObject * obj0 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "self", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 (arg1)->DisplayContents();
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 Py_INCREF(Py_None); resultobj = Py_None;
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->DisplayIndex();
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 Py_INCREF(Py_None); resultobj = Py_None;
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10299 wxString *arg2 = 0 ;
10300 bool result;
10301 bool temp2 = False ;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self",(char *) "keyword", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10311 {
10312 arg2 = wxString_in_helper(obj1);
10313 if (arg2 == NULL) SWIG_fail;
10314 temp2 = True;
10315 }
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 {
10324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10325 }
10326 {
10327 if (temp2)
10328 delete arg2;
10329 }
10330 return resultobj;
10331 fail:
10332 {
10333 if (temp2)
10334 delete arg2;
10335 }
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10343 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10344 wxString const &arg3_defvalue = wxPyEmptyString ;
10345 wxString *arg3 = (wxString *) &arg3_defvalue ;
10346 bool temp3 = False ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 PyObject * obj2 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10359 if (obj2) {
10360 {
10361 arg3 = wxString_in_helper(obj2);
10362 if (arg3 == NULL) SWIG_fail;
10363 temp3 = True;
10364 }
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 {
10375 if (temp3)
10376 delete arg3;
10377 }
10378 return resultobj;
10379 fail:
10380 {
10381 if (temp3)
10382 delete arg3;
10383 }
10384 return NULL;
10385 }
10386
10387
10388 static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10391 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10392 wxString arg3 = (wxString) wxPyEmptyString ;
10393 PyObject * obj0 = 0 ;
10394 PyObject * obj1 = 0 ;
10395 PyObject * obj2 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "cfg",(char *) "path", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 if (obj2) {
10406 {
10407 wxString* sptr = wxString_in_helper(obj2);
10408 if (sptr == NULL) SWIG_fail;
10409 arg3 = *sptr;
10410 delete sptr;
10411 }
10412 }
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 (arg1)->ReadCustomization(arg2,arg3);
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 Py_INCREF(Py_None); resultobj = Py_None;
10421 return resultobj;
10422 fail:
10423 return NULL;
10424 }
10425
10426
10427 static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10430 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10431 wxString arg3 = (wxString) wxPyEmptyString ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 PyObject * obj2 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self",(char *) "cfg",(char *) "path", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10444 if (obj2) {
10445 {
10446 wxString* sptr = wxString_in_helper(obj2);
10447 if (sptr == NULL) SWIG_fail;
10448 arg3 = *sptr;
10449 delete sptr;
10450 }
10451 }
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 (arg1)->WriteCustomization(arg2,arg3);
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 Py_INCREF(Py_None); resultobj = Py_None;
10460 return resultobj;
10461 fail:
10462 return NULL;
10463 }
10464
10465
10466 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
10467 PyObject *resultobj;
10468 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10469 wxHtmlHelpFrame *result;
10470 PyObject * obj0 = 0 ;
10471 char *kwnames[] = {
10472 (char *) "self", NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10481
10482 wxPyEndAllowThreads(__tstate);
10483 if (PyErr_Occurred()) SWIG_fail;
10484 }
10485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
10486 return resultobj;
10487 fail:
10488 return NULL;
10489 }
10490
10491
10492 static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10493 PyObject *obj;
10494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10495 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10496 Py_INCREF(obj);
10497 return Py_BuildValue((char *)"");
10498 }
10499 static PyMethodDef SwigMethods[] = {
10500 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10501 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10502 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10503 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10504 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10505 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10506 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10507 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10508 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10509 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10510 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10511 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10512 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10513 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10514 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10515 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10516 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10517 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10518 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10519 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10520 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10521 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10522 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10523 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10524 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10525 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10526 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10527 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10528 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10529 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10530 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10531 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10532 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10533 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10534 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10535 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10536 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10537 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10538 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10539 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10540 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10541 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10542 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10543 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10544 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10545 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10546 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10547 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10548 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10549 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10550 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10551 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10552 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10553 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10554 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10555 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10556 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10557 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10558 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10559 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10560 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10561 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10562 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10563 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10564 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10565 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10566 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10567 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10568 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10569 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10570 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10571 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10572 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10573 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10574 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10575 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10576 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10577 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10578 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10579 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10580 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10581 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10582 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10583 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10584 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10585 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10586 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10587 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10588 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10589 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10590 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10591 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10592 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10593 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10594 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10595 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10596 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10597 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10598 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10599 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10600 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10601 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10602 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10603 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10604 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10605 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10606 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10607 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10608 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10609 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10610 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10611 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10612 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10613 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10614 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10615 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10616 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
10617 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS },
10618 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10619 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
10620 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10621 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10622 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10623 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10624 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10625 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10626 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10627 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10628 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10629 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10630 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10631 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10632 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10633 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10634 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10635 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10636 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10637 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10638 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10639 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10640 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10641 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10642 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10643 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10644 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10645 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10646 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10647 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10648 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10649 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10650 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10651 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10652 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10653 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10654 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10655 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10656 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10657 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10658 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10659 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10660 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10661 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10662 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10663 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10664 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10665 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10666 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10667 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10668 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10669 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10670 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10671 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10672 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10673 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10674 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10675 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10676 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10677 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10678 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10679 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10680 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10681 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10682 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10683 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10684 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10685 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10686 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10687 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10688 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10689 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10690 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10691 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10692 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10693 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10694 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10695 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10696 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10697 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10698 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10699 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10700 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10701 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10702 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10703 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10704 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS },
10705 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS },
10706 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS },
10707 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10708 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10709 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10710 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10711 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10712 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10713 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10714 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10715 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10716 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10717 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10718 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10719 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10720 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10721 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10722 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10723 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10724 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10725 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10726 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10727 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10728 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10729 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10730 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10731 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10732 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10733 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10734 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10735 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10736 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10737 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10738 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10739 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10740 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10741 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10742 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10743 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10744 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10745 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10746 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10747 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10748 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10749 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10750 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10751 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10752 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10753 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10754 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10755 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10756 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10757 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10758 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10759 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10760 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10761 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10762 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10763 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10764 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10765 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10766 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10767 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10768 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10769 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10770 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10771 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10772 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10773 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10774 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10775 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10776 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10777 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10778 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10779 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10780 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10781 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10782 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10783 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10784 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10785 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10786 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10787 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10788 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10789 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10790 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10791 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10792 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10793 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10794 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10795 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10796 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10797 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10798 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10799 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10800 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10801 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10802 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10803 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10804 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10805 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10806 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10807 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10808 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10809 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10810 { NULL, NULL }
10811 };
10812
10813
10814 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10815
10816 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10817 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10818 }
10819 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10820 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10821 }
10822 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10823 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10824 }
10825 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10826 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10827 }
10828 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10829 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10830 }
10831 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10832 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10833 }
10834 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10835 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10836 }
10837 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10838 return (void *)((wxPanel *) ((wxPyPanel *) x));
10839 }
10840 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10841 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10842 }
10843 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10844 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10845 }
10846 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10847 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10848 }
10849 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10850 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10851 }
10852 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10853 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10854 }
10855 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10857 }
10858 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10860 }
10861 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10862 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10863 }
10864 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10865 return (void *)((wxWindow *) ((wxMenuBar *) x));
10866 }
10867 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10869 }
10870 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10872 }
10873 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10875 }
10876 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10877 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10878 }
10879 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10880 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10881 }
10882 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10884 }
10885 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10887 }
10888 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10889 return (void *)((wxWindow *) ((wxPanel *) x));
10890 }
10891 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10892 return (void *)((wxWindow *) ((wxStatusBar *) x));
10893 }
10894 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10895 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10896 }
10897 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10898 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10899 }
10900 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10901 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10902 }
10903 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10904 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10905 }
10906 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10907 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10908 }
10909 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10910 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10911 }
10912 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10913 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10914 }
10915 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10916 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10917 }
10918 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10919 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10920 }
10921 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10922 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10923 }
10924 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10925 return (void *)((wxWindow *) ((wxSashWindow *) x));
10926 }
10927 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10928 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10929 }
10930 static void *_p_wxControlTo_p_wxWindow(void *x) {
10931 return (void *)((wxWindow *) ((wxControl *) x));
10932 }
10933 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10934 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10935 }
10936 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10937 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10938 }
10939 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10940 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10941 }
10942 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10943 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10944 }
10945 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10946 return (void *)((wxWindow *) ((wxPyWindow *) x));
10947 }
10948 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10949 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10950 }
10951 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10952 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10953 }
10954 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10955 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10956 }
10957 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10958 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10959 }
10960 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10961 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10962 }
10963 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
10964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
10965 }
10966 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10967 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10968 }
10969 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10970 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10971 }
10972 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10973 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10974 }
10975 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10976 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10977 }
10978 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10979 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10980 }
10981 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
10982 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
10983 }
10984 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
10985 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
10986 }
10987 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10988 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10989 }
10990 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10991 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10992 }
10993 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10994 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10995 }
10996 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10997 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10998 }
10999 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
11000 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
11001 }
11002 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
11003 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
11004 }
11005 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
11006 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
11007 }
11008 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
11009 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
11010 }
11011 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
11012 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
11013 }
11014 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
11015 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
11016 }
11017 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
11018 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
11019 }
11020 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
11021 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
11022 }
11023 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
11024 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
11025 }
11026 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11027 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11028 }
11029 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11030 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11031 }
11032 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11033 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11034 }
11035 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11036 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11037 }
11038 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11039 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11040 }
11041 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11042 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11043 }
11044 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11045 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11046 }
11047 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11048 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11049 }
11050 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11051 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11052 }
11053 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11054 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11055 }
11056 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11057 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11058 }
11059 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11061 }
11062 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11064 }
11065 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11066 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11067 }
11068 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11069 return (void *)((wxObject *) ((wxSizerItem *) x));
11070 }
11071 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11072 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11073 }
11074 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11075 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11076 }
11077 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11078 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11079 }
11080 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11081 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11082 }
11083 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11084 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11085 }
11086 static void *_p_wxSizerTo_p_wxObject(void *x) {
11087 return (void *)((wxObject *) ((wxSizer *) x));
11088 }
11089 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11090 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11091 }
11092 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11093 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11094 }
11095 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11096 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11097 }
11098 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11100 }
11101 static void *_p_wxEventTo_p_wxObject(void *x) {
11102 return (void *)((wxObject *) ((wxEvent *) x));
11103 }
11104 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11105 return (void *)((wxObject *) ((wxFontData *) x));
11106 }
11107 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11108 return (void *)((wxObject *) ((wxPrintData *) x));
11109 }
11110 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11111 return (void *)((wxObject *) ((wxHtmlTag *) x));
11112 }
11113 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11114 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11115 }
11116 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11117 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11118 }
11119 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11120 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11121 }
11122 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11123 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11124 }
11125 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
11126 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
11127 }
11128 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11129 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11130 }
11131 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11133 }
11134 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11135 return (void *)((wxObject *) ((wxHtmlCell *) x));
11136 }
11137 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11138 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11139 }
11140 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11141 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11142 }
11143 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11144 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11145 }
11146 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11147 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11148 }
11149 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11150 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11151 }
11152 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11153 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11154 }
11155 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11157 }
11158 static void *_p_wxControlTo_p_wxObject(void *x) {
11159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11160 }
11161 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11162 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11163 }
11164 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11165 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11166 }
11167 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11168 return (void *)((wxObject *) ((wxFSFile *) x));
11169 }
11170 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11171 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11172 }
11173 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11174 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11175 }
11176 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11177 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11178 }
11179 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11180 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11181 }
11182 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11184 }
11185 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11186 return (void *)((wxObject *) ((wxColourData *) x));
11187 }
11188 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11189 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11190 }
11191 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11192 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11193 }
11194 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11196 }
11197 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11199 }
11200 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11202 }
11203 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11205 }
11206 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11208 }
11209 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11211 }
11212 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11214 }
11215 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11217 }
11218 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11220 }
11221 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11222 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11223 }
11224 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11225 return (void *)((wxObject *) ((wxPrinter *) x));
11226 }
11227 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11228 return (void *)((wxObject *) ((wxMenuItem *) x));
11229 }
11230 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11231 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11232 }
11233 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11234 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11235 }
11236 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11237 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11238 }
11239 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11240 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11241 }
11242 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11243 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11244 }
11245 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11246 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11247 }
11248 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11249 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11250 }
11251 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11252 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11253 }
11254 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11255 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11256 }
11257 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11258 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11259 }
11260 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11261 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11262 }
11263 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11264 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11265 }
11266 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11267 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11268 }
11269 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11270 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11271 }
11272 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11273 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11274 }
11275 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11276 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11277 }
11278 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11279 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11280 }
11281 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11282 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11283 }
11284 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11285 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11286 }
11287 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11288 return (void *)((wxObject *) ((wxImageHandler *) x));
11289 }
11290 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11291 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11292 }
11293 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11294 return (void *)((wxObject *) ((wxEvtHandler *) x));
11295 }
11296 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11297 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11298 }
11299 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11300 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11301 }
11302 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11303 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11304 }
11305 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11307 }
11308 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11310 }
11311 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11312 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11313 }
11314 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11316 }
11317 static void *_p_wxImageTo_p_wxObject(void *x) {
11318 return (void *)((wxObject *) ((wxImage *) x));
11319 }
11320 static void *_p_wxFrameTo_p_wxObject(void *x) {
11321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11322 }
11323 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11324 return (void *)((wxObject *) ((wxPyPrintout *) x));
11325 }
11326 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11327 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11328 }
11329 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11330 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11331 }
11332 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11333 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11334 }
11335 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11337 }
11338 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11339 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11340 }
11341 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11342 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11343 }
11344 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11346 }
11347 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11348 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11349 }
11350 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11351 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11352 }
11353 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11354 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11355 }
11356 static void *_p_wxWindowTo_p_wxObject(void *x) {
11357 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11358 }
11359 static void *_p_wxMenuTo_p_wxObject(void *x) {
11360 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11361 }
11362 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11364 }
11365 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11367 }
11368 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11370 }
11371 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11373 }
11374 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11376 }
11377 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11379 }
11380 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11382 }
11383 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11385 }
11386 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11388 }
11389 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11391 }
11392 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11394 }
11395 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11397 }
11398 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11400 }
11401 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11403 }
11404 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11405 return (void *)((wxObject *) ((wxPrintPreview *) x));
11406 }
11407 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11408 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11409 }
11410 static void *_p_wxPanelTo_p_wxObject(void *x) {
11411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11412 }
11413 static void *_p_wxDialogTo_p_wxObject(void *x) {
11414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11415 }
11416 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11418 }
11419 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11421 }
11422 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11424 }
11425 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11427 }
11428 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11430 }
11431 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11432 return (void *)((wxObject *) ((wxHtmlParser *) x));
11433 }
11434 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11435 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11436 }
11437 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11438 return (void *)((wxObject *) ((wxFileSystem *) x));
11439 }
11440 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11441 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11442 }
11443 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11444 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11445 }
11446 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11447 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11448 }
11449 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11450 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11451 }
11452 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11453 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11454 }
11455 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11456 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11457 }
11458 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11459 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11460 }
11461 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11463 }
11464 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11465 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11466 }
11467 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11469 }
11470 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11472 }
11473 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11474 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11475 }
11476 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11477 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11478 }
11479 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11480 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11481 }
11482 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11483 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11484 }
11485 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11486 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11487 }
11488 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11490 }
11491 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11492 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11493 }
11494 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11495 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11496 }
11497 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11498 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11499 }
11500 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11501 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11502 }
11503 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11504 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11505 }
11506 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11508 }
11509 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11511 }
11512 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11513 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11514 }
11515 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11516 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11517 }
11518 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11519 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11520 }
11521 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11522 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11523 }
11524 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11525 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11526 }
11527 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11529 }
11530 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11531 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11532 }
11533 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11535 }
11536 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11538 }
11539 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11541 }
11542 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11544 }
11545 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11547 }
11548 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11550 }
11551 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11552 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11553 }
11554 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11555 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11556 }
11557 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11558 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11559 }
11560 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11561 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11562 }
11563 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11565 }
11566 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11567 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11568 }
11569 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11570 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11571 }
11572 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11573 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11574 }
11575 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11577 }
11578 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11579 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11580 }
11581 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11582 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11583 }
11584 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11585 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11586 }
11587 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11588 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11589 }
11590 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11591 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11592 }
11593 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11594 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11595 }
11596 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11597 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11598 }
11599 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11601 }
11602 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11604 }
11605 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11606 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11607 }
11608 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11610 }
11611 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11612 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11613 }
11614 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11615 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11616 }
11617 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11618 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11619 }
11620 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11621 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11622 }
11623 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11624 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11625 }
11626 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11627 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11628 }
11629 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11630 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11631 }
11632 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11633 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11634 }
11635 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11636 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11637 }
11638 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11639 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11640 }
11641 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11642 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11643 }
11644 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11645 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11646 }
11647 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11648 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11649 }
11650 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11651 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11652 }
11653 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11654 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11655 }
11656 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11657 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11658 }
11659 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11660 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11661 }
11662 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11663 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11664 }
11665 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11666 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11667 }
11668 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11669 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11670 }
11671 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11672 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11673 }
11674 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11675 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11676 }
11677 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11678 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11679 }
11680 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11681 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11682 }
11683 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11684 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11685 }
11686 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11687 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11688 }
11689 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11690 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11691 }
11692 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11693 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11694 }
11695 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11696 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11697 }
11698 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11699 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11700 }
11701 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11702 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11703 }
11704 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}};
11705 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}};
11706 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}};
11707 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}};
11708 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}};
11709 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}};
11710 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}};
11711 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}};
11712 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}};
11713 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}};
11714 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}};
11715 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}};
11716 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}};
11717 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}};
11718 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}};
11719 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}};
11720 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}};
11721 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}};
11722 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}};
11723 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}};
11724 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}};
11725 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}};
11726 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}};
11727 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}};
11728 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}};
11729 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}};
11730 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}};
11731 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}};
11732 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}};
11733 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}};
11734 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}};
11735 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}};
11736 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}};
11737 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}};
11738 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}};
11739 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}};
11740 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}};
11741 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}};
11742 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}};
11743 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}};
11744 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}};
11745 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}};
11746 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}};
11747 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}};
11748 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}};
11749 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}};
11750 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}};
11751 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}};
11752 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}};
11753 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}};
11754 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}};
11755 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}};
11756
11757 static swig_type_info *swig_types_initial[] = {
11758 _swigt__p_wxHtmlDCRenderer,
11759 _swigt__p_wxColour,
11760 _swigt__p_wxPageSetupDialogData,
11761 _swigt__p_wxDC,
11762 _swigt__p_wxDefaultHtmlRenderingStyle,
11763 _swigt__p_wxHtmlRenderingStyle,
11764 _swigt__p_wxMouseEvent,
11765 _swigt__p_wxHtmlWordCell,
11766 _swigt__p_wxHtmlHelpData,
11767 _swigt__p_char,
11768 _swigt__p_wxHtmlWinParser,
11769 _swigt__p_wxHtmlParser,
11770 _swigt__p_wxPanel,
11771 _swigt__p_wxFont,
11772 _swigt__p_wxHtmlColourCell,
11773 _swigt__p_wxPyHtmlWindow,
11774 _swigt__p_wxScrolledWindow,
11775 _swigt__p_wxWindow,
11776 _swigt__p_wxTopLevelWindow,
11777 _swigt__p_wxHtmlFontCell,
11778 _swigt__p_wxHtmlEasyPrinting,
11779 _swigt__p_wxHtmlSelection,
11780 _swigt__p_wxHtmlRenderingInfo,
11781 _swigt__p_wxHtmlWidgetCell,
11782 _swigt__p_wxObject,
11783 _swigt__p_wxString,
11784 _swigt__p_wxPyHtmlWinTagHandler,
11785 _swigt__p_wxHtmlTagHandler,
11786 _swigt__p_wxPyHtmlTagHandler,
11787 _swigt__p_wxEvtHandler,
11788 _swigt__p_wxPoint,
11789 _swigt__p_wxHtmlHelpController,
11790 _swigt__p_wxCursor,
11791 _swigt__p_wxFileSystem,
11792 _swigt__p_wxHtmlBookRecArray,
11793 _swigt__p_wxPyPrintout,
11794 _swigt__p_wxHtmlPrintout,
11795 _swigt__p_wxHtmlSearchStatus,
11796 _swigt__p_wxHtmlContentsItem,
11797 _swigt__p_wxConfigBase,
11798 _swigt__p_wxPrintData,
11799 _swigt__p_wxHtmlHelpFrame,
11800 _swigt__p_wxHtmlRenderingState,
11801 _swigt__p_wxFrame,
11802 _swigt__p_wxPyHtmlFilter,
11803 _swigt__p_wxHtmlFilter,
11804 _swigt__p_wxHtmlCell,
11805 _swigt__p_wxHtmlContainerCell,
11806 _swigt__p_wxHtmlTag,
11807 _swigt__p_wxHtmlLinkInfo,
11808 _swigt__p_int,
11809 _swigt__p_wxHtmlBookRecord,
11810 0
11811 };
11812
11813
11814 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11815
11816 static swig_const_info swig_const_table[] = {
11817 {0}};
11818
11819 #ifdef __cplusplus
11820 }
11821 #endif
11822
11823 #ifdef __cplusplus
11824 extern "C"
11825 #endif
11826 SWIGEXPORT(void) SWIG_init(void) {
11827 static PyObject *SWIG_globals = 0;
11828 static int typeinit = 0;
11829 PyObject *m, *d;
11830 int i;
11831 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11832 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11833 d = PyModule_GetDict(m);
11834
11835 if (!typeinit) {
11836 for (i = 0; swig_types_initial[i]; i++) {
11837 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11838 }
11839 typeinit = 1;
11840 }
11841 SWIG_InstallConstants(d,swig_const_table);
11842
11843 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11844 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11845 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11846 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
11847 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT));
11848 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER));
11849 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT));
11850 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM));
11851 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP));
11852 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND));
11853 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND));
11854 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS));
11855 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT));
11856 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT));
11857 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT));
11858 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP));
11859 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM));
11860 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11861 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL));
11862 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL));
11863 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR));
11864 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11865 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER));
11866 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1));
11867 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2));
11868 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3));
11869 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4));
11870 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5));
11871 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6));
11872 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7));
11873 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER));
11874 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO));
11875 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION));
11876 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE));
11877 PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN));
11878 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK));
11879 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT));
11880 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE));
11881 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE));
11882 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER));
11883 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT));
11884 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN));
11885 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING));
11886 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT));
11887 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11888 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11889 PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD));
11890 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN));
11891 PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL));
11892 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR));
11893 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR));
11894 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS));
11895 PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX));
11896 PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH));
11897 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS));
11898 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES));
11899 PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT));
11900 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE));
11901
11902 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11903 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11904 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11905 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11906
11907 }
11908