]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/html_wrap.cpp
removed a debugging print
[wxWidgets.git] / wxPython / src / mac / html_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #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_wxVisualAttributes swig_types[8]
218 #define SWIGTYPE_p_wxHtmlHelpData swig_types[9]
219 #define SWIGTYPE_p_char swig_types[10]
220 #define SWIGTYPE_p_wxHtmlWinParser swig_types[11]
221 #define SWIGTYPE_p_wxHtmlParser swig_types[12]
222 #define SWIGTYPE_p_wxPanel swig_types[13]
223 #define SWIGTYPE_p_wxFont swig_types[14]
224 #define SWIGTYPE_p_wxHtmlColourCell swig_types[15]
225 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
226 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
227 #define SWIGTYPE_p_wxWindow swig_types[18]
228 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
229 #define SWIGTYPE_p_wxHtmlFontCell swig_types[20]
230 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21]
231 #define SWIGTYPE_p_wxHtmlSelection swig_types[22]
232 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23]
233 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24]
234 #define SWIGTYPE_p_wxObject swig_types[25]
235 #define SWIGTYPE_p_wxString swig_types[26]
236 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27]
237 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28]
238 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
240 #define SWIGTYPE_p_wxPoint swig_types[31]
241 #define SWIGTYPE_p_wxHtmlHelpController swig_types[32]
242 #define SWIGTYPE_p_wxCursor swig_types[33]
243 #define SWIGTYPE_p_wxFileSystem swig_types[34]
244 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35]
245 #define SWIGTYPE_p_wxPyPrintout swig_types[36]
246 #define SWIGTYPE_p_wxHtmlPrintout swig_types[37]
247 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38]
248 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39]
249 #define SWIGTYPE_p_wxConfigBase swig_types[40]
250 #define SWIGTYPE_p_wxPrintData swig_types[41]
251 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42]
252 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43]
253 #define SWIGTYPE_p_wxFrame swig_types[44]
254 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45]
255 #define SWIGTYPE_p_wxHtmlFilter swig_types[46]
256 #define SWIGTYPE_p_wxHtmlCell swig_types[47]
257 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48]
258 #define SWIGTYPE_p_wxHtmlTag swig_types[49]
259 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52]
262 static swig_type_info *swig_types[54];
263
264 /* -------- TYPES TABLE (END) -------- */
265
266
267 /*-----------------------------------------------
268 @(target):= _html.so
269 ------------------------------------------------*/
270 #define SWIG_init init_html
271
272 #define SWIG_name "_html"
273
274 /* Auxiliar swig macros */
275
276 #ifdef __cplusplus
277 #define SWIGSTATICINLINE(a) static inline a
278 #define SWIGSTATIC(a) static a
279 #define swig_new_array(type, size) (new type[(size)])
280 #define swig_delete_array(cptr) delete[] cptr
281 #define swig_const_cast(type,a) const_cast<type>(a)
282 #define swig_static_cast(type,a) static_cast<type>(a)
283 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
284
285 #ifdef HAVE_NUMERIC_CAST
286 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
287 #else
288 #define swig_numeric_cast(type,a) static_cast<type>(a)
289 #endif
290
291 #else /* C case */
292
293 #define SWIGSTATICINLINE(a) static a
294 #define SWIGSTATIC(a) static a
295 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
296 #define swig_delete_array(cptr) free((char*)cptr)
297 #define swig_const_cast(type,a) (type)(a)
298 #define swig_static_cast(type,a) (type)(a)
299 #define swig_reinterpret_cast(type,a) (type)(a)
300 #define swig_numeric_cast(type,a) (type)(a)
301
302 #endif /* __cplusplus */
303
304
305 #define SWIG_FromSignedChar PyInt_FromLong
306 #define SWIG_FromUnsignedChar PyInt_FromLong
307 #define SWIG_FromShort PyInt_FromLong
308 #define SWIG_FromUnsignedShort PyInt_FromLong
309 #define SWIG_FromInt PyInt_FromLong
310 #define SWIG_FromLong PyInt_FromLong
311 #define SWIG_FromFloat PyFloat_FromDouble
312 #define SWIG_FromDouble PyFloat_FromDouble
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315
316
317 #include "wx/wxPython/wxPython.h"
318 #include "wx/wxPython/pyclasses.h"
319 #include "wx/wxPython/pyistream.h"
320 #include "wx/wxPython/printfw.h"
321
322 #include <wx/html/htmlwin.h>
323 #include <wx/html/htmprint.h>
324 #include <wx/html/helpctrl.h>
325
326
327 static const wxString wxPyEmptyString(wxEmptyString);
328 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
329 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
330 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
331
332 #include <limits.h>
333
334
335 SWIGSTATICINLINE(long)
336 SWIG_CheckLongInRange(long value, const char* type,
337 long min_value, long max_value)
338 {
339 if (!PyErr_Occurred()) {
340 if (value < min_value) {
341 PyObject *err =
342 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
343 value, type, min_value);
344
345 PyErr_SetObject(PyExc_OverflowError, err);
346 Py_DECREF(err);
347 } else if (value > max_value) {
348 PyObject *err =
349 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
350 value, type, max_value);
351 PyErr_SetObject(PyExc_OverflowError, err);
352 Py_DECREF(err);
353 }
354 }
355 return value;
356 }
357
358
359 SWIGSTATICINLINE(long)
360 SWIG_AsLong(PyObject * obj)
361 {
362 if (PyNumber_Check(obj))
363 return PyInt_AsLong(obj);
364 else {
365 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
366 obj->ob_type->tp_name);
367 PyErr_SetObject(PyExc_TypeError, errmsg);
368 Py_DECREF(errmsg);
369 return 0;
370 }
371 }
372
373
374 #if INT_MAX != LONG_MAX
375 SWIGSTATICINLINE(int)
376 SWIG_AsInt(PyObject *obj)
377 {
378 return swig_numeric_cast(int,
379 SWIG_CheckLongInRange(SWIG_AsLong(obj),
380 "int", INT_MIN, INT_MAX));
381 }
382 #else
383 #define SWIG_AsInt SWIG_AsLong
384 #endif
385
386
387 SWIGSTATICINLINE(int)
388 SWIG_CheckInt(PyObject* obj)
389 {
390 SWIG_AsInt(obj);
391 if (PyErr_Occurred()) {
392 PyErr_Clear();
393 return 0;
394 } else {
395 return 1;
396 }
397 }
398
399 void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
400 int* temp = NULL;
401 if (sizes) temp = int_LIST_helper(sizes);
402 self->SetFonts(normal_face, fixed_face, temp);
403 if (temp)
404 delete [] temp;
405 }
406
407 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
408 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
409 public:
410 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
411
412 wxHtmlParser* GetParser() { return m_Parser; }
413 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
414
415 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
416 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
417
418 PYPRIVATE;
419 };
420
421 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
422
423 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
424 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
425
426
427 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
428 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
429 public:
430 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
431
432 wxHtmlWinParser* GetParser() { return m_WParser; }
433 void ParseInner(const wxHtmlTag& tag)
434 { wxHtmlWinTagHandler::ParseInner(tag); }
435
436 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
437 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
438
439 PYPRIVATE;
440 };
441
442 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
443
444 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
445 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
446
447
448
449 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
450 public:
451 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
452 m_tagHandlerClass = thc;
453 Py_INCREF(m_tagHandlerClass);
454 RegisterModule(this);
455 wxHtmlWinParser::AddModule(this);
456 }
457
458 void OnExit() {
459 bool blocked = wxPyBeginBlockThreads();
460 Py_DECREF(m_tagHandlerClass);
461 m_tagHandlerClass = NULL;
462 for (size_t x=0; x < m_objArray.GetCount(); x++) {
463 PyObject* obj = (PyObject*)m_objArray.Item(x);
464 Py_DECREF(obj);
465 }
466 wxPyEndBlockThreads(blocked);
467 };
468
469 void FillHandlersTable(wxHtmlWinParser *parser) {
470 // Wave our magic wand... (if it works it's a miracle! ;-)
471
472 // First, make a new instance of the tag handler
473 bool blocked = wxPyBeginBlockThreads();
474 PyObject* arg = PyTuple_New(0);
475 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
476 Py_DECREF(arg);
477
478 // now figure out where it's C++ object is...
479 wxPyHtmlWinTagHandler* thPtr;
480 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
481 wxPyEndBlockThreads(blocked);
482 return;
483 }
484 wxPyEndBlockThreads(blocked);
485
486 // add it,
487 parser->AddTagHandler(thPtr);
488
489 // and track it.
490 m_objArray.Add(obj);
491 }
492
493 private:
494 PyObject* m_tagHandlerClass;
495 wxArrayPtrVoid m_objArray;
496
497 };
498
499
500 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
501 // Dynamically create a new wxModule. Refcounts tagHandlerClass
502 // and adds itself to the wxModules list and to the wxHtmlWinParser.
503 new wxPyHtmlTagsModule(tagHandlerClass);
504 }
505
506
507 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
508 PyObject* o2;
509 PyObject* o3;
510
511 if (!target) {
512 target = o;
513 } else if (target == Py_None) {
514 Py_DECREF(Py_None);
515 target = o;
516 } else {
517 if (!PyTuple_Check(target)) {
518 o2 = target;
519 target = PyTuple_New(1);
520 PyTuple_SetItem(target, 0, o2);
521 }
522 o3 = PyTuple_New(1);
523 PyTuple_SetItem(o3, 0, o);
524
525 o2 = target;
526 target = PySequence_Concat(o2, o3);
527 Py_DECREF(o2);
528 Py_DECREF(o3);
529 }
530 return target;
531 }
532
533
534 SWIGSTATICINLINE(bool)
535 SWIG_AsBool(PyObject *obj)
536 {
537 return PyObject_IsTrue(obj) ? true : false;
538 }
539
540
541 SWIGSTATICINLINE(int)
542 SWIG_CheckBool(PyObject* obj)
543 {
544 SWIG_AsBool(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551 }
552
553
554 SWIGSTATICINLINE(unsigned long)
555 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
556 unsigned long max_value)
557 {
558 if (!PyErr_Occurred()) {
559 if (value > max_value) {
560 PyObject *err =
561 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
562 value, type, max_value);
563 PyErr_SetObject(PyExc_OverflowError, err);
564 Py_DECREF(err);
565 }
566 }
567 return value;
568 }
569
570
571 SWIGSTATICINLINE(unsigned long)
572 SWIG_AsUnsignedLong(PyObject * obj)
573 {
574 if (PyLong_Check(obj)) {
575 return PyLong_AsUnsignedLong(obj);
576 } else {
577 long i = SWIG_AsLong(obj);
578 if ( !PyErr_Occurred() && (i < 0)) {
579 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
580 }
581 return i;
582 }
583 }
584
585
586 #if UINT_MAX != ULONG_MAX
587 SWIGSTATICINLINE(unsigned int)
588 SWIG_AsUnsignedInt(PyObject *obj)
589 {
590 return swig_numeric_cast(unsigned int,
591 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
592 "unsigned int", UINT_MAX));
593 }
594 #else
595 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
596 #endif
597
598
599 SWIGSTATICINLINE(int)
600 SWIG_CheckUnsignedInt(PyObject* obj)
601 {
602 SWIG_AsUnsignedInt(obj);
603 if (PyErr_Occurred()) {
604 PyErr_Clear();
605 return 0;
606 } else {
607 return 1;
608 }
609 }
610
611
612 SWIGSTATICINLINE(PyObject* )
613 SWIG_FromUnsignedLong(unsigned long value)
614 {
615 return (value > LONG_MAX) ?
616 PyLong_FromUnsignedLong(value)
617 : PyInt_FromLong(swig_numeric_cast(long,value));
618 }
619
620
621 #if UINT_MAX < LONG_MAX
622 #define SWIG_FromUnsignedInt SWIG_FromLong
623 #else
624 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
625 #endif
626
627 // here's the C++ version
628 class wxPyHtmlFilter : public wxHtmlFilter {
629 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter);
630 public:
631 wxPyHtmlFilter() : wxHtmlFilter() {}
632
633 // returns True if this filter is able to open&read given file
634 virtual bool CanRead(const wxFSFile& file) const {
635 bool rval = False;
636 bool found;
637 bool blocked = wxPyBeginBlockThreads();
638 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
639 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
640 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
641 Py_DECREF(obj);
642 }
643 wxPyEndBlockThreads(blocked);
644 return rval;
645 }
646
647
648 // Reads given file and returns HTML document.
649 // Returns empty string if opening failed
650 virtual wxString ReadFile(const wxFSFile& file) const {
651 wxString rval;
652 bool found;
653 bool blocked = wxPyBeginBlockThreads();
654 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
655 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const
656 PyObject* ro;
657 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
658 Py_DECREF(obj);
659 if (ro) {
660 rval = Py2wxString(ro);
661 Py_DECREF(ro);
662 }
663 }
664 wxPyEndBlockThreads(blocked);
665 return rval;
666 }
667
668 PYPRIVATE;
669 };
670
671 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
672
673
674 class wxPyHtmlWindow : public wxHtmlWindow {
675 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
676 public:
677 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
678 const wxPoint& pos = wxDefaultPosition,
679 const wxSize& size = wxDefaultSize,
680 long style = wxHW_DEFAULT_STYLE,
681 const wxString& name = wxPyHtmlWindowNameStr)
682 : wxHtmlWindow(parent, id, pos, size, style, name) {};
683 wxPyHtmlWindow() : wxHtmlWindow() {};
684
685 bool ScrollToAnchor(const wxString& anchor) {
686 return wxHtmlWindow::ScrollToAnchor(anchor);
687 }
688
689 bool HasAnchor(const wxString& anchor) {
690 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
691 return c!=NULL;
692 }
693
694 void OnLinkClicked(const wxHtmlLinkInfo& link);
695 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
696
697 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
698 const wxString& url,
699 wxString *redirect) const;
700
701 DEC_PYCALLBACK__STRING(OnSetTitle);
702 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
703 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
704 PYPRIVATE;
705 };
706
707 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
708 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
709 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
710 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
711
712
713 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
714 bool found;
715 bool blocked = wxPyBeginBlockThreads();
716 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
717 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
718 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
719 Py_DECREF(obj);
720 }
721 wxPyEndBlockThreads(blocked);
722 if (! found)
723 wxHtmlWindow::OnLinkClicked(link);
724 }
725 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
726 wxHtmlWindow::OnLinkClicked(link);
727 }
728
729
730 wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
731 const wxString& url,
732 wxString *redirect) const {
733 bool found;
734 wxHtmlOpeningStatus rval;
735 bool blocked = wxPyBeginBlockThreads();
736 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
737 PyObject* ro;
738 PyObject* s = wx2PyString(url);
739 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
740 Py_DECREF(s);
741 if (PyString_Check(ro)
742 #if PYTHON_API_VERSION >= 1009
743 || PyUnicode_Check(ro)
744 #endif
745 ) {
746 *redirect = Py2wxString(ro);
747 rval = wxHTML_REDIRECT;
748 }
749 else {
750 PyObject* num = PyNumber_Int(ro);
751 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
752 Py_DECREF(num);
753 }
754 Py_DECREF(ro);
755 }
756 wxPyEndBlockThreads(blocked);
757 if (! found)
758 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
759 return rval;
760 }
761
762
763
764 void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
765 int* temp = NULL;
766 if (sizes) temp = int_LIST_helper(sizes);
767 self->SetFonts(normal_face, fixed_face, temp);
768 if (temp)
769 delete [] temp;
770 }
771 void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
772 int* temp = NULL;
773 if (sizes) temp = int_LIST_helper(sizes);
774 self->SetFonts(normal_face, fixed_face, temp);
775 if (temp)
776 delete [] temp;
777 }
778 void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
779 int* temp = NULL;
780 if (sizes) temp = int_LIST_helper(sizes);
781 self->SetFonts(normal_face, fixed_face, temp);
782 if (temp)
783 delete [] temp;
784 }
785
786 #include <float.h>
787
788 SWIGSTATIC(float)
789 SWIG_FloatCast(double value)
790 {
791 float f = 0;
792 if (!PyErr_Occurred()) {
793 if (value < FLT_MIN) {
794 PyObject *err =
795 PyString_FromFormat("value %g is less than float minimum %g",
796 value, FLT_MIN);
797 PyErr_SetObject(PyExc_OverflowError, err);
798 Py_DECREF(err);
799 } else if (value > FLT_MAX) {
800 PyObject *err =
801 PyString_FromFormat("value %g is greater than float maximum %g",
802 value, FLT_MAX);
803 PyErr_SetObject(PyExc_OverflowError, err);
804 Py_DECREF(err);
805 } else {
806 f = swig_numeric_cast(float, value);
807 }
808 }
809 return f;
810 }
811
812
813 SWIGSTATICINLINE(double)
814 SWIG_AsDouble(PyObject *obj)
815 {
816 if (PyNumber_Check(obj))
817 return PyFloat_AsDouble(obj);
818 else {
819 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
820 obj->ob_type->tp_name);
821 PyErr_SetObject(PyExc_TypeError, errmsg);
822 Py_DECREF(errmsg);
823 return 0;
824 }
825 }
826
827
828 SWIGSTATICINLINE(float)
829 SWIG_AsFloat(PyObject *obj)
830 {
831 return SWIG_FloatCast(SWIG_AsDouble(obj));
832 }
833
834
835 SWIGSTATICINLINE(int)
836 SWIG_CheckFloat(PyObject* obj)
837 {
838 SWIG_AsFloat(obj);
839 if (PyErr_Occurred()) {
840 PyErr_Clear();
841 return 0;
842 } else {
843 return 1;
844 }
845 }
846
847 void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){
848 int* temp = NULL;
849 if (sizes) temp = int_LIST_helper(sizes);
850 self->SetFonts(normal_face, fixed_face, temp);
851 if (temp)
852 delete [] temp;
853 }
854 int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; }
855 int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; }
856 wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; }
857 wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; }
858 wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; }
859 #ifdef __cplusplus
860 extern "C" {
861 #endif
862 static int _wrap_HtmlWindowNameStr_set(PyObject *_val) {
863 PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only.");
864 return 1;
865 }
866
867
868 static PyObject *_wrap_HtmlWindowNameStr_get() {
869 PyObject *pyobj;
870
871 {
872 #if wxUSE_UNICODE
873 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
874 #else
875 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
876 #endif
877 }
878 return pyobj;
879 }
880
881
882 static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) {
883 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only.");
884 return 1;
885 }
886
887
888 static PyObject *_wrap_HtmlPrintoutTitleStr_get() {
889 PyObject *pyobj;
890
891 {
892 #if wxUSE_UNICODE
893 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
894 #else
895 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
896 #endif
897 }
898 return pyobj;
899 }
900
901
902 static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) {
903 PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only.");
904 return 1;
905 }
906
907
908 static PyObject *_wrap_HtmlPrintingTitleStr_get() {
909 PyObject *pyobj;
910
911 {
912 #if wxUSE_UNICODE
913 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
914 #else
915 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
916 #endif
917 }
918 return pyobj;
919 }
920
921
922 static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
923 PyObject *resultobj;
924 wxString *arg1 = 0 ;
925 wxString const &arg2_defvalue = wxPyEmptyString ;
926 wxString *arg2 = (wxString *) &arg2_defvalue ;
927 wxHtmlLinkInfo *result;
928 bool temp1 = False ;
929 bool temp2 = False ;
930 PyObject * obj0 = 0 ;
931 PyObject * obj1 = 0 ;
932 char *kwnames[] = {
933 (char *) "href",(char *) "target", NULL
934 };
935
936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail;
937 {
938 arg1 = wxString_in_helper(obj0);
939 if (arg1 == NULL) SWIG_fail;
940 temp1 = True;
941 }
942 if (obj1) {
943 {
944 arg2 = wxString_in_helper(obj1);
945 if (arg2 == NULL) SWIG_fail;
946 temp2 = True;
947 }
948 }
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1);
957 {
958 if (temp1)
959 delete arg1;
960 }
961 {
962 if (temp2)
963 delete arg2;
964 }
965 return resultobj;
966 fail:
967 {
968 if (temp1)
969 delete arg1;
970 }
971 {
972 if (temp2)
973 delete arg2;
974 }
975 return NULL;
976 }
977
978
979 static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject *resultobj;
981 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
982 wxString result;
983 PyObject * obj0 = 0 ;
984 char *kwnames[] = {
985 (char *) "self", NULL
986 };
987
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail;
989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
991 {
992 PyThreadState* __tstate = wxPyBeginAllowThreads();
993 result = (arg1)->GetHref();
994
995 wxPyEndAllowThreads(__tstate);
996 if (PyErr_Occurred()) SWIG_fail;
997 }
998 {
999 #if wxUSE_UNICODE
1000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1001 #else
1002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1003 #endif
1004 }
1005 return resultobj;
1006 fail:
1007 return NULL;
1008 }
1009
1010
1011 static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
1012 PyObject *resultobj;
1013 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1014 wxString result;
1015 PyObject * obj0 = 0 ;
1016 char *kwnames[] = {
1017 (char *) "self", NULL
1018 };
1019
1020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail;
1021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 result = (arg1)->GetTarget();
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 }
1030 {
1031 #if wxUSE_UNICODE
1032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1033 #else
1034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1035 #endif
1036 }
1037 return resultobj;
1038 fail:
1039 return NULL;
1040 }
1041
1042
1043 static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1046 wxMouseEvent *result;
1047 PyObject * obj0 = 0 ;
1048 char *kwnames[] = {
1049 (char *) "self", NULL
1050 };
1051
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail;
1053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1055 {
1056 PyThreadState* __tstate = wxPyBeginAllowThreads();
1057 result = (wxMouseEvent *)(arg1)->GetEvent();
1058
1059 wxPyEndAllowThreads(__tstate);
1060 if (PyErr_Occurred()) SWIG_fail;
1061 }
1062 {
1063 resultobj = wxPyMake_wxObject(result);
1064 }
1065 return resultobj;
1066 fail:
1067 return NULL;
1068 }
1069
1070
1071 static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1074 wxHtmlCell *result;
1075 PyObject * obj0 = 0 ;
1076 char *kwnames[] = {
1077 (char *) "self", NULL
1078 };
1079
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail;
1081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1083 {
1084 PyThreadState* __tstate = wxPyBeginAllowThreads();
1085 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
1086
1087 wxPyEndAllowThreads(__tstate);
1088 if (PyErr_Occurred()) SWIG_fail;
1089 }
1090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
1091 return resultobj;
1092 fail:
1093 return NULL;
1094 }
1095
1096
1097 static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1098 PyObject *resultobj;
1099 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1100 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
1101 PyObject * obj0 = 0 ;
1102 PyObject * obj1 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "self",(char *) "e", NULL
1105 };
1106
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
1111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1112 {
1113 PyThreadState* __tstate = wxPyBeginAllowThreads();
1114 (arg1)->SetEvent((wxMouseEvent const *)arg2);
1115
1116 wxPyEndAllowThreads(__tstate);
1117 if (PyErr_Occurred()) SWIG_fail;
1118 }
1119 Py_INCREF(Py_None); resultobj = Py_None;
1120 return resultobj;
1121 fail:
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject *resultobj;
1128 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
1129 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
1130 PyObject * obj0 = 0 ;
1131 PyObject * obj1 = 0 ;
1132 char *kwnames[] = {
1133 (char *) "self",(char *) "e", NULL
1134 };
1135
1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail;
1137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo,
1138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
1140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1141 {
1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
1143 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
1144
1145 wxPyEndAllowThreads(__tstate);
1146 if (PyErr_Occurred()) SWIG_fail;
1147 }
1148 Py_INCREF(Py_None); resultobj = Py_None;
1149 return resultobj;
1150 fail:
1151 return NULL;
1152 }
1153
1154
1155 static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) {
1156 PyObject *obj;
1157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1158 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj);
1159 Py_INCREF(obj);
1160 return Py_BuildValue((char *)"");
1161 }
1162 static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject *resultobj;
1164 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1165 wxString result;
1166 PyObject * obj0 = 0 ;
1167 char *kwnames[] = {
1168 (char *) "self", NULL
1169 };
1170
1171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail;
1172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 result = (arg1)->GetName();
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
1181 {
1182 #if wxUSE_UNICODE
1183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1184 #else
1185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1186 #endif
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1197 wxString *arg2 = 0 ;
1198 bool result;
1199 bool temp2 = False ;
1200 PyObject * obj0 = 0 ;
1201 PyObject * obj1 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self",(char *) "par", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail;
1207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1209 {
1210 arg2 = wxString_in_helper(obj1);
1211 if (arg2 == NULL) SWIG_fail;
1212 temp2 = True;
1213 }
1214 {
1215 PyThreadState* __tstate = wxPyBeginAllowThreads();
1216 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
1217
1218 wxPyEndAllowThreads(__tstate);
1219 if (PyErr_Occurred()) SWIG_fail;
1220 }
1221 {
1222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1223 }
1224 {
1225 if (temp2)
1226 delete arg2;
1227 }
1228 return resultobj;
1229 fail:
1230 {
1231 if (temp2)
1232 delete arg2;
1233 }
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1241 wxString *arg2 = 0 ;
1242 int arg3 = (int) False ;
1243 wxString result;
1244 bool temp2 = False ;
1245 PyObject * obj0 = 0 ;
1246 PyObject * obj1 = 0 ;
1247 PyObject * obj2 = 0 ;
1248 char *kwnames[] = {
1249 (char *) "self",(char *) "par",(char *) "with_commas", NULL
1250 };
1251
1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail;
1253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1255 {
1256 arg2 = wxString_in_helper(obj1);
1257 if (arg2 == NULL) SWIG_fail;
1258 temp2 = True;
1259 }
1260 if (obj2) {
1261 arg3 = (int) SWIG_AsInt(obj2);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 PyThreadState* __tstate = wxPyBeginAllowThreads();
1266 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
1267
1268 wxPyEndAllowThreads(__tstate);
1269 if (PyErr_Occurred()) SWIG_fail;
1270 }
1271 {
1272 #if wxUSE_UNICODE
1273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1274 #else
1275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1276 #endif
1277 }
1278 {
1279 if (temp2)
1280 delete arg2;
1281 }
1282 return resultobj;
1283 fail:
1284 {
1285 if (temp2)
1286 delete arg2;
1287 }
1288 return NULL;
1289 }
1290
1291
1292 static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
1293 PyObject *resultobj;
1294 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1295 wxString result;
1296 PyObject * obj0 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 result = (arg1)->GetAllParams();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 {
1312 #if wxUSE_UNICODE
1313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1314 #else
1315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1316 #endif
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321 }
1322
1323
1324 static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1327 bool result;
1328 PyObject * obj0 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = (bool)(arg1)->HasEnding();
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 {
1344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1345 }
1346 return resultobj;
1347 fail:
1348 return NULL;
1349 }
1350
1351
1352 static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject *resultobj;
1354 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1355 int result;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 result = (int)(arg1)->GetBeginPos();
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 resultobj = SWIG_FromInt((int)result);
1372 return resultobj;
1373 fail:
1374 return NULL;
1375 }
1376
1377
1378 static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
1379 PyObject *resultobj;
1380 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1381 int result;
1382 PyObject * obj0 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 result = (int)(arg1)->GetEndPos1();
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) SWIG_fail;
1396 }
1397 resultobj = SWIG_FromInt((int)result);
1398 return resultobj;
1399 fail:
1400 return NULL;
1401 }
1402
1403
1404 static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
1407 int result;
1408 PyObject * obj0 = 0 ;
1409 char *kwnames[] = {
1410 (char *) "self", NULL
1411 };
1412
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag,
1415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 result = (int)(arg1)->GetEndPos2();
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) SWIG_fail;
1422 }
1423 resultobj = SWIG_FromInt((int)result);
1424 return resultobj;
1425 fail:
1426 return NULL;
1427 }
1428
1429
1430 static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) {
1431 PyObject *obj;
1432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1433 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj);
1434 Py_INCREF(obj);
1435 return Py_BuildValue((char *)"");
1436 }
1437 static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1440 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
1441 PyObject * obj0 = 0 ;
1442 PyObject * obj1 = 0 ;
1443 char *kwnames[] = {
1444 (char *) "self",(char *) "fs", NULL
1445 };
1446
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail;
1448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
1451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 (arg1)->SetFS(arg2);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 Py_INCREF(Py_None); resultobj = Py_None;
1460 return resultobj;
1461 fail:
1462 return NULL;
1463 }
1464
1465
1466 static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1469 wxFileSystem *result;
1470 PyObject * obj0 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "self", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail;
1476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 result = (wxFileSystem *)(arg1)->GetFS();
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 {
1486 resultobj = wxPyMake_wxObject(result);
1487 }
1488 return resultobj;
1489 fail:
1490 return NULL;
1491 }
1492
1493
1494 static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1497 wxString *arg2 = 0 ;
1498 wxObject *result;
1499 bool temp2 = False ;
1500 PyObject * obj0 = 0 ;
1501 PyObject * obj1 = 0 ;
1502 char *kwnames[] = {
1503 (char *) "self",(char *) "source", NULL
1504 };
1505
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail;
1507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1509 {
1510 arg2 = wxString_in_helper(obj1);
1511 if (arg2 == NULL) SWIG_fail;
1512 temp2 = True;
1513 }
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 {
1522 resultobj = wxPyMake_wxObject(result);
1523 }
1524 {
1525 if (temp2)
1526 delete arg2;
1527 }
1528 return resultobj;
1529 fail:
1530 {
1531 if (temp2)
1532 delete arg2;
1533 }
1534 return NULL;
1535 }
1536
1537
1538 static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1541 wxString *arg2 = 0 ;
1542 bool temp2 = False ;
1543 PyObject * obj0 = 0 ;
1544 PyObject * obj1 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "self",(char *) "source", NULL
1547 };
1548
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1552 {
1553 arg2 = wxString_in_helper(obj1);
1554 if (arg2 == NULL) SWIG_fail;
1555 temp2 = True;
1556 }
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 (arg1)->InitParser((wxString const &)*arg2);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 Py_INCREF(Py_None); resultobj = Py_None;
1565 {
1566 if (temp2)
1567 delete arg2;
1568 }
1569 return resultobj;
1570 fail:
1571 {
1572 if (temp2)
1573 delete arg2;
1574 }
1575 return NULL;
1576 }
1577
1578
1579 static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1582 PyObject * obj0 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 (arg1)->DoneParser();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 Py_INCREF(Py_None); resultobj = Py_None;
1598 return resultobj;
1599 fail:
1600 return NULL;
1601 }
1602
1603
1604 static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1607 int arg2 ;
1608 int arg3 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1611 PyObject * obj2 = 0 ;
1612 char *kwnames[] = {
1613 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
1614 };
1615
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail;
1617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1619 arg2 = (int) SWIG_AsInt(obj1);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 arg3 = (int) SWIG_AsInt(obj2);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 (arg1)->DoParsing(arg2,arg3);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 Py_INCREF(Py_None); resultobj = Py_None;
1631 return resultobj;
1632 fail:
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1640 PyObject * obj0 = 0 ;
1641 char *kwnames[] = {
1642 (char *) "self", NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail;
1646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 (arg1)->StopParsing();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 Py_INCREF(Py_None); resultobj = Py_None;
1656 return resultobj;
1657 fail:
1658 return NULL;
1659 }
1660
1661
1662 static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1665 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
1668 char *kwnames[] = {
1669 (char *) "self",(char *) "handler", NULL
1670 };
1671
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail;
1673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 (arg1)->AddTagHandler(arg2);
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
1684 Py_INCREF(Py_None); resultobj = Py_None;
1685 return resultobj;
1686 fail:
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1694 wxString *result;
1695 PyObject * obj0 = 0 ;
1696 char *kwnames[] = {
1697 (char *) "self", NULL
1698 };
1699
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (wxString *)(arg1)->GetSource();
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 {
1711 #if wxUSE_UNICODE
1712 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
1713 #else
1714 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
1715 #endif
1716 }
1717 return resultobj;
1718 fail:
1719 return NULL;
1720 }
1721
1722
1723 static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject *resultobj;
1725 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1726 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
1727 wxString arg3 ;
1728 PyObject * obj0 = 0 ;
1729 PyObject * obj1 = 0 ;
1730 PyObject * obj2 = 0 ;
1731 char *kwnames[] = {
1732 (char *) "self",(char *) "handler",(char *) "tags", NULL
1733 };
1734
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail;
1736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler,
1739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1740 {
1741 wxString* sptr = wxString_in_helper(obj2);
1742 if (sptr == NULL) SWIG_fail;
1743 arg3 = *sptr;
1744 delete sptr;
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 (arg1)->PushTagHandler(arg2,arg3);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 Py_INCREF(Py_None); resultobj = Py_None;
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
1763 PyObject * obj0 = 0 ;
1764 char *kwnames[] = {
1765 (char *) "self", NULL
1766 };
1767
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail;
1769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser,
1770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 (arg1)->PopTagHandler();
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782 }
1783
1784
1785 static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) {
1786 PyObject *obj;
1787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj);
1789 Py_INCREF(obj);
1790 return Py_BuildValue((char *)"");
1791 }
1792 static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
1795 wxHtmlWinParser *result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "wnd", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail;
1802 if (obj0) {
1803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
1804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1805 }
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1);
1814 return resultobj;
1815 fail:
1816 return NULL;
1817 }
1818
1819
1820 static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1823 wxDC *arg2 = (wxDC *) 0 ;
1824 PyObject * obj0 = 0 ;
1825 PyObject * obj1 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "dc", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
1834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 (arg1)->SetDC(arg2);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 return resultobj;
1844 fail:
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1852 wxDC *result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 result = (wxDC *)(arg1)->GetDC();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 {
1869 resultobj = wxPyMake_wxObject(result);
1870 }
1871 return resultobj;
1872 fail:
1873 return NULL;
1874 }
1875
1876
1877 static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1880 int result;
1881 PyObject * obj0 = 0 ;
1882 char *kwnames[] = {
1883 (char *) "self", NULL
1884 };
1885
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail;
1887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1889 {
1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
1891 result = (int)(arg1)->GetCharHeight();
1892
1893 wxPyEndAllowThreads(__tstate);
1894 if (PyErr_Occurred()) SWIG_fail;
1895 }
1896 resultobj = SWIG_FromInt((int)result);
1897 return resultobj;
1898 fail:
1899 return NULL;
1900 }
1901
1902
1903 static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1904 PyObject *resultobj;
1905 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1906 int result;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1915 {
1916 PyThreadState* __tstate = wxPyBeginAllowThreads();
1917 result = (int)(arg1)->GetCharWidth();
1918
1919 wxPyEndAllowThreads(__tstate);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 resultobj = SWIG_FromInt((int)result);
1923 return resultobj;
1924 fail:
1925 return NULL;
1926 }
1927
1928
1929 static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1932 wxPyHtmlWindow *result;
1933 PyObject * obj0 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "self", NULL
1936 };
1937
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail;
1939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1941 {
1942 PyThreadState* __tstate = wxPyBeginAllowThreads();
1943 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
1944
1945 wxPyEndAllowThreads(__tstate);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
1948 {
1949 resultobj = wxPyMake_wxObject(result);
1950 }
1951 return resultobj;
1952 fail:
1953 return NULL;
1954 }
1955
1956
1957 static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject *resultobj;
1959 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
1960 wxString arg2 ;
1961 wxString arg3 ;
1962 PyObject *arg4 = (PyObject *) NULL ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 PyObject * obj2 = 0 ;
1966 PyObject * obj3 = 0 ;
1967 char *kwnames[] = {
1968 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
1969 };
1970
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
1972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
1973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1974 {
1975 wxString* sptr = wxString_in_helper(obj1);
1976 if (sptr == NULL) SWIG_fail;
1977 arg2 = *sptr;
1978 delete sptr;
1979 }
1980 {
1981 wxString* sptr = wxString_in_helper(obj2);
1982 if (sptr == NULL) SWIG_fail;
1983 arg3 = *sptr;
1984 delete sptr;
1985 }
1986 if (obj3) {
1987 arg4 = obj3;
1988 }
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 Py_INCREF(Py_None); resultobj = Py_None;
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2006 wxHtmlContainerCell *result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2023 return resultobj;
2024 fail:
2025 return NULL;
2026 }
2027
2028
2029 static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2030 PyObject *resultobj;
2031 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2032 wxHtmlContainerCell *result;
2033 PyObject * obj0 = 0 ;
2034 char *kwnames[] = {
2035 (char *) "self", NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail;
2039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2041 {
2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
2043 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
2044
2045 wxPyEndAllowThreads(__tstate);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 }
2048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2049 return resultobj;
2050 fail:
2051 return NULL;
2052 }
2053
2054
2055 static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject *resultobj;
2057 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2058 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
2059 wxHtmlContainerCell *result;
2060 PyObject * obj0 = 0 ;
2061 PyObject * obj1 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self",(char *) "c", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
2070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2088 wxHtmlContainerCell *result;
2089 PyObject * obj0 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
2105 return resultobj;
2106 fail:
2107 return NULL;
2108 }
2109
2110
2111 static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2114 int result;
2115 PyObject * obj0 = 0 ;
2116 char *kwnames[] = {
2117 (char *) "self", NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail;
2121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2123 {
2124 PyThreadState* __tstate = wxPyBeginAllowThreads();
2125 result = (int)(arg1)->GetFontSize();
2126
2127 wxPyEndAllowThreads(__tstate);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 }
2130 resultobj = SWIG_FromInt((int)result);
2131 return resultobj;
2132 fail:
2133 return NULL;
2134 }
2135
2136
2137 static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject *resultobj;
2139 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2140 int arg2 ;
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj1 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self",(char *) "s", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2150 arg2 = (int) SWIG_AsInt(obj1);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 (arg1)->SetFontSize(arg2);
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2169 int result;
2170 PyObject * obj0 = 0 ;
2171 char *kwnames[] = {
2172 (char *) "self", NULL
2173 };
2174
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail;
2176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2178 {
2179 PyThreadState* __tstate = wxPyBeginAllowThreads();
2180 result = (int)(arg1)->GetFontBold();
2181
2182 wxPyEndAllowThreads(__tstate);
2183 if (PyErr_Occurred()) SWIG_fail;
2184 }
2185 resultobj = SWIG_FromInt((int)result);
2186 return resultobj;
2187 fail:
2188 return NULL;
2189 }
2190
2191
2192 static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject *resultobj;
2194 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2195 int arg2 ;
2196 PyObject * obj0 = 0 ;
2197 PyObject * obj1 = 0 ;
2198 char *kwnames[] = {
2199 (char *) "self",(char *) "x", NULL
2200 };
2201
2202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail;
2203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2205 arg2 = (int) SWIG_AsInt(obj1);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 (arg1)->SetFontBold(arg2);
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 Py_INCREF(Py_None); resultobj = Py_None;
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2224 int result;
2225 PyObject * obj0 = 0 ;
2226 char *kwnames[] = {
2227 (char *) "self", NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail;
2231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 result = (int)(arg1)->GetFontItalic();
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 resultobj = SWIG_FromInt((int)result);
2241 return resultobj;
2242 fail:
2243 return NULL;
2244 }
2245
2246
2247 static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2250 int arg2 ;
2251 PyObject * obj0 = 0 ;
2252 PyObject * obj1 = 0 ;
2253 char *kwnames[] = {
2254 (char *) "self",(char *) "x", NULL
2255 };
2256
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2260 arg2 = (int) SWIG_AsInt(obj1);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 (arg1)->SetFontItalic(arg2);
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 Py_INCREF(Py_None); resultobj = Py_None;
2270 return resultobj;
2271 fail:
2272 return NULL;
2273 }
2274
2275
2276 static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2279 int result;
2280 PyObject * obj0 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 result = (int)(arg1)->GetFontUnderlined();
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 resultobj = SWIG_FromInt((int)result);
2296 return resultobj;
2297 fail:
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2305 int arg2 ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self",(char *) "x", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2315 arg2 = (int) SWIG_AsInt(obj1);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 (arg1)->SetFontUnderlined(arg2);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 Py_INCREF(Py_None); resultobj = Py_None;
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2334 int result;
2335 PyObject * obj0 = 0 ;
2336 char *kwnames[] = {
2337 (char *) "self", NULL
2338 };
2339
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail;
2341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 result = (int)(arg1)->GetFontFixed();
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 resultobj = SWIG_FromInt((int)result);
2351 return resultobj;
2352 fail:
2353 return NULL;
2354 }
2355
2356
2357 static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2360 int arg2 ;
2361 PyObject * obj0 = 0 ;
2362 PyObject * obj1 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "self",(char *) "x", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail;
2368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2370 arg2 = (int) SWIG_AsInt(obj1);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 (arg1)->SetFontFixed(arg2);
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 Py_INCREF(Py_None); resultobj = Py_None;
2380 return resultobj;
2381 fail:
2382 return NULL;
2383 }
2384
2385
2386 static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject *resultobj;
2388 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2389 int result;
2390 PyObject * obj0 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2398 {
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (int)(arg1)->GetAlign();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = SWIG_FromInt((int)result);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2415 int arg2 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self",(char *) "a", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2425 arg2 = (int) SWIG_AsInt(obj1);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 (arg1)->SetAlign(arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 Py_INCREF(Py_None); resultobj = Py_None;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438 }
2439
2440
2441 static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2444 wxColour result;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail;
2451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = (arg1)->GetLinkColor();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 wxColour * resultptr;
2462 resultptr = new wxColour((wxColour &) result);
2463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2464 }
2465 return resultobj;
2466 fail:
2467 return NULL;
2468 }
2469
2470
2471 static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2474 wxColour *arg2 = 0 ;
2475 wxColour temp2 ;
2476 PyObject * obj0 = 0 ;
2477 PyObject * obj1 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self",(char *) "clr", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2485 {
2486 arg2 = &temp2;
2487 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2488 }
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 (arg1)->SetLinkColor((wxColour const &)*arg2);
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 Py_INCREF(Py_None); resultobj = Py_None;
2497 return resultobj;
2498 fail:
2499 return NULL;
2500 }
2501
2502
2503 static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject *resultobj;
2505 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2506 wxColour result;
2507 PyObject * obj0 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail;
2513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 result = (arg1)->GetActualColor();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 {
2523 wxColour * resultptr;
2524 resultptr = new wxColour((wxColour &) result);
2525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
2526 }
2527 return resultobj;
2528 fail:
2529 return NULL;
2530 }
2531
2532
2533 static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject *resultobj;
2535 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2536 wxColour *arg2 = 0 ;
2537 wxColour temp2 ;
2538 PyObject * obj0 = 0 ;
2539 PyObject * obj1 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self",(char *) "clr", NULL
2542 };
2543
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail;
2545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2547 {
2548 arg2 = &temp2;
2549 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2550 }
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 (arg1)->SetActualColor((wxColour const &)*arg2);
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
2558 Py_INCREF(Py_None); resultobj = Py_None;
2559 return resultobj;
2560 fail:
2561 return NULL;
2562 }
2563
2564
2565 static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2566 PyObject *resultobj;
2567 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2568 wxString *arg2 = 0 ;
2569 bool temp2 = False ;
2570 PyObject * obj0 = 0 ;
2571 PyObject * obj1 = 0 ;
2572 char *kwnames[] = {
2573 (char *) "self",(char *) "link", NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2579 {
2580 arg2 = wxString_in_helper(obj1);
2581 if (arg2 == NULL) SWIG_fail;
2582 temp2 = True;
2583 }
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 (arg1)->SetLink((wxString const &)*arg2);
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 Py_INCREF(Py_None); resultobj = Py_None;
2592 {
2593 if (temp2)
2594 delete arg2;
2595 }
2596 return resultobj;
2597 fail:
2598 {
2599 if (temp2)
2600 delete arg2;
2601 }
2602 return NULL;
2603 }
2604
2605
2606 static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject *resultobj;
2608 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2609 wxFont *result;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "self", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail;
2616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2618 {
2619 PyThreadState* __tstate = wxPyBeginAllowThreads();
2620 result = (wxFont *)(arg1)->CreateCurrentFont();
2621
2622 wxPyEndAllowThreads(__tstate);
2623 if (PyErr_Occurred()) SWIG_fail;
2624 }
2625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
2626 return resultobj;
2627 fail:
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
2635 SwigValueWrapper< wxHtmlLinkInfo > result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (arg1)->GetLink();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652 wxHtmlLinkInfo * resultptr;
2653 resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result);
2654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1);
2655 }
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) {
2663 PyObject *obj;
2664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2665 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj);
2666 Py_INCREF(obj);
2667 return Py_BuildValue((char *)"");
2668 }
2669 static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxPyHtmlTagHandler *result;
2672 char *kwnames[] = {
2673 NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail;
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1);
2685 return resultobj;
2686 fail:
2687 return NULL;
2688 }
2689
2690
2691 static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject *resultobj;
2693 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2694 PyObject *arg2 = (PyObject *) 0 ;
2695 PyObject *arg3 = (PyObject *) 0 ;
2696 PyObject * obj0 = 0 ;
2697 PyObject * obj1 = 0 ;
2698 PyObject * obj2 = 0 ;
2699 char *kwnames[] = {
2700 (char *) "self",(char *) "self",(char *) "_class", NULL
2701 };
2702
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2706 arg2 = obj1;
2707 arg3 = obj2;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 (arg1)->_setCallbackInfo(arg2,arg3);
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 Py_INCREF(Py_None); resultobj = Py_None;
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2725 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2726 PyObject * obj0 = 0 ;
2727 PyObject * obj1 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self",(char *) "parser", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 (arg1)->SetParser(arg2);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 Py_INCREF(Py_None); resultobj = Py_None;
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2754 wxHtmlParser *result;
2755 PyObject * obj0 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail;
2761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 result = (wxHtmlParser *)(arg1)->GetParser();
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0);
2771 return resultobj;
2772 fail:
2773 return NULL;
2774 }
2775
2776
2777 static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject *resultobj;
2779 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
2780 wxHtmlTag *arg2 = 0 ;
2781 PyObject * obj0 = 0 ;
2782 PyObject * obj1 = 0 ;
2783 char *kwnames[] = {
2784 (char *) "self",(char *) "tag", NULL
2785 };
2786
2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler,
2789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2791 SWIG_POINTER_EXCEPTION | 0)) == -1)
2792 SWIG_fail;
2793 if (arg2 == NULL) {
2794 PyErr_SetString(PyExc_TypeError,"null reference");
2795 SWIG_fail;
2796 }
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 Py_INCREF(Py_None); resultobj = Py_None;
2805 return resultobj;
2806 fail:
2807 return NULL;
2808 }
2809
2810
2811 static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) {
2812 PyObject *obj;
2813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2814 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj);
2815 Py_INCREF(obj);
2816 return Py_BuildValue((char *)"");
2817 }
2818 static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxPyHtmlWinTagHandler *result;
2821 char *kwnames[] = {
2822 NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1);
2834 return resultobj;
2835 fail:
2836 return NULL;
2837 }
2838
2839
2840 static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2843 PyObject *arg2 = (PyObject *) 0 ;
2844 PyObject *arg3 = (PyObject *) 0 ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 PyObject * obj2 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self",(char *) "self",(char *) "_class", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2855 arg2 = obj1;
2856 arg3 = obj2;
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->_setCallbackInfo(arg2,arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2874 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
2875 PyObject * obj0 = 0 ;
2876 PyObject * obj1 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "parser", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser,
2885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 (arg1)->SetParser(arg2);
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 Py_INCREF(Py_None); resultobj = Py_None;
2894 return resultobj;
2895 fail:
2896 return NULL;
2897 }
2898
2899
2900 static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2901 PyObject *resultobj;
2902 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2903 wxHtmlWinParser *result;
2904 PyObject * obj0 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 result = (wxHtmlWinParser *)(arg1)->GetParser();
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
2929 wxHtmlTag *arg2 = 0 ;
2930 PyObject * obj0 = 0 ;
2931 PyObject * obj1 = 0 ;
2932 char *kwnames[] = {
2933 (char *) "self",(char *) "tag", NULL
2934 };
2935
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler,
2938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
2940 SWIG_POINTER_EXCEPTION | 0)) == -1)
2941 SWIG_fail;
2942 if (arg2 == NULL) {
2943 PyErr_SetString(PyExc_TypeError,"null reference");
2944 SWIG_fail;
2945 }
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) {
2961 PyObject *obj;
2962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2963 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj);
2964 Py_INCREF(obj);
2965 return Py_BuildValue((char *)"");
2966 }
2967 static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2968 PyObject *resultobj;
2969 PyObject *arg1 = (PyObject *) 0 ;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "tagHandlerClass", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail;
2976 arg1 = obj0;
2977 {
2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
2979 wxHtmlWinParser_AddTagHandler(arg1);
2980
2981 wxPyEndAllowThreads(__tstate);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 Py_INCREF(Py_None); resultobj = Py_None;
2985 return resultobj;
2986 fail:
2987 return NULL;
2988 }
2989
2990
2991 static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2992 PyObject *resultobj;
2993 wxHtmlSelection *result;
2994 char *kwnames[] = {
2995 NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail;
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 result = (wxHtmlSelection *)new wxHtmlSelection();
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1);
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3016 PyObject * obj0 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "self", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail;
3022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 delete arg1;
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3041 wxPoint *arg2 = 0 ;
3042 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3043 wxPoint *arg4 = 0 ;
3044 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
3045 wxPoint temp2 ;
3046 wxPoint temp4 ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 PyObject * obj2 = 0 ;
3050 PyObject * obj3 = 0 ;
3051 PyObject * obj4 = 0 ;
3052 char *kwnames[] = {
3053 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
3054 };
3055
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3059 {
3060 arg2 = &temp2;
3061 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3062 }
3063 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3065 {
3066 arg4 = &temp4;
3067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3068 }
3069 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell,
3070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 Py_INCREF(Py_None); resultobj = Py_None;
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3088 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3089 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
3090 PyObject * obj0 = 0 ;
3091 PyObject * obj1 = 0 ;
3092 PyObject * obj2 = 0 ;
3093 char *kwnames[] = {
3094 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
3095 };
3096
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail;
3098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
3101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3102 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
3111 Py_INCREF(Py_None); resultobj = Py_None;
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3121 wxHtmlCell *result;
3122 PyObject * obj0 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3138 return resultobj;
3139 fail:
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3147 wxHtmlCell *result;
3148 PyObject * obj0 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3173 wxPoint *result;
3174 PyObject * obj0 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 {
3185 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
3186 result = (wxPoint *) &_result_ref;
3187 }
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3193 return resultobj;
3194 fail:
3195 return NULL;
3196 }
3197
3198
3199 static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3202 wxPoint *result;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 {
3214 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
3215 result = (wxPoint *) &_result_ref;
3216 }
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3222 return resultobj;
3223 fail:
3224 return NULL;
3225 }
3226
3227
3228 static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3231 wxPoint *result;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 {
3243 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
3244 result = (wxPoint *) &_result_ref;
3245 }
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3251 return resultobj;
3252 fail:
3253 return NULL;
3254 }
3255
3256
3257 static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3260 wxPoint *result;
3261 PyObject * obj0 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self", NULL
3264 };
3265
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail;
3267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 {
3272 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
3273 result = (wxPoint *) &_result_ref;
3274 }
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3289 wxPoint *arg2 = 0 ;
3290 wxPoint temp2 ;
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 char *kwnames[] = {
3294 (char *) "self",(char *) "pos", NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail;
3298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3300 {
3301 arg2 = &temp2;
3302 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3303 }
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
3306 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 Py_INCREF(Py_None); resultobj = Py_None;
3312 return resultobj;
3313 fail:
3314 return NULL;
3315 }
3316
3317
3318 static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject *resultobj;
3320 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3321 wxPoint *arg2 = 0 ;
3322 wxPoint temp2 ;
3323 PyObject * obj0 = 0 ;
3324 PyObject * obj1 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "pos", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3332 {
3333 arg2 = &temp2;
3334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 Py_INCREF(Py_None); resultobj = Py_None;
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3353 PyObject * obj0 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 (arg1)->ClearPrivPos();
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
3378 bool result;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 {
3395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3396 }
3397 return resultobj;
3398 fail:
3399 return NULL;
3400 }
3401
3402
3403 static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) {
3404 PyObject *obj;
3405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3406 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj);
3407 Py_INCREF(obj);
3408 return Py_BuildValue((char *)"");
3409 }
3410 static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3411 PyObject *resultobj;
3412 wxHtmlRenderingState *result;
3413 char *kwnames[] = {
3414 NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail;
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1);
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 delete arg1;
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 Py_INCREF(Py_None); resultobj = Py_None;
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3460 int arg2 ;
3461 PyObject * obj0 = 0 ;
3462 PyObject * obj1 = 0 ;
3463 char *kwnames[] = {
3464 (char *) "self",(char *) "s", NULL
3465 };
3466
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3470 arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 (arg1)->SetSelectionState((wxHtmlSelectionState )arg2);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 Py_INCREF(Py_None); resultobj = Py_None;
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3489 int result;
3490 PyObject * obj0 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 resultobj = SWIG_FromInt((int)result);
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3515 wxColour *arg2 = 0 ;
3516 wxColour temp2 ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self",(char *) "c", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3526 {
3527 arg2 = &temp2;
3528 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3529 }
3530 {
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 (arg1)->SetFgColour((wxColour const &)*arg2);
3533
3534 wxPyEndAllowThreads(__tstate);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 }
3537 Py_INCREF(Py_None); resultobj = Py_None;
3538 return resultobj;
3539 fail:
3540 return NULL;
3541 }
3542
3543
3544 static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject *resultobj;
3546 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3547 wxColour *result;
3548 PyObject * obj0 = 0 ;
3549 char *kwnames[] = {
3550 (char *) "self", NULL
3551 };
3552
3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail;
3554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 {
3559 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
3560 result = (wxColour *) &_result_ref;
3561 }
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3567 return resultobj;
3568 fail:
3569 return NULL;
3570 }
3571
3572
3573 static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3576 wxColour *arg2 = 0 ;
3577 wxColour temp2 ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "c", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3587 {
3588 arg2 = &temp2;
3589 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 (arg1)->SetBgColour((wxColour const &)*arg2);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 Py_INCREF(Py_None); resultobj = Py_None;
3599 return resultobj;
3600 fail:
3601 return NULL;
3602 }
3603
3604
3605 static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj;
3607 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
3608 wxColour *result;
3609 PyObject * obj0 = 0 ;
3610 char *kwnames[] = {
3611 (char *) "self", NULL
3612 };
3613
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail;
3615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState,
3616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 {
3620 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
3621 result = (wxColour *) &_result_ref;
3622 }
3623
3624 wxPyEndAllowThreads(__tstate);
3625 if (PyErr_Occurred()) SWIG_fail;
3626 }
3627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
3628 return resultobj;
3629 fail:
3630 return NULL;
3631 }
3632
3633
3634 static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) {
3635 PyObject *obj;
3636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3637 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj);
3638 Py_INCREF(obj);
3639 return Py_BuildValue((char *)"");
3640 }
3641 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3644 wxColour *arg2 = 0 ;
3645 wxColour result;
3646 wxColour temp2 ;
3647 PyObject * obj0 = 0 ;
3648 PyObject * obj1 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self",(char *) "clr", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3656 {
3657 arg2 = &temp2;
3658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3659 }
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 wxColour * resultptr;
3669 resultptr = new wxColour((wxColour &) result);
3670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3671 }
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
3681 wxColour *arg2 = 0 ;
3682 wxColour result;
3683 wxColour temp2 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "clr", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 {
3694 arg2 = &temp2;
3695 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3696 }
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 {
3705 wxColour * resultptr;
3706 resultptr = new wxColour((wxColour &) result);
3707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3708 }
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3716 PyObject *obj;
3717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3718 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj);
3719 Py_INCREF(obj);
3720 return Py_BuildValue((char *)"");
3721 }
3722 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3725 wxColour *arg2 = 0 ;
3726 wxColour result;
3727 wxColour temp2 ;
3728 PyObject * obj0 = 0 ;
3729 PyObject * obj1 = 0 ;
3730 char *kwnames[] = {
3731 (char *) "self",(char *) "clr", NULL
3732 };
3733
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail;
3735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3737 {
3738 arg2 = &temp2;
3739 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3740 }
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 wxColour * resultptr;
3750 resultptr = new wxColour((wxColour &) result);
3751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3752 }
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ;
3762 wxColour *arg2 = 0 ;
3763 wxColour result;
3764 wxColour temp2 ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self",(char *) "clr", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle,
3773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3774 {
3775 arg2 = &temp2;
3776 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3777 }
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 {
3786 wxColour * resultptr;
3787 resultptr = new wxColour((wxColour &) result);
3788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3789 }
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) {
3797 PyObject *obj;
3798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3799 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj);
3800 Py_INCREF(obj);
3801 return Py_BuildValue((char *)"");
3802 }
3803 static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxHtmlRenderingInfo *result;
3806 char *kwnames[] = {
3807 NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail;
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1);
3819 return resultobj;
3820 fail:
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3828 PyObject * obj0 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 delete arg1;
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 Py_INCREF(Py_None); resultobj = Py_None;
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj;
3852 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3853 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
3854 PyObject * obj0 = 0 ;
3855 PyObject * obj1 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "self",(char *) "s", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
3864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 (arg1)->SetSelection(arg2);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 Py_INCREF(Py_None); resultobj = Py_None;
3873 return resultobj;
3874 fail:
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3882 wxHtmlSelection *result;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "self", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail;
3889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0);
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3908 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj1 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self",(char *) "style", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle,
3919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 (arg1)->SetStyle(arg2);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 Py_INCREF(Py_None); resultobj = Py_None;
3928 return resultobj;
3929 fail:
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3937 wxHtmlRenderingStyle *result;
3938 PyObject * obj0 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail;
3944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 {
3949 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
3950 result = (wxHtmlRenderingStyle *) &_result_ref;
3951 }
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
3966 wxHtmlRenderingState *result;
3967 PyObject * obj0 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "self", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo,
3974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 {
3978 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
3979 result = (wxHtmlRenderingState *) &_result_ref;
3980 }
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0);
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) {
3993 PyObject *obj;
3994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3995 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj);
3996 Py_INCREF(obj);
3997 return Py_BuildValue((char *)"");
3998 }
3999 static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxHtmlCell *result;
4002 char *kwnames[] = {
4003 NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail;
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (wxHtmlCell *)new wxHtmlCell();
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1);
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4024 int result;
4025 PyObject * obj0 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "self", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 result = (int)(arg1)->GetPosX();
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 resultobj = SWIG_FromInt((int)result);
4041 return resultobj;
4042 fail:
4043 return NULL;
4044 }
4045
4046
4047 static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4050 int result;
4051 PyObject * obj0 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "self", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail;
4057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (int)(arg1)->GetPosY();
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_FromInt((int)result);
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4076 int result;
4077 PyObject * obj0 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail;
4083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (int)(arg1)->GetWidth();
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 resultobj = SWIG_FromInt((int)result);
4093 return resultobj;
4094 fail:
4095 return NULL;
4096 }
4097
4098
4099 static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4100 PyObject *resultobj;
4101 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4102 int result;
4103 PyObject * obj0 = 0 ;
4104 char *kwnames[] = {
4105 (char *) "self", NULL
4106 };
4107
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail;
4109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (int)(arg1)->GetHeight();
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_FromInt((int)result);
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
4126 PyObject *resultobj;
4127 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4128 int result;
4129 PyObject * obj0 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "self", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (int)(arg1)->GetDescent();
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 resultobj = SWIG_FromInt((int)result);
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject *resultobj;
4153 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4154 int result;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 resultobj = SWIG_FromInt((int)result);
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4180 wxString *result;
4181 PyObject * obj0 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 {
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 {
4192 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
4193 result = (wxString *) &_result_ref;
4194 }
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 #if wxUSE_UNICODE
4201 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4202 #else
4203 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4204 #endif
4205 }
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4215 wxString *arg2 = 0 ;
4216 bool temp2 = False ;
4217 PyObject * obj0 = 0 ;
4218 PyObject * obj1 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self",(char *) "id", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 arg2 = wxString_in_helper(obj1);
4228 if (arg2 == NULL) SWIG_fail;
4229 temp2 = True;
4230 }
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 (arg1)->SetId((wxString const &)*arg2);
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 Py_INCREF(Py_None); resultobj = Py_None;
4239 {
4240 if (temp2)
4241 delete arg2;
4242 }
4243 return resultobj;
4244 fail:
4245 {
4246 if (temp2)
4247 delete arg2;
4248 }
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4256 int arg2 = (int) 0 ;
4257 int arg3 = (int) 0 ;
4258 wxHtmlLinkInfo *result;
4259 PyObject * obj0 = 0 ;
4260 PyObject * obj1 = 0 ;
4261 PyObject * obj2 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self",(char *) "x",(char *) "y", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4269 if (obj1) {
4270 arg2 = (int) SWIG_AsInt(obj1);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 if (obj2) {
4274 arg3 = (int) SWIG_AsInt(obj2);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0);
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4294 wxHtmlCell *result;
4295 PyObject * obj0 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail;
4301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 result = (wxHtmlCell *)(arg1)->GetNext();
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4311 return resultobj;
4312 fail:
4313 return NULL;
4314 }
4315
4316
4317 static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj;
4319 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4320 wxHtmlContainerCell *result;
4321 PyObject * obj0 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (wxHtmlContainerCell *)(arg1)->GetParent();
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4346 wxHtmlCell *result;
4347 PyObject * obj0 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail;
4353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4372 wxCursor result;
4373 PyObject * obj0 = 0 ;
4374 char *kwnames[] = {
4375 (char *) "self", NULL
4376 };
4377
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail;
4379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = ((wxHtmlCell const *)arg1)->GetCursor();
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 {
4389 wxCursor * resultptr;
4390 resultptr = new wxCursor((wxCursor &) result);
4391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4392 }
4393 return resultobj;
4394 fail:
4395 return NULL;
4396 }
4397
4398
4399 static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4402 bool result;
4403 PyObject * obj0 = 0 ;
4404 char *kwnames[] = {
4405 (char *) "self", NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 {
4419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4420 }
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4430 wxHtmlLinkInfo *arg2 = 0 ;
4431 PyObject * obj0 = 0 ;
4432 PyObject * obj1 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "self",(char *) "link", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail;
4438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
4441 SWIG_POINTER_EXCEPTION | 0)) == -1)
4442 SWIG_fail;
4443 if (arg2 == NULL) {
4444 PyErr_SetString(PyExc_TypeError,"null reference");
4445 SWIG_fail;
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 Py_INCREF(Py_None); resultobj = Py_None;
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4464 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "cell", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail;
4472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
4475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 (arg1)->SetNext(arg2);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 Py_INCREF(Py_None); resultobj = Py_None;
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4493 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4494 PyObject * obj0 = 0 ;
4495 PyObject * obj1 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self",(char *) "p", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail;
4501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell,
4504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->SetParent(arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516 }
4517
4518
4519 static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4522 int arg2 ;
4523 int arg3 ;
4524 PyObject * obj0 = 0 ;
4525 PyObject * obj1 = 0 ;
4526 PyObject * obj2 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "x",(char *) "y", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4534 arg2 = (int) SWIG_AsInt(obj1);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 arg3 = (int) SWIG_AsInt(obj2);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 (arg1)->SetPos(arg2,arg3);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 Py_INCREF(Py_None); resultobj = Py_None;
4546 return resultobj;
4547 fail:
4548 return NULL;
4549 }
4550
4551
4552 static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4555 int arg2 ;
4556 PyObject * obj0 = 0 ;
4557 PyObject * obj1 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self",(char *) "w", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail;
4563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4565 arg2 = (int) SWIG_AsInt(obj1);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 {
4568 PyThreadState* __tstate = wxPyBeginAllowThreads();
4569 (arg1)->Layout(arg2);
4570
4571 wxPyEndAllowThreads(__tstate);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 Py_INCREF(Py_None); resultobj = Py_None;
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4584 wxDC *arg2 = 0 ;
4585 int arg3 ;
4586 int arg4 ;
4587 int arg5 ;
4588 int arg6 ;
4589 wxHtmlRenderingInfo *arg7 = 0 ;
4590 PyObject * obj0 = 0 ;
4591 PyObject * obj1 = 0 ;
4592 PyObject * obj2 = 0 ;
4593 PyObject * obj3 = 0 ;
4594 PyObject * obj4 = 0 ;
4595 PyObject * obj5 = 0 ;
4596 PyObject * obj6 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1)
4606 SWIG_fail;
4607 if (arg2 == NULL) {
4608 PyErr_SetString(PyExc_TypeError,"null reference");
4609 SWIG_fail;
4610 }
4611 arg3 = (int) SWIG_AsInt(obj2);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 arg4 = (int) SWIG_AsInt(obj3);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 arg5 = (int) SWIG_AsInt(obj4);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 arg6 = (int) SWIG_AsInt(obj5);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo,
4620 SWIG_POINTER_EXCEPTION | 0)) == -1)
4621 SWIG_fail;
4622 if (arg7 == NULL) {
4623 PyErr_SetString(PyExc_TypeError,"null reference");
4624 SWIG_fail;
4625 }
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 Py_INCREF(Py_None); resultobj = Py_None;
4634 return resultobj;
4635 fail:
4636 return NULL;
4637 }
4638
4639
4640 static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4643 wxDC *arg2 = 0 ;
4644 int arg3 ;
4645 int arg4 ;
4646 wxHtmlRenderingInfo *arg5 = 0 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 PyObject * obj2 = 0 ;
4650 PyObject * obj3 = 0 ;
4651 PyObject * obj4 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4660 SWIG_POINTER_EXCEPTION | 0)) == -1)
4661 SWIG_fail;
4662 if (arg2 == NULL) {
4663 PyErr_SetString(PyExc_TypeError,"null reference");
4664 SWIG_fail;
4665 }
4666 arg3 = (int) SWIG_AsInt(obj2);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 arg4 = (int) SWIG_AsInt(obj3);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1)
4672 SWIG_fail;
4673 if (arg5 == NULL) {
4674 PyErr_SetString(PyExc_TypeError,"null reference");
4675 SWIG_fail;
4676 }
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
4680
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
4684 Py_INCREF(Py_None); resultobj = Py_None;
4685 return resultobj;
4686 fail:
4687 return NULL;
4688 }
4689
4690
4691 static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj;
4693 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4694 int arg2 ;
4695 void *arg3 = (void *) 0 ;
4696 wxHtmlCell *result;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 PyObject * obj2 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self",(char *) "condition",(char *) "param", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail;
4705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 arg2 = (int) SWIG_AsInt(obj1);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
4713
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4727 int *arg2 = (int *) 0 ;
4728 bool result;
4729 int temp2 ;
4730 PyObject * obj0 = 0 ;
4731 PyObject * obj1 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "INOUT", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4739 {
4740 temp2 = PyInt_AsLong(obj1);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 arg2 = &temp2;
4743 }
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (bool)(arg1)->AdjustPagebreak(arg2);
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 {
4752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4753 }
4754 {
4755 PyObject *o = PyInt_FromLong((long) (*arg2));
4756 resultobj = t_output_helper(resultobj,o);
4757 }
4758 return resultobj;
4759 fail:
4760 return NULL;
4761 }
4762
4763
4764 static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject *resultobj;
4766 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4767 bool arg2 ;
4768 PyObject * obj0 = 0 ;
4769 PyObject * obj1 = 0 ;
4770 char *kwnames[] = {
4771 (char *) "self",(char *) "can", NULL
4772 };
4773
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail;
4775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4777 arg2 = (bool) SWIG_AsBool(obj1);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 (arg1)->SetCanLiveOnPagebreak(arg2);
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 Py_INCREF(Py_None); resultobj = Py_None;
4787 return resultobj;
4788 fail:
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4796 bool result;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 {
4813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4814 }
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4824 bool result;
4825 PyObject * obj0 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "self", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail;
4831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 {
4841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4842 }
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4852 int arg2 ;
4853 int arg3 ;
4854 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
4855 wxHtmlCell *result;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 PyObject * obj2 = 0 ;
4859 PyObject * obj3 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4867 arg2 = (int) SWIG_AsInt(obj1);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 arg3 = (int) SWIG_AsInt(obj2);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 if (obj3) {
4872 arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4892 wxPoint result;
4893 PyObject * obj0 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxHtmlCell const *)arg1)->GetAbsPos();
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 {
4909 wxPoint * resultptr;
4910 resultptr = new wxPoint((wxPoint &) result);
4911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4912 }
4913 return resultobj;
4914 fail:
4915 return NULL;
4916 }
4917
4918
4919 static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4922 wxHtmlCell *result;
4923 PyObject * obj0 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail;
4929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4948 wxHtmlCell *result;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
4965 return resultobj;
4966 fail:
4967 return NULL;
4968 }
4969
4970
4971 static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
4974 unsigned int result;
4975 PyObject * obj0 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail;
4981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
4982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
4991 return resultobj;
4992 fail:
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5000 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5001 bool result;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "cell", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 {
5021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5022 }
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
5032 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
5033 wxString result;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "sel", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 {
5053 #if wxUSE_UNICODE
5054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5055 #else
5056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5057 #endif
5058 }
5059 return resultobj;
5060 fail:
5061 return NULL;
5062 }
5063
5064
5065 static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) {
5066 PyObject *obj;
5067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj);
5069 Py_INCREF(obj);
5070 return Py_BuildValue((char *)"");
5071 }
5072 static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxString *arg1 = 0 ;
5075 wxDC *arg2 = 0 ;
5076 wxHtmlWordCell *result;
5077 bool temp1 = False ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "word",(char *) "dc", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail;
5085 {
5086 arg1 = wxString_in_helper(obj0);
5087 if (arg1 == NULL) SWIG_fail;
5088 temp1 = True;
5089 }
5090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5091 SWIG_POINTER_EXCEPTION | 0)) == -1)
5092 SWIG_fail;
5093 if (arg2 == NULL) {
5094 PyErr_SetString(PyExc_TypeError,"null reference");
5095 SWIG_fail;
5096 }
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1);
5105 {
5106 if (temp1)
5107 delete arg1;
5108 }
5109 return resultobj;
5110 fail:
5111 {
5112 if (temp1)
5113 delete arg1;
5114 }
5115 return NULL;
5116 }
5117
5118
5119 static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) {
5120 PyObject *obj;
5121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5122 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj);
5123 Py_INCREF(obj);
5124 return Py_BuildValue((char *)"");
5125 }
5126 static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj;
5128 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5129 wxHtmlContainerCell *result;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "parent", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1);
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5155 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "cell", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->InsertCell(arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5184 int arg2 ;
5185 PyObject * obj0 = 0 ;
5186 PyObject * obj1 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "al", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail;
5192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5194 arg2 = (int) SWIG_AsInt(obj1);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 (arg1)->SetAlignHor(arg2);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 Py_INCREF(Py_None); resultobj = Py_None;
5204 return resultobj;
5205 fail:
5206 return NULL;
5207 }
5208
5209
5210 static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj;
5212 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5213 int result;
5214 PyObject * obj0 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail;
5220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 result = (int)(arg1)->GetAlignHor();
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 resultobj = SWIG_FromInt((int)result);
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5239 int arg2 ;
5240 PyObject * obj0 = 0 ;
5241 PyObject * obj1 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self",(char *) "al", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5249 arg2 = (int) SWIG_AsInt(obj1);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->SetAlignVer(arg2);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262 }
5263
5264
5265 static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5268 int result;
5269 PyObject * obj0 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (int)(arg1)->GetAlignVer();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = SWIG_FromInt((int)result);
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5294 int arg2 ;
5295 int arg3 ;
5296 int arg4 = (int) wxHTML_UNITS_PIXELS ;
5297 PyObject * obj0 = 0 ;
5298 PyObject * obj1 = 0 ;
5299 PyObject * obj2 = 0 ;
5300 PyObject * obj3 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5308 arg2 = (int) SWIG_AsInt(obj1);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 arg3 = (int) SWIG_AsInt(obj2);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 if (obj3) {
5313 arg4 = (int) SWIG_AsInt(obj3);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 (arg1)->SetIndent(arg2,arg3,arg4);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 Py_INCREF(Py_None); resultobj = Py_None;
5324 return resultobj;
5325 fail:
5326 return NULL;
5327 }
5328
5329
5330 static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5333 int arg2 ;
5334 int result;
5335 PyObject * obj0 = 0 ;
5336 PyObject * obj1 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self",(char *) "ind", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5344 arg2 = (int) SWIG_AsInt(obj1);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (int)(arg1)->GetIndent(arg2);
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_FromInt((int)result);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5363 int arg2 ;
5364 int result;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char *kwnames[] = {
5368 (char *) "self",(char *) "ind", NULL
5369 };
5370
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail;
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5374 arg2 = (int) SWIG_AsInt(obj1);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 result = (int)(arg1)->GetIndentUnits(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = SWIG_FromInt((int)result);
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5393 wxHtmlTag *arg2 = 0 ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "tag", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1)
5405 SWIG_fail;
5406 if (arg2 == NULL) {
5407 PyErr_SetString(PyExc_TypeError,"null reference");
5408 SWIG_fail;
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 Py_INCREF(Py_None); resultobj = Py_None;
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5427 int arg2 ;
5428 int arg3 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 PyObject * obj2 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "w",(char *) "units", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5439 arg2 = (int) SWIG_AsInt(obj1);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 arg3 = (int) SWIG_AsInt(obj2);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->SetWidthFloat(arg2,arg3);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5460 wxHtmlTag *arg2 = 0 ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "tag", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1)
5472 SWIG_fail;
5473 if (arg2 == NULL) {
5474 PyErr_SetString(PyExc_TypeError,"null reference");
5475 SWIG_fail;
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 Py_INCREF(Py_None); resultobj = Py_None;
5485 return resultobj;
5486 fail:
5487 return NULL;
5488 }
5489
5490
5491 static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5494 int arg2 ;
5495 int arg3 = (int) wxHTML_ALIGN_TOP ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 PyObject * obj2 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "h",(char *) "align", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5506 arg2 = (int) SWIG_AsInt(obj1);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 if (obj2) {
5509 arg3 = (int) SWIG_AsInt(obj2);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 (arg1)->SetMinHeight(arg2,arg3);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 Py_INCREF(Py_None); resultobj = Py_None;
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5529 wxColour *arg2 = 0 ;
5530 wxColour temp2 ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "clr", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 {
5541 arg2 = &temp2;
5542 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5543 }
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5547
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 Py_INCREF(Py_None); resultobj = Py_None;
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj;
5560 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5561 wxColour result;
5562 PyObject * obj0 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = (arg1)->GetBackgroundColour();
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 {
5578 wxColour * resultptr;
5579 resultptr = new wxColour((wxColour &) result);
5580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5581 }
5582 return resultobj;
5583 fail:
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5591 wxColour *arg2 = 0 ;
5592 wxColour *arg3 = 0 ;
5593 wxColour temp2 ;
5594 wxColour temp3 ;
5595 PyObject * obj0 = 0 ;
5596 PyObject * obj1 = 0 ;
5597 PyObject * obj2 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5605 {
5606 arg2 = &temp2;
5607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5608 }
5609 {
5610 arg3 = &temp3;
5611 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5612 }
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 Py_INCREF(Py_None); resultobj = Py_None;
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
5630 wxHtmlCell *result;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell,
5638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (wxHtmlCell *)(arg1)->GetFirstChild();
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0);
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) {
5654 PyObject *obj;
5655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5656 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj);
5657 Py_INCREF(obj);
5658 return Py_BuildValue((char *)"");
5659 }
5660 static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj;
5662 wxColour arg1 ;
5663 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
5664 wxHtmlColourCell *result;
5665 wxColour *argp1 ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "clr",(char *) "flags", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour,
5674 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5675 arg1 = *argp1;
5676 if (obj1) {
5677 arg2 = (int) SWIG_AsInt(obj1);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1);
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) {
5695 PyObject *obj;
5696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5697 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj);
5698 Py_INCREF(obj);
5699 return Py_BuildValue((char *)"");
5700 }
5701 static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj;
5703 wxFont *arg1 = (wxFont *) 0 ;
5704 wxHtmlFontCell *result;
5705 PyObject * obj0 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "font", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
5712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1);
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) {
5728 PyObject *obj;
5729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5730 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj);
5731 Py_INCREF(obj);
5732 return Py_BuildValue((char *)"");
5733 }
5734 static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxWindow *arg1 = (wxWindow *) 0 ;
5737 int arg2 = (int) 0 ;
5738 wxHtmlWidgetCell *result;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "wnd",(char *) "w", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5748 if (obj1) {
5749 arg2 = (int) SWIG_AsInt(obj1);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1);
5760 return resultobj;
5761 fail:
5762 return NULL;
5763 }
5764
5765
5766 static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) {
5767 PyObject *obj;
5768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5769 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj);
5770 Py_INCREF(obj);
5771 return Py_BuildValue((char *)"");
5772 }
5773 static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxPyHtmlFilter *result;
5776 char *kwnames[] = {
5777 NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail;
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1);
5789 return resultobj;
5790 fail:
5791 return NULL;
5792 }
5793
5794
5795 static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
5798 PyObject *arg2 = (PyObject *) 0 ;
5799 PyObject *arg3 = (PyObject *) 0 ;
5800 PyObject * obj0 = 0 ;
5801 PyObject * obj1 = 0 ;
5802 PyObject * obj2 = 0 ;
5803 char *kwnames[] = {
5804 (char *) "self",(char *) "self",(char *) "_class", NULL
5805 };
5806
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
5809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5810 arg2 = obj1;
5811 arg3 = obj2;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 (arg1)->_setCallbackInfo(arg2,arg3);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 Py_INCREF(Py_None); resultobj = Py_None;
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) {
5827 PyObject *obj;
5828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5829 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj);
5830 Py_INCREF(obj);
5831 return Py_BuildValue((char *)"");
5832 }
5833 static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxWindow *arg1 = (wxWindow *) 0 ;
5836 int arg2 = (int) -1 ;
5837 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5838 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5839 wxSize const &arg4_defvalue = wxDefaultSize ;
5840 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5841 int arg5 = (int) wxHW_DEFAULT_STYLE ;
5842 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
5843 wxString *arg6 = (wxString *) &arg6_defvalue ;
5844 wxPyHtmlWindow *result;
5845 wxPoint temp3 ;
5846 wxSize temp4 ;
5847 bool temp6 = False ;
5848 PyObject * obj0 = 0 ;
5849 PyObject * obj1 = 0 ;
5850 PyObject * obj2 = 0 ;
5851 PyObject * obj3 = 0 ;
5852 PyObject * obj4 = 0 ;
5853 PyObject * obj5 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5861 if (obj1) {
5862 arg2 = (int) SWIG_AsInt(obj1);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 if (obj2) {
5866 {
5867 arg3 = &temp3;
5868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5869 }
5870 }
5871 if (obj3) {
5872 {
5873 arg4 = &temp4;
5874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5875 }
5876 }
5877 if (obj4) {
5878 arg5 = (int) SWIG_AsInt(obj4);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 if (obj5) {
5882 {
5883 arg6 = wxString_in_helper(obj5);
5884 if (arg6 == NULL) SWIG_fail;
5885 temp6 = True;
5886 }
5887 }
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 {
5896 resultobj = wxPyMake_wxObject(result);
5897 }
5898 {
5899 if (temp6)
5900 delete arg6;
5901 }
5902 return resultobj;
5903 fail:
5904 {
5905 if (temp6)
5906 delete arg6;
5907 }
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxPyHtmlWindow *result;
5915 char *kwnames[] = {
5916 NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 {
5928 resultobj = wxPyMake_wxObject(result);
5929 }
5930 return resultobj;
5931 fail:
5932 return NULL;
5933 }
5934
5935
5936 static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj;
5938 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
5939 wxWindow *arg2 = (wxWindow *) 0 ;
5940 int arg3 = (int) -1 ;
5941 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5942 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5943 wxSize const &arg5_defvalue = wxDefaultSize ;
5944 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5945 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
5946 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
5947 wxString *arg7 = (wxString *) &arg7_defvalue ;
5948 bool result;
5949 wxPoint temp4 ;
5950 wxSize temp5 ;
5951 bool temp7 = False ;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj1 = 0 ;
5954 PyObject * obj2 = 0 ;
5955 PyObject * obj3 = 0 ;
5956 PyObject * obj4 = 0 ;
5957 PyObject * obj5 = 0 ;
5958 PyObject * obj6 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5968 if (obj2) {
5969 arg3 = (int) SWIG_AsInt(obj2);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 if (obj3) {
5973 {
5974 arg4 = &temp4;
5975 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5976 }
5977 }
5978 if (obj4) {
5979 {
5980 arg5 = &temp5;
5981 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5982 }
5983 }
5984 if (obj5) {
5985 arg6 = (int) SWIG_AsInt(obj5);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 if (obj6) {
5989 {
5990 arg7 = wxString_in_helper(obj6);
5991 if (arg7 == NULL) SWIG_fail;
5992 temp7 = True;
5993 }
5994 }
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 {
6003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004 }
6005 {
6006 if (temp7)
6007 delete arg7;
6008 }
6009 return resultobj;
6010 fail:
6011 {
6012 if (temp7)
6013 delete arg7;
6014 }
6015 return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6022 PyObject *arg2 = (PyObject *) 0 ;
6023 PyObject *arg3 = (PyObject *) 0 ;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 PyObject * obj2 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self",(char *) "self",(char *) "_class", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6034 arg2 = obj1;
6035 arg3 = obj2;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->_setCallbackInfo(arg2,arg3);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 Py_INCREF(Py_None); resultobj = Py_None;
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6053 wxString *arg2 = 0 ;
6054 bool result;
6055 bool temp2 = False ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "source", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 {
6066 arg2 = wxString_in_helper(obj1);
6067 if (arg2 == NULL) SWIG_fail;
6068 temp2 = True;
6069 }
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 {
6078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6079 }
6080 {
6081 if (temp2)
6082 delete arg2;
6083 }
6084 return resultobj;
6085 fail:
6086 {
6087 if (temp2)
6088 delete arg2;
6089 }
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6097 wxString *arg2 = 0 ;
6098 bool result;
6099 bool temp2 = False ;
6100 PyObject * obj0 = 0 ;
6101 PyObject * obj1 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self",(char *) "location", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail;
6107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6109 {
6110 arg2 = wxString_in_helper(obj1);
6111 if (arg2 == NULL) SWIG_fail;
6112 temp2 = True;
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 {
6122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6123 }
6124 {
6125 if (temp2)
6126 delete arg2;
6127 }
6128 return resultobj;
6129 fail:
6130 {
6131 if (temp2)
6132 delete arg2;
6133 }
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6141 wxString *arg2 = 0 ;
6142 bool result;
6143 bool temp2 = False ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "self",(char *) "filename", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6153 {
6154 arg2 = wxString_in_helper(obj1);
6155 if (arg2 == NULL) SWIG_fail;
6156 temp2 = True;
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 {
6166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6167 }
6168 {
6169 if (temp2)
6170 delete arg2;
6171 }
6172 return resultobj;
6173 fail:
6174 {
6175 if (temp2)
6176 delete arg2;
6177 }
6178 return NULL;
6179 }
6180
6181
6182 static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6183 PyObject *resultobj;
6184 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6185 wxString *arg2 = 0 ;
6186 bool result;
6187 bool temp2 = False ;
6188 PyObject * obj0 = 0 ;
6189 PyObject * obj1 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self",(char *) "source", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6197 {
6198 arg2 = wxString_in_helper(obj1);
6199 if (arg2 == NULL) SWIG_fail;
6200 temp2 = True;
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 {
6210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6211 }
6212 {
6213 if (temp2)
6214 delete arg2;
6215 }
6216 return resultobj;
6217 fail:
6218 {
6219 if (temp2)
6220 delete arg2;
6221 }
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6229 wxString result;
6230 PyObject * obj0 = 0 ;
6231 char *kwnames[] = {
6232 (char *) "self", NULL
6233 };
6234
6235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail;
6236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (arg1)->GetOpenedPage();
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 {
6246 #if wxUSE_UNICODE
6247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6248 #else
6249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6250 #endif
6251 }
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6261 wxString result;
6262 PyObject * obj0 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 result = (arg1)->GetOpenedAnchor();
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 {
6278 #if wxUSE_UNICODE
6279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6280 #else
6281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6282 #endif
6283 }
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6293 wxString result;
6294 PyObject * obj0 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (arg1)->GetOpenedPageTitle();
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 {
6310 #if wxUSE_UNICODE
6311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6312 #else
6313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6314 #endif
6315 }
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6325 wxFrame *arg2 = (wxFrame *) 0 ;
6326 wxString *arg3 = 0 ;
6327 bool temp3 = False ;
6328 PyObject * obj0 = 0 ;
6329 PyObject * obj1 = 0 ;
6330 PyObject * obj2 = 0 ;
6331 char *kwnames[] = {
6332 (char *) "self",(char *) "frame",(char *) "format", NULL
6333 };
6334
6335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
6336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
6339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6340 {
6341 arg3 = wxString_in_helper(obj2);
6342 if (arg3 == NULL) SWIG_fail;
6343 temp3 = True;
6344 }
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 {
6354 if (temp3)
6355 delete arg3;
6356 }
6357 return resultobj;
6358 fail:
6359 {
6360 if (temp3)
6361 delete arg3;
6362 }
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6370 wxFrame *result;
6371 PyObject * obj0 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "self", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail;
6377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 result = (wxFrame *)(arg1)->GetRelatedFrame();
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 {
6387 resultobj = wxPyMake_wxObject(result);
6388 }
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6398 int arg2 ;
6399 PyObject * obj0 = 0 ;
6400 PyObject * obj1 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self",(char *) "bar", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6408 arg2 = (int) SWIG_AsInt(obj1);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 (arg1)->SetRelatedStatusBar(arg2);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6427 wxString arg2 ;
6428 wxString arg3 ;
6429 PyObject *arg4 = (PyObject *) NULL ;
6430 PyObject * obj0 = 0 ;
6431 PyObject * obj1 = 0 ;
6432 PyObject * obj2 = 0 ;
6433 PyObject * obj3 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 {
6442 wxString* sptr = wxString_in_helper(obj1);
6443 if (sptr == NULL) SWIG_fail;
6444 arg2 = *sptr;
6445 delete sptr;
6446 }
6447 {
6448 wxString* sptr = wxString_in_helper(obj2);
6449 if (sptr == NULL) SWIG_fail;
6450 arg3 = *sptr;
6451 delete sptr;
6452 }
6453 if (obj3) {
6454 arg4 = obj3;
6455 }
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 Py_INCREF(Py_None); resultobj = Py_None;
6464 return resultobj;
6465 fail:
6466 return NULL;
6467 }
6468
6469
6470 static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6473 wxString *arg2 = 0 ;
6474 bool temp2 = False ;
6475 PyObject * obj0 = 0 ;
6476 PyObject * obj1 = 0 ;
6477 char *kwnames[] = {
6478 (char *) "self",(char *) "title", NULL
6479 };
6480
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
6482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6484 {
6485 arg2 = wxString_in_helper(obj1);
6486 if (arg2 == NULL) SWIG_fail;
6487 temp2 = True;
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 (arg1)->SetTitle((wxString const &)*arg2);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 Py_INCREF(Py_None); resultobj = Py_None;
6497 {
6498 if (temp2)
6499 delete arg2;
6500 }
6501 return resultobj;
6502 fail:
6503 {
6504 if (temp2)
6505 delete arg2;
6506 }
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6514 int arg2 ;
6515 PyObject * obj0 = 0 ;
6516 PyObject * obj1 = 0 ;
6517 char *kwnames[] = {
6518 (char *) "self",(char *) "b", NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail;
6522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6524 arg2 = (int) SWIG_AsInt(obj1);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 (arg1)->SetBorders(arg2);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 Py_INCREF(Py_None); resultobj = Py_None;
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj;
6542 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6543 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6544 wxString arg3 = (wxString) wxPyEmptyString ;
6545 PyObject * obj0 = 0 ;
6546 PyObject * obj1 = 0 ;
6547 PyObject * obj2 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "cfg",(char *) "path", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6557 if (obj2) {
6558 {
6559 wxString* sptr = wxString_in_helper(obj2);
6560 if (sptr == NULL) SWIG_fail;
6561 arg3 = *sptr;
6562 delete sptr;
6563 }
6564 }
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 (arg1)->ReadCustomization(arg2,arg3);
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 Py_INCREF(Py_None); resultobj = Py_None;
6573 return resultobj;
6574 fail:
6575 return NULL;
6576 }
6577
6578
6579 static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
6580 PyObject *resultobj;
6581 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6582 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
6583 wxString arg3 = (wxString) wxPyEmptyString ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 PyObject * obj2 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self",(char *) "cfg",(char *) "path", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6596 if (obj2) {
6597 {
6598 wxString* sptr = wxString_in_helper(obj2);
6599 if (sptr == NULL) SWIG_fail;
6600 arg3 = *sptr;
6601 delete sptr;
6602 }
6603 }
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 (arg1)->WriteCustomization(arg2,arg3);
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 Py_INCREF(Py_None); resultobj = Py_None;
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6619 PyObject *resultobj;
6620 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6621 bool result;
6622 PyObject * obj0 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "self", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail;
6628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)(arg1)->HistoryBack();
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 {
6638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6639 }
6640 return resultobj;
6641 fail:
6642 return NULL;
6643 }
6644
6645
6646 static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6649 bool result;
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail;
6656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (bool)(arg1)->HistoryForward();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6677 bool result;
6678 PyObject * obj0 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (bool)(arg1)->HistoryCanBack();
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 {
6694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6695 }
6696 return resultobj;
6697 fail:
6698 return NULL;
6699 }
6700
6701
6702 static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6705 bool result;
6706 PyObject * obj0 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "self", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail;
6712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 result = (bool)(arg1)->HistoryCanForward();
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6723 }
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6733 PyObject * obj0 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "self", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail;
6739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 (arg1)->HistoryClear();
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 Py_INCREF(Py_None); resultobj = Py_None;
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6758 wxHtmlContainerCell *result;
6759 PyObject * obj0 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0);
6775 return resultobj;
6776 fail:
6777 return NULL;
6778 }
6779
6780
6781 static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj;
6783 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6784 wxHtmlWinParser *result;
6785 PyObject * obj0 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (wxHtmlWinParser *)(arg1)->GetParser();
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0);
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6810 wxString *arg2 = 0 ;
6811 bool result;
6812 bool temp2 = False ;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "self",(char *) "anchor", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail;
6820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6822 {
6823 arg2 = wxString_in_helper(obj1);
6824 if (arg2 == NULL) SWIG_fail;
6825 temp2 = True;
6826 }
6827 {
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
6830
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 {
6835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6836 }
6837 {
6838 if (temp2)
6839 delete arg2;
6840 }
6841 return resultobj;
6842 fail:
6843 {
6844 if (temp2)
6845 delete arg2;
6846 }
6847 return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj;
6853 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6854 wxString *arg2 = 0 ;
6855 bool result;
6856 bool temp2 = False ;
6857 PyObject * obj0 = 0 ;
6858 PyObject * obj1 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "anchor", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6866 {
6867 arg2 = wxString_in_helper(obj1);
6868 if (arg2 == NULL) SWIG_fail;
6869 temp2 = True;
6870 }
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 {
6879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6880 }
6881 {
6882 if (temp2)
6883 delete arg2;
6884 }
6885 return resultobj;
6886 fail:
6887 {
6888 if (temp2)
6889 delete arg2;
6890 }
6891 return NULL;
6892 }
6893
6894
6895 static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
6898 PyObject * obj0 = 0 ;
6899 char *kwnames[] = {
6900 (char *) "filter", NULL
6901 };
6902
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail;
6904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 wxPyHtmlWindow::AddFilter(arg1);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6923 wxPoint *arg2 = 0 ;
6924 wxPoint temp2 ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 char *kwnames[] = {
6928 (char *) "self",(char *) "pos", NULL
6929 };
6930
6931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail;
6932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6934 {
6935 arg2 = &temp2;
6936 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6937 }
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 (arg1)->SelectWord((wxPoint const &)*arg2);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 Py_INCREF(Py_None); resultobj = Py_None;
6946 return resultobj;
6947 fail:
6948 return NULL;
6949 }
6950
6951
6952 static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6955 wxPoint *arg2 = 0 ;
6956 wxPoint temp2 ;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "pos", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail;
6964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6966 {
6967 arg2 = &temp2;
6968 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6969 }
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 (arg1)->SelectLine((wxPoint const &)*arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 Py_INCREF(Py_None); resultobj = Py_None;
6978 return resultobj;
6979 fail:
6980 return NULL;
6981 }
6982
6983
6984 static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
6987 PyObject * obj0 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "self", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail;
6993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
6994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->SelectAll();
6998
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 Py_INCREF(Py_None); resultobj = Py_None;
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj;
7011 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7012 wxHtmlLinkInfo *arg2 = 0 ;
7013 PyObject * obj0 = 0 ;
7014 PyObject * obj1 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "link", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail;
7020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo,
7023 SWIG_POINTER_EXCEPTION | 0)) == -1)
7024 SWIG_fail;
7025 if (arg2 == NULL) {
7026 PyErr_SetString(PyExc_TypeError,"null reference");
7027 SWIG_fail;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7046 wxString *arg2 = 0 ;
7047 bool temp2 = False ;
7048 PyObject * obj0 = 0 ;
7049 PyObject * obj1 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self",(char *) "title", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7057 {
7058 arg2 = wxString_in_helper(obj1);
7059 if (arg2 == NULL) SWIG_fail;
7060 temp2 = True;
7061 }
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 (arg1)->base_OnSetTitle((wxString const &)*arg2);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 Py_INCREF(Py_None); resultobj = Py_None;
7070 {
7071 if (temp2)
7072 delete arg2;
7073 }
7074 return resultobj;
7075 fail:
7076 {
7077 if (temp2)
7078 delete arg2;
7079 }
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7087 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7088 int arg3 ;
7089 int arg4 ;
7090 PyObject * obj0 = 0 ;
7091 PyObject * obj1 = 0 ;
7092 PyObject * obj2 = 0 ;
7093 PyObject * obj3 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7103 arg3 = (int) SWIG_AsInt(obj2);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 arg4 = (int) SWIG_AsInt(obj3);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->base_OnCellMouseHover(arg2,arg3,arg4);
7110
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 Py_INCREF(Py_None); resultobj = Py_None;
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject *resultobj;
7123 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
7124 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7125 int arg3 ;
7126 int arg4 ;
7127 wxMouseEvent *arg5 = 0 ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 PyObject * obj2 = 0 ;
7131 PyObject * obj3 = 0 ;
7132 PyObject * obj4 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
7139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7140 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell,
7141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7142 arg3 = (int) SWIG_AsInt(obj2);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 arg4 = (int) SWIG_AsInt(obj3);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent,
7147 SWIG_POINTER_EXCEPTION | 0)) == -1)
7148 SWIG_fail;
7149 if (arg5 == NULL) {
7150 PyErr_SetString(PyExc_TypeError,"null reference");
7151 SWIG_fail;
7152 }
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 Py_INCREF(Py_None); resultobj = Py_None;
7161 return resultobj;
7162 fail:
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
7170 wxVisualAttributes result;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "variant", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7177 if (obj0) {
7178 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 {
7189 wxVisualAttributes * resultptr;
7190 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
7191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7192 }
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) {
7200 PyObject *obj;
7201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7202 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj);
7203 Py_INCREF(obj);
7204 return Py_BuildValue((char *)"");
7205 }
7206 static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxHtmlDCRenderer *result;
7209 char *kwnames[] = {
7210 NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail;
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1);
7222 return resultobj;
7223 fail:
7224 return NULL;
7225 }
7226
7227
7228 static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
7229 PyObject *resultobj;
7230 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7231 PyObject * obj0 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 delete arg1;
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 Py_INCREF(Py_None); resultobj = Py_None;
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7256 wxDC *arg2 = (wxDC *) 0 ;
7257 int arg3 ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj2 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7270 arg3 = (int) SWIG_AsInt(obj2);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 (arg1)->SetDC(arg2,arg3);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 Py_INCREF(Py_None); resultobj = Py_None;
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7289 int arg2 ;
7290 int arg3 ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 PyObject * obj2 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "width",(char *) "height", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7301 arg2 = (int) SWIG_AsInt(obj1);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 arg3 = (int) SWIG_AsInt(obj2);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 {
7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
7307 (arg1)->SetSize(arg2,arg3);
7308
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 Py_INCREF(Py_None); resultobj = Py_None;
7313 return resultobj;
7314 fail:
7315 return NULL;
7316 }
7317
7318
7319 static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj;
7321 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7322 wxString *arg2 = 0 ;
7323 wxString const &arg3_defvalue = wxPyEmptyString ;
7324 wxString *arg3 = (wxString *) &arg3_defvalue ;
7325 bool arg4 = (bool) True ;
7326 bool temp2 = False ;
7327 bool temp3 = False ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 PyObject * obj2 = 0 ;
7331 PyObject * obj3 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 {
7340 arg2 = wxString_in_helper(obj1);
7341 if (arg2 == NULL) SWIG_fail;
7342 temp2 = True;
7343 }
7344 if (obj2) {
7345 {
7346 arg3 = wxString_in_helper(obj2);
7347 if (arg3 == NULL) SWIG_fail;
7348 temp3 = True;
7349 }
7350 }
7351 if (obj3) {
7352 arg4 = (bool) SWIG_AsBool(obj3);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7358
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 Py_INCREF(Py_None); resultobj = Py_None;
7363 {
7364 if (temp2)
7365 delete arg2;
7366 }
7367 {
7368 if (temp3)
7369 delete arg3;
7370 }
7371 return resultobj;
7372 fail:
7373 {
7374 if (temp2)
7375 delete arg2;
7376 }
7377 {
7378 if (temp3)
7379 delete arg3;
7380 }
7381 return NULL;
7382 }
7383
7384
7385 static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj;
7387 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7388 wxString arg2 ;
7389 wxString arg3 ;
7390 PyObject *arg4 = (PyObject *) NULL ;
7391 PyObject * obj0 = 0 ;
7392 PyObject * obj1 = 0 ;
7393 PyObject * obj2 = 0 ;
7394 PyObject * obj3 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7402 {
7403 wxString* sptr = wxString_in_helper(obj1);
7404 if (sptr == NULL) SWIG_fail;
7405 arg2 = *sptr;
7406 delete sptr;
7407 }
7408 {
7409 wxString* sptr = wxString_in_helper(obj2);
7410 if (sptr == NULL) SWIG_fail;
7411 arg3 = *sptr;
7412 delete sptr;
7413 }
7414 if (obj3) {
7415 arg4 = obj3;
7416 }
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7434 int arg2 ;
7435 int arg3 ;
7436 int arg4 = (int) 0 ;
7437 int arg5 = (int) False ;
7438 int arg6 = (int) INT_MAX ;
7439 int *arg7 = (int *) NULL ;
7440 int arg8 = (int) 0 ;
7441 int result;
7442 PyObject * obj0 = 0 ;
7443 PyObject * obj1 = 0 ;
7444 PyObject * obj2 = 0 ;
7445 PyObject * obj3 = 0 ;
7446 PyObject * obj4 = 0 ;
7447 PyObject * obj5 = 0 ;
7448 PyObject * obj6 = 0 ;
7449 PyObject * obj7 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7457 arg2 = (int) SWIG_AsInt(obj1);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 arg3 = (int) SWIG_AsInt(obj2);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 if (obj3) {
7462 arg4 = (int) SWIG_AsInt(obj3);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 if (obj4) {
7466 arg5 = (int) SWIG_AsInt(obj4);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 if (obj5) {
7470 arg6 = (int) SWIG_AsInt(obj5);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 if (obj6) {
7474 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int,
7475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7476 }
7477 if (obj7) {
7478 arg8 = (int) SWIG_AsInt(obj7);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 resultobj = SWIG_FromInt((int)result);
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
7498 int result;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
7506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = (int)(arg1)->GetTotalHeight();
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 resultobj = SWIG_FromInt((int)result);
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) {
7522 PyObject *obj;
7523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7524 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj);
7525 Py_INCREF(obj);
7526 return Py_BuildValue((char *)"");
7527 }
7528 static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
7531 wxString *arg1 = (wxString *) &arg1_defvalue ;
7532 wxHtmlPrintout *result;
7533 bool temp1 = False ;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "title", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail;
7540 if (obj0) {
7541 {
7542 arg1 = wxString_in_helper(obj0);
7543 if (arg1 == NULL) SWIG_fail;
7544 temp1 = True;
7545 }
7546 }
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1);
7555 {
7556 if (temp1)
7557 delete arg1;
7558 }
7559 return resultobj;
7560 fail:
7561 {
7562 if (temp1)
7563 delete arg1;
7564 }
7565 return NULL;
7566 }
7567
7568
7569 static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7572 wxString *arg2 = 0 ;
7573 wxString const &arg3_defvalue = wxPyEmptyString ;
7574 wxString *arg3 = (wxString *) &arg3_defvalue ;
7575 bool arg4 = (bool) True ;
7576 bool temp2 = False ;
7577 bool temp3 = False ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 PyObject * obj2 = 0 ;
7581 PyObject * obj3 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7589 {
7590 arg2 = wxString_in_helper(obj1);
7591 if (arg2 == NULL) SWIG_fail;
7592 temp2 = True;
7593 }
7594 if (obj2) {
7595 {
7596 arg3 = wxString_in_helper(obj2);
7597 if (arg3 == NULL) SWIG_fail;
7598 temp3 = True;
7599 }
7600 }
7601 if (obj3) {
7602 arg4 = (bool) SWIG_AsBool(obj3);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 {
7614 if (temp2)
7615 delete arg2;
7616 }
7617 {
7618 if (temp3)
7619 delete arg3;
7620 }
7621 return resultobj;
7622 fail:
7623 {
7624 if (temp2)
7625 delete arg2;
7626 }
7627 {
7628 if (temp3)
7629 delete arg3;
7630 }
7631 return NULL;
7632 }
7633
7634
7635 static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj;
7637 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7638 wxString *arg2 = 0 ;
7639 bool temp2 = False ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self",(char *) "htmlfile", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail;
7647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7649 {
7650 arg2 = wxString_in_helper(obj1);
7651 if (arg2 == NULL) SWIG_fail;
7652 temp2 = True;
7653 }
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 (arg1)->SetHtmlFile((wxString const &)*arg2);
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 Py_INCREF(Py_None); resultobj = Py_None;
7662 {
7663 if (temp2)
7664 delete arg2;
7665 }
7666 return resultobj;
7667 fail:
7668 {
7669 if (temp2)
7670 delete arg2;
7671 }
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7679 wxString *arg2 = 0 ;
7680 int arg3 = (int) wxPAGE_ALL ;
7681 bool temp2 = False ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 PyObject * obj2 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self",(char *) "header",(char *) "pg", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
7690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7692 {
7693 arg2 = wxString_in_helper(obj1);
7694 if (arg2 == NULL) SWIG_fail;
7695 temp2 = True;
7696 }
7697 if (obj2) {
7698 arg3 = (int) SWIG_AsInt(obj2);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->SetHeader((wxString const &)*arg2,arg3);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 {
7710 if (temp2)
7711 delete arg2;
7712 }
7713 return resultobj;
7714 fail:
7715 {
7716 if (temp2)
7717 delete arg2;
7718 }
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7726 wxString *arg2 = 0 ;
7727 int arg3 = (int) wxPAGE_ALL ;
7728 bool temp2 = False ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 PyObject * obj2 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "footer",(char *) "pg", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7739 {
7740 arg2 = wxString_in_helper(obj1);
7741 if (arg2 == NULL) SWIG_fail;
7742 temp2 = True;
7743 }
7744 if (obj2) {
7745 arg3 = (int) SWIG_AsInt(obj2);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 (arg1)->SetFooter((wxString const &)*arg2,arg3);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 Py_INCREF(Py_None); resultobj = Py_None;
7756 {
7757 if (temp2)
7758 delete arg2;
7759 }
7760 return resultobj;
7761 fail:
7762 {
7763 if (temp2)
7764 delete arg2;
7765 }
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7773 wxString arg2 ;
7774 wxString arg3 ;
7775 PyObject *arg4 = (PyObject *) NULL ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 PyObject * obj2 = 0 ;
7779 PyObject * obj3 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7787 {
7788 wxString* sptr = wxString_in_helper(obj1);
7789 if (sptr == NULL) SWIG_fail;
7790 arg2 = *sptr;
7791 delete sptr;
7792 }
7793 {
7794 wxString* sptr = wxString_in_helper(obj2);
7795 if (sptr == NULL) SWIG_fail;
7796 arg3 = *sptr;
7797 delete sptr;
7798 }
7799 if (obj3) {
7800 arg4 = obj3;
7801 }
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 Py_INCREF(Py_None); resultobj = Py_None;
7810 return resultobj;
7811 fail:
7812 return NULL;
7813 }
7814
7815
7816 static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj;
7818 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
7819 float arg2 = (float) 25.2 ;
7820 float arg3 = (float) 25.2 ;
7821 float arg4 = (float) 25.2 ;
7822 float arg5 = (float) 25.2 ;
7823 float arg6 = (float) 5 ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 PyObject * obj2 = 0 ;
7827 PyObject * obj3 = 0 ;
7828 PyObject * obj4 = 0 ;
7829 PyObject * obj5 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7837 if (obj1) {
7838 arg2 = (float) SWIG_AsFloat(obj1);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 if (obj2) {
7842 arg3 = (float) SWIG_AsFloat(obj2);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 if (obj3) {
7846 arg4 = (float) SWIG_AsFloat(obj3);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 if (obj4) {
7850 arg5 = (float) SWIG_AsFloat(obj4);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 if (obj5) {
7854 arg6 = (float) SWIG_AsFloat(obj5);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 return resultobj;
7866 fail:
7867 return NULL;
7868 }
7869
7870
7871 static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
7874 PyObject * obj0 = 0 ;
7875 char *kwnames[] = {
7876 (char *) "filter", NULL
7877 };
7878
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail;
7880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter,
7881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 wxHtmlPrintout::AddFilter(arg1);
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 Py_INCREF(Py_None); resultobj = Py_None;
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 char *kwnames[] = {
7899 NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 wxHtmlPrintout::CleanUpStatics();
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 Py_INCREF(Py_None); resultobj = Py_None;
7911 return resultobj;
7912 fail:
7913 return NULL;
7914 }
7915
7916
7917 static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) {
7918 PyObject *obj;
7919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7920 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj);
7921 Py_INCREF(obj);
7922 return Py_BuildValue((char *)"");
7923 }
7924 static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
7927 wxString *arg1 = (wxString *) &arg1_defvalue ;
7928 wxWindow *arg2 = (wxWindow *) NULL ;
7929 wxHtmlEasyPrinting *result;
7930 bool temp1 = False ;
7931 PyObject * obj0 = 0 ;
7932 PyObject * obj1 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "name",(char *) "parentWindow", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail;
7938 if (obj0) {
7939 {
7940 arg1 = wxString_in_helper(obj0);
7941 if (arg1 == NULL) SWIG_fail;
7942 temp1 = True;
7943 }
7944 }
7945 if (obj1) {
7946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7948 }
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1);
7957 {
7958 if (temp1)
7959 delete arg1;
7960 }
7961 return resultobj;
7962 fail:
7963 {
7964 if (temp1)
7965 delete arg1;
7966 }
7967 return NULL;
7968 }
7969
7970
7971 static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
7981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 delete arg1;
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 Py_INCREF(Py_None); resultobj = Py_None;
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
7999 wxString *arg2 = 0 ;
8000 bool temp2 = False ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "htmlfile", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8010 {
8011 arg2 = wxString_in_helper(obj1);
8012 if (arg2 == NULL) SWIG_fail;
8013 temp2 = True;
8014 }
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->PreviewFile((wxString const &)*arg2);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 {
8024 if (temp2)
8025 delete arg2;
8026 }
8027 return resultobj;
8028 fail:
8029 {
8030 if (temp2)
8031 delete arg2;
8032 }
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8040 wxString *arg2 = 0 ;
8041 wxString const &arg3_defvalue = wxPyEmptyString ;
8042 wxString *arg3 = (wxString *) &arg3_defvalue ;
8043 bool temp2 = False ;
8044 bool temp3 = False ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 PyObject * obj2 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8055 {
8056 arg2 = wxString_in_helper(obj1);
8057 if (arg2 == NULL) SWIG_fail;
8058 temp2 = True;
8059 }
8060 if (obj2) {
8061 {
8062 arg3 = wxString_in_helper(obj2);
8063 if (arg3 == NULL) SWIG_fail;
8064 temp3 = True;
8065 }
8066 }
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 Py_INCREF(Py_None); resultobj = Py_None;
8075 {
8076 if (temp2)
8077 delete arg2;
8078 }
8079 {
8080 if (temp3)
8081 delete arg3;
8082 }
8083 return resultobj;
8084 fail:
8085 {
8086 if (temp2)
8087 delete arg2;
8088 }
8089 {
8090 if (temp3)
8091 delete arg3;
8092 }
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8100 wxString *arg2 = 0 ;
8101 bool temp2 = False ;
8102 PyObject * obj0 = 0 ;
8103 PyObject * obj1 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self",(char *) "htmlfile", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8111 {
8112 arg2 = wxString_in_helper(obj1);
8113 if (arg2 == NULL) SWIG_fail;
8114 temp2 = True;
8115 }
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 (arg1)->PrintFile((wxString const &)*arg2);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 {
8125 if (temp2)
8126 delete arg2;
8127 }
8128 return resultobj;
8129 fail:
8130 {
8131 if (temp2)
8132 delete arg2;
8133 }
8134 return NULL;
8135 }
8136
8137
8138 static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8141 wxString *arg2 = 0 ;
8142 wxString const &arg3_defvalue = wxPyEmptyString ;
8143 wxString *arg3 = (wxString *) &arg3_defvalue ;
8144 bool temp2 = False ;
8145 bool temp3 = False ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8156 {
8157 arg2 = wxString_in_helper(obj1);
8158 if (arg2 == NULL) SWIG_fail;
8159 temp2 = True;
8160 }
8161 if (obj2) {
8162 {
8163 arg3 = wxString_in_helper(obj2);
8164 if (arg3 == NULL) SWIG_fail;
8165 temp3 = True;
8166 }
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 {
8177 if (temp2)
8178 delete arg2;
8179 }
8180 {
8181 if (temp3)
8182 delete arg3;
8183 }
8184 return resultobj;
8185 fail:
8186 {
8187 if (temp2)
8188 delete arg2;
8189 }
8190 {
8191 if (temp3)
8192 delete arg3;
8193 }
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj;
8200 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8201 PyObject * obj0 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail;
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 (arg1)->PrinterSetup();
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 Py_INCREF(Py_None); resultobj = Py_None;
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
8224 PyObject *resultobj;
8225 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8226 PyObject * obj0 = 0 ;
8227 char *kwnames[] = {
8228 (char *) "self", NULL
8229 };
8230
8231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail;
8232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 (arg1)->PageSetup();
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 Py_INCREF(Py_None); resultobj = Py_None;
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8251 wxString *arg2 = 0 ;
8252 int arg3 = (int) wxPAGE_ALL ;
8253 bool temp2 = False ;
8254 PyObject * obj0 = 0 ;
8255 PyObject * obj1 = 0 ;
8256 PyObject * obj2 = 0 ;
8257 char *kwnames[] = {
8258 (char *) "self",(char *) "header",(char *) "pg", NULL
8259 };
8260
8261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail;
8262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8264 {
8265 arg2 = wxString_in_helper(obj1);
8266 if (arg2 == NULL) SWIG_fail;
8267 temp2 = True;
8268 }
8269 if (obj2) {
8270 arg3 = (int) SWIG_AsInt(obj2);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 (arg1)->SetHeader((wxString const &)*arg2,arg3);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 Py_INCREF(Py_None); resultobj = Py_None;
8281 {
8282 if (temp2)
8283 delete arg2;
8284 }
8285 return resultobj;
8286 fail:
8287 {
8288 if (temp2)
8289 delete arg2;
8290 }
8291 return NULL;
8292 }
8293
8294
8295 static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8298 wxString *arg2 = 0 ;
8299 int arg3 = (int) wxPAGE_ALL ;
8300 bool temp2 = False ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "footer",(char *) "pg", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8311 {
8312 arg2 = wxString_in_helper(obj1);
8313 if (arg2 == NULL) SWIG_fail;
8314 temp2 = True;
8315 }
8316 if (obj2) {
8317 arg3 = (int) SWIG_AsInt(obj2);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 (arg1)->SetFooter((wxString const &)*arg2,arg3);
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 Py_INCREF(Py_None); resultobj = Py_None;
8328 {
8329 if (temp2)
8330 delete arg2;
8331 }
8332 return resultobj;
8333 fail:
8334 {
8335 if (temp2)
8336 delete arg2;
8337 }
8338 return NULL;
8339 }
8340
8341
8342 static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj;
8344 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8345 wxString arg2 ;
8346 wxString arg3 ;
8347 PyObject *arg4 = (PyObject *) NULL ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 PyObject * obj2 = 0 ;
8351 PyObject * obj3 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8359 {
8360 wxString* sptr = wxString_in_helper(obj1);
8361 if (sptr == NULL) SWIG_fail;
8362 arg2 = *sptr;
8363 delete sptr;
8364 }
8365 {
8366 wxString* sptr = wxString_in_helper(obj2);
8367 if (sptr == NULL) SWIG_fail;
8368 arg3 = *sptr;
8369 delete sptr;
8370 }
8371 if (obj3) {
8372 arg4 = obj3;
8373 }
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 Py_INCREF(Py_None); resultobj = Py_None;
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8391 wxPrintData *result;
8392 PyObject * obj0 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self", NULL
8395 };
8396
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail;
8398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 result = (wxPrintData *)(arg1)->GetPrintData();
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
8417 wxPageSetupDialogData *result;
8418 PyObject * obj0 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail;
8424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 {
8427 PyThreadState* __tstate = wxPyBeginAllowThreads();
8428 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
8429
8430 wxPyEndAllowThreads(__tstate);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) {
8441 PyObject *obj;
8442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8443 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj);
8444 Py_INCREF(obj);
8445 return Py_BuildValue((char *)"");
8446 }
8447 static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxString *arg1 = 0 ;
8450 wxString *arg2 = 0 ;
8451 wxString *arg3 = 0 ;
8452 wxString *arg4 = 0 ;
8453 wxHtmlBookRecord *result;
8454 bool temp1 = False ;
8455 bool temp2 = False ;
8456 bool temp3 = False ;
8457 bool temp4 = False ;
8458 PyObject * obj0 = 0 ;
8459 PyObject * obj1 = 0 ;
8460 PyObject * obj2 = 0 ;
8461 PyObject * obj3 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8467 {
8468 arg1 = wxString_in_helper(obj0);
8469 if (arg1 == NULL) SWIG_fail;
8470 temp1 = True;
8471 }
8472 {
8473 arg2 = wxString_in_helper(obj1);
8474 if (arg2 == NULL) SWIG_fail;
8475 temp2 = True;
8476 }
8477 {
8478 arg3 = wxString_in_helper(obj2);
8479 if (arg3 == NULL) SWIG_fail;
8480 temp3 = True;
8481 }
8482 {
8483 arg4 = wxString_in_helper(obj3);
8484 if (arg4 == NULL) SWIG_fail;
8485 temp4 = True;
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1);
8495 {
8496 if (temp1)
8497 delete arg1;
8498 }
8499 {
8500 if (temp2)
8501 delete arg2;
8502 }
8503 {
8504 if (temp3)
8505 delete arg3;
8506 }
8507 {
8508 if (temp4)
8509 delete arg4;
8510 }
8511 return resultobj;
8512 fail:
8513 {
8514 if (temp1)
8515 delete arg1;
8516 }
8517 {
8518 if (temp2)
8519 delete arg2;
8520 }
8521 {
8522 if (temp3)
8523 delete arg3;
8524 }
8525 {
8526 if (temp4)
8527 delete arg4;
8528 }
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8536 wxString result;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "self", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail;
8543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (arg1)->GetBookFile();
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 {
8553 #if wxUSE_UNICODE
8554 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8555 #else
8556 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8557 #endif
8558 }
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8568 wxString result;
8569 PyObject * obj0 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 result = (arg1)->GetTitle();
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 {
8585 #if wxUSE_UNICODE
8586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8587 #else
8588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8589 #endif
8590 }
8591 return resultobj;
8592 fail:
8593 return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8600 wxString result;
8601 PyObject * obj0 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 {
8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
8611 result = (arg1)->GetStart();
8612
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 {
8617 #if wxUSE_UNICODE
8618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8619 #else
8620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8621 #endif
8622 }
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8632 wxString result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (arg1)->GetBasePath();
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 #if wxUSE_UNICODE
8650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8651 #else
8652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8653 #endif
8654 }
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8664 int arg2 ;
8665 int arg3 ;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 PyObject * obj2 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "start",(char *) "end", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8676 arg2 = (int) SWIG_AsInt(obj1);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 arg3 = (int) SWIG_AsInt(obj2);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 (arg1)->SetContentsRange(arg2,arg3);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8697 int result;
8698 PyObject * obj0 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "self", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail;
8704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (int)(arg1)->GetContentsStart();
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 resultobj = SWIG_FromInt((int)result);
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8723 int result;
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail;
8730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 result = (int)(arg1)->GetContentsEnd();
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 resultobj = SWIG_FromInt((int)result);
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8749 wxString *arg2 = 0 ;
8750 bool temp2 = False ;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "self",(char *) "title", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail;
8758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8760 {
8761 arg2 = wxString_in_helper(obj1);
8762 if (arg2 == NULL) SWIG_fail;
8763 temp2 = True;
8764 }
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 (arg1)->SetTitle((wxString const &)*arg2);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 Py_INCREF(Py_None); resultobj = Py_None;
8773 {
8774 if (temp2)
8775 delete arg2;
8776 }
8777 return resultobj;
8778 fail:
8779 {
8780 if (temp2)
8781 delete arg2;
8782 }
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8790 wxString *arg2 = 0 ;
8791 bool temp2 = False ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self",(char *) "path", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail;
8799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8801 {
8802 arg2 = wxString_in_helper(obj1);
8803 if (arg2 == NULL) SWIG_fail;
8804 temp2 = True;
8805 }
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 (arg1)->SetBasePath((wxString const &)*arg2);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 Py_INCREF(Py_None); resultobj = Py_None;
8814 {
8815 if (temp2)
8816 delete arg2;
8817 }
8818 return resultobj;
8819 fail:
8820 {
8821 if (temp2)
8822 delete arg2;
8823 }
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8831 wxString *arg2 = 0 ;
8832 bool temp2 = False ;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "start", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8842 {
8843 arg2 = wxString_in_helper(obj1);
8844 if (arg2 == NULL) SWIG_fail;
8845 temp2 = True;
8846 }
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 (arg1)->SetStart((wxString const &)*arg2);
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 Py_INCREF(Py_None); resultobj = Py_None;
8855 {
8856 if (temp2)
8857 delete arg2;
8858 }
8859 return resultobj;
8860 fail:
8861 {
8862 if (temp2)
8863 delete arg2;
8864 }
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
8872 wxString *arg2 = 0 ;
8873 wxString result;
8874 bool temp2 = False ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "page", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail;
8882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8884 {
8885 arg2 = wxString_in_helper(obj1);
8886 if (arg2 == NULL) SWIG_fail;
8887 temp2 = True;
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 #if wxUSE_UNICODE
8898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8899 #else
8900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8901 #endif
8902 }
8903 {
8904 if (temp2)
8905 delete arg2;
8906 }
8907 return resultobj;
8908 fail:
8909 {
8910 if (temp2)
8911 delete arg2;
8912 }
8913 return NULL;
8914 }
8915
8916
8917 static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) {
8918 PyObject *obj;
8919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8920 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj);
8921 Py_INCREF(obj);
8922 return Py_BuildValue((char *)"");
8923 }
8924 static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8927 int result;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (int)wxHtmlContentsItem_GetLevel(arg1);
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 resultobj = SWIG_FromInt((int)result);
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8953 int result;
8954 PyObject * obj0 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 result = (int)wxHtmlContentsItem_GetID(arg1);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 resultobj = SWIG_FromInt((int)result);
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj;
8978 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
8979 wxString result;
8980 PyObject * obj0 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 result = wxHtmlContentsItem_GetName(arg1);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 {
8996 #if wxUSE_UNICODE
8997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8998 #else
8999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9000 #endif
9001 }
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9011 wxString result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = wxHtmlContentsItem_GetPage(arg1);
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 {
9028 #if wxUSE_UNICODE
9029 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9030 #else
9031 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9032 #endif
9033 }
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ;
9043 wxHtmlBookRecord *result;
9044 PyObject * obj0 = 0 ;
9045 char *kwnames[] = {
9046 (char *) "self", NULL
9047 };
9048
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem,
9051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9052 {
9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
9054 result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1);
9055
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0);
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) {
9067 PyObject *obj;
9068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9069 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj);
9070 Py_INCREF(obj);
9071 return Py_BuildValue((char *)"");
9072 }
9073 static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9076 bool result;
9077 PyObject * obj0 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 result = (bool)(arg1)->Search();
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 {
9093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9094 }
9095 return resultobj;
9096 fail:
9097 return NULL;
9098 }
9099
9100
9101 static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9104 bool result;
9105 PyObject * obj0 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail;
9111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (bool)(arg1)->IsActive();
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 {
9121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9122 }
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9132 int result;
9133 PyObject * obj0 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail;
9139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (int)(arg1)->GetCurIndex();
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 resultobj = SWIG_FromInt((int)result);
9149 return resultobj;
9150 fail:
9151 return NULL;
9152 }
9153
9154
9155 static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9158 int result;
9159 PyObject * obj0 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail;
9165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (int)(arg1)->GetMaxIndex();
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = SWIG_FromInt((int)result);
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9184 wxString *result;
9185 PyObject * obj0 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail;
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 {
9196 wxString const &_result_ref = (arg1)->GetName();
9197 result = (wxString *) &_result_ref;
9198 }
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 {
9204 #if wxUSE_UNICODE
9205 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9206 #else
9207 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9208 #endif
9209 }
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
9219 wxHtmlContentsItem *result;
9220 PyObject * obj0 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "self", NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail;
9226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus,
9227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 result = (wxHtmlContentsItem *)(arg1)->GetContentsItem();
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) {
9243 PyObject *obj;
9244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9245 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj);
9246 Py_INCREF(obj);
9247 return Py_BuildValue((char *)"");
9248 }
9249 static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 wxHtmlHelpData *result;
9252 char *kwnames[] = {
9253 NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (wxHtmlHelpData *)new wxHtmlHelpData();
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1);
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail;
9280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 delete arg1;
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 Py_INCREF(Py_None); resultobj = Py_None;
9290 return resultobj;
9291 fail:
9292 return NULL;
9293 }
9294
9295
9296 static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject *resultobj;
9298 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9299 wxString *arg2 = 0 ;
9300 bool temp2 = False ;
9301 PyObject * obj0 = 0 ;
9302 PyObject * obj1 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self",(char *) "path", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
9308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9310 {
9311 arg2 = wxString_in_helper(obj1);
9312 if (arg2 == NULL) SWIG_fail;
9313 temp2 = True;
9314 }
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 (arg1)->SetTempDir((wxString const &)*arg2);
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 Py_INCREF(Py_None); resultobj = Py_None;
9323 {
9324 if (temp2)
9325 delete arg2;
9326 }
9327 return resultobj;
9328 fail:
9329 {
9330 if (temp2)
9331 delete arg2;
9332 }
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9340 wxString *arg2 = 0 ;
9341 bool result;
9342 bool temp2 = False ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self",(char *) "book", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9352 {
9353 arg2 = wxString_in_helper(obj1);
9354 if (arg2 == NULL) SWIG_fail;
9355 temp2 = True;
9356 }
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 {
9365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9366 }
9367 {
9368 if (temp2)
9369 delete arg2;
9370 }
9371 return resultobj;
9372 fail:
9373 {
9374 if (temp2)
9375 delete arg2;
9376 }
9377 return NULL;
9378 }
9379
9380
9381 static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9384 wxString *arg2 = 0 ;
9385 wxString result;
9386 bool temp2 = False ;
9387 PyObject * obj0 = 0 ;
9388 PyObject * obj1 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self",(char *) "page", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail;
9394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9396 {
9397 arg2 = wxString_in_helper(obj1);
9398 if (arg2 == NULL) SWIG_fail;
9399 temp2 = True;
9400 }
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 result = (arg1)->FindPageByName((wxString const &)*arg2);
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 {
9409 #if wxUSE_UNICODE
9410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9411 #else
9412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9413 #endif
9414 }
9415 {
9416 if (temp2)
9417 delete arg2;
9418 }
9419 return resultobj;
9420 fail:
9421 {
9422 if (temp2)
9423 delete arg2;
9424 }
9425 return NULL;
9426 }
9427
9428
9429 static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9432 int arg2 ;
9433 wxString result;
9434 PyObject * obj0 = 0 ;
9435 PyObject * obj1 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self",(char *) "id", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail;
9441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9443 arg2 = (int) SWIG_AsInt(obj1);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (arg1)->FindPageById(arg2);
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 {
9453 #if wxUSE_UNICODE
9454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9455 #else
9456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9457 #endif
9458 }
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9468 wxHtmlBookRecArray *result;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 {
9480 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
9481 result = (wxHtmlBookRecArray *) &_result_ref;
9482 }
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0);
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9497 wxHtmlContentsItem *result;
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail;
9504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (wxHtmlContentsItem *)(arg1)->GetContents();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9523 int result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (int)(arg1)->GetContentsCnt();
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 resultobj = SWIG_FromInt((int)result);
9540 return resultobj;
9541 fail:
9542 return NULL;
9543 }
9544
9545
9546 static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj;
9548 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9549 wxHtmlContentsItem *result;
9550 PyObject * obj0 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (wxHtmlContentsItem *)(arg1)->GetIndex();
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0);
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
9575 int result;
9576 PyObject * obj0 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData,
9583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (int)(arg1)->GetIndexCnt();
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 resultobj = SWIG_FromInt((int)result);
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) {
9599 PyObject *obj;
9600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9601 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj);
9602 Py_INCREF(obj);
9603 return Py_BuildValue((char *)"");
9604 }
9605 static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxWindow *arg1 = (wxWindow *) 0 ;
9608 int arg2 ;
9609 wxString const &arg3_defvalue = wxPyEmptyString ;
9610 wxString *arg3 = (wxString *) &arg3_defvalue ;
9611 int arg4 = (int) wxHF_DEFAULTSTYLE ;
9612 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
9613 wxHtmlHelpFrame *result;
9614 bool temp3 = False ;
9615 PyObject * obj0 = 0 ;
9616 PyObject * obj1 = 0 ;
9617 PyObject * obj2 = 0 ;
9618 PyObject * obj3 = 0 ;
9619 PyObject * obj4 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9627 arg2 = (int) SWIG_AsInt(obj1);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 if (obj2) {
9630 {
9631 arg3 = wxString_in_helper(obj2);
9632 if (arg3 == NULL) SWIG_fail;
9633 temp3 = True;
9634 }
9635 }
9636 if (obj3) {
9637 arg4 = (int) SWIG_AsInt(obj3);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 if (obj4) {
9641 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1);
9652 {
9653 if (temp3)
9654 delete arg3;
9655 }
9656 return resultobj;
9657 fail:
9658 {
9659 if (temp3)
9660 delete arg3;
9661 }
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9669 wxHtmlHelpData *result;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (wxHtmlHelpData *)(arg1)->GetData();
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0);
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9695 wxString *arg2 = 0 ;
9696 bool temp2 = False ;
9697 PyObject * obj0 = 0 ;
9698 PyObject * obj1 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self",(char *) "format", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
9704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9706 {
9707 arg2 = wxString_in_helper(obj1);
9708 if (arg2 == NULL) SWIG_fail;
9709 temp2 = True;
9710 }
9711 {
9712 PyThreadState* __tstate = wxPyBeginAllowThreads();
9713 (arg1)->SetTitleFormat((wxString const &)*arg2);
9714
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 }
9718 Py_INCREF(Py_None); resultobj = Py_None;
9719 {
9720 if (temp2)
9721 delete arg2;
9722 }
9723 return resultobj;
9724 fail:
9725 {
9726 if (temp2)
9727 delete arg2;
9728 }
9729 return NULL;
9730 }
9731
9732
9733 static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9736 wxString *arg2 = 0 ;
9737 bool temp2 = False ;
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self",(char *) "x", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9747 {
9748 arg2 = wxString_in_helper(obj1);
9749 if (arg2 == NULL) SWIG_fail;
9750 temp2 = True;
9751 }
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 (arg1)->Display((wxString const &)*arg2);
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 Py_INCREF(Py_None); resultobj = Py_None;
9760 {
9761 if (temp2)
9762 delete arg2;
9763 }
9764 return resultobj;
9765 fail:
9766 {
9767 if (temp2)
9768 delete arg2;
9769 }
9770 return NULL;
9771 }
9772
9773
9774 static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9777 int arg2 ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "id", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9787 arg2 = (int) SWIG_AsInt(obj1);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 (arg1)->Display(arg2);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9806 PyObject * obj0 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 (arg1)->DisplayContents();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 (arg1)->DisplayIndex();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 Py_INCREF(Py_None); resultobj = Py_None;
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9856 wxString *arg2 = 0 ;
9857 bool result;
9858 bool temp2 = False ;
9859 PyObject * obj0 = 0 ;
9860 PyObject * obj1 = 0 ;
9861 char *kwnames[] = {
9862 (char *) "self",(char *) "keyword", NULL
9863 };
9864
9865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
9866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9868 {
9869 arg2 = wxString_in_helper(obj1);
9870 if (arg2 == NULL) SWIG_fail;
9871 temp2 = True;
9872 }
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
9876
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 }
9880 {
9881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9882 }
9883 {
9884 if (temp2)
9885 delete arg2;
9886 }
9887 return resultobj;
9888 fail:
9889 {
9890 if (temp2)
9891 delete arg2;
9892 }
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9900 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9901 wxString const &arg3_defvalue = wxPyEmptyString ;
9902 wxString *arg3 = (wxString *) &arg3_defvalue ;
9903 bool temp3 = False ;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 PyObject * obj2 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self",(char *) "config",(char *) "rootpath", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
9915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9916 if (obj2) {
9917 {
9918 arg3 = wxString_in_helper(obj2);
9919 if (arg3 == NULL) SWIG_fail;
9920 temp3 = True;
9921 }
9922 }
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 Py_INCREF(Py_None); resultobj = Py_None;
9931 {
9932 if (temp3)
9933 delete arg3;
9934 }
9935 return resultobj;
9936 fail:
9937 {
9938 if (temp3)
9939 delete arg3;
9940 }
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(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_ReadCustomization",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)->ReadCustomization(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 *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj;
9986 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
9987 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
9988 wxString arg3 = (wxString) wxPyEmptyString ;
9989 PyObject * obj0 = 0 ;
9990 PyObject * obj1 = 0 ;
9991 PyObject * obj2 = 0 ;
9992 char *kwnames[] = {
9993 (char *) "self",(char *) "cfg",(char *) "path", NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 if (obj2) {
10002 {
10003 wxString* sptr = wxString_in_helper(obj2);
10004 if (sptr == NULL) SWIG_fail;
10005 arg3 = *sptr;
10006 delete sptr;
10007 }
10008 }
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 (arg1)->WriteCustomization(arg2,arg3);
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 Py_INCREF(Py_None); resultobj = Py_None;
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) {
10024 PyObject *obj;
10025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10026 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj);
10027 Py_INCREF(obj);
10028 return Py_BuildValue((char *)"");
10029 }
10030 static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj;
10032 int arg1 = (int) wxHF_DEFAULTSTYLE ;
10033 wxHtmlHelpController *result;
10034 PyObject * obj0 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "style", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail;
10040 if (obj0) {
10041 arg1 = (int) SWIG_AsInt(obj0);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1);
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 delete arg1;
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10086 wxString *arg2 = 0 ;
10087 bool temp2 = False ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self",(char *) "format", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail;
10095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10097 {
10098 arg2 = wxString_in_helper(obj1);
10099 if (arg2 == NULL) SWIG_fail;
10100 temp2 = True;
10101 }
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 (arg1)->SetTitleFormat((wxString const &)*arg2);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 Py_INCREF(Py_None); resultobj = Py_None;
10110 {
10111 if (temp2)
10112 delete arg2;
10113 }
10114 return resultobj;
10115 fail:
10116 {
10117 if (temp2)
10118 delete arg2;
10119 }
10120 return NULL;
10121 }
10122
10123
10124 static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) {
10125 PyObject *resultobj;
10126 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10127 wxString *arg2 = 0 ;
10128 bool temp2 = False ;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self",(char *) "path", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail;
10136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10138 {
10139 arg2 = wxString_in_helper(obj1);
10140 if (arg2 == NULL) SWIG_fail;
10141 temp2 = True;
10142 }
10143 {
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 (arg1)->SetTempDir((wxString const &)*arg2);
10146
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 Py_INCREF(Py_None); resultobj = Py_None;
10151 {
10152 if (temp2)
10153 delete arg2;
10154 }
10155 return resultobj;
10156 fail:
10157 {
10158 if (temp2)
10159 delete arg2;
10160 }
10161 return NULL;
10162 }
10163
10164
10165 static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10168 wxString *arg2 = 0 ;
10169 int arg3 = (int) False ;
10170 bool result;
10171 bool temp2 = False ;
10172 PyObject * obj0 = 0 ;
10173 PyObject * obj1 = 0 ;
10174 PyObject * obj2 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 {
10183 arg2 = wxString_in_helper(obj1);
10184 if (arg2 == NULL) SWIG_fail;
10185 temp2 = True;
10186 }
10187 if (obj2) {
10188 arg3 = (int) SWIG_AsInt(obj2);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 {
10199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10200 }
10201 {
10202 if (temp2)
10203 delete arg2;
10204 }
10205 return resultobj;
10206 fail:
10207 {
10208 if (temp2)
10209 delete arg2;
10210 }
10211 return NULL;
10212 }
10213
10214
10215 static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj;
10217 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10218 wxString *arg2 = 0 ;
10219 bool temp2 = False ;
10220 PyObject * obj0 = 0 ;
10221 PyObject * obj1 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self",(char *) "x", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10229 {
10230 arg2 = wxString_in_helper(obj1);
10231 if (arg2 == NULL) SWIG_fail;
10232 temp2 = True;
10233 }
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 (arg1)->Display((wxString const &)*arg2);
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 Py_INCREF(Py_None); resultobj = Py_None;
10242 {
10243 if (temp2)
10244 delete arg2;
10245 }
10246 return resultobj;
10247 fail:
10248 {
10249 if (temp2)
10250 delete arg2;
10251 }
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10259 int arg2 ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "id", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 arg2 = (int) SWIG_AsInt(obj1);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->Display(arg2);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->DisplayContents();
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10313 PyObject * obj0 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail;
10319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 (arg1)->DisplayIndex();
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 Py_INCREF(Py_None); resultobj = Py_None;
10329 return resultobj;
10330 fail:
10331 return NULL;
10332 }
10333
10334
10335 static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj;
10337 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10338 wxString *arg2 = 0 ;
10339 bool result;
10340 bool temp2 = False ;
10341 PyObject * obj0 = 0 ;
10342 PyObject * obj1 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self",(char *) "keyword", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10350 {
10351 arg2 = wxString_in_helper(obj1);
10352 if (arg2 == NULL) SWIG_fail;
10353 temp2 = True;
10354 }
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 {
10363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10364 }
10365 {
10366 if (temp2)
10367 delete arg2;
10368 }
10369 return resultobj;
10370 fail:
10371 {
10372 if (temp2)
10373 delete arg2;
10374 }
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10382 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10383 wxString const &arg3_defvalue = wxPyEmptyString ;
10384 wxString *arg3 = (wxString *) &arg3_defvalue ;
10385 bool temp3 = False ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 PyObject * obj2 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self",(char *) "config",(char *) "rootpath", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail;
10394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10398 if (obj2) {
10399 {
10400 arg3 = wxString_in_helper(obj2);
10401 if (arg3 == NULL) SWIG_fail;
10402 temp3 = True;
10403 }
10404 }
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 {
10414 if (temp3)
10415 delete arg3;
10416 }
10417 return resultobj;
10418 fail:
10419 {
10420 if (temp3)
10421 delete arg3;
10422 }
10423 return NULL;
10424 }
10425
10426
10427 static PyObject *_wrap_HtmlHelpController_ReadCustomization(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_ReadCustomization",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)->ReadCustomization(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_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
10467 PyObject *resultobj;
10468 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10469 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10470 wxString arg3 = (wxString) wxPyEmptyString ;
10471 PyObject * obj0 = 0 ;
10472 PyObject * obj1 = 0 ;
10473 PyObject * obj2 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self",(char *) "cfg",(char *) "path", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
10482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10483 if (obj2) {
10484 {
10485 wxString* sptr = wxString_in_helper(obj2);
10486 if (sptr == NULL) SWIG_fail;
10487 arg3 = *sptr;
10488 delete sptr;
10489 }
10490 }
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->WriteCustomization(arg2,arg3);
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 Py_INCREF(Py_None); resultobj = Py_None;
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
10508 wxHtmlHelpFrame *result;
10509 PyObject * obj0 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0);
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) {
10532 PyObject *obj;
10533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10534 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj);
10535 Py_INCREF(obj);
10536 return Py_BuildValue((char *)"");
10537 }
10538 static PyMethodDef SwigMethods[] = {
10539 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
10540 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
10541 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
10542 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
10543 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10544 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
10545 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
10546 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS },
10547 { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
10548 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
10549 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
10550 { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
10551 { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
10552 { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
10553 { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
10554 { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
10555 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS },
10556 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
10557 { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
10558 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
10559 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
10560 { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
10561 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
10562 { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS },
10563 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10564 { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
10565 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
10566 { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
10567 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS },
10568 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS },
10569 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
10570 { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
10571 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
10572 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
10573 { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
10574 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
10575 { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
10576 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
10577 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
10578 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
10579 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
10580 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
10581 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
10582 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
10583 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
10584 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
10585 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10586 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
10587 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
10588 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
10589 { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
10590 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
10591 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
10592 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
10593 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
10594 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
10595 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
10596 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
10597 { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
10598 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS },
10599 { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
10600 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10601 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10602 { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10603 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10604 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS },
10605 { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
10606 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10607 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
10608 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
10609 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
10610 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS },
10611 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
10612 { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10613 { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS },
10614 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS },
10615 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS },
10616 { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS },
10617 { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS },
10618 { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS },
10619 { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS },
10620 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10621 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10622 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS },
10623 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS },
10624 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS },
10625 { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS },
10626 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS },
10627 { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10628 { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS },
10629 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS },
10630 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS },
10631 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS },
10632 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS },
10633 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS },
10634 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS },
10635 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS },
10636 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10637 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10638 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS },
10639 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS },
10640 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS },
10641 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS },
10642 { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10643 { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS },
10644 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS },
10645 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS },
10646 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
10647 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
10648 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS },
10649 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS },
10650 { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS },
10651 { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
10652 { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
10653 { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
10654 { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
10655 { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
10656 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS },
10657 { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS },
10658 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS },
10659 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
10660 { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
10661 { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
10662 { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10663 { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS },
10664 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS },
10665 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
10666 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
10667 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
10668 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
10669 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
10670 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
10671 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
10672 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
10673 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
10674 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
10675 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS },
10676 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS },
10677 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS },
10678 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS },
10679 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS },
10680 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS },
10681 { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS },
10682 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS },
10683 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS },
10684 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS },
10685 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS },
10686 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS },
10687 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
10688 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
10689 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
10690 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
10691 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
10692 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
10693 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
10694 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
10695 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
10696 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
10697 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
10698 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
10699 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
10700 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10701 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
10702 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
10703 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
10704 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS },
10705 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS },
10706 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS },
10707 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS },
10708 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS },
10709 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
10710 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS },
10711 { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS },
10712 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10713 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS },
10714 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS },
10715 { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
10716 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
10717 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
10718 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
10719 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
10720 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS },
10721 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
10722 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
10723 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
10724 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
10725 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10726 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
10727 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
10728 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
10729 { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
10730 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
10731 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10732 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10733 { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
10734 { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
10735 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
10736 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
10737 { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
10738 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
10739 { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
10740 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS },
10741 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS },
10742 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
10743 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS },
10744 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS },
10745 { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS },
10746 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
10747 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
10748 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
10749 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
10750 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
10751 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS },
10752 { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10753 { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
10754 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
10755 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
10756 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10757 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
10758 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
10759 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
10760 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS },
10761 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS },
10762 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
10763 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
10764 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
10765 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
10766 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
10767 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
10768 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS },
10769 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS },
10770 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS },
10771 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10772 { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
10773 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
10774 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
10775 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
10776 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
10777 { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
10778 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
10779 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
10780 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
10781 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS },
10782 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
10783 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
10784 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS },
10785 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS },
10786 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS },
10787 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS },
10788 { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS },
10789 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS },
10790 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS },
10791 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS },
10792 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS },
10793 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS },
10794 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS },
10795 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS },
10796 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS },
10797 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS },
10798 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS },
10799 { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS },
10800 { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS },
10801 { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS },
10802 { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS },
10803 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS },
10804 { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS },
10805 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS },
10806 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS },
10807 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS },
10808 { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS },
10809 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS },
10810 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS },
10811 { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10812 { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS },
10813 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10814 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS },
10815 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS },
10816 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS },
10817 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS },
10818 { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS },
10819 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS },
10820 { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS },
10821 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS },
10822 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS },
10823 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS },
10824 { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS },
10825 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10826 { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS },
10827 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS },
10828 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10829 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10830 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10831 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS },
10832 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10833 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10834 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS },
10835 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10836 { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS },
10837 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS },
10838 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS },
10839 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS },
10840 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS },
10841 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS },
10842 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS },
10843 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS },
10844 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS },
10845 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS },
10846 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
10847 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
10848 { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS },
10849 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS },
10850 { NULL, NULL }
10851 };
10852
10853
10854 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10855
10856 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
10857 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
10858 }
10859 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
10860 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
10861 }
10862 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
10863 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
10864 }
10865 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
10866 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
10867 }
10868 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
10869 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10870 }
10871 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
10872 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10873 }
10874 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
10875 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10876 }
10877 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
10878 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10879 }
10880 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
10881 return (void *)((wxPanel *) ((wxPyPanel *) x));
10882 }
10883 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
10884 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
10885 }
10886 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
10887 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
10888 }
10889 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
10890 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10891 }
10892 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
10893 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10894 }
10895 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
10896 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10897 }
10898 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
10899 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
10900 }
10901 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10903 }
10904 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10906 }
10907 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10908 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10909 }
10910 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10911 return (void *)((wxWindow *) ((wxMenuBar *) x));
10912 }
10913 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10914 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10915 }
10916 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10917 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10918 }
10919 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10920 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10921 }
10922 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10923 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10924 }
10925 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10926 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10927 }
10928 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10929 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10930 }
10931 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10932 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10933 }
10934 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10935 return (void *)((wxWindow *) ((wxPanel *) x));
10936 }
10937 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10938 return (void *)((wxWindow *) ((wxStatusBar *) x));
10939 }
10940 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10941 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10942 }
10943 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10944 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10945 }
10946 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10947 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10948 }
10949 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10950 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10951 }
10952 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10953 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10954 }
10955 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10956 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10957 }
10958 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10959 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10960 }
10961 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10962 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10963 }
10964 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10965 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10966 }
10967 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10968 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10969 }
10970 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10971 return (void *)((wxWindow *) ((wxSashWindow *) x));
10972 }
10973 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
10974 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10975 }
10976 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
10977 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
10978 }
10979 static void *_p_wxControlTo_p_wxWindow(void *x) {
10980 return (void *)((wxWindow *) ((wxControl *) x));
10981 }
10982 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10984 }
10985 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10987 }
10988 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10990 }
10991 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10992 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10993 }
10994 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10995 return (void *)((wxWindow *) ((wxPyWindow *) x));
10996 }
10997 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10998 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10999 }
11000 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11001 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11002 }
11003 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11004 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11005 }
11006 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11007 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11008 }
11009 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11010 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11011 }
11012 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
11013 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11014 }
11015 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11016 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11017 }
11018 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11019 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11020 }
11021 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11022 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11023 }
11024 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11025 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11026 }
11027 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11028 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11029 }
11030 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
11031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11032 }
11033 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
11034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11035 }
11036 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11038 }
11039 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
11040 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
11041 }
11042 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
11043 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
11044 }
11045 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
11046 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
11047 }
11048 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
11049 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
11050 }
11051 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
11052 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
11053 }
11054 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
11055 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
11056 }
11057 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
11058 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
11059 }
11060 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
11061 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
11062 }
11063 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
11064 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
11065 }
11066 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
11067 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
11068 }
11069 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
11070 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
11071 }
11072 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
11073 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
11074 }
11075 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
11076 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
11077 }
11078 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
11079 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
11080 }
11081 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
11082 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
11083 }
11084 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11085 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
11086 }
11087 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
11088 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
11089 }
11090 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
11091 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
11092 }
11093 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
11094 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
11095 }
11096 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
11097 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
11098 }
11099 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11100 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
11101 }
11102 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
11103 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11104 }
11105 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11106 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11107 }
11108 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11109 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11110 }
11111 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11113 }
11114 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11116 }
11117 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11118 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11119 }
11120 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11121 return (void *)((wxObject *) ((wxSizerItem *) x));
11122 }
11123 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11124 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11125 }
11126 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11127 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11128 }
11129 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
11130 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
11131 }
11132 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11133 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11134 }
11135 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11136 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11137 }
11138 static void *_p_wxSizerTo_p_wxObject(void *x) {
11139 return (void *)((wxObject *) ((wxSizer *) x));
11140 }
11141 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11142 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11143 }
11144 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
11145 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
11146 }
11147 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11149 }
11150 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11152 }
11153 static void *_p_wxEventTo_p_wxObject(void *x) {
11154 return (void *)((wxObject *) ((wxEvent *) x));
11155 }
11156 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11157 return (void *)((wxObject *) ((wxFontData *) x));
11158 }
11159 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11160 return (void *)((wxObject *) ((wxPrintData *) x));
11161 }
11162 static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
11163 return (void *)((wxObject *) ((wxHtmlTag *) x));
11164 }
11165 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11166 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11167 }
11168 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11169 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11170 }
11171 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11172 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11173 }
11174 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11175 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11176 }
11177 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
11178 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
11179 }
11180 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11181 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11182 }
11183 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
11184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11185 }
11186 static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
11187 return (void *)((wxObject *) ((wxHtmlCell *) x));
11188 }
11189 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11190 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11191 }
11192 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11193 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11194 }
11195 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11196 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11197 }
11198 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11199 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11200 }
11201 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11202 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11203 }
11204 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11205 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11206 }
11207 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11209 }
11210 static void *_p_wxControlTo_p_wxObject(void *x) {
11211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11212 }
11213 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11214 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11215 }
11216 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11218 }
11219 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11220 return (void *)((wxObject *) ((wxFSFile *) x));
11221 }
11222 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
11223 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11224 }
11225 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11226 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11227 }
11228 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11229 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11230 }
11231 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
11232 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
11233 }
11234 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11236 }
11237 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11238 return (void *)((wxObject *) ((wxColourData *) x));
11239 }
11240 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11241 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11242 }
11243 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11244 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11245 }
11246 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11248 }
11249 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11251 }
11252 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11254 }
11255 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11257 }
11258 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11260 }
11261 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11263 }
11264 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11266 }
11267 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11269 }
11270 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11272 }
11273 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11274 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11275 }
11276 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11277 return (void *)((wxObject *) ((wxPrinter *) x));
11278 }
11279 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11280 return (void *)((wxObject *) ((wxMenuItem *) x));
11281 }
11282 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11283 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11284 }
11285 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11287 }
11288 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11289 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11290 }
11291 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11292 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11293 }
11294 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11295 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11296 }
11297 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11298 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11299 }
11300 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11301 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11302 }
11303 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11304 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11305 }
11306 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
11307 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
11308 }
11309 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11310 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11311 }
11312 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11313 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11314 }
11315 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11316 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11317 }
11318 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11319 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11320 }
11321 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11322 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11323 }
11324 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11325 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11326 }
11327 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11328 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11329 }
11330 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11331 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11332 }
11333 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11334 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11335 }
11336 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11337 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11338 }
11339 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11340 return (void *)((wxObject *) ((wxImageHandler *) x));
11341 }
11342 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11343 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11344 }
11345 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11346 return (void *)((wxObject *) ((wxEvtHandler *) x));
11347 }
11348 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11349 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11350 }
11351 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
11352 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
11353 }
11354 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
11355 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11356 }
11357 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11359 }
11360 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11362 }
11363 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11364 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11365 }
11366 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11368 }
11369 static void *_p_wxImageTo_p_wxObject(void *x) {
11370 return (void *)((wxObject *) ((wxImage *) x));
11371 }
11372 static void *_p_wxFrameTo_p_wxObject(void *x) {
11373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11374 }
11375 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11376 return (void *)((wxObject *) ((wxPyPrintout *) x));
11377 }
11378 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
11379 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
11380 }
11381 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11382 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11383 }
11384 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11385 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11386 }
11387 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11389 }
11390 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
11391 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
11392 }
11393 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
11394 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
11395 }
11396 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11398 }
11399 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11400 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11401 }
11402 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11403 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11404 }
11405 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11406 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11407 }
11408 static void *_p_wxWindowTo_p_wxObject(void *x) {
11409 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11410 }
11411 static void *_p_wxMenuTo_p_wxObject(void *x) {
11412 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11413 }
11414 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11416 }
11417 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11419 }
11420 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11422 }
11423 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11425 }
11426 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11428 }
11429 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11431 }
11432 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11434 }
11435 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11437 }
11438 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11440 }
11441 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11443 }
11444 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11446 }
11447 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11449 }
11450 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
11451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11452 }
11453 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
11454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11455 }
11456 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11458 }
11459 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11460 return (void *)((wxObject *) ((wxPrintPreview *) x));
11461 }
11462 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11463 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11464 }
11465 static void *_p_wxPanelTo_p_wxObject(void *x) {
11466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11467 }
11468 static void *_p_wxDialogTo_p_wxObject(void *x) {
11469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11470 }
11471 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11473 }
11474 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11476 }
11477 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11479 }
11480 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11482 }
11483 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11485 }
11486 static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
11487 return (void *)((wxObject *) ((wxHtmlParser *) x));
11488 }
11489 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
11490 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
11491 }
11492 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11493 return (void *)((wxObject *) ((wxFileSystem *) x));
11494 }
11495 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11496 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11497 }
11498 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11499 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11500 }
11501 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
11502 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
11503 }
11504 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11505 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11506 }
11507 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11508 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11509 }
11510 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11511 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11512 }
11513 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11514 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11515 }
11516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11518 }
11519 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11520 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11521 }
11522 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11524 }
11525 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11527 }
11528 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
11529 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
11530 }
11531 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11532 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11533 }
11534 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11535 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11536 }
11537 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11539 }
11540 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
11541 return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x));
11542 }
11543 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11545 }
11546 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11547 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11548 }
11549 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11550 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11551 }
11552 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11553 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11554 }
11555 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11556 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11557 }
11558 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
11559 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
11560 }
11561 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11563 }
11564 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11566 }
11567 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11568 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11569 }
11570 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11571 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11572 }
11573 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11574 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11575 }
11576 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11577 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11578 }
11579 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11580 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11581 }
11582 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11584 }
11585 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11587 }
11588 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11589 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11590 }
11591 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11592 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11593 }
11594 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11595 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11596 }
11597 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11598 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11599 }
11600 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11601 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11602 }
11603 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11604 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11605 }
11606 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11607 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11608 }
11609 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11610 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11611 }
11612 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11614 }
11615 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11616 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11617 }
11618 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11619 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11620 }
11621 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11622 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11623 }
11624 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11625 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11626 }
11627 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11628 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11629 }
11630 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11631 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11632 }
11633 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11634 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11635 }
11636 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11637 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11638 }
11639 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11640 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11641 }
11642 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11643 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11644 }
11645 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
11646 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11647 }
11648 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
11649 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
11650 }
11651 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11652 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11653 }
11654 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11655 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11656 }
11657 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11658 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11659 }
11660 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11661 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11662 }
11663 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11664 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11665 }
11666 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11667 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11668 }
11669 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11671 }
11672 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11673 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11674 }
11675 static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) {
11676 return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x));
11677 }
11678 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11679 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11680 }
11681 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11682 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11683 }
11684 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11685 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11686 }
11687 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11688 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11689 }
11690 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
11691 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
11692 }
11693 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
11694 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
11695 }
11696 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11697 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11698 }
11699 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11700 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11701 }
11702 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11703 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11704 }
11705 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11706 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11707 }
11708 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11709 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11710 }
11711 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
11712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
11713 }
11714 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
11715 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
11716 }
11717 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11718 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11719 }
11720 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
11721 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
11722 }
11723 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11724 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11725 }
11726 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11727 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11728 }
11729 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
11730 return (void *)((wxFrame *) ((wxTipWindow *) x));
11731 }
11732 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11733 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11734 }
11735 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11736 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11737 }
11738 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11739 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11740 }
11741 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
11742 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
11743 }
11744 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11745 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11746 }
11747 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11748 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11749 }
11750 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
11751 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
11752 }
11753 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
11754 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
11755 }
11756 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
11757 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
11758 }
11759 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
11760 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
11761 }
11762 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
11763 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
11764 }
11765 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}};
11766 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}};
11767 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}};
11768 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}};
11769 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}};
11770 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}};
11771 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}};
11772 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}};
11773 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
11774 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}};
11775 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}};
11776 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}};
11777 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}};
11778 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
11779 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}};
11780 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}};
11781 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}};
11782 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 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}};
11783 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_wxTipWindow", _p_wxTipWindowTo_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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
11784 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_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_wxColourDialog", _p_wxColourDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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}};
11785 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}};
11786 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}};
11787 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}};
11788 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}};
11789 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}};
11790 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxTipWindow", _p_wxTipWindowTo_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_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}};
11791 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}};
11792 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}};
11793 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}};
11794 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}};
11795 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_wxTipWindow", _p_wxTipWindowTo_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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
11796 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}};
11797 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}};
11798 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}};
11799 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}};
11800 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}};
11801 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}};
11802 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}};
11803 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}};
11804 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}};
11805 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}};
11806 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}};
11807 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}};
11808 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}};
11809 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_wxTipWindow", _p_wxTipWindowTo_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}};
11810 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}};
11811 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}};
11812 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}};
11813 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}};
11814 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}};
11815 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}};
11816 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}};
11817 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}};
11818
11819 static swig_type_info *swig_types_initial[] = {
11820 _swigt__p_wxHtmlDCRenderer,
11821 _swigt__p_wxColour,
11822 _swigt__p_wxPageSetupDialogData,
11823 _swigt__p_wxDC,
11824 _swigt__p_wxDefaultHtmlRenderingStyle,
11825 _swigt__p_wxHtmlRenderingStyle,
11826 _swigt__p_wxMouseEvent,
11827 _swigt__p_wxHtmlWordCell,
11828 _swigt__p_wxVisualAttributes,
11829 _swigt__p_wxHtmlHelpData,
11830 _swigt__p_char,
11831 _swigt__p_wxHtmlWinParser,
11832 _swigt__p_wxHtmlParser,
11833 _swigt__p_wxPanel,
11834 _swigt__p_wxFont,
11835 _swigt__p_wxHtmlColourCell,
11836 _swigt__p_wxPyHtmlWindow,
11837 _swigt__p_wxScrolledWindow,
11838 _swigt__p_wxWindow,
11839 _swigt__p_wxTopLevelWindow,
11840 _swigt__p_wxHtmlFontCell,
11841 _swigt__p_wxHtmlEasyPrinting,
11842 _swigt__p_wxHtmlSelection,
11843 _swigt__p_wxHtmlRenderingInfo,
11844 _swigt__p_wxHtmlWidgetCell,
11845 _swigt__p_wxObject,
11846 _swigt__p_wxString,
11847 _swigt__p_wxPyHtmlWinTagHandler,
11848 _swigt__p_wxHtmlTagHandler,
11849 _swigt__p_wxPyHtmlTagHandler,
11850 _swigt__p_wxEvtHandler,
11851 _swigt__p_wxPoint,
11852 _swigt__p_wxHtmlHelpController,
11853 _swigt__p_wxCursor,
11854 _swigt__p_wxFileSystem,
11855 _swigt__p_wxHtmlBookRecArray,
11856 _swigt__p_wxPyPrintout,
11857 _swigt__p_wxHtmlPrintout,
11858 _swigt__p_wxHtmlSearchStatus,
11859 _swigt__p_wxHtmlContentsItem,
11860 _swigt__p_wxConfigBase,
11861 _swigt__p_wxPrintData,
11862 _swigt__p_wxHtmlHelpFrame,
11863 _swigt__p_wxHtmlRenderingState,
11864 _swigt__p_wxFrame,
11865 _swigt__p_wxPyHtmlFilter,
11866 _swigt__p_wxHtmlFilter,
11867 _swigt__p_wxHtmlCell,
11868 _swigt__p_wxHtmlContainerCell,
11869 _swigt__p_wxHtmlTag,
11870 _swigt__p_wxHtmlLinkInfo,
11871 _swigt__p_int,
11872 _swigt__p_wxHtmlBookRecord,
11873 0
11874 };
11875
11876
11877 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11878
11879 static swig_const_info swig_const_table[] = {
11880 {0}};
11881
11882 #ifdef __cplusplus
11883 }
11884 #endif
11885
11886 #ifdef __cplusplus
11887 extern "C"
11888 #endif
11889 SWIGEXPORT(void) SWIG_init(void) {
11890 static PyObject *SWIG_globals = 0;
11891 static int typeinit = 0;
11892 PyObject *m, *d;
11893 int i;
11894 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11895 m = Py_InitModule((char *) SWIG_name, SwigMethods);
11896 d = PyModule_GetDict(m);
11897
11898 if (!typeinit) {
11899 for (i = 0; swig_types_initial[i]; i++) {
11900 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11901 }
11902 typeinit = 1;
11903 }
11904 SWIG_InstallConstants(d,swig_const_table);
11905
11906 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
11907 SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set);
11908 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set);
11909 SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set);
11910 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT));
11911 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER));
11912 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT));
11913 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM));
11914 PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP));
11915 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND));
11916 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND));
11917 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS));
11918 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT));
11919 PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT));
11920 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT));
11921 PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP));
11922 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM));
11923 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL));
11924 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL));
11925 PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL));
11926 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR));
11927 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP));
11928 PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER));
11929 PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1));
11930 PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2));
11931 PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3));
11932 PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4));
11933 PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5));
11934 PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6));
11935 PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7));
11936 PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER));
11937 PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO));
11938 PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION));
11939 PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE));
11940 PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN));
11941 PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK));
11942 PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT));
11943 PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE));
11944 PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE));
11945 PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER));
11946 PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT));
11947 PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN));
11948 PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING));
11949 PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT));
11950 PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE));
11951 PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER));
11952 PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD));
11953 PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN));
11954 PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL));
11955 PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR));
11956 PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR));
11957 PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS));
11958 PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX));
11959 PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH));
11960 PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS));
11961 PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES));
11962 PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT));
11963 PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE));
11964
11965 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
11966 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
11967 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
11968 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
11969
11970 }
11971